copy android.widget.Scroller from AOSP and implement missing scroll APIs

This is needed to make ViewPager functional
This commit is contained in:
Julian Winkler
2023-09-01 12:13:24 +02:00
parent eac22aaa64
commit fb1a07967e
8 changed files with 614 additions and 17 deletions

View File

@@ -6,6 +6,9 @@ import android.location.LocationManager;
import android.os.Handler;
public class SensorManager {
public static float GRAVITY_EARTH = 9.81f;
public Sensor getDefaultSensor(int type) {
return new Sensor(type);
}