Home
last modified time | relevance | path

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

12

/packages/apps/ThemePicker/src/com/android/customization/widget/
DPreviewPager.java106 final int previousPos = mViewPager.getCurrentItem() - 1; in PreviewPager()
111 final int NextPos = mViewPager.getCurrentItem() + 1; in PreviewPager()
162 initialPage = isRtl() ? mAdapter.getCount() - 1 - mViewPager.getCurrentItem() in setAdapter()
163 : mViewPager.getCurrentItem(); in setAdapter()
175 updateIndicator(mViewPager.getCurrentItem()); in setAdapter()
195 mPageIndicator.setLocation(mViewPager.getCurrentItem()); in initIndicator()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DRtlCompatibleViewPager.java51 public int getCurrentItem() { in getCurrentItem() method in RtlCompatibleViewPager
52 return getRtlAwareIndex(super.getCurrentItem()); in getCurrentItem()
65 rtlSavedState.position = getCurrentItem(); in onSaveInstanceState()
DSlidingTabLayout.java138 tabTitleView.setSelected(i == mViewPager.getCurrentItem()); in populateTabStrip()
/packages/apps/Settings/src/com/android/settings/widget/
DRtlCompatibleViewPager.java51 public int getCurrentItem() { in getCurrentItem() method in RtlCompatibleViewPager
52 return getRtlAwareIndex(super.getCurrentItem()); in getCurrentItem()
65 rtlSavedState.position = getCurrentItem(); in onSaveInstanceState()
DSlidingTabLayout.java138 tabTitleView.setSelected(i == mViewPager.getCurrentItem()); in populateTabStrip()
/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/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/Settings/tests/robotests/src/com/android/settings/widget/
DRtlCompatibleViewPagerTest.java64 assertThat(mViewPager.getCurrentItem()).isEqualTo(currentItem); in testRtlCompatibleInner()
73 assertThat(mViewPager.getCurrentItem()).isEqualTo(currentItem); in testRtlCompatibleInner()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/calling/
DWifiCallingSettingsTest.java104 assertThat(pager.getCurrentItem()).isEqualTo(1); in setupFragment_twoSubscriptions_correctSelection()
130 assertThat(pager.getCurrentItem()).isEqualTo(0); in setupFragment_twoSubscriptionsOneNotProvisionedOnDevice_oneResult()
/packages/apps/DeskClock/src/com/android/deskclock/timer/
DTimerFragment.java434 final int page = mViewPager.getCurrentItem(); in updatePageIndicators()
686 return mAdapter.getCount() == 0 ? null : mAdapter.getTimer(mViewPager.getCurrentItem()); in getTimer()
767 if (!before.isExpired() && after.isExpired() && index != mViewPager.getCurrentItem()) { in timerUpdated()
770 } else if (mCurrentView == mTimersView && index == mViewPager.getCurrentItem()) { in timerUpdated()
/packages/apps/Settings/src/com/android/settings/display/
DPreviewSeekBarPreferenceFragment.java195 setPagerIndicatorContentDescription(mPreviewPager.getCurrentItem()); in setPreviewLayer()
197 mPreviewPager.getCurrentItem(), animate); in setPreviewLayer()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/display/
DPreviewSeekBarPreferenceFragment.java195 setPagerIndicatorContentDescription(mPreviewPager.getCurrentItem()); in setPreviewLayer()
197 mPreviewPager.getCurrentItem(), animate); in setPreviewLayer()
/packages/apps/Messaging/tests/src/com/android/messaging/ui/
DCustomHeaderViewPagerTest.java52 assertEquals(1, pager.getCurrentItem()); in testBindFirstLevel()
/packages/apps/Car/Cluster/src/android/car/cluster/
DMainClusterActivity.java272 if (mPager.getCurrentItem() != COMMS_FACET_ID) { in onCreate()
273 mPreviousFacet = mPager.getCurrentItem(); in onCreate()
/packages/apps/Terminal/src/com/android/terminal/
DTerminalActivity.java195 final int index = mPager.getCurrentItem(); in onOptionsItemSelected()
/packages/apps/Settings/src/com/android/settings/wifi/calling/
DWifiCallingSettings.java228 final int subId = mSil.get(mViewPager.getCurrentItem()).getSubscriptionId(); in updateTitleForCurrentSub()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/calling/
DWifiCallingSettings.java221 final int subId = mSil.get(mViewPager.getCurrentItem()).getSubscriptionId(); in updateTitleForCurrentSub()
/packages/apps/Messaging/tests/src/com/android/messaging/ui/contact/
DContactPickerFragmentTest.java147 final View currentPagedView = pager.getChildAt(pager.getCurrentItem()); in testInitialState()
/packages/apps/UniversalMediaPlayer/java/com/android/pump/activity/
DPumpActivity.java170 current.setCurrent(mViewPager.getCurrentItem()); in selectPages()
/packages/apps/Dialer/java/com/android/dialer/app/calllog/
DCallLogActivity.java128 updateMissedCalls(viewPager.getCurrentItem()); in onStop()
/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/apps/Dialer/java/com/android/dialer/app/list/
DListsFragment.java128 currentPage = adapter.getItem(viewPager.getCurrentItem()); in onResume()
/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()

12