Add some stubs needed by android material library

This commit is contained in:
Julian Winkler
2023-08-22 14:41:01 +02:00
parent ca975a0e7c
commit 960930a348
42 changed files with 428 additions and 19 deletions

View File

@@ -0,0 +1,5 @@
package android.view.animation;
public class AccelerateDecelerateInterpolator {
}

View File

@@ -2,4 +2,12 @@ package android.view.animation;
public class DecelerateInterpolator implements Interpolator{
public DecelerateInterpolator(float value) {}
@Override
public float getInterpolation(float input) {
// TODO Auto-generated method stub
throw new UnsupportedOperationException("Unimplemented method 'getInterpolation'");
}
}

View File

@@ -1,5 +1,7 @@
package android.view.animation;
public interface Interpolator {
import android.animation.TimeInterpolator;
public interface Interpolator extends TimeInterpolator {
}

View File

@@ -0,0 +1,12 @@
package android.view.animation;
import android.animation.TimeInterpolator;
public class LinearInterpolator implements TimeInterpolator {
@Override
public float getInterpolation(float input) {
return input;
}
}