Searched refs:pageIndex (Results 1 – 8 of 8) sorted by relevance
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | FocusHelper.java | 107 final int pageIndex = pagedView.indexOfChild(cellLayout); in onKey() local 113 int newIconIndex = FocusLogic.handleKeyEvent(keyCode, matrix, iconIndex, pageIndex, in onKey() 125 newParent = getCellLayoutChildrenForIndex(pagedView, pageIndex - 1); in onKey() 128 pagedView.snapToPage(pageIndex - 1); in onKey() 136 newParent = getCellLayoutChildrenForIndex(pagedView, pageIndex - 1); in onKey() 138 pagedView.snapToPage(pageIndex - 1); in onKey() 143 newParent = getCellLayoutChildrenForIndex(pagedView, pageIndex - 1); in onKey() 145 pagedView.snapToPage(pageIndex - 1); in onKey() 150 newParent = getCellLayoutChildrenForIndex(pagedView, pageIndex + 1); in onKey() 152 pagedView.snapToPage(pageIndex + 1); in onKey() [all …]
|
D | FolderPagedView.java | 385 int pageIndex = getNextPage(); in findNearestArea() local 386 CellLayout page = getPageAt(pageIndex); in findNearestArea() 392 pageIndex * mMaxItemsPerPage + sTempPosArray[1] * mGridCountX + sTempPosArray[0]); in findNearestArea() 396 protected PageMarkerResources getPageIndicatorMarker(int pageIndex) { in getPageIndicatorMarker() argument
|
D | PagedView.java | 375 protected PageIndicator.PageMarkerResources getPageIndicatorMarker(int pageIndex) { in getPageIndicatorMarker() argument 984 int pageIndex = indexOfChild(child); in onChildViewAdded() local 985 mPageIndicator.addMarker(pageIndex, in onChildViewAdded() 986 getPageIndicatorMarker(pageIndex), in onChildViewAdded()
|
D | Workspace.java | 4535 protected PageIndicator.PageMarkerResources getPageIndicatorMarker(int pageIndex) { 4536 long screenId = getScreenIdForPageIndex(pageIndex); 4545 return super.getPageIndicatorMarker(pageIndex);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | FocusHelper.java | 142 final int pageIndex = ((PagedView) container).indexToPage(container.indexOfChild(parent)); in handlePagedViewGridLayoutWidgetKeyEvent() local 163 if (pageIndex > 0) { in handlePagedViewGridLayoutWidgetKeyEvent() 164 newParent = getAppsCustomizePage(container, pageIndex - 1); in handlePagedViewGridLayoutWidgetKeyEvent() 180 if (pageIndex < (pageCount - 1)) { in handlePagedViewGridLayoutWidgetKeyEvent() 181 newParent = getAppsCustomizePage(container, pageIndex + 1); in handlePagedViewGridLayoutWidgetKeyEvent() 228 if (pageIndex > 0) { in handlePagedViewGridLayoutWidgetKeyEvent() 229 newParent = getAppsCustomizePage(container, pageIndex - 1); in handlePagedViewGridLayoutWidgetKeyEvent() 244 if (pageIndex < (pageCount - 1)) { in handlePagedViewGridLayoutWidgetKeyEvent() 245 newParent = getAppsCustomizePage(container, pageIndex + 1); in handlePagedViewGridLayoutWidgetKeyEvent() 302 … final int pageIndex = ((PagedView) container).indexToPage(container.indexOfChild(parentLayout)); in handleAppsCustomizeKeyEvent() local [all …]
|
D | AppsCustomizePagedView.java | 964 int pageIndex = task.page; in snapToPage() local 965 if ((mNextPage > mCurrentPage && pageIndex >= mCurrentPage) || in snapToPage() 966 (mNextPage < mCurrentPage && pageIndex <= mCurrentPage)) { in snapToPage() 967 task.setThreadPriority(getThreadPriorityForPage(pageIndex)); in snapToPage() 1322 int pageIndex = task.page; in onSyncWidgetPageItems() local 1323 task.setThreadPriority(getThreadPriorityForPage(pageIndex)); in onSyncWidgetPageItems()
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | FocusLogic.java | 83 public static int handleKeyEvent(int keyCode, int [][] map, int iconIdx, int pageIndex, in handleKeyEvent() argument 92 cntX, cntY, iconIdx, pageIndex, pageCount)); in handleKeyEvent() 99 if (!isRtl && newIndex == NOOP && pageIndex > 0) { in handleKeyEvent() 101 } else if (isRtl && newIndex == NOOP && pageIndex < pageCount - 1) { in handleKeyEvent() 107 if (!isRtl && newIndex == NOOP && pageIndex < pageCount - 1) { in handleKeyEvent() 109 } else if (isRtl && newIndex == NOOP && pageIndex > 0) { in handleKeyEvent() 126 newIndex = handlePageDown(pageIndex, pageCount); in handleKeyEvent() 129 newIndex = handlePageUp(pageIndex); in handleKeyEvent() 476 private static int handlePageDown(int pageIndex, int pageCount) { 477 if (pageIndex < pageCount -1) { [all …]
|
/packages/apps/TV/src/com/android/tv/onboarding/ |
D | WelcomeFragment.java | 722 protected String getPageTitle(int pageIndex) { in getPageTitle() argument 723 return mPageTitles[pageIndex]; in getPageTitle() 727 protected String getPageDescription(int pageIndex) { in getPageDescription() argument 728 return mPageDescriptions[pageIndex]; in getPageDescription()
|