api-impl: misc stubs for WhatsApp

This commit is contained in:
Julian Winkler
2025-01-11 18:01:43 +01:00
parent 2a3c8fd5fa
commit 57dd86fc98
25 changed files with 470 additions and 2 deletions

View File

@@ -48,4 +48,8 @@ public class Animator {
public void end() {}
public TimeInterpolator getInterpolator() { return null; }
public boolean isRunning() { return false; }
}

View File

@@ -5,4 +5,8 @@ public class LayoutTransition {
public void enableTransitionType(int transitionType) {}
public void setStartDelay(int transitionType, long startDelay) {}
public void setAnimator(int transitionType, Animator animator) {}
public void setDuration(long duration) {}
}

View File

@@ -39,4 +39,8 @@ public class ObjectAnimator extends ValueAnimator {
public void setPropertyName(String propertyName) {}
public static ObjectAnimator ofPropertyValuesHolder(Object target, PropertyValuesHolder... values) {
return new ObjectAnimator();
}
}

View File

@@ -73,6 +73,8 @@ public class ValueAnimator extends Animator {
return 1.0f;
}
public void setObjectValues(Object[] values) {}
/**
* Implementors of this interface can add themselves as update listeners
* to an <code>ValueAnimator</code> instance to receive callbacks on every animation