You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
add bunch of new java APIs: mostly stubs or copied from AOSP
Many of these classes are only needed to be subclassed by androidx support library, which is used in many android apps
This commit is contained in:
34
src/api-impl/android/view/ViewConfiguration.java
Normal file
34
src/api-impl/android/view/ViewConfiguration.java
Normal file
@@ -0,0 +1,34 @@
|
||||
package android.view;
|
||||
|
||||
import android.content.Context;
|
||||
|
||||
public class ViewConfiguration {
|
||||
|
||||
public static ViewConfiguration get(Context context) {
|
||||
return new ViewConfiguration();
|
||||
}
|
||||
|
||||
public int getScaledTouchSlop() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
public int getScaledMaximumFlingVelocity() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
public int getScaledMinimumFlingVelocity() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
public static int getTapTimeout() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
public static int getLongPressTimeout() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
public int getScaledPagingTouchSlop(){
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user