Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/
DFocusHelper.java113 final int pageIndex = pagedView.indexOfChild(cellLayout); in onKey() local
119 int newIconIndex = FocusLogic.handleKeyEvent(keyCode, matrix, iconIndex, pageIndex, in onKey()
131 newParent = getCellLayoutChildrenForIndex(pagedView, pageIndex - 1); in onKey()
134 pagedView.snapToPage(pageIndex - 1); in onKey()
142 newParent = getCellLayoutChildrenForIndex(pagedView, pageIndex - 1); in onKey()
144 pagedView.snapToPage(pageIndex - 1); in onKey()
149 newParent = getCellLayoutChildrenForIndex(pagedView, pageIndex - 1); in onKey()
151 pagedView.snapToPage(pageIndex - 1); in onKey()
156 newParent = getCellLayoutChildrenForIndex(pagedView, pageIndex + 1); in onKey()
158 pagedView.snapToPage(pageIndex + 1); in onKey()
[all …]
DLauncherState.java87 public float getPageAlpha(int pageIndex) {
257 public float getPageAlpha(int pageIndex) { in getWorkspacePageAlphaProvider()
258 return pageIndex != centerPage ? 0 : 1f; in getWorkspacePageAlphaProvider()
338 public abstract float getPageAlpha(int pageIndex);
DWorkspace.java416 for (int pageIndex = currentPage; pageIndex < getPageCount(); pageIndex++) { in onDragStart()
417 CellLayout page = (CellLayout) getPageAt(pageIndex); in onDragStart()
419 setCurrentPage(pageIndex); in onDragStart()
3315 target.pageIndex = getCurrentPage(); in fillInLogContainerData()
DLauncher.java1390 target.pageIndex = mWorkspace.getCurrentPage(); in onNewIntent()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DFocusLogic.java84 public static int handleKeyEvent(int keyCode, int [][] map, int iconIdx, int pageIndex, in handleKeyEvent() argument
93 cntX, cntY, iconIdx, pageIndex, pageCount)); in handleKeyEvent()
100 if (!isRtl && newIndex == NOOP && pageIndex > 0) { in handleKeyEvent()
102 } else if (isRtl && newIndex == NOOP && pageIndex < pageCount - 1) { in handleKeyEvent()
108 if (!isRtl && newIndex == NOOP && pageIndex < pageCount - 1) { in handleKeyEvent()
110 } else if (isRtl && newIndex == NOOP && pageIndex > 0) { in handleKeyEvent()
127 newIndex = handlePageDown(pageIndex, pageCount); in handleKeyEvent()
130 newIndex = handlePageUp(pageIndex); in handleKeyEvent()
457 private static int handlePageDown(int pageIndex, int pageCount) {
458 if (pageIndex < pageCount -1) {
[all …]
/packages/services/BuiltInPrintService/jni/lib/
DwprintJNI.c1311 int index = 0, pageIndex, incrementor; in Java_com_android_bips_ipp_Backend_nativeStartJob() local
1322 for (pageIndex = 0; ((result == OK) && (pageIndex < len)); pageIndex++) { in Java_com_android_bips_ipp_Backend_nativeStartJob()
1323 jstring page = (jstring) (*env)->GetObjectArrayElement(env, array, pageIndex); in Java_com_android_bips_ipp_Backend_nativeStartJob()
1330 pdf_pages_ary[pageIndex] = page_count; in Java_com_android_bips_ipp_Backend_nativeStartJob()
1331 page_range_arr[pageIndex] = 0; in Java_com_android_bips_ipp_Backend_nativeStartJob()
1334 _get_pdf_page_range(env, jobParams, &pages_ary[pageIndex][0], in Java_com_android_bips_ipp_Backend_nativeStartJob()
1335 pdf_pages_ary[pageIndex], &page_range_arr[pageIndex], page_range_str); in Java_com_android_bips_ipp_Backend_nativeStartJob()
1388 for (pageIndex = 1; ((result == OK) && (pageIndex <= len)); pageIndex++) { in Java_com_android_bips_ipp_Backend_nativeStartJob()
1398 result = wprintPage(job_handle, pageIndex, (char *) pageStr, false, false, in Java_com_android_bips_ipp_Backend_nativeStartJob()
1406 wprintPage(job_handle, pageIndex, NULL, true, false, 0, 0, 0, 0); in Java_com_android_bips_ipp_Backend_nativeStartJob()
/packages/apps/Launcher3/src/com/android/launcher3/logging/
DUserEventDispatcher.java153 event.srcTarget[0].pageIndex = taskIndex; in logTaskLaunchOrDismiss()
280 public void logActionOnContainer(int action, int dir, int containerType, int pageIndex) { in logActionOnContainer() argument
284 event.srcTarget[0].pageIndex = pageIndex; in logActionOnContainer()
297 int pageIndex) { in logStateChangeAction() argument
312 event.srcTarget[0].pageIndex = pageIndex; in logStateChangeAction()
DLoggerUtils.java109 str += " id=" + t.pageIndex; in getTargetStr()
144 + "), pageIdx=" + t.pageIndex; in getItemStr()
152 typeStr += ", pageIdx=" + t.pageIndex; in getItemStr()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/logging/
DUserEventDispatcherExtension.java47 int dstContainerType, int pageIndex) { in logStateChangeAction() argument
51 srcParentContainerType, dstContainerType, pageIndex); in logStateChangeAction()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolderPagedView.java408 int pageIndex = getNextPage(); in findNearestArea() local
409 CellLayout page = getPageAt(pageIndex); in findNearestArea()
415 pageIndex * mMaxItemsPerPage + sTmpArray[1] * mGridCountX + sTmpArray[0]); in findNearestArea()
DFolder.java1345 target.pageIndex = mContent.getCurrentPage();
/packages/apps/TV/src/com/android/tv/onboarding/
DWelcomeFragment.java824 protected String getPageTitle(int pageIndex) { in getPageTitle() argument
825 return mPageTitles[pageIndex]; in getPageTitle()
829 protected String getPageDescription(int pageIndex) { in getPageDescription() argument
830 return mPageDescriptions[pageIndex]; in getPageDescription()
/packages/apps/Launcher3/src_ui_overrides/com/android/launcher3/uioverrides/states/
DAllAppsState.java39 public float getPageAlpha(int pageIndex) {
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/states/
DAllAppsState.java37 public float getPageAlpha(int pageIndex) {
/packages/apps/Launcher3/go/quickstep/src/com/android/launcher3/uioverrides/states/
DOverviewState.java90 public float getPageAlpha(int pageIndex) { in getWorkspacePageAlphaProvider()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/states/
DOverviewState.java120 public float getPageAlpha(int pageIndex) { in getWorkspacePageAlphaProvider()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/
DWindowTransformSwipeHandler.java1042 int pageIndex = endTarget == LAST_TASK in doLogGesture() local
1050 pageIndex); in doLogGesture()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/
DRecentsView.java568 final int pageIndex = requiredTaskCount - i - 1; in applyLoadPlan() local
570 final TaskView taskView = (TaskView) getChildAt(pageIndex); in applyLoadPlan()