api-impl: add stubs / simple stuff for OsmAnd

without native libs present, launches and renders white square
in map view; with native libs present, segfaults in bundled skia
This commit is contained in:
Mis012
2024-04-12 18:32:30 +02:00
parent fefd2f108b
commit 2802aaa28d
42 changed files with 2171 additions and 77 deletions

View File

@@ -1,5 +1,6 @@
package android.animation;
import android.graphics.Path;
import android.util.Property;
public class ObjectAnimator extends ValueAnimator {
@@ -8,7 +9,11 @@ public class ObjectAnimator extends ValueAnimator {
return null;
}
public static ObjectAnimator ofFloat(Object target, String propertyName, float... values) {
public static ObjectAnimator ofFloat(Object target, String xPropertyName, String yPropertyName, Path path) {
return new ObjectAnimator();
}
public static <T> ObjectAnimator ofFloat(T target, Property<T, Float> xProperty, Property<T, Float> yProperty, Path path) {
return new ObjectAnimator();
}
@@ -16,6 +21,10 @@ public class ObjectAnimator extends ValueAnimator {
return new ObjectAnimator();
}
public static ObjectAnimator ofFloat(Object target, String propertyName, float... values) {
return new ObjectAnimator();
}
public static <T> ObjectAnimator ofInt(T target, String propertyName, int... values) {
return new ObjectAnimator();
}