Modifier and Type | Field and Description |
---|---|
protected RectF |
colorRange |
protected float |
density |
protected Bitmap |
finderBitmap |
protected RectF |
stage |
Constructor and Description |
---|
AbstractSliderView(Context context) |
AbstractSliderView(Context context,
AttributeSet attrs) |
AbstractSliderView(Context context,
AttributeSet attrs,
int defStyleAttr) |
Modifier and Type | Method and Description |
---|---|
protected void |
drawFinder(Canvas canvas,
float progress) |
protected void |
finalize() |
protected abstract void |
onProgressChange(float progress) |
protected void |
onSizeChanged(int w,
int h,
int oldw,
int oldh) |
boolean |
onTouchEvent(MotionEvent event) |
@NonNull protected final RectF colorRange
protected final float density
protected Bitmap finderBitmap
@NonNull protected final RectF stage
public AbstractSliderView(Context context)
public AbstractSliderView(Context context, AttributeSet attrs)
public AbstractSliderView(Context context, AttributeSet attrs, int defStyleAttr)
protected void drawFinder(@NonNull Canvas canvas, float progress)
protected void finalize() throws java.lang.Throwable
java.lang.Throwable
protected abstract void onProgressChange(float progress)
protected void onSizeChanged(int w, int h, int oldw, int oldh)
public boolean onTouchEvent(@NonNull MotionEvent event)