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:
Julian Winkler
2023-08-17 10:46:24 +02:00
parent a8e39cd613
commit 82744e9e5e
87 changed files with 2746 additions and 46 deletions

View 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;
}
}