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 more stubs
This commit is contained in:
@@ -79,4 +79,12 @@ public abstract class Drawable {
|
||||
public int getIntrinsicHeight() {return 0;}
|
||||
|
||||
public void setTintList (ColorStateList tint) {}
|
||||
|
||||
public void setTint(int tint) {}
|
||||
|
||||
public boolean isStateful() {
|
||||
return false;
|
||||
}
|
||||
|
||||
public void setTintMode(PorterDuff.Mode tintMode) {}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
package android.graphics.drawable;
|
||||
|
||||
import android.graphics.Canvas;
|
||||
import android.graphics.Rect;
|
||||
|
||||
public class InsetDrawable extends Drawable {
|
||||
|
||||
@@ -13,5 +14,7 @@ public class InsetDrawable extends Drawable {
|
||||
// TODO Auto-generated method stub
|
||||
throw new UnsupportedOperationException("Unimplemented method 'draw'");
|
||||
}
|
||||
|
||||
public boolean getPadding(Rect padding) { return false; }
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user