/packages/apps/Launcher3/src/com/android/launcher3/ |
D | Workspace.java | 183 public final IntSparseArrayMap<CellLayout> mWorkspaceScreens = new IntSparseArrayMap<>(); 208 CellLayout mDragTargetLayout = null; 212 private CellLayout mDragOverlappingLayout = null; 217 private CellLayout mDropToLayout = null; 432 CellLayout cl = (CellLayout) getChildAt(0); in estimateItemSize() 474 public Rect estimateItemPosition(CellLayout cl, int hCell, int vCell, int hSpan, int vSpan) { in estimateItemPosition() 487 CellLayout layout = (CellLayout) (mDragInfo.cell instanceof LauncherAppWidgetHostView in onDragStart() 514 CellLayout page = (CellLayout) getPageAt(pageIndex); in onDragStart() 610 if (!(child instanceof CellLayout)) { in onViewAdded() 613 CellLayout cl = ((CellLayout) child); in onViewAdded() [all …]
|
D | ShortcutAndWidgetContainer.java | 21 import static com.android.launcher3.CellLayout.FOLDER; 22 import static com.android.launcher3.CellLayout.HOTSEAT; 23 import static com.android.launcher3.CellLayout.WORKSPACE; 39 import com.android.launcher3.CellLayout.ContainerType; 315 CellLayout cl = (CellLayout) getParent(); in drawFolderLeaveBehindForIcon() 324 CellLayout cl = (CellLayout) getParent(); in clearFolderLeaveBehind()
|
D | WorkspaceStateTransitionAnimation.java | 121 applyChildState(state, (CellLayout) mWorkspace.getChildAt(i), i, pageAlphaProvider, in setWorkspaceProperty() 182 applyPageTranslation((CellLayout) mWorkspace.getChildAt(i), i, in setWorkspaceProperty() 215 public void applyChildState(LauncherState state, CellLayout cl, int childIndex) { in applyChildState() 220 private void applyChildState(LauncherState state, CellLayout cl, int childIndex, in applyChildState() 227 CellLayout.SPRING_LOADED_PROGRESS, springLoadedProgress, ZOOM_OUT); in applyChildState() 234 private void applyPageTranslation(CellLayout cellLayout, int childIndex, in applyPageTranslation()
|
D | CellLayoutContainer.java | 27 int getCellLayoutId(CellLayout cellLayout); in getCellLayoutId() 32 int getCellLayoutIndex(CellLayout cellLayout); in getCellLayoutIndex()
|
D | AppWidgetResizeFrame.java | 3 import static com.android.launcher3.CellLayout.SPRING_LOADED_PROGRESS; 81 private CellLayout mCellLayout; 207 public static void showForWidget(LauncherAppWidgetHostView widget, CellLayout cellLayout) { in showForWidget() 252 private void setupForWidget(LauncherAppWidgetHostView widgetView, CellLayout cellLayout, in setupForWidget() 408 CellLayout pairedCellLayout = workspace.getScreenPair(mCellLayout); 633 final CellLayout pairedCellLayout; 759 private void updateInvalidResizeEffect(CellLayout cellLayout, CellLayout pairedCellLayout, 765 private void updateInvalidResizeEffect(CellLayout cellLayout, CellLayout pairedCellLayout,
|
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
D | FolderPagedView.java | 38 import com.android.launcher3.CellLayout; 196 CellLayout page = (CellLayout) getChildAt(i); in unbindItems() 281 public CellLayout getPageAt(int index) { in getPageAt() 282 return (CellLayout) getChildAt(index); in getPageAt() 286 public CellLayout getCurrentCellLayout() { in getCurrentCellLayout() 290 private CellLayout createAndAddNewPage() { in createAndAddNewPage() 292 CellLayout page = mViewCache.getView(R.layout.folder_page, getContext(), this); in createAndAddNewPage() 311 ((CellLayout) getChildAt(i)).setFixedSize(width, height); in setFixedSize() 337 ArrayList<CellLayout> pages = new ArrayList<>(); in arrangeChildren() 339 CellLayout page = (CellLayout) getChildAt(i); in arrangeChildren() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/ |
D | AccessibleDragListenerAdapter.kt | 20 import com.android.launcher3.CellLayout 38 private val mDelegateFactory: Function<CellLayout, DragAndDropAccessibilityDelegate> 54 setEnableForLayout(child as CellLayout, true) in onChildViewAdded() 60 setEnableForLayout(child as CellLayout, false) in onChildViewRemoved() 66 setEnableForLayout(mViewGroup.getChildAt(i) as CellLayout, enable) in enableAccessibleDrag() 70 protected fun setEnableForLayout(layout: CellLayout, enable: Boolean) { in setEnableForLayout()
|
D | LauncherAccessibilityDelegate.java | 31 import com.android.launcher3.CellLayout; 253 CellLayout layout; in getSupportedResizeActions() 255 layout = (CellLayout) ((DragView) host.getParent()).getContentViewParent().getParent(); in getSupportedResizeActions() 257 layout = (CellLayout) host.getParent().getParent(); in getSupportedResizeActions() 301 CellLayout layout = (CellLayout) host.getParent().getParent(); in performResizeAction() 388 CellLayout layout = (CellLayout) workspace.getPageAt(screenIndex); in findSpaceOnWorkspace() 394 layout = (CellLayout) workspace.getPageAt(screenIndex); in findSpaceOnWorkspace()
|
D | FolderAccessibilityHelper.java | 19 import com.android.launcher3.CellLayout; 35 public FolderAccessibilityHelper(CellLayout layout) { in FolderAccessibilityHelper()
|
D | DragAndDropAccessibilityDelegate.java | 31 import com.android.launcher3.CellLayout; 48 protected final CellLayout mView; 54 public DragAndDropAccessibilityDelegate(CellLayout forView) { in DragAndDropAccessibilityDelegate()
|
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/accessibility/ |
D | AccessibleDragListenerAdapterTest.kt | 24 import com.android.launcher3.CellLayout 42 private lateinit var mockChildOne: CellLayout 43 private lateinit var mockChildTwo: CellLayout 44 private lateinit var mDelegateFactory: Function<CellLayout, DragAndDropAccessibilityDelegate> 52 mockChildOne = mock(CellLayout::class.java) in setup() 53 mockChildTwo = mock(CellLayout::class.java) in setup() 60 mock(Function::class.java) as Function<CellLayout, DragAndDropAccessibilityDelegate> in setup()
|
D | FolderAccessibilityHelperTest.kt | 24 import com.android.launcher3.CellLayout 44 @Mock private lateinit var mockLayout: CellLayout
|
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/celllayout/ |
D | UnitTestCellLayoutBuilderRule.kt | 23 import com.android.launcher3.CellLayout 46 override fun getCellLayoutId(cellLayout: CellLayout): Int = 0 in getCellLayoutId() 48 override fun getCellLayoutIndex(cellLayout: CellLayout): Int = 0 in getCellLayoutId() 67 fun createCellLayoutDefaultSize(columns: Int, rows: Int, isMulti: Boolean): CellLayout { in createCellLayoutDefaultSize() 77 ): CellLayout { in createCellLayout() 85 else CellLayout(getWrappedContext(applicationContext, dp), container) in createCellLayout()
|
D | HotseatReorderUnitTest.kt | 27 import com.android.launcher3.CellLayout in <lambda>() 83 cellLayout: CellLayout, in addViewInCellLayout() 103 private fun solve(board: CellLayoutBoard): CellLayout { in solve() 140 private fun commitTempPosition(cellLayout: CellLayout) { in commitTempPosition() 149 private fun boardFromCellLayout(cellLayout: CellLayout): CellLayoutBoard { in boardFromCellLayout()
|
D | CellLayoutTestUtils.java | 22 import com.android.launcher3.CellLayout; 34 for (CellLayout cellLayout : launcher.getWorkspace().mWorkspaceScreens) { in workspaceToBoards()
|
/packages/apps/Launcher3/src/com/android/launcher3/celllayout/ |
D | ReorderPreviewAnimation.kt | 25 import com.android.launcher3.CellLayout 26 import com.android.launcher3.CellLayout.REORDER_ANIMATION_DURATION 53 cellLayout: CellLayout, 64 private val finalScale = CellLayout.DEFAULT_SCALE - CHILD_DIVIDEND / child.width * initScale 104 initScale = CellLayout.DEFAULT_SCALE in setInitialAnimationValuesToBaseline()
|
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/ |
D | SpringLoadedDragController.kt | 19 import com.android.launcher3.CellLayout 28 private var screen: CellLayout? = null 33 fun setAlarm(cl: CellLayout?) { in cancel()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/ |
D | UnfoldMoveFromCenterWorkspaceAnimator.java | 21 import com.android.launcher3.CellLayout; 49 final CellLayout cellLayout = (CellLayout) page; in onPrepareViewsForAnimation()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/celllayout/integrationtest/ |
D | TestUtils.kt | 23 import com.android.launcher3.CellLayout 52 (workspace.getPageAt(workspace.currentPage) as CellLayout).getChildAt(cellX, cellY) in getWidgetAtCell() 63 val cellLayout = workspace.getPageAt(workspace.currentPage) as CellLayout in getCellTopLeftRelativeToWorkspace()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/unfold/ |
D | UnfoldAnimationBuilder.kt | 22 import com.android.launcher3.CellLayout in <lambda>() 121 val registerViews: (CellLayout) -> Unit = { cellLayout -> in <lambda>() 131 workspace.forEachVisiblePage { registerViews(it as CellLayout) } in <lambda>()
|
/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
D | LauncherPreviewRenderer.java | 67 import com.android.launcher3.CellLayout; 224 private final Map<Integer, CellLayout> mWorkspaceScreens = new HashMap<>(); 278 CellLayout firstScreen = mRootView.findViewById(R.id.workspace); in LauncherPreviewRenderer() 289 CellLayout rightPanel = mRootView.findViewById(R.id.workspace_right); in LauncherPreviewRenderer() 444 public CellLayout getScreenWithId(int screenId) { 454 CellLayout screen = mWorkspaceScreens.get(info.screenId); 463 CellLayout screen = isOnDesktop 519 CellLayout screen = mWorkspaceScreens.get(info.screenId); 608 CellLayout firstScreen = mWorkspaceScreens.get(FIRST_SCREEN_ID);
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/workspace/ |
D | TaplTwoPanelWorkspaceTest.java | 32 import com.android.launcher3.CellLayout; 341 CellLayout page = launcher.getWorkspace().getScreenWithId(pageId); in assertPageEmpty() 351 CellLayout page = (CellLayout) launcher.getWorkspace().getPageAt(i); in assertPagesExist() 360 CellLayout page = launcher.getWorkspace().getScreenWithId(pageId); in assertItemsOnPage()
|
/packages/apps/Launcher3/src/com/android/launcher3/touch/ |
D | WorkspaceTouchListener.java | 42 import com.android.launcher3.CellLayout; 158 final CellLayout currentPage = in onTouch() 159 (CellLayout) mWorkspace.getChildAt(mWorkspace.getCurrentPage()); in onTouch()
|
/packages/apps/Launcher3/src/com/android/launcher3/keyboard/ |
D | KeyboardDragAndDropView.java | 39 import com.android.launcher3.CellLayout; 183 mDelegates.add(((CellLayout) pv.getChildAt(i)).getDragAndDropAccessibilityDelegate()); in getNextSelection() 276 CellLayout currentParent = (CellLayout) icon.getParent().getParent(); in showForIcon()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/hybridhotseat/ |
D | HotseatEduController.java | 27 import com.android.launcher3.CellLayout; 90 CellLayout target = workspace.getScreenWithId(workspace.getScreenIdForPageIndex(i)); in migrateHotseatWhole() 156 CellLayout cellLayout = mLauncher.getWorkspace().getScreenWithId(Workspace.FIRST_SCREEN_ID); in showEdu()
|