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.java86 int cntX = map == null ? -1 : map.length; in handleKeyEvent() local
92 cntX, cntY, iconIdx, pageIndex, pageCount)); in handleKeyEvent()
98 newIndex = handleDpadHorizontal(iconIdx, cntX, cntY, map, -1 /*increment*/, isRtl); in handleKeyEvent()
106 newIndex = handleDpadHorizontal(iconIdx, cntX, cntY, map, 1 /*increment*/, isRtl); in handleKeyEvent()
114 newIndex = handleDpadVertical(iconIdx, cntX, cntY, map, 1 /*increment*/); in handleKeyEvent()
117 newIndex = handleDpadVertical(iconIdx, cntX, cntY, map, -1 /*increment*/); in handleKeyEvent()
320 private static int handleDpadHorizontal(int iconIdx, int cntX, int cntY, in handleDpadHorizontal() argument
330 for (int i = 0; i < cntX; i++) { in handleDpadHorizontal()
344 for (int x = xPos + increment; 0 <= x && x < cntX; x += increment) { in handleDpadHorizontal()
345 if ((newIconIndex = inspectMatrix(x, yPos, cntX, cntY, matrix)) != NOOP in handleDpadHorizontal()
[all …]