Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/util/
DFocusLogic.java87 int cntX = map == null ? -1 : map.length; in handleKeyEvent() local
93 cntX, cntY, iconIdx, pageIndex, pageCount)); in handleKeyEvent()
99 newIndex = handleDpadHorizontal(iconIdx, cntX, cntY, map, -1 /*increment*/, isRtl); in handleKeyEvent()
107 newIndex = handleDpadHorizontal(iconIdx, cntX, cntY, map, 1 /*increment*/, isRtl); in handleKeyEvent()
115 newIndex = handleDpadVertical(iconIdx, cntX, cntY, map, 1 /*increment*/); in handleKeyEvent()
118 newIndex = handleDpadVertical(iconIdx, cntX, cntY, map, -1 /*increment*/); in handleKeyEvent()
301 private static int handleDpadHorizontal(int iconIdx, int cntX, int cntY, in handleDpadHorizontal() argument
311 for (int i = 0; i < cntX; i++) { in handleDpadHorizontal()
325 for (int x = xPos + increment; 0 <= x && x < cntX; x += increment) { in handleDpadHorizontal()
326 if ((newIconIndex = inspectMatrix(x, yPos, cntX, cntY, matrix)) != NOOP in handleDpadHorizontal()
[all …]