Searched refs:newIconIndex (Results 1 – 2 of 2) sorted by relevance
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | FocusHelper.java | 119 int newIconIndex = FocusLogic.handleKeyEvent(keyCode, matrix, iconIndex, pageIndex, in onKey() local 121 if (newIconIndex == FocusLogic.NOOP) { in onKey() 128 switch (newIconIndex) { in onKey() 136 ((newIconIndex == FocusLogic.PREVIOUS_PAGE_LEFT_COLUMN) in onKey() 168 newParent, v, newIconIndex); in onKey() 178 child = itemContainer.getChildAt(newIconIndex); in onKey() 264 int newIconIndex = FocusLogic.handleKeyEvent(keyCode, matrix, iconIndex, pageIndex, in handleHotseatButtonKeyEvent() local 268 switch (newIconIndex) { in handleHotseatButtonKeyEvent() 301 if (parent == iconParent && newIconIndex >= iconParent.getChildCount()) { in handleHotseatButtonKeyEvent() 302 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 …]
|