Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/
DPagedView.java211 public int getCurrentPage() { in getCurrentPage() method in PagedView
764 if (getCurrentPage() > 0) { in dispatchUnhandledMove()
765 snapToPage(getCurrentPage() - 1); in dispatchUnhandledMove()
766 getChildAt(getCurrentPage() - 1).requestFocus(direction); in dispatchUnhandledMove()
770 if (getCurrentPage() < getPageCount() - 1) { in dispatchUnhandledMove()
771 snapToPage(getCurrentPage() + 1); in dispatchUnhandledMove()
772 getChildAt(getCurrentPage() + 1).requestFocus(direction); in dispatchUnhandledMove()
1373 if (page >= 0 && page != getCurrentPage() && !isInTouchMode()) { in requestChildFocus()
1591 if (getCurrentPage() < getPageCount() - offset) { in onInitializeAccessibilityNodeInfo()
1599 if (getCurrentPage() >= offset) { in onInitializeAccessibilityNodeInfo()
DDeleteDropTarget.java124 int itemPage = mLauncher.getWorkspace().getCurrentPage(); in completeDrop()
DLauncherState.java310 workspace.getCurrentPage());
DLauncher.java1148 return createShortcut((ViewGroup) mWorkspace.getChildAt(mWorkspace.getCurrentPage()), info); in createShortcut()
1421 target.pageIndex = mWorkspace.getCurrentPage(); in onNewIntent()
1918 return mWorkspace.getCurrentPage(); in getCurrentWorkspaceScreen()
2062 (ViewGroup) workspace.getChildAt(workspace.getCurrentPage()), in bindItems()
DWorkspace.java1312 leftScreen = Utilities.boundToRange(getCurrentPage() - 1, 0, rightScreen); in enableHwLayersOnVisiblePages()
1313 rightScreen = Utilities.boundToRange(getCurrentPage() + 1, in enableHwLayersOnVisiblePages()
2947 final int curPage = getCurrentPage(); in getFirstMatchForAppClose()
3324 target.pageIndex = getCurrentPage(); in fillInLogContainerData()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/touchcontrollers/
DTaskViewTouchController.java136 directionsToDetectScroll = i == mRecentsView.getCurrentPage() in onControllerInterceptTouchEvent()
241 if (mRecentsView.getCurrentPage() != 0 || isGoingUp) { in onDrag()
284 if (mRecentsView.getCurrentPage() != 0 || mCurrentAnimationIsGoingUp) {
DNavBarToHomeTouchController.java234 mLauncher.getWorkspace().getCurrentPage()); in logStateChange()
DNoButtonQuickSwitchTouchController.java443 mLauncher.getWorkspace().getCurrentPage()); in onAnimationToStateCompleted()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/states/
DBackgroundAppState.java72 if (recentsView.getCurrentPage() >= 0) { in getOverviewScaleAndTranslation()
73 if (recentsView.getCurrentPage() <= taskCount - 1) { in getOverviewScaleAndTranslation()
DOverviewState.java83 View workspacePage = workspace.getPageAt(workspace.getCurrentPage()); in getWorkspaceScaleAndTranslation()
/packages/apps/Launcher3/src/com/android/launcher3/touch/
DWorkspaceTouchListener.java143 (CellLayout) mWorkspace.getChildAt(mWorkspace.getCurrentPage()); in onTouch()
177 mWorkspace.getCurrentPage()); in onLongPress()
DAbstractStateChangeTouchController.java539 mLauncher.getWorkspace().getCurrentPage()); in logReachedState()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolderAnimationManager.java189 for (BubbleTextView icon : mFolder.getItemsOnPage(mFolder.mContent.getCurrentPage())) { in getAnimator()
292 boolean isOnFirstPage = mFolder.mContent.getCurrentPage() == 0; in addPreviewItemAnimators()
294 isOnFirstPage ? 0 : mFolder.mContent.getCurrentPage()); in addPreviewItemAnimators()
DFolderPagedView.java466 verifyVisibleHighResIcons(getCurrentPage() - 1); in onPageBeginTransition()
467 verifyVisibleHighResIcons(getCurrentPage() + 1); in onPageBeginTransition()
DFolder.java450 (CellLayout) workspace.getChildAt(workspace.getCurrentPage()); in startAnimation()
690 mFolderIcon.onFolderClose(mContent.getCurrentPage()); in closeComplete()
1368 target.pageIndex = mContent.getCurrentPage(); in fillInLogContainerData()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DSpringLoadedDragController.java60 if (page != w.getCurrentPage()) { in onAlarm()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/
DStatusBarTouchController.java143 mLauncher.getWorkspace().getCurrentPage()); in onControllerTouchEvent()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/
DTaskViewUtils.java156 int centerTaskIndex = recentsView.getCurrentPage(); in getRecentsWindowAnimator()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/util/
DStaggeredWorkspaceAnim.java82 CellLayout cellLayout = (CellLayout) workspace.getChildAt(workspace.getCurrentPage()); in StaggeredWorkspaceAnim()
/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/
DTaplTestsQuickstep.java184 return launcher.<RecentsView>getOverviewPanel().getCurrentPage(); in getCurrentOverviewPage()
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/
DTaplTestsLauncher3.java88 return launcher.getWorkspace().getCurrentPage(); in getCurrentWorkspacePage()
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/
DLauncherAccessibilityDelegate.java419 int screenIndex = workspace.getCurrentPage(); in findSpaceOnWorkspace()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/
DRecentsView.java1383 return getTaskViewAtByAbsoluteIndex(getCurrentPage()); in getCurrentPageTaskView()
1514 int centerTaskIndex = getCurrentPage(); in createAdjacentPageAnimForTaskLaunch()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DDotsPageIndicator.java726 int getCurrentPage() { in getCurrentPage() method in DotsPageIndicator
/packages/apps/Settings/src/com/android/settings/widget/
DDotsPageIndicator.java726 int getCurrentPage() { in getCurrentPage() method in DotsPageIndicator