public class ScreenRecordButton
extends AppCompatImageButton
| Modifier and Type | Class and Description |
|---|---|
static interface |
ScreenRecordButton.HideCallback |
| Constructor and Description |
|---|
ScreenRecordButton(android.content.Context context) |
ScreenRecordButton(android.content.Context context,
android.util.AttributeSet attrs) |
| Modifier and Type | Method and Description |
|---|---|
void |
hide(ScreenRecordButton.HideCallback callback) |
protected void |
onAttachedToWindow() |
protected void |
onDetachedFromWindow() |
protected void |
onDraw(android.graphics.Canvas canvas) |
protected void |
onLayout(boolean changed,
int left,
int top,
int right,
int bottom) |
protected void |
onMeasure(int widthMeasureSpec,
int heightMeasureSpec) |
boolean |
onTouchEvent(android.view.MotionEvent event) |
void |
setCountdownDuration(long duration) |
public ScreenRecordButton(android.content.Context context)
public ScreenRecordButton(android.content.Context context,
android.util.AttributeSet attrs)
public void setCountdownDuration(long duration)
public boolean onTouchEvent(android.view.MotionEvent event)
protected void onMeasure(int widthMeasureSpec,
int heightMeasureSpec)
protected void onLayout(boolean changed,
int left,
int top,
int right,
int bottom)
protected void onAttachedToWindow()
protected void onDetachedFromWindow()
protected void onDraw(android.graphics.Canvas canvas)
public void hide(ScreenRecordButton.HideCallback callback)