Home
last modified time | relevance | path

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

12

/packages/apps/Launcher3/src/com/android/launcher3/
DPagedView.java225 public int getCurrentPage() { in getCurrentPage() method in PagedView
793 if (getCurrentPage() > 0) { in dispatchUnhandledMove()
794 snapToPage(getCurrentPage() - 1); in dispatchUnhandledMove()
795 getChildAt(getCurrentPage() - 1).requestFocus(direction); in dispatchUnhandledMove()
799 if (getCurrentPage() < getPageCount() - 1) { in dispatchUnhandledMove()
800 snapToPage(getCurrentPage() + 1); in dispatchUnhandledMove()
801 getChildAt(getCurrentPage() + 1).requestFocus(direction); in dispatchUnhandledMove()
1435 if (page >= 0 && page != getCurrentPage() && !isInTouchMode()) {
1655 if (getCurrentPage() < getPageCount() - offset) {
1663 if (getCurrentPage() >= offset) {
DDeleteDropTarget.java138 int itemPage = mLauncher.getWorkspace().getCurrentPage(); in completeDrop()
DLauncher.java928 int pageIndex = mWorkspace.isOverlayShown() ? -1 : mWorkspace.getCurrentPage(); in logStopAndResume()
1164 return createShortcut((ViewGroup) mWorkspace.getChildAt(mWorkspace.getCurrentPage()), info); in createShortcut()
1442 target.pageIndex = mWorkspace.getCurrentPage(); in onNewIntent()
1957 return mWorkspace.getCurrentPage(); in getPageToBindSynchronously()
2101 (ViewGroup) workspace.getChildAt(workspace.getCurrentPage()), in bindItems()
DWorkspace.java1284 leftScreen = Utilities.boundToRange(getCurrentPage() - 1, 0, rightScreen); in enableHwLayersOnVisiblePages()
1285 rightScreen = Utilities.boundToRange(getCurrentPage() + 1, in enableHwLayersOnVisiblePages()
2895 final int curPage = getCurrentPage(); in getFirstMatchForAppClose()
3282 child.pageIndex = getCurrentPage(); in fillInLogContainerData()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/touchcontrollers/
DTaskViewTouchController.java154 directionsToDetectScroll = i == mRecentsView.getCurrentPage() in onControllerInterceptTouchEvent()
266 if (mRecentsView.getCurrentPage() != 0 || isGoingUp) { in onDrag()
302 if (mRecentsView.getCurrentPage() != 0 || mCurrentAnimationIsGoingUp) { in onDragEnd()
DNavBarToHomeTouchController.java250 mLauncher.getWorkspace().getCurrentPage()); in logStateChange()
DNoButtonQuickSwitchTouchController.java436 mLauncher.getWorkspace().getCurrentPage()); in onAnimationToStateCompleted()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolderAnimationManager.java190 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.java471 verifyVisibleHighResIcons(getCurrentPage() - 1); in onPageBeginTransition()
472 verifyVisibleHighResIcons(getCurrentPage() + 1); in onPageBeginTransition()
DFolder.java493 (CellLayout) workspace.getChildAt(workspace.getCurrentPage()); in startAnimation()
761 mFolderIcon.onFolderClose(mContent.getCurrentPage()); in closeComplete()
1485 child.pageIndex = mContent.getCurrentPage(); in fillInLogContainerData()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DSpringLoadedDragController.java60 if (page != w.getCurrentPage()) { in onAlarm()
/packages/apps/Launcher3/src/com/android/launcher3/touch/
DAbstractStateChangeTouchController.java569 mLauncher.getWorkspace().getCurrentPage()); in logReachedState()
576 .setPageIndex(mLauncher.getWorkspace().getCurrentPage())) in logReachedState()
DWorkspaceTouchListener.java144 (CellLayout) mWorkspace.getChildAt(mWorkspace.getCurrentPage()); in onTouch()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/
DStatusBarTouchController.java138 mLauncher.getWorkspace().getCurrentPage()); in onControllerTouchEvent()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/states/
DOverviewState.java75 View workspacePage = workspace.getPageAt(workspace.getCurrentPage()); in getWorkspaceScaleAndTranslation()
DQuickstepAtomicAnimationFactory.java174 workspace.getCurrentPage()); in prepareForAtomicAnimation()
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/ui/
DLauncherUIScrollTest.java92 assertEquals(0, launcher.getWorkspace().getCurrentPage()); in testWorkspacePagesBound()
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/
DWorkTabTest.java137 ((AllAppsPagedView) l.getAppsView().getContentView()).getCurrentPage() == WORK_PAGE in testWorkEduFlow()
DTaplTestsLauncher3.java86 return launcher.getWorkspace().getCurrentPage(); in getCurrentWorkspacePage()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/
DRecentsView.java1089 int runningIndex = getCurrentPage(); in setRecentsChangedOrientation()
1708 return getTaskViewAtByAbsoluteIndex(getCurrentPage()); in getCurrentPageTaskView()
1789 int currentPage = getCurrentPage(); in updatePageOffsets()
1892 int centerTaskIndex = getCurrentPage(); in createAdjacentPageAnimForTaskLaunch()
/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/
DTaplTestsQuickstep.java193 return launcher.<RecentsView>getOverviewPanel().getCurrentPage(); in getCurrentOverviewPage()
DFallbackRecentsTest.java238 return recents.<RecentsView>getOverviewPanel().getCurrentPage(); in getCurrentOverviewPage()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/
DTaskViewUtils.java142 boolean parallaxCenterAndAdjacentTask = taskIndex != recentsView.getCurrentPage(); in createRecentsWindowAnimator()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/util/
DStaggeredWorkspaceAnim.java84 CellLayout cellLayout = (CellLayout) workspace.getChildAt(workspace.getCurrentPage()); in StaggeredWorkspaceAnim()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/
DQuickstepLauncher.java236 rv.getPageAt(rv.getCurrentPage()), TYPE_VIEW_FOCUSED, null); in onStateSetEnd()

12