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:
Julian Winkler
2024-05-19 15:27:43 +02:00
parent 53d6714a0d
commit fdec418102
7 changed files with 23 additions and 2 deletions

View File

@@ -33,4 +33,6 @@ public class ObjectAnimator extends ValueAnimator {
public void setAutoCancel(boolean autoCancel) {}
public void setPropertyName(String propertyName) {}
}

View File

@@ -0,0 +1,7 @@
package android.animation;
public class PropertyValuesHolder{
public static PropertyValuesHolder ofFloat(String propertyName, float... values) {
return null;
}
}

View File

@@ -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