Home
last modified time | relevance | path

Searched refs:getCurrentItem (Results 1 – 18 of 18) sorted by relevance

/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DBidiViewPagerHelper.java44 return clampToBounds(getIndexFromBidiIndex(getBidiIndex(mViewPager.getCurrentItem()) - 1)); in getPreviousPage()
48 return clampToBounds(getIndexFromBidiIndex(getBidiIndex(mViewPager.getCurrentItem()) + 1)); in getNextPage()
/packages/apps/DeskClock/src/com/android/deskclock/widget/
DRtlViewPager.java67 public int getCurrentItem() { in getCurrentItem() method in RtlViewPager
68 return getRtlAwareIndex(super.getCurrentItem()); in getCurrentItem()
/packages/apps/Messaging/src/com/android/messaging/ui/
DPagingAwareViewPager.java47 public int getCurrentItem() { in getCurrentItem() method in PagingAwareViewPager
48 int position = super.getCurrentItem(); in getCurrentItem()
/packages/apps/ExactCalculator/src/com/android/calculator2/
DCalculatorPadViewPager.java109 mOnPageChangeListener.onPageSelected(getCurrentItem()); in onFinishInflate()
128 shouldIntercept = (childIndex != getCurrentItem()); in onInterceptTouchEvent()
DCalculator.java384 if (mPadViewPager != null && mPadViewPager.getCurrentItem() != 0) { in onBackPressed()
386 mPadViewPager.setCurrentItem(mPadViewPager.getCurrentItem() - 1); in onBackPressed()
/packages/apps/DeskClock/src/com/android/deskclock/timer/
DTimerFragment.java336 final int page = mViewPager.getCurrentItem(); in updatePageIndicators()
554 return mAdapter.getCount() == 0 ? null : mAdapter.getTimer(mViewPager.getCurrentItem()); in getTimer()
641 if (!before.isExpired() && after.isExpired() && index != mViewPager.getCurrentItem()) { in timerUpdated()
644 } else if (index == mViewPager.getCurrentItem()) { in timerUpdated()
/packages/apps/Settings/src/com/android/settings/
DPreviewSeekBarPreferenceFragment.java192 setPagerIndicatorContentDescription(mPreviewPager.getCurrentItem()); in setPreviewLayer()
194 mPreviewPager.getCurrentItem(), animate); in setPreviewLayer()
/packages/apps/Messaging/tests/src/com/android/messaging/ui/
DCustomHeaderViewPagerTest.java52 assertEquals(1, pager.getCurrentItem()); in testBindFirstLevel()
/packages/apps/Calculator/src/com/android/calculator2/
DCalculator.java200 if (mPadViewPager == null || mPadViewPager.getCurrentItem() == 0) { in onBackPressed()
206 mPadViewPager.setCurrentItem(mPadViewPager.getCurrentItem() - 1); in onBackPressed()
/packages/apps/Terminal/src/com/android/terminal/
DTerminalActivity.java195 final int index = mPager.getCurrentItem(); in onOptionsItemSelected()
/packages/apps/Messaging/tests/src/com/android/messaging/ui/contact/
DContactPickerFragmentTest.java146 final View currentPagedView = pager.getChildAt(pager.getCurrentItem()); in testInitialState()
/packages/apps/Dialer/src/com/android/dialer/calllog/
DCallLogActivity.java162 sendScreenViewForChildFragment(mViewPager.getCurrentItem()); in onResume()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DMediaPickerPanel.java117 setExpanded(mExpanded, false /* animate */, mViewPager.getCurrentItem(), in onFinishInflate()
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DConversationPagerAdapter.java407 final int currentItem = mPager.getCurrentItem(); in notifyDataSetChanged()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/emoji/
DEmojiPalettesView.java431 mEmojiPager.getCurrentItem()).first != categoryId) { in setCurrentCategoryId()
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/
DIngestActivity.java390 mFullscreenPager.getCurrentItem())); in setFullscreenPagerVisibility()
/packages/apps/Settings/src/com/android/settings/widget/
DDotsPageIndicator.java257 currentPage = viewPager.getCurrentItem(); in setCurrentPageImmediate()
/packages/apps/Contacts/src/com/android/contacts/activities/
DPeopleActivity.java623 if (mTabPager.getCurrentItem() != tab) { in updateFragmentsVisibility()