Added AppInfoDropTargetBar to spring loaded workspace.
Change-Id: Ieedc68eba9a5934ab30d6d546d8a837274491064
This commit is contained in:
1 parent
b54c4a3d86
commit
34d2c915c4
13 files changed
+195
-41
No files matched your search
@@ -1589,6 +1589,7 @@ public class Workspace extends PagedView
|
||||
setOnClickListener(mLauncher);
|
||||
}
|
||||
mLauncher.getSearchDropTargetBar().enableAccessibleDrag(enable);
|
||||
mLauncher.getAppInfoDropTargetBar().enableAccessibleDrag(enable);
|
||||
mLauncher.getHotseat().getLayout()
|
||||
.enableAccessibleDrag(enable, CellLayout.WORKSPACE_ACCESSIBILITY_DRAG);
|
||||
}
|
||||
@@ -2013,6 +2014,10 @@ public class Workspace extends PagedView
|
||||
return -workspaceOffsetTopEdge + overviewOffsetTopEdge;
|
||||
}
|
||||
|
||||
int getSpringLoadedTranslationY() {
|
||||
return getOverviewModeTranslationY();
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the current workspace {@link State}, returning an animation transitioning the workspace
|
||||
* to that new state.
|
||||
@@ -3825,7 +3830,7 @@ public class Workspace extends PagedView
|
||||
|
||||
@Override
|
||||
public boolean supportsAppInfoDropTarget() {
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user