Home
last modified time | relevance | path

Searched refs:iconLayout (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/
DFocusHelper.java225 final CellLayout iconLayout = (CellLayout) workspace.getChildAt(pageIndex); in handleHotseatButtonKeyEvent() local
226 if (iconLayout == null) { in handleHotseatButtonKeyEvent()
232 final ViewGroup iconParent = iconLayout.getShortcutsAndWidgets(); in handleHotseatButtonKeyEvent()
239 matrix = FocusLogic.createSparseMatrixWithHotseat(iconLayout, hotseatLayout, in handleHotseatButtonKeyEvent()
245 matrix = FocusLogic.createSparseMatrixWithHotseat(iconLayout, hotseatLayout, in handleHotseatButtonKeyEvent()
253 matrix = FocusLogic.createSparseMatrix(iconLayout); in handleHotseatButtonKeyEvent()
258 matrix = FocusLogic.createSparseMatrix(iconLayout); in handleHotseatButtonKeyEvent()
353 CellLayout iconLayout = (CellLayout) parent.getParent(); in handleIconKeyEvent() local
354 final Workspace workspace = (Workspace) iconLayout.getParent(); in handleIconKeyEvent()
361 final int pageIndex = workspace.indexOfChild(iconLayout); in handleIconKeyEvent()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/util/
DFocusLogic.java193 public static int[][] createSparseMatrixWithHotseat(CellLayout iconLayout, in createSparseMatrixWithHotseat() argument
196 ViewGroup iconParent = iconLayout.getShortcutsAndWidgets(); in createSparseMatrixWithHotseat()
200 hotseatLayout.getCountX() > iconLayout.getCountX() : in createSparseMatrixWithHotseat()
201 hotseatLayout.getCountY() > iconLayout.getCountY(); in createSparseMatrixWithHotseat()
206 n = iconLayout.getCountY() + hotseatLayout.getCountY(); in createSparseMatrixWithHotseat()
208 m = iconLayout.getCountX() + hotseatLayout.getCountX(); in createSparseMatrixWithHotseat()
249 matrix[cx][iconLayout.getCountY()] = iconParent.getChildCount() + i; in createSparseMatrixWithHotseat()
253 matrix[iconLayout.getCountX()][cy] = iconParent.getChildCount() + i; in createSparseMatrixWithHotseat()
273 public static int[][] createSparseMatrixWithPivotColumn(CellLayout iconLayout, in createSparseMatrixWithPivotColumn() argument
276 ViewGroup iconParent = iconLayout.getShortcutsAndWidgets(); in createSparseMatrixWithPivotColumn()
[all …]