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 some stubs needed because of previous commits
Since we now call draw() on View subclasses, we reach some new codepaths which need new stubs
This commit is contained in:
@@ -33,4 +33,6 @@ public class ObjectAnimator extends ValueAnimator {
|
||||
|
||||
public void setAutoCancel(boolean autoCancel) {}
|
||||
|
||||
public void setPropertyName(String propertyName) {}
|
||||
|
||||
}
|
||||
|
||||
7
src/api-impl/android/animation/PropertyValuesHolder.java
Normal file
7
src/api-impl/android/animation/PropertyValuesHolder.java
Normal file
@@ -0,0 +1,7 @@
|
||||
package android.animation;
|
||||
|
||||
public class PropertyValuesHolder{
|
||||
public static PropertyValuesHolder ofFloat(String propertyName, float... values) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
@@ -1,7 +1,5 @@
|
||||
package android.animation;
|
||||
|
||||
final class PropertyValuesHolder{}
|
||||
|
||||
public class ValueAnimator extends Animator {
|
||||
|
||||
public static ValueAnimator ofFloat(float... values) {
|
||||
@@ -43,6 +41,7 @@ public class ValueAnimator extends Animator {
|
||||
public void setRepeatMode(int value) {}
|
||||
public void cancel() {}
|
||||
public void setEvaluator(TypeEvaluator evaluator) {}
|
||||
public void setStartDelay(long startDelay) {}
|
||||
|
||||
/**
|
||||
* Implementors of this interface can add themselves as update listeners
|
||||
|
||||
Reference in New Issue
Block a user