public class SoundLevelCircleDrawable
extends android.graphics.drawable.Drawable
| Modifier and Type | Class and Description |
|---|---|
static class |
SoundLevelCircleDrawable.Params |
| Modifier and Type | Field and Description |
|---|---|
static int |
CENTER_COLOR_DEF |
static int |
HALO_COLOR_DEF |
| Constructor and Description |
|---|
SoundLevelCircleDrawable() |
SoundLevelCircleDrawable(SoundLevelCircleDrawable.Params params) |
| Modifier and Type | Method and Description |
|---|---|
void |
draw(android.graphics.Canvas canvas) |
float |
getMinRadius() |
int |
getOpacity() |
void |
setAlpha(int ignored) |
void |
setColorFilter(android.graphics.ColorFilter ignored) |
void |
setDrawCenter(boolean drawCenter) |
boolean |
setDrawSoundLevel(boolean drawSoundLevel) |
void |
setSoundLevel(float soundLevel) |
applyTheme, canApplyTheme, clearColorFilter, copyBounds, copyBounds, createFromPath, createFromResourceStream, createFromResourceStream, createFromStream, createFromXml, createFromXml, createFromXmlInner, createFromXmlInner, getAlpha, getBounds, getCallback, getChangingConfigurations, getColorFilter, getConstantState, getCurrent, getDirtyBounds, getIntrinsicHeight, getIntrinsicWidth, getLevel, getMinimumHeight, getMinimumWidth, getOutline, getPadding, getState, getTransparentRegion, inflate, inflate, invalidateSelf, isAutoMirrored, isStateful, isVisible, jumpToCurrentState, mutate, onBoundsChange, onLevelChange, onStateChange, resolveOpacity, scheduleSelf, setAutoMirrored, setBounds, setBounds, setCallback, setChangingConfigurations, setColorFilter, setDither, setFilterBitmap, setHotspot, setHotspotBounds, setLevel, setState, setTint, setTintList, setTintMode, setVisible, unscheduleSelfpublic static final int HALO_COLOR_DEF
public static final int CENTER_COLOR_DEF
public SoundLevelCircleDrawable()
public SoundLevelCircleDrawable(SoundLevelCircleDrawable.Params params)
public void draw(android.graphics.Canvas canvas)
draw in class android.graphics.drawable.Drawablepublic void setAlpha(int ignored)
setAlpha in class android.graphics.drawable.Drawablepublic void setColorFilter(android.graphics.ColorFilter ignored)
setColorFilter in class android.graphics.drawable.Drawablepublic int getOpacity()
getOpacity in class android.graphics.drawable.Drawablepublic boolean setDrawSoundLevel(boolean drawSoundLevel)
drawSoundLevel - true to drawpublic void setDrawCenter(boolean drawCenter)
public void setSoundLevel(float soundLevel)
public float getMinRadius()