add more stubs

This commit is contained in:
Julian Winkler
2023-11-08 21:40:39 +01:00
parent 9f74ab811e
commit 72a8b3a047
21 changed files with 128 additions and 34 deletions

View File

@@ -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) {}
}

View File

@@ -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; }
}