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
api-impl: misc stubs
This commit is contained in:
@@ -16,4 +16,6 @@ public final class PowerManager {
|
||||
}
|
||||
|
||||
public void userActivity(long dummy, boolean dummy2) {}
|
||||
|
||||
public static final int FULL_WAKE_LOCK = 0x1a;
|
||||
}
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
package android.widget;
|
||||
|
||||
import android.content.Context;
|
||||
import android.content.res.ColorStateList;
|
||||
import android.graphics.drawable.Drawable;
|
||||
import android.util.AttributeSet;
|
||||
|
||||
@@ -44,6 +45,9 @@ public abstract class CompoundButton extends Button implements Checkable {
|
||||
@Override
|
||||
public void setTextSize(float size) {}
|
||||
|
||||
public void setButtonTintList(ColorStateList list) {
|
||||
}
|
||||
|
||||
public void setButtonDrawable(Drawable drawable) {
|
||||
button_drawable = drawable;
|
||||
}
|
||||
|
||||
@@ -166,6 +166,14 @@ public class ImageView extends View {
|
||||
|
||||
public void setImageState(int[] state, boolean merge) {}
|
||||
|
||||
public ColorStateList getImageTintList() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public PorterDuff.Mode getImageTintMode() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected native long native_constructor(Context context, AttributeSet attrs);
|
||||
protected native void native_setPixbuf(long widget, long pixbuf);
|
||||
|
||||
Reference in New Issue
Block a user