public interface RippleDrawable extends AlphaDrawable
Modifier and Type | Interface and Description |
---|---|
static class |
RippleDrawable.Style |
Modifier and Type | Method and Description |
---|---|
void |
draw(android.graphics.Canvas canvas) |
int |
getAlpha() |
android.graphics.drawable.Drawable |
getBackground() |
android.content.res.ColorStateList |
getColor() |
int |
getOpacity() |
int |
getRadius() |
RippleDrawable.Style |
getStyle() |
boolean |
isHotspotEnabled() |
boolean |
isStateful() |
void |
jumpToCurrentState() |
void |
setAlpha(int i) |
void |
setBounds(int left,
int top,
int right,
int bottom) |
void |
setBounds(android.graphics.Rect bounds) |
void |
setCallback(android.graphics.drawable.Drawable.Callback cb) |
void |
setColorFilter(android.graphics.ColorFilter colorFilter) |
void |
setHotspot(float x,
float y) |
void |
setHotspotEnabled(boolean useHotspot) |
void |
setRadius(int radius) |
boolean |
setState(int[] stateSet) |
android.graphics.drawable.Drawable getBackground()
boolean setState(int[] stateSet)
void draw(android.graphics.Canvas canvas)
void setAlpha(int i)
int getAlpha()
getAlpha
in interface AlphaDrawable
void setColorFilter(android.graphics.ColorFilter colorFilter)
void jumpToCurrentState()
int getOpacity()
RippleDrawable.Style getStyle()
boolean isHotspotEnabled()
void setHotspotEnabled(boolean useHotspot)
void setBounds(int left, int top, int right, int bottom)
void setBounds(android.graphics.Rect bounds)
void setHotspot(float x, float y)
boolean isStateful()
void setCallback(android.graphics.drawable.Drawable.Callback cb)
android.content.res.ColorStateList getColor()
void setRadius(int radius)
int getRadius()