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 Java APIs needed for WhatsApp MainActivity and ConversationActivity
This commit is contained in:
@@ -1,5 +1,12 @@
|
||||
package android.view.animation;
|
||||
|
||||
public class AccelerateDecelerateInterpolator {
|
||||
import android.animation.TimeInterpolator;
|
||||
|
||||
public class AccelerateDecelerateInterpolator implements TimeInterpolator {
|
||||
|
||||
@Override
|
||||
public float getInterpolation(float input) {
|
||||
return input;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
8
src/api-impl/android/view/animation/AnimationSet.java
Normal file
8
src/api-impl/android/view/animation/AnimationSet.java
Normal file
@@ -0,0 +1,8 @@
|
||||
package android.view.animation;
|
||||
|
||||
public class AnimationSet extends Animation {
|
||||
|
||||
public AnimationSet(boolean shareInterpolator) {}
|
||||
|
||||
public void addAnimation(Animation animation) {}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
package android.view.animation;
|
||||
|
||||
public class OvershootInterpolator {
|
||||
|
||||
public OvershootInterpolator(float overshoot) {}
|
||||
}
|
||||
6
src/api-impl/android/view/animation/ScaleAnimation.java
Normal file
6
src/api-impl/android/view/animation/ScaleAnimation.java
Normal file
@@ -0,0 +1,6 @@
|
||||
package android.view.animation;
|
||||
|
||||
public class ScaleAnimation extends Animation {
|
||||
|
||||
public ScaleAnimation(float fromX, float toX, float fromY, float toY, int pivotXType, float pivotXValue, int pivotYType, float pivotYValue) {}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
package android.view.animation;
|
||||
|
||||
public class TranslateAnimation extends Animation {
|
||||
|
||||
public TranslateAnimation(int fromXType, float fromXValue, int toXType, float toXValue, int fromYType, float fromYValue, int toYType, float toYValue) {}
|
||||
}
|
||||
Reference in New Issue
Block a user