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.java231 final CellLayout iconLayout = (CellLayout) workspace.getChildAt(pageIndex); in handleHotseatButtonKeyEvent() local
232 if (iconLayout == null) { in handleHotseatButtonKeyEvent()
238 final ViewGroup iconParent = iconLayout.getShortcutsAndWidgets(); in handleHotseatButtonKeyEvent()
245 matrix = FocusLogic.createSparseMatrixWithHotseat(iconLayout, hotseatLayout, profile); in handleHotseatButtonKeyEvent()
250 matrix = FocusLogic.createSparseMatrixWithHotseat(iconLayout, hotseatLayout, profile); in handleHotseatButtonKeyEvent()
335 CellLayout iconLayout = (CellLayout) parent.getParent(); in handleIconKeyEvent() local
336 final Workspace workspace = (Workspace) iconLayout.getParent(); in handleIconKeyEvent()
343 final int pageIndex = workspace.indexOfChild(iconLayout); in handleIconKeyEvent()
354 matrix = FocusLogic.createSparseMatrixWithHotseat(iconLayout, hotseatLayout, profile); in handleIconKeyEvent()
357 matrix = FocusLogic.createSparseMatrixWithHotseat(iconLayout, hotseatLayout, profile); in handleIconKeyEvent()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/util/
DFocusLogic.java198 CellLayout iconLayout, CellLayout hotseatLayout, DeviceProfile dp) { in createSparseMatrixWithHotseat() argument
200 ViewGroup iconParent = iconLayout.getShortcutsAndWidgets(); in createSparseMatrixWithHotseat()
208 n = iconLayout.getCountY() + hotseatLayout.getCountY(); in createSparseMatrixWithHotseat()
210 m = iconLayout.getCountX() + hotseatLayout.getCountX(); in createSparseMatrixWithHotseat()
230 matrix[cx][iconLayout.getCountY()] = iconParent.getChildCount() + i; in createSparseMatrixWithHotseat()
234 matrix[iconLayout.getCountX()][cy] = iconParent.getChildCount() + i; in createSparseMatrixWithHotseat()
254 public static int[][] createSparseMatrixWithPivotColumn(CellLayout iconLayout, in createSparseMatrixWithPivotColumn() argument
257 ViewGroup iconParent = iconLayout.getShortcutsAndWidgets(); in createSparseMatrixWithPivotColumn()
259 int[][] matrix = createFullMatrix(iconLayout.getCountX() + 1, iconLayout.getCountY()); in createSparseMatrixWithPivotColumn()