add some methods needed for NewPipe release 0.27.0

This commit is contained in:
Julian Winkler
2024-05-23 22:14:30 +02:00
parent 54dd61da3d
commit 34c03c59c3
3 changed files with 10 additions and 0 deletions

View File

@@ -69,6 +69,10 @@ public class ValueAnimator extends Animator {
return value_end;
}
public float getAnimatedFraction() {
return 1.0f;
}
/**
* Implementors of this interface can add themselves as update listeners
* to an <code>ValueAnimator</code> instance to receive callbacks on every animation

View File

@@ -266,6 +266,10 @@ public class Paint {
public void clearShadowLayer() {}
public FontMetrics getFontMetrics() {
return new FontMetrics();
}
private native long native_constructor();
private native void native_set_antialias(long skia_paint, boolean aa);
private native void native_set_color(long skia_paint, int color);

View File

@@ -256,6 +256,8 @@ public class Drawable {
public void setAutoMirrored(boolean mirrored) {}
public void jumpToCurrentState() {}
protected static native long native_paintable_from_path(String path);
protected native long native_constructor();
protected native void native_invalidate(long paintable);