Home
last modified time | relevance | path

Searched refs:CellLayoutLayoutParams (Results 1 – 21 of 21) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/celllayout/
DCellLayoutLayoutParams.java30 public class CellLayoutLayoutParams extends ViewGroup.MarginLayoutParams { class
80 public CellLayoutLayoutParams(Context c, AttributeSet attrs) { in CellLayoutLayoutParams() method in CellLayoutLayoutParams
86 public CellLayoutLayoutParams(ViewGroup.LayoutParams source) { in CellLayoutLayoutParams() method in CellLayoutLayoutParams
92 public CellLayoutLayoutParams(CellLayoutLayoutParams source) { in CellLayoutLayoutParams() method in CellLayoutLayoutParams
103 public CellLayoutLayoutParams(int cellX, int cellY, int cellHSpan, int cellVSpan) { in CellLayoutLayoutParams() method in CellLayoutLayoutParams
104 super(CellLayoutLayoutParams.MATCH_PARENT, CellLayoutLayoutParams.MATCH_PARENT); in CellLayoutLayoutParams()
DMulticellReorderAlgorithm.java74 CellLayoutLayoutParams lp = new CellLayoutLayoutParams(mcl.getCountX() / 2, 0, 1, in addSeam()
116 CellLayoutLayoutParams lp = (CellLayoutLayoutParams) view.getLayoutParams(); in createGridOccupancyWithSeam()
DReorderAlgorithm.java147 view -> ((CellLayoutLayoutParams) ((View) view).getLayoutParams()).getCellX() in rearrangementExists()
149 view -> ((CellLayoutLayoutParams) ((View) view).getLayoutParams()).getCellY() in rearrangementExists()
155 CellLayoutLayoutParams lp = (CellLayoutLayoutParams) child.getLayoutParams(); in rearrangementExists()
262 CellLayoutLayoutParams lp = (CellLayoutLayoutParams) v.getLayoutParams(); in pushViewsToTempLocation()
/packages/apps/Launcher3/src/com/android/launcher3/
DShortcutAndWidgetContainer.java40 import com.android.launcher3.celllayout.CellLayoutLayoutParams;
92 CellLayoutLayoutParams lp = (CellLayoutLayoutParams) child.getLayoutParams(); in getChildAt()
131 CellLayoutLayoutParams lp = (CellLayoutLayoutParams) child.getLayoutParams(); in setupLp()
154 CellLayoutLayoutParams lp = (CellLayoutLayoutParams) child.getLayoutParams(); in measureChild()
218 CellLayoutLayoutParams lp = (CellLayoutLayoutParams) child.getLayoutParams(); in layoutChild()
309 CellLayoutLayoutParams lp = (CellLayoutLayoutParams) child.getLayoutParams(); in drawFolderLeaveBehindForIcon()
320 ((CellLayoutLayoutParams) child.getLayoutParams()).canReorder = true; in clearFolderLeaveBehind()
DCellLayout.java60 import com.android.launcher3.celllayout.CellLayoutLayoutParams;
139 @Thunk final CellLayoutLayoutParams[] mDragOutlines = new CellLayoutLayoutParams[4];
148 @Thunk final ArrayMap<CellLayoutLayoutParams, Animator> mReorderAnimators = new ArrayMap<>();
275 mDragOutlines[i] = new CellLayoutLayoutParams(0, 0, 0, 0); in CellLayout()
625 CellLayoutLayoutParams params = mDragOutlines[i]; in visualizeGrid()
645 protected float getMarginForGivenCellParams(CellLayoutLayoutParams params) { in getMarginForGivenCellParams()
749 CellLayoutLayoutParams params, boolean markCells) { in addViewToCellLayout()
750 final CellLayoutLayoutParams lp = params; in addViewToCellLayout()
1059 final CellLayoutLayoutParams lp = (CellLayoutLayoutParams) child.getLayoutParams(); in animateChildToPosition()
1163 CellLayoutLayoutParams cell = mDragOutlines[mDragOutlineCurrent]; in visualizeDropLocation()
[all …]
DWorkspaceLayoutManager.java22 import com.android.launcher3.celllayout.CellLayoutLayoutParams;
123 CellLayoutLayoutParams lp; in addInScreen()
124 if (genericLp == null || !(genericLp instanceof CellLayoutLayoutParams)) { in addInScreen()
125 lp = new CellLayoutLayoutParams(x, y, spanX, spanY); in addInScreen()
127 lp = (CellLayoutLayoutParams) genericLp; in addInScreen()
DMultipageCellLayout.java25 import com.android.launcher3.celllayout.CellLayoutLayoutParams;
116 CellLayoutLayoutParams lp = (CellLayoutLayoutParams) child.getLayoutParams(); in copyCurrentStateToSolution()
157 CellLayoutLayoutParams params = in updateMarginBetweenCellLayouts()
158 (CellLayoutLayoutParams) workspaceItem.getLayoutParams(); in updateMarginBetweenCellLayouts()
169 protected float getMarginForGivenCellParams(CellLayoutLayoutParams params) { in getMarginForGivenCellParams()
DAppWidgetResizeFrame.java37 import com.android.launcher3.celllayout.CellLayoutLayoutParams;
304 CellLayoutLayoutParams lp = (CellLayoutLayoutParams) mWidgetView.getLayoutParams(); in setupForWidget()
434 if (!(wlp instanceof CellLayoutLayoutParams)) {
449 CellLayoutLayoutParams lp = (CellLayoutLayoutParams) wlp;
DWorkspace.java79 import com.android.launcher3.celllayout.CellLayoutLayoutParams;
618 CellLayoutLayoutParams lp = new CellLayoutLayoutParams(0, 0, cellHSpan, 1); in bindAndInitFirstWorkspaceScreen()
1860 CellLayoutLayoutParams lp = (CellLayoutLayoutParams) dropOverView.getLayoutParams(); in willCreateUserFolder()
1893 CellLayoutLayoutParams lp = (CellLayoutLayoutParams) dropOverView.getLayoutParams(); in willAddToExistingUserFolder()
2116 CellLayoutLayoutParams lp = (CellLayoutLayoutParams) cell.getLayoutParams(); in onDrop()
2144 CellLayoutLayoutParams lp = (CellLayoutLayoutParams) cell.getLayoutParams(); in onDrop()
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/celllayout/
DCellLayoutTestUtils.java39 CellLayoutLayoutParams params = in workspaceToBoards()
40 (CellLayoutLayoutParams) callView.getLayoutParams(); in workspaceToBoards()
67 CellLayoutLayoutParams params = (CellLayoutLayoutParams) callView.getLayoutParams(); in viewsToBoard()
DHotseatReorderUnitTest.kt93 cell.layoutParams = CellLayoutLayoutParams(cellX, cellY, spanX, spanY) in addViewInCellLayout()
98 cell.layoutParams as CellLayoutLayoutParams, in addViewInCellLayout()
145 val params = cellLayout.shortcutsAndWidgets[i].layoutParams as CellLayoutLayoutParams in commitTempPosition()
DReorderAlgorithmUnitTest.java140 cell.setLayoutParams(new CellLayoutLayoutParams(cellX, cellY, spanX, spanY)); in addViewInCellLayout()
142 (CellLayoutLayoutParams) cell.getLayoutParams(), true); in addViewInCellLayout()
203 new CellLayoutLayoutParams(val.cellX, val.cellY, val.spanX, val.spanY))); in boardFromSolution()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DStaggeredWorkspaceAnim.java48 import com.android.launcher3.celllayout.CellLayoutLayoutParams;
125 CellLayoutLayoutParams lp = ((CellLayoutLayoutParams) child.getLayoutParams()); in StaggeredWorkspaceAnim()
196 CellLayoutLayoutParams lp = ((CellLayoutLayoutParams) child.getLayoutParams()); in addAnimationForPage()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolderPagedView.java45 import com.android.launcher3.celllayout.CellLayoutLayoutParams;
211 CellLayoutLayoutParams lp = (CellLayoutLayoutParams) view.getLayoutParams(); in addViewForRank()
236 CellLayoutLayoutParams lp = (CellLayoutLayoutParams) icon.getLayoutParams(); in createNewView()
238 icon.setLayoutParams(new CellLayoutLayoutParams( in createNewView()
335 CellLayoutLayoutParams lp = (CellLayoutLayoutParams) v.getLayoutParams(); in arrangeChildren()
DFolderAnimationManager.java46 import com.android.launcher3.celllayout.CellLayoutLayoutParams;
383 CellLayoutLayoutParams vLp = (CellLayoutLayoutParams) v.getLayoutParams(); in addPreviewItemAnimators()
DFolderIcon.java63 import com.android.launcher3.celllayout.CellLayoutLayoutParams;
282 CellLayoutLayoutParams lp = (CellLayoutLayoutParams) getLayoutParams(); in onDragEnter()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/hybridhotseat/
DHotseatEduDialog.java39 import com.android.launcher3.celllayout.CellLayoutLayoutParams;
191 CellLayoutLayoutParams lp = new CellLayoutLayoutParams(i, 0, 1, 1); in populatePreview()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/
DPredictedAppIcon.java52 import com.android.launcher3.celllayout.CellLayoutLayoutParams;
285 ((CellLayoutLayoutParams) getLayoutParams()).canReorder = true; in pin()
294 ((CellLayoutLayoutParams) getLayoutParams()).canReorder = false; in finishBinding()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DDragLayer.java57 import com.android.launcher3.celllayout.CellLayoutLayoutParams;
248 CellLayoutLayoutParams lp = (CellLayoutLayoutParams) child.getLayoutParams(); in animateViewIntoPosition()
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/
DLauncherAccessibilityDelegate.java35 import com.android.launcher3.celllayout.CellLayoutLayoutParams;
269 CellLayoutLayoutParams lp = (CellLayoutLayoutParams) host.getLayoutParams(); in performResizeAction()
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DLauncherPreviewRenderer.java75 import com.android.launcher3.celllayout.CellLayoutLayoutParams;
511 CellLayoutLayoutParams lp = new CellLayoutLayoutParams(