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
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:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user