mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 10:48:19 +00:00
Changing the state UI logic for normal build and quickStep build
> Creating ShareHandlers for managing UI > In normal build, hotseat is hidden in overview, while in QuickStepBuild, it is visible Change-Id: I5f8d35c75b861d912d93fce186b5dd74106184c3
This commit is contained in:
@@ -105,7 +105,7 @@ import java.util.Set;
|
||||
public class Workspace extends PagedView
|
||||
implements DropTarget, DragSource, View.OnTouchListener,
|
||||
DragController.DragListener, ViewGroup.OnHierarchyChangeListener,
|
||||
Insettable {
|
||||
Insettable, LauncherStateManager.StateHandler {
|
||||
private static final String TAG = "Launcher.Workspace";
|
||||
|
||||
/** The value that {@link #mTransitionProgress} must be greater than for
|
||||
@@ -1558,6 +1558,7 @@ public class Workspace extends PagedView
|
||||
/**
|
||||
* Sets the current workspace {@link LauncherState} and updates the UI without any animations
|
||||
*/
|
||||
@Override
|
||||
public void setState(LauncherState toState) {
|
||||
onStartStateTransition(toState);
|
||||
mStateTransitionAnimation.setState(toState);
|
||||
@@ -1567,6 +1568,7 @@ public class Workspace extends PagedView
|
||||
/**
|
||||
* Sets the current workspace {@link LauncherState}, then animates the UI
|
||||
*/
|
||||
@Override
|
||||
public void setStateWithAnimation(LauncherState toState, AnimationLayerSet layerViews,
|
||||
AnimatorSet anim, AnimationConfig config) {
|
||||
StateTransitionListener listener = new StateTransitionListener(toState);
|
||||
|
||||
Reference in New Issue
Block a user