public class OverlayToolPanel extends AbstractToolPanel<OverlayEditorTool> implements SeekSlider.OnSeekBarChangeListener
AbstractToolPanel.ToolView
ANIMATION_DURATION, parentView, toolView, uiDensity
Constructor and Description |
---|
OverlayToolPanel() |
Modifier and Type | Method and Description |
---|---|
protected android.animation.Animator |
createExitAnimator(android.view.View panelView) |
protected android.animation.Animator |
createShowAnimator(android.view.View panelView) |
protected int |
getLayoutResource() |
protected void |
onAttached(android.content.Context context,
android.view.View panelView,
OverlayEditorTool tool)
Called on attached the View.
|
protected void |
onDetached()
Called after View would detached.
|
void |
onOnSeekBarThumbLeaved(SeekSlider bar,
float value) |
void |
onOnSeekBarValueChange(SeekSlider bar,
float value) |
protected void |
updateOverlaySettings() |
attach, callAttached, detach, init, isAttached, isInited, onBeforeDetach, refresh, updateStageOverlapping
@NonNull protected android.animation.Animator createExitAnimator(@NonNull android.view.View panelView)
createExitAnimator
in class AbstractToolPanel<OverlayEditorTool>
@NonNull protected android.animation.Animator createShowAnimator(@NonNull android.view.View panelView)
createShowAnimator
in class AbstractToolPanel<OverlayEditorTool>
protected int getLayoutResource()
getLayoutResource
in class AbstractToolPanel<OverlayEditorTool>
protected void onAttached(android.content.Context context, @NonNull android.view.View panelView, OverlayEditorTool tool)
AbstractToolPanel
onAttached
in class AbstractToolPanel<OverlayEditorTool>
context
- the view contextpanelView
- the tool paneltool
- the toolprotected void onDetached()
AbstractToolPanel
onDetached
in class AbstractToolPanel<OverlayEditorTool>
public void onOnSeekBarThumbLeaved(SeekSlider bar, float value)
onOnSeekBarThumbLeaved
in interface SeekSlider.OnSeekBarChangeListener
public void onOnSeekBarValueChange(SeekSlider bar, float value)
onOnSeekBarValueChange
in interface SeekSlider.OnSeekBarChangeListener
protected void updateOverlaySettings()