Drawable

Page 1 2

public boolean onLayoutDirectionChanged(int layoutDirection) source
public abstract void setAlpha(int alpha) source
public int getAlpha() source
public abstract void setColorFilter(ColorFilter colorFilter) source
public void setColorFilter(int color, android.graphics.PorterDuff.Mode mode) source
public void setTint(int tint) source
public void setTintList(android.content.res.ColorStateList tint) empty body source
public void setTintMode(android.graphics.PorterDuff.Mode tintMode) empty body source
public void setTintBlendMode(android.graphics.BlendMode blendMode) empty body source
public ColorFilter getColorFilter() source
public void clearColorFilter() source
public void setHotspot(float x, float y) empty body source
public void setHotspotBounds(int left, int top, int right, int bottom) empty body source
public void getHotspotBounds(Rect out) source
public boolean isProjected() source
public boolean isStateful() source
public boolean hasFocusStateSpecified() source
public boolean setState(int[] stateSet) source
public int[] getState() source
public void jumpToCurrentState() empty body source
public Drawable getCurrent() source
public final boolean setLevel(int level) source
public final int getLevel() source
public boolean setVisible(boolean visible, boolean restart) source
public final boolean isVisible() source
public void setAutoMirrored(boolean mirrored) empty body source
public boolean isAutoMirrored() source
public void applyTheme(Resources.Theme t) empty body source
public boolean canApplyTheme() source
public abstract int getOpacity() deprecated source
public static int resolveOpacity(int op1, int op2) source
public android.graphics.Region getTransparentRegion() source
protected boolean onStateChange(int[] state) source
protected boolean onLevelChange(int level) source
protected void onBoundsChange(Rect bounds) empty body source
public int getIntrinsicWidth() source
public int getIntrinsicHeight() source
public int getMinimumWidth() source
public int getMinimumHeight() source
public boolean getPadding(Rect padding) source
public Insets getOpticalInsets() source
public void getOutline(Outline outline) source
public Drawable mutate() source
public ConstantState getConstantState() source

a drawable's state for new copies: a resource's loads the resource again; one made in code has none

Page 1 2


Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.