Searched refs:newIconIndex (Results 1 – 2 of 2) sorted by relevance
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | FocusHelper.java | 120 int newIconIndex = FocusLogic.handleKeyEvent(keyCode, matrix, iconIndex, pageIndex, in onKey() local 122 if (newIconIndex == FocusLogic.NOOP) { in onKey() 129 switch (newIconIndex) { in onKey() 137 ((newIconIndex == FocusLogic.PREVIOUS_PAGE_LEFT_COLUMN) in onKey() 169 newParent, v, newIconIndex); in onKey() 179 child = itemContainer.getChildAt(newIconIndex); in onKey() 265 int newIconIndex = FocusLogic.handleKeyEvent(keyCode, matrix, iconIndex, pageIndex, in handleHotseatButtonKeyEvent() local 269 switch (newIconIndex) { in handleHotseatButtonKeyEvent() 302 if (parent == iconParent && newIconIndex >= iconParent.getChildCount()) { in handleHotseatButtonKeyEvent() 303 newIconIndex -= iconParent.getChildCount(); in handleHotseatButtonKeyEvent() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | FocusLogic.java | 306 int newIconIndex = NOOP; in handleDpadHorizontal() local 326 if ((newIconIndex = inspectMatrix(x, yPos, cntX, cntY, matrix)) != NOOP in handleDpadHorizontal() 327 && newIconIndex != ALL_APPS_COLUMN) { in handleDpadHorizontal() 328 return newIconIndex; in handleDpadHorizontal() 351 newIconIndex = inspectMatrix(x, nextYPos1 + offset1, cntX, cntY, matrix); in handleDpadHorizontal() 352 if (newIconIndex != NOOP) { in handleDpadHorizontal() 353 return newIconIndex; in handleDpadHorizontal() 356 newIconIndex = inspectMatrix(x, nextYPos2 + offset2, cntX, cntY, matrix); in handleDpadHorizontal() 357 if (newIconIndex != NOOP) { in handleDpadHorizontal() 358 return newIconIndex; in handleDpadHorizontal() [all …]
|