Home
last modified time | relevance | path

Searched refs:pageIndex (Results 1 – 21 of 21) 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) {
261 public float getPageAlpha(int pageIndex) { in getWorkspacePageAlphaProvider()
262 return pageIndex != centerPage ? 0 : 1f; in getWorkspacePageAlphaProvider()
342 public abstract float getPageAlpha(int pageIndex);
DWorkspace.java410 for (int pageIndex = currentPage; pageIndex < getPageCount(); pageIndex++) { in onDragStart()
411 CellLayout page = (CellLayout) getPageAt(pageIndex); in onDragStart()
413 setCurrentPage(pageIndex); in onDragStart()
3324 target.pageIndex = getCurrentPage(); in fillInLogContainerData()
DLauncher.java1421 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/apps/Launcher3/src/com/android/launcher3/logging/
DUserEventDispatcher.java168 event.srcTarget[0].pageIndex = taskIndex; in logTaskLaunchOrDismiss()
205 int pageIndex) { in logActionCommand() argument
207 srcTarget.pageIndex = pageIndex; in logActionCommand()
303 public void logActionOnContainer(int action, int dir, int containerType, int pageIndex) { in logActionOnContainer() argument
307 event.srcTarget[0].pageIndex = pageIndex; in logActionOnContainer()
320 int pageIndex) { in logStateChangeAction() argument
335 event.srcTarget[0].pageIndex = pageIndex; in logStateChangeAction()
DLoggerUtils.java110 str += " id=" + t.pageIndex; in getTargetStr()
112 str += "[PageIndex=" + t.pageIndex + ", grid(" + t.gridX + "," + t.gridY + ")]"; in getTargetStr()
146 + "), span(" + t.spanX + "," + t.spanY + "), pageIdx=" + t.pageIndex; in getItemStr()
152 typeStr += ", pageIdx=" + t.pageIndex; in getItemStr()
/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/modules/CellBroadcastService/src/com/android/cellbroadcastservice/
DSmsCbHeader.java170 int pageIndex = (pdu[5] & 0xf0) >>> 4; in SmsCbHeader() local
173 if (pageIndex == 0 || nrOfPages == 0 || pageIndex > nrOfPages) { in SmsCbHeader()
174 pageIndex = 1; in SmsCbHeader()
178 mPageIndex = pageIndex; in SmsCbHeader()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/logging/
DUserEventDispatcherExtension.java47 int dstContainerType, int pageIndex) { in logStateChangeAction() argument
51 srcParentContainerType, dstContainerType, pageIndex); in logStateChangeAction()
DStatsLogCompatManager.java136 target.pageIndex = pageId; in fillInLauncherExtensionWithPageId()
230 dst.pageId = src.pageIndex; in copy()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/inputconsumers/
DOverviewWithoutFocusInputConsumer.java153 int pageIndex = -1; // This number doesn't reflect workspace page index. in finishTouchTracking() local
157 touch, Direction.UP, containerType, pageIndex); in finishTouchTracking()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolderPagedView.java349 int pageIndex = getNextPage(); in findNearestArea() local
350 CellLayout page = getPageAt(pageIndex); in findNearestArea()
356 pageIndex * mOrganizer.getMaxItemsPerPage() in findNearestArea()
DFolder.java1368 target.pageIndex = mContent.getCurrentPage(); in fillInLogContainerData()
1543 folder_target.pageIndex = mInfo.screenId; in logEditFolderLabel()
/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.java91 public float getPageAlpha(int pageIndex) { in getWorkspacePageAlphaProvider()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/states/
DOverviewState.java132 public float getPageAlpha(int pageIndex) { in getWorkspacePageAlphaProvider()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/
DWindowTransformSwipeHandler.java847 int pageIndex = endTarget == LAST_TASK in doLogGesture() local
855 pageIndex); in doLogGesture()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/
DRecentsView.java569 final int pageIndex = requiredTaskCount - i - 1 + mTaskViewStartIndex; in applyLoadPlan() local
571 final TaskView taskView = (TaskView) getChildAt(pageIndex); in applyLoadPlan()