Home
last modified time | relevance | path

Searched refs:CellLayout (Results 1 – 25 of 46) sorted by relevance

12

/packages/apps/Launcher3/src/com/android/launcher3/
DWorkspace.java182 public final IntSparseArrayMap<CellLayout> mWorkspaceScreens = new IntSparseArrayMap<>();
207 CellLayout mDragTargetLayout = null;
211 private CellLayout mDragOverlappingLayout = null;
216 private CellLayout mDropToLayout = null;
415 CellLayout cl = (CellLayout) getChildAt(0); in estimateItemSize()
457 public Rect estimateItemPosition(CellLayout cl, int hCell, int vCell, int hSpan, int vSpan) { in estimateItemPosition()
470 CellLayout layout = (CellLayout) (mDragInfo.cell instanceof LauncherAppWidgetHostView in onDragStart()
497 CellLayout page = (CellLayout) getPageAt(pageIndex); in onDragStart()
587 if (!(child instanceof CellLayout)) { in onViewAdded()
590 CellLayout cl = ((CellLayout) child); in onViewAdded()
[all …]
DShortcutAndWidgetContainer.java21 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;
313 CellLayout cl = (CellLayout) getParent(); in drawFolderLeaveBehindForIcon()
322 CellLayout cl = (CellLayout) getParent(); in clearFolderLeaveBehind()
DWorkspaceStateTransitionAnimation.java121 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()
DCellLayoutContainer.java27 int getCellLayoutId(CellLayout cellLayout); in getCellLayoutId()
32 int getCellLayoutIndex(CellLayout cellLayout); in getCellLayoutIndex()
DAppWidgetResizeFrame.java3 import static com.android.launcher3.CellLayout.SPRING_LOADED_PROGRESS;
81 private CellLayout mCellLayout;
207 public static void showForWidget(LauncherAppWidgetHostView widget, CellLayout cellLayout) { in showForWidget()
238 private void setupForWidget(LauncherAppWidgetHostView widgetView, CellLayout cellLayout, in setupForWidget()
394 CellLayout pairedCellLayout = workspace.getScreenPair(mCellLayout);
619 final CellLayout pairedCellLayout;
745 private void updateInvalidResizeEffect(CellLayout cellLayout, CellLayout pairedCellLayout,
751 private void updateInvalidResizeEffect(CellLayout cellLayout, CellLayout pairedCellLayout,
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/
DAccessibleDragListenerAdapter.java25 import com.android.launcher3.CellLayout;
40 private final Function<CellLayout, DragAndDropAccessibilityDelegate> mDelegateFactory;
47 Function<CellLayout, DragAndDropAccessibilityDelegate> delegateFactory) { in AccessibleDragListenerAdapter() argument
69 setEnableForLayout((CellLayout) child, true); in onChildViewAdded()
76 setEnableForLayout((CellLayout) child, false); in onChildViewRemoved()
82 setEnableForLayout((CellLayout) mViewGroup.getChildAt(i), enable); in enableAccessibleDrag()
86 protected final void setEnableForLayout(CellLayout layout, boolean enable) { in setEnableForLayout()
DLauncherAccessibilityDelegate.java29 import com.android.launcher3.CellLayout;
222 CellLayout layout; in getSupportedResizeActions()
224 layout = (CellLayout) ((DragView) host.getParent()).getContentViewParent().getParent(); in getSupportedResizeActions()
226 layout = (CellLayout) host.getParent().getParent(); in getSupportedResizeActions()
270 CellLayout layout = (CellLayout) host.getParent().getParent(); in performResizeAction()
358 CellLayout layout = (CellLayout) workspace.getPageAt(screenIndex); in findSpaceOnWorkspace()
364 layout = (CellLayout) workspace.getPageAt(screenIndex); in findSpaceOnWorkspace()
DFolderAccessibilityHelper.java19 import com.android.launcher3.CellLayout;
35 public FolderAccessibilityHelper(CellLayout layout) { in FolderAccessibilityHelper()
DDragAndDropAccessibilityDelegate.java31 import com.android.launcher3.CellLayout;
48 protected final CellLayout mView;
53 public DragAndDropAccessibilityDelegate(CellLayout forView) { in DragAndDropAccessibilityDelegate()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolderPagedView.java38 import com.android.launcher3.CellLayout;
166 CellLayout page = (CellLayout) getChildAt(i); in unbindItems()
251 public CellLayout getPageAt(int index) { in getPageAt()
252 return (CellLayout) getChildAt(index); in getPageAt()
256 public CellLayout getCurrentCellLayout() { in getCurrentCellLayout()
260 private CellLayout createAndAddNewPage() { in createAndAddNewPage()
262 CellLayout page = mViewCache.getView(R.layout.folder_page, getContext(), this); in createAndAddNewPage()
281 ((CellLayout) getChildAt(i)).setFixedSize(width, height); in setFixedSize()
307 ArrayList<CellLayout> pages = new ArrayList<>(); in arrangeChildren()
309 CellLayout page = (CellLayout) getChildAt(i); in arrangeChildren()
[all …]
DPreviewBackground.java47 import com.android.launcher3.CellLayout;
93 private CellLayout mDrawingDelegate;
385 private void delegateDrawing(CellLayout delegate, int cellX, int cellY) { in delegateDrawing()
461 public void animateToAccept(CellLayout cl, int cellX, int cellY) { in animateToAccept()
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/celllayout/
DUnitTestCellLayoutBuilderRule.kt23 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 createCellLayout(width: Int, height: Int, isMulti: Boolean): CellLayout { in createCellLayout()
75 else CellLayout(getWrappedContext(applicationContext, dp), container) in createCellLayout()
DHotseatReorderUnitTest.kt27 import com.android.launcher3.CellLayout in <lambda>()
83 cellLayout: CellLayout, in addViewInCellLayout()
103 private fun solve(board: CellLayoutBoard): CellLayout { in solve()
142 private fun commitTempPosition(cellLayout: CellLayout) { in commitTempPosition()
151 private fun boardFromCellLayout(cellLayout: CellLayout): CellLayoutBoard { in boardFromCellLayout()
DCellLayoutTestUtils.java22 import com.android.launcher3.CellLayout;
34 for (CellLayout cellLayout : launcher.getWorkspace().mWorkspaceScreens) { in workspaceToBoards()
/packages/apps/Launcher3/src/com/android/launcher3/celllayout/
DReorderPreviewAnimation.kt25 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()
DMulticellReorderAlgorithm.java20 import com.android.launcher3.CellLayout;
36 public MulticellReorderAlgorithm(CellLayout cellLayout) { in MulticellReorderAlgorithm()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DSpringLoadedDragController.java20 import com.android.launcher3.CellLayout;
35 private CellLayout mScreen;
56 public void setAlarm(CellLayout cl) { in setAlarm()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DUnfoldMoveFromCenterWorkspaceAnimator.java21 import com.android.launcher3.CellLayout;
49 final CellLayout cellLayout = (CellLayout) page; in onPrepareViewsForAnimation()
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DLauncherPreviewRenderer.java62 import com.android.launcher3.CellLayout;
145 private final Map<Integer, CellLayout> mWorkspaceScreens = new HashMap<>();
189 CellLayout firstScreen = mRootView.findViewById(R.id.workspace); in LauncherPreviewRenderer()
200 CellLayout rightPanel = mRootView.findViewById(R.id.workspace_right); in LauncherPreviewRenderer()
335 public CellLayout getScreenWithId(int screenId) {
345 CellLayout screen = mWorkspaceScreens.get(info.screenId);
354 CellLayout screen = isOnDesktop
419 CellLayout screen = mWorkspaceScreens.get(info.screenId);
509 CellLayout firstScreen = mWorkspaceScreens.get(FIRST_SCREEN_ID);
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/unfold/
DUnfoldAnimationBuilder.kt22 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/tests/src/com/android/launcher3/ui/workspace/
DTaplTwoPanelWorkspaceTest.java34 import com.android.launcher3.CellLayout;
349 CellLayout page = launcher.getWorkspace().getScreenWithId(pageId); in assertPageEmpty()
359 CellLayout page = (CellLayout) launcher.getWorkspace().getPageAt(i); in assertPagesExist()
368 CellLayout page = launcher.getWorkspace().getScreenWithId(pageId); in assertItemsOnPage()
/packages/apps/Launcher3/src/com/android/launcher3/touch/
DWorkspaceTouchListener.java40 import com.android.launcher3.CellLayout;
157 final CellLayout currentPage = in onTouch()
158 (CellLayout) mWorkspace.getChildAt(mWorkspace.getCurrentPage()); in onTouch()
/packages/apps/Launcher3/src/com/android/launcher3/keyboard/
DKeyboardDragAndDropView.java39 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/
DHotseatEduController.java27 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()
/packages/apps/Launcher3/src/com/android/launcher3/testing/
DTestInformationHandler.java45 import com.android.launcher3.CellLayout;
270 final CellLayout cellLayout = workspace.getScreenWithId(screenId); in call()
280 CellLayout cellLayout = (CellLayout) workspace.getPageAt( in call()
470 CellLayout cellLayout, int cellX, int cellY, int spanX, int spanY) {

12