Home
last modified time | relevance | path

Searched refs:currentPage (Results 1 – 13 of 13) sorted by relevance

/packages/apps/Dialer/java/com/android/dialer/app/list/
DListsFragment.java72 private Fragment currentPage; field in ListsFragment
128 currentPage = adapter.getItem(viewPager.getCurrentItem()); in onResume()
307 if (currentPage instanceof CallLogFragment) { in onPageSelected()
308 ((CallLogFragment) currentPage).onNotVisible(); in onPageSelected()
310 currentPage = adapter.getItem(position); in onPageSelected()
311 if (currentPage instanceof CallLogFragment) { in onPageSelected()
312 ((CallLogFragment) currentPage).onVisible(); in onPageSelected()
418 if (currentPage instanceof VisualVoicemailCallLogFragment in shouldShowFab()
419 && ((VisualVoicemailCallLogFragment) currentPage).isModalAlertVisible()) { in shouldShowFab()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DDotsPageIndicator.java82 private int currentPage; field in DotsPageIndicator
259 currentPage = viewPager.getCurrentItem(); in setCurrentPageImmediate()
261 currentPage = 0; in setCurrentPageImmediate()
265 selectedDotX = dotCenterX[currentPage]; in setCurrentPageImmediate()
405 && !(page == currentPage && selectedDotInPosition == true)) { in getUnselectedPath()
558 if (now == currentPage || pageCount == 0) { in setSelectedPage()
562 int was = currentPage; in setSelectedPage()
563 currentPage = now; in setSelectedPage()
727 return currentPage; in getCurrentPage()
/packages/apps/Settings/src/com/android/settings/widget/
DDotsPageIndicator.java82 private int currentPage; field in DotsPageIndicator
259 currentPage = viewPager.getCurrentItem(); in setCurrentPageImmediate()
261 currentPage = 0; in setCurrentPageImmediate()
265 selectedDotX = dotCenterX[currentPage]; in setCurrentPageImmediate()
405 && !(page == currentPage && selectedDotInPosition == true)) { in getUnselectedPath()
558 if (now == currentPage || pageCount == 0) { in setSelectedPage()
562 int was = currentPage; in setSelectedPage()
563 currentPage = now; in setSelectedPage()
727 return currentPage; in getCurrentPage()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/
DOverviewCommandHelper.java132 int currentPage = recents.getNextPage(); in handleCommand() local
133 if (currentPage >= 0 && currentPage < recents.getTaskViewCount()) { in handleCommand()
134 ((TaskView) recents.getPageAt(currentPage)).launchTask(true); in handleCommand()
/packages/apps/Launcher3/src/com/android/launcher3/
DPagedView.java304 public void setCurrentPage(int currentPage) { in setCurrentPage() argument
305 setCurrentPage(currentPage, INVALID_PAGE); in setCurrentPage()
311 public void setCurrentPage(int currentPage, int overridePrevPage) { in setCurrentPage() argument
321 mCurrentPage = validateNewPage(currentPage); in setCurrentPage()
836 final View currentPage = getPageAt(mCurrentPage); in requestDisallowInterceptTouchEvent() local
837 currentPage.cancelLongPress(); in requestDisallowInterceptTouchEvent()
974 final View currentPage = getPageAt(mCurrentPage); in cancelCurrentPageLongPress() local
975 if (currentPage != null) { in cancelCurrentPageLongPress()
976 currentPage.cancelLongPress(); in cancelCurrentPageLongPress()
DWorkspace.java409 int currentPage = getPageNearestToCenterOfScreen(); in onDragStart() local
410 for (int pageIndex = currentPage; pageIndex < getPageCount(); pageIndex++) { in onDragStart()
795 int currentPage = getNextPage(); in stripEmptyScreens() local
822 if (indexOfChild(cl) < currentPage) { in stripEmptyScreens()
840 setCurrentPage(currentPage - pageShift); in stripEmptyScreens()
2948 final CellLayout currentPage = (CellLayout) getPageAt(curPage); in getFirstMatchForAppClose() local
2969 return getFirstMatch(new CellLayout[] { getHotseat(), currentPage }, in getFirstMatchForAppClose()
2974 return getFirstMatch(new CellLayout[] { getHotseat(), currentPage }, in getFirstMatchForAppClose()
DLauncher.java463 int currentPage = mWorkspace.getNextPage(); in rebindModel() local
464 if (mModel.startLoader(currentPage)) { in rebindModel()
465 mWorkspace.setCurrentPage(currentPage); in rebindModel()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolderPagedView.java284 CellLayout currentPage = null; in arrangeChildren() local
291 if (currentPage == null || position >= mOrganizer.getMaxItemsPerPage()) { in arrangeChildren()
294 currentPage = pageItr.next(); in arrangeChildren()
296 currentPage = createAndAddNewPage(); in arrangeChildren()
305 currentPage.addViewToCellLayout(v, -1, info.getViewId(), lp, true); in arrangeChildren()
DPreviewItemManager.java267 void onFolderClose(int currentPage) {
270 mShouldSlideInFirstPage = currentPage != 0;
273 buildParamsForPage(currentPage, mCurrentPageParams, false);
DFolderIcon.java671 public void onFolderClose(int currentPage) { in onFolderClose() argument
672 mPreviewItemManager.onFolderClose(currentPage); in onFolderClose()
DFolder.java772 int currentPage = mContent.getNextPage(); in onDragOver() local
779 if (currentPage > 0 && (mContent.mIsRtl ? isOutsideRightEdge : isOutsideLeftEdge)) { in onDragOver()
781 } else if (currentPage < (mContent.getPageCount() - 1) in onDragOver()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/util/
DStaggeredWorkspaceAnim.java83 ShortcutAndWidgetContainer currentPage = cellLayout.getShortcutsAndWidgets(); in StaggeredWorkspaceAnim() local
104 for (int i = currentPage.getChildCount() - 1; i >= 0; i--) { in StaggeredWorkspaceAnim()
105 View child = currentPage.getChildAt(i); in StaggeredWorkspaceAnim()
/packages/apps/Launcher3/src/com/android/launcher3/touch/
DWorkspaceTouchListener.java142 final CellLayout currentPage = in onTouch() local
144 if (currentPage != null) { in onTouch()