Home
last modified time | relevance | path

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

12

/packages/apps/Launcher3/src/com/android/launcher3/
DPagedView.java214 public int getCurrentPage() { in getCurrentPage() method in PagedView
823 if (getCurrentPage() > 0) { in dispatchUnhandledMove()
824 int nextPage = validateNewPage(getCurrentPage() - 1); in dispatchUnhandledMove()
830 if (getCurrentPage() < getPageCount() - 1) { in dispatchUnhandledMove()
831 int nextPage = validateNewPage(getCurrentPage() + 1); in dispatchUnhandledMove()
1443 if (page >= 0 && page != getCurrentPage() && !isInTouchMode()) { in requestChildFocus()
1646 if (getCurrentPage() < getPageCount() - offset) { in onInitializeAccessibilityNodeInfo()
1654 if (getCurrentPage() >= offset) { in onInitializeAccessibilityNodeInfo()
DDeleteDropTarget.java130 int itemPage = mLauncher.getWorkspace().getCurrentPage(); in completeDrop()
DLauncher.java959 int pageIndex = mWorkspace.isOverlayShown() ? -1 : mWorkspace.getCurrentPage(); in logStopAndResume()
1088 .setPageIndex(getWorkspace().getCurrentPage())) in onStateSetEnd()
1214 return createShortcut((ViewGroup) mWorkspace.getChildAt(mWorkspace.getCurrentPage()), info); in createShortcut()
2091 return mWorkspace.getCurrentPage(); in getPageToBindSynchronously()
2252 (ViewGroup) workspace.getChildAt(workspace.getCurrentPage()), in bindItems()
DWorkspace.java1288 leftScreen = Utilities.boundToRange(getCurrentPage() - 1, 0, rightScreen); in enableHwLayersOnVisiblePages()
1289 rightScreen = Utilities.boundToRange(getCurrentPage() + 1, in enableHwLayersOnVisiblePages()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolderAnimationManager.java205 for (BubbleTextView icon : mFolder.getItemsOnPage(mFolder.mContent.getCurrentPage())) { in getAnimator()
246 int page = mIsOpening ? mContent.getCurrentPage() : mContent.getDestinationPage(); in getAnimator()
339 boolean isOnFirstPage = mFolder.mContent.getCurrentPage() == 0; in addPreviewItemAnimators()
341 isOnFirstPage ? 0 : mFolder.mContent.getCurrentPage()); in addPreviewItemAnimators()
DFolderPagedView.java480 verifyVisibleHighResIcons(getCurrentPage() - 1); in onPageBeginTransition()
481 verifyVisibleHighResIcons(getCurrentPage() + 1); in onPageBeginTransition()
DLauncherDelegate.java90 mLauncher.getWorkspace().getCurrentPage(), mTempRect, mTempRectF); in addRectForColorExtraction()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DAllAppsContainerView.java204 state.putInt(BUNDLE_KEY_CURRENT_PAGE, getCurrentPage()); in dispatchSaveInstanceState()
587 public int getCurrentPage() { in getCurrentPage() method in AllAppsContainerView
588 return mViewPager != null ? mViewPager.getCurrentPage() : AdapterHolder.MAIN; in getCurrentPage()
/packages/apps/Launcher3/src/com/android/launcher3/widget/picker/
DWidgetsFullSheet.java300 if (!mHasWorkProfile || mViewPager.getCurrentPage() == AdapterHolder.PRIMARY) { in getRecyclerView()
434 onActivePageChanged(mViewPager.getCurrentPage()); in onWidgetsBound()
688 : mViewPager.getCurrentPage()); in getViewToShowEducationTip()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/states/
DOverviewState.java71 View workspacePage = workspace.getPageAt(workspace.getCurrentPage()); in getWorkspaceScaleAndTranslation()
DQuickstepAtomicAnimationFactory.java120 workspace.getCurrentPage()); in prepareForAtomicAnimation()
/packages/apps/Launcher3/src/com/android/launcher3/touch/
DWorkspaceTouchListener.java144 (CellLayout) mWorkspace.getChildAt(mWorkspace.getCurrentPage()); in onTouch()
DAbstractStateChangeTouchController.java380 .setPageIndex(mLauncher.getWorkspace().getCurrentPage())) in logReachedState()
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/ui/
DLauncherUIScrollTest.java88 assertEquals(0, launcher.getWorkspace().getCurrentPage()); in testWorkspacePagesBound()
/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/
DTaplTestsQuickstep.java181 return launcher.<RecentsView>getOverviewPanel().getCurrentPage(); in getCurrentOverviewPage()
DFallbackRecentsTest.java266 return recents.<RecentsView>getOverviewPanel().getCurrentPage(); in getCurrentOverviewPage()
/packages/apps/Launcher3/tests/src_disabled/
DWorkTabTest.java174 if (((AllAppsPagedView) l.getAppsView().getContentView()).getCurrentPage() in testWorkEduFlow()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/
DTaskViewTouchController.java173 if (i == mRecentsView.getCurrentPage()) { in onControllerInterceptTouchEvent()
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/
DTaplTestsLauncher3.java88 return launcher.getWorkspace().getCurrentPage(); in getCurrentWorkspacePage()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/
DQuickstepLauncher.java269 rv.getPageAt(rv.getCurrentPage()), TYPE_VIEW_FOCUSED, null); in onStateSetEnd()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
DRecentsView.java1725 int runningIndex = getCurrentPage(); in setRecentsChangedOrientation()
2736 return getTaskViewAtByAbsoluteIndex(getCurrentPage()); in getCurrentPageTaskView()
2815 int modalMidpoint = getCurrentPage(); in updatePageOffsets()
3209 int centerTaskIndex = getCurrentPage();
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DTaskViewUtils.java200 taskIndex != recentsView.getCurrentPage() && !showAsGrid; in createRecentsWindowAnimator()
/packages/apps/Settings/src/com/android/settings/widget/
DDotsPageIndicator.java726 int getCurrentPage() { in getCurrentPage() method in DotsPageIndicator
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/
DLauncherAccessibilityDelegate.java475 int screenIndex = workspace.getCurrentPage(); in findSpaceOnWorkspace()
/packages/apps/Launcher3/src/com/android/launcher3/popup/
DArrowPopup.java388 launcher.getWorkspace().getCurrentPage(), view, rf); in initColorExtractionLocations()

12