Home | History | Annotate | Download | only in launcher3

Lines Matching refs:mCurrentPage

103     protected int mCurrentPage;
245 mCurrentPage = 0;
391 mPageSwitchListener.onPageSwitch(getPageAt(mCurrentPage), mCurrentPage);
399 return mCurrentPage;
406 return (mNextPage != INVALID_PAGE) ? mNextPage : mCurrentPage;
429 if (0 <= mCurrentPage && mCurrentPage < getPageCount()) {
430 newX = getScrollForPage(mCurrentPage);
473 // don't introduce any checks like mCurrentPage == currentPage here-- if we change the
479 mCurrentPage = validateNewPage(currentPage);
625 if (mCurrentPage != getNextPage()) {
654 mCurrentPage = validateNewPage(mNextPage);
936 if (mFirstLayout && mCurrentPage >= 0 && mCurrentPage < childCount) {
1198 if (page != mCurrentPage || !mScroller.isFinished()) {
1211 focusablePage = mCurrentPage;
1240 if (mCurrentPage >= 0 && mCurrentPage < getPageCount()) {
1241 getPageAt(mCurrentPage).addFocusables(views, direction, focusableMode);
1244 if (mCurrentPage > 0) {
1245 getPageAt(mCurrentPage - 1).addFocusables(views, direction, focusableMode);
1248 if (mCurrentPage < getPageCount() - 1) {
1249 getPageAt(mCurrentPage + 1).addFocusables(views, direction, focusableMode);
1263 View current = getPageAt(mCurrentPage);
1290 final View currentPage = getPageAt(mCurrentPage);
1464 final View currentPage = getPageAt(mCurrentPage);
1756 final int pageWidth = getPageAt(mCurrentPage).getMeasuredWidth();
1782 (isFling && !isVelocityXLeft)) && mCurrentPage > 0) {
1783 finalPage = returnToOriginalPage ? mCurrentPage : mCurrentPage - 1;
1787 mCurrentPage < getChildCount() - 1) {
1788 finalPage = returnToOriginalPage ? mCurrentPage : mCurrentPage + 1;
1812 int nextPage = Math.max(0, mCurrentPage - 1);
1813 if (nextPage != mCurrentPage) {
1822 int nextPage = Math.min(getChildCount() - 1, mCurrentPage + 1);
1823 if (nextPage != mCurrentPage) {
2076 if (focusedChild != null && whichPage != mCurrentPage &&
2077 focusedChild == getPageAt(mCurrentPage)) {