/packages/apps/Launcher3/src/com/android/launcher3/ |
D | Workspace.java | 141 @Thunk final IntSparseArrayMap<CellLayout> mWorkspaceScreens = new IntSparseArrayMap<>(); 150 private CellLayout.CellInfo mDragInfo; 162 @Thunk CellLayout mDragTargetLayout = null; 166 private CellLayout mDragOverlappingLayout = null; 171 private CellLayout mDropToLayout = null; 318 CellLayout page = mWorkspaceScreens.valueAt(i); in setInsets() 333 CellLayout cl = (CellLayout) getChildAt(0); in estimateItemSize() 363 public Rect estimateItemPosition(CellLayout cl, int hCell, int vCell, int hSpan, int vSpan) { in estimateItemPosition() 376 CellLayout layout = (CellLayout) mDragInfo.cell.getParent().getParent(); in onDragStart() 411 CellLayout page = (CellLayout) getPageAt(pageIndex); in onDragStart() [all …]
|
D | FocusHelper.java | 108 final CellLayout cellLayout = (CellLayout) itemContainer.getParent(); in onKey() 133 int row = ((CellLayout.LayoutParams) v.getLayoutParams()).cellY; in onKey() 222 final CellLayout hotseatLayout = (CellLayout) hotseatParent.getParent(); in handleHotseatButtonKeyEvent() 228 int iconRank = ((CellLayout.LayoutParams) hotseatLayout.getShortcutsAndWidgets() in handleHotseatButtonKeyEvent() 231 final CellLayout iconLayout = (CellLayout) workspace.getChildAt(pageIndex); in handleHotseatButtonKeyEvent() 335 CellLayout iconLayout = (CellLayout) parent.getParent(); in handleIconKeyEvent() 346 CellLayout hotseatLayout = (CellLayout) hotseat.getChildAt(0); in handleIconKeyEvent() 367 CellLayout workspaceLayout = (CellLayout) workspace.getChildAt(pageIndex); in handleIconKeyEvent() 380 int row = ((CellLayout.LayoutParams) v.getLayoutParams()).cellY; in handleIconKeyEvent() 383 iconLayout = (CellLayout) parent.getParent(); in handleIconKeyEvent() [all …]
|
D | ShortcutAndWidgetContainer.java | 28 import com.android.launcher3.CellLayout.ContainerType; 67 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); in getChildAt() 94 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); in setupLp() 115 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); in measureChild() 127 int cellPaddingX = mContainerType == CellLayout.WORKSPACE in measureChild() 147 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); in onLayout()
|
D | WorkspaceLayoutManager.java | 85 final CellLayout layout; in addInScreen() 102 CellLayout.LayoutParams lp; in addInScreen() 103 if (genericLp == null || !(genericLp instanceof CellLayout.LayoutParams)) { in addInScreen() 104 lp = new CellLayout.LayoutParams(x, y, spanX, spanY); in addInScreen() 106 lp = (CellLayout.LayoutParams) genericLp; in addInScreen() 138 CellLayout getScreenWithId(int screenId); in getScreenWithId()
|
D | WorkspaceStateTransitionAnimation.java | 84 applyChildState(state, (CellLayout) mWorkspace.getChildAt(i), i, pageAlphaProvider, in setWorkspaceProperty() 148 public void applyChildState(LauncherState state, CellLayout cl, int childIndex) { in applyChildState() 153 private void applyChildState(LauncherState state, CellLayout cl, int childIndex, in applyChildState()
|
D | AppWidgetResizeFrame.java | 54 private CellLayout mCellLayout; 142 public static void showForWidget(LauncherAppWidgetHostView widget, CellLayout cellLayout) { in showForWidget() 157 private void setupForWidget(LauncherAppWidgetHostView widgetView, CellLayout cellLayout, in setupForWidget() 287 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) mWidgetView.getLayoutParams(); in resizeWidgetIfNeeded()
|
D | DeviceProfile.java | 30 import com.android.launcher3.CellLayout.ContainerType; 609 case CellLayout.WORKSPACE: in getCellHeight() 611 case CellLayout.FOLDER: in getCellHeight() 613 case CellLayout.HOTSEAT: in getCellHeight()
|
D | Launcher.java | 752 final CellLayout dropLayout = in handleActivityResult() 813 CellLayout layout = getCellLayout(pendingArgs.container, pendingArgs.screenId); in onRequestPermissionsResult() 841 CellLayout dropLayout = mWorkspace.getScreenWithId(screenId); in ensurePendingDropLayoutExists() 855 CellLayout cellLayout = mWorkspace.getScreenWithId(requestArgs.screenId); in completeTwoStageWidgetDrop() 1180 CellLayout layout = getCellLayout(container, screenId); in completeAddShortcut() 1695 FolderIcon addFolder(CellLayout layout, int container, final int screenId, int cellX, in addFolder() 1707 CellLayout parent = mWorkspace.getParentCellLayoutForView(newFolder); in addFolder() 1873 public CellLayout getCellLayout(int container, int screenId) { in getCellLayout() 2082 CellLayout cl = mWorkspace.getScreenWithId(item.screenId); in bindItems() 2469 ViewGroup layout = ((CellLayout) mWorkspace.getPageAt(i)).getShortcutsAndWidgets(); in dump()
|
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
D | FolderPagedView.java | 32 import com.android.launcher3.CellLayout; 149 CellLayout page = (CellLayout) getChildAt(i); in unbindItems() 190 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) view.getLayoutParams(); in addViewForRank() 206 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) textView.getLayoutParams(); in createNewView() 208 textView.setLayoutParams(new CellLayout.LayoutParams( in createNewView() 219 public CellLayout getPageAt(int index) { in getPageAt() 220 return (CellLayout) getChildAt(index); in getPageAt() 223 public CellLayout getCurrentCellLayout() { in getCurrentCellLayout() 227 private CellLayout createAndAddNewPage() { in createAndAddNewPage() 229 CellLayout page = mViewCache.getView(R.layout.folder_page, getContext(), this); in createAndAddNewPage() [all …]
|
D | FolderIcon.java | 44 import com.android.launcher3.CellLayout; 247 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) getLayoutParams(); in onDragEnter() 248 CellLayout cl = (CellLayout) getParent().getParent(); in onDragEnter() 654 ((CellLayout.LayoutParams) getLayoutParams()).canReorder = true; in clearLeaveBehindIfExists() 656 CellLayout cl = (CellLayout) getParent().getParent(); in clearLeaveBehindIfExists() 662 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) getLayoutParams(); in drawLeaveBehindIfExists() 666 CellLayout cl = (CellLayout) getParent().getParent(); in drawLeaveBehindIfExists()
|
D | PreviewBackground.java | 42 import com.android.launcher3.CellLayout; 78 private CellLayout mDrawingDelegate; 318 private void delegateDrawing(CellLayout delegate, int cellX, int cellY) { in delegateDrawing() 388 public void animateToAccept(CellLayout cl, int cellX, int cellY) { in animateToAccept() 397 CellLayout cl = mDrawingDelegate; in animateToRest()
|
D | FolderAnimationManager.java | 41 import com.android.launcher3.CellLayout; 225 CellLayout cellLayout = mContent.getCurrentCellLayout(); in getAnimator() 304 CellLayout.LayoutParams btvLp = (CellLayout.LayoutParams) btv.getLayoutParams(); in addPreviewItemAnimators()
|
D | Folder.java | 54 import com.android.launcher3.CellLayout; 251 mContent, CellLayout.FOLDER_ACCESSIBILITY_DRAG) { in startDrag() 449 final CellLayout currentCellLayout = in startAnimation() 450 (CellLayout) workspace.getChildAt(workspace.getCurrentPage()); in startAnimation() 475 private boolean shouldUseHardwareLayerForAnimation(CellLayout currentCellLayout) { in shouldUseHardwareLayerForAnimation() 1075 CellLayout cellLayout = mLauncher.getCellLayout(mInfo.container, in replaceFolderWithFinalItem()
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | FocusLogic.java | 24 import com.android.launcher3.CellLayout; 164 public static int[][] createSparseMatrix(CellLayout layout) { in createSparseMatrix() 178 int cx = ((CellLayout.LayoutParams) cell.getLayoutParams()).cellX; in createSparseMatrix() 179 int cy = ((CellLayout.LayoutParams) cell.getLayoutParams()).cellY; in createSparseMatrix() 198 CellLayout iconLayout, CellLayout hotseatLayout, DeviceProfile dp) { in createSparseMatrixWithHotseat() 220 int cx = ((CellLayout.LayoutParams) cell.getLayoutParams()).cellX; in createSparseMatrixWithHotseat() 221 int cy = ((CellLayout.LayoutParams) cell.getLayoutParams()).cellY; in createSparseMatrixWithHotseat() 228 int cx = ((CellLayout.LayoutParams) in createSparseMatrixWithHotseat() 232 int cy = ((CellLayout.LayoutParams) in createSparseMatrixWithHotseat() 254 public static int[][] createSparseMatrixWithPivotColumn(CellLayout iconLayout, in createSparseMatrixWithPivotColumn() [all …]
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/util/ |
D | StaggeredWorkspaceAnim.java | 31 import com.android.launcher3.CellLayout; 82 CellLayout cellLayout = (CellLayout) workspace.getChildAt(workspace.getCurrentPage()); in StaggeredWorkspaceAnim() 106 CellLayout.LayoutParams lp = ((CellLayout.LayoutParams) child.getLayoutParams()); in StaggeredWorkspaceAnim() 115 CellLayout.LayoutParams lp = ((CellLayout.LayoutParams) child.getLayoutParams()); in StaggeredWorkspaceAnim()
|
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/ |
D | LauncherAccessibilityDelegate.java | 25 import com.android.launcher3.CellLayout; 271 CellLayout layout = (CellLayout) host.getParent().getParent(); in getSupportedResizeActions() 297 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) host.getLayoutParams(); in performResizeAction() 298 CellLayout layout = (CellLayout) host.getParent().getParent(); in performResizeAction() 421 CellLayout layout = (CellLayout) workspace.getPageAt(screenIndex); in findSpaceOnWorkspace() 427 layout = (CellLayout) workspace.getPageAt(screenIndex); in findSpaceOnWorkspace()
|
D | AccessibleDragListenerAdapter.java | 21 import com.android.launcher3.CellLayout; 59 setEnableForLayout((CellLayout) mViewGroup.getChildAt(i), enable); in enableAccessibleDrag() 63 protected final void setEnableForLayout(CellLayout layout, boolean enable) { in setEnableForLayout()
|
D | DragAndDropAccessibilityDelegate.java | 26 import com.android.launcher3.CellLayout; 44 protected final CellLayout mView; 50 public DragAndDropAccessibilityDelegate(CellLayout forView) { in DragAndDropAccessibilityDelegate()
|
D | FolderAccessibilityHelper.java | 19 import com.android.launcher3.CellLayout; 35 public FolderAccessibilityHelper(CellLayout layout) { in FolderAccessibilityHelper()
|
D | WorkspaceAccessibilityHelper.java | 25 import com.android.launcher3.CellLayout; 44 public WorkspaceAccessibilityHelper(CellLayout layout) { in WorkspaceAccessibilityHelper()
|
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/ |
D | SpringLoadedDragController.java | 20 import com.android.launcher3.CellLayout; 33 private CellLayout mScreen; 47 public void setAlarm(CellLayout cl) { in setAlarm()
|
/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
D | LauncherPreviewRenderer.java | 46 import com.android.launcher3.CellLayout; 143 private final CellLayout mWorkspace; 214 public CellLayout getScreenWithId(int screenId) { 266 CellLayout.LayoutParams lp = 267 new CellLayout.LayoutParams(0, 0, mWorkspace.getCountX(), 1);
|
D | WorkspaceAndHotseatScrim.java | 45 import com.android.launcher3.CellLayout; 144 CellLayout currCellLayout = mWorkspace.getCurrentDragOverlappingLayout(); in draw()
|
/packages/apps/Launcher3/src/com/android/launcher3/touch/ |
D | ItemLongClickListener.java | 29 import com.android.launcher3.CellLayout; 77 CellLayout.CellInfo longClickCellInfo = new CellLayout.CellInfo(v, info); in beginDrag()
|
D | WorkspaceTouchListener.java | 36 import com.android.launcher3.CellLayout; 142 final CellLayout currentPage = in onTouch() 143 (CellLayout) mWorkspace.getChildAt(mWorkspace.getCurrentPage()); in onTouch()
|