Home
last modified time | relevance | path

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

/packages/apps/WallpaperPicker2/src/com/android/wallpaper/widget/
DPreviewPager.java149 final int previousPos = mViewPager.getCurrentItem() - 1; in PreviewPager()
154 final int NextPos = mViewPager.getCurrentItem() + 1; in PreviewPager()
209 initialPage = isRtl() ? mAdapter.getCount() - 1 - mViewPager.getCurrentItem() in setAdapter()
210 : mViewPager.getCurrentItem(); in setAdapter()
222 updateIndicator(mViewPager.getCurrentItem()); in setAdapter()
256 mPageIndicator.setLocation(mViewPager.getCurrentItem()); in initIndicator()
DSeparatedTabLayout.java59 if (viewPager != null && viewPager.getCurrentItem() != tab.getPosition()) { in onTabSelected()
/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()
DDotsPageIndicator.java259 currentPage = viewPager.getCurrentItem(); in setCurrentPageImmediate()
/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/unit/src/com/android/settings/widget/
DRtlCompatibleViewPagerTest.java63 assertThat(mViewPager.getCurrentItem()).isEqualTo(currentItem); in testRtlCompatibleInner()
72 assertThat(mViewPager.getCurrentItem()).isEqualTo(currentItem); in testRtlCompatibleInner()
/packages/apps/DeskClock/src/com/android/deskclock/timer/
DTimerFragment.kt387 val page: Int = mViewPager.getCurrentItem() in updatePageIndicators()
584 mAdapter.getTimer(mViewPager.getCurrentItem())
661 if (!before.isExpired && after.isExpired && index != mViewPager.getCurrentItem()) { in timerUpdated()
663 } else if (mCurrentView === mTimersView && index == mViewPager.getCurrentItem()) { in timerUpdated()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/calling/
DWifiCallingSettingsTest.java140 assertThat(pager.getCurrentItem()).isEqualTo(1); in setupFragment_twoSubscriptions_correctSelection()
165 assertThat(pager.getCurrentItem()).isEqualTo(0); in setupFragment_twoSubscriptionsOneNotProvisionedOnDevice_oneResult()
/packages/apps/Settings/src/com/android/settings/display/
DPreviewSeekBarPreferenceFragment.java239 setPagerIndicatorContentDescription(mPreviewPager.getCurrentItem()); in setPreviewLayer()
241 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/DirectRenderingCluster/src/android/car/cluster/
DMainClusterActivity.java286 if (mPager.getCurrentItem() != COMMS_FACET_ID) { in onCreate()
287 mPreviousFacet = mPager.getCurrentItem(); in onCreate()
/packages/apps/Messaging/tests/src/com/android/messaging/ui/contact/
DContactPickerFragmentTest.java148 final View currentPagedView = pager.getChildAt(pager.getCurrentItem()); in testInitialState()
/packages/apps/Dialer/java/com/android/dialer/app/calllog/
DCallLogActivity.java128 updateMissedCalls(viewPager.getCurrentItem()); in onStop()
/packages/apps/UniversalMediaPlayer/java/com/android/pump/activity/
DPumpActivity.java170 current.setCurrent(mViewPager.getCurrentItem()); in selectPages()
/packages/apps/DeskClock/tests/src/com/android/deskclock/timer/
DTimerFragmentTest.java651 assertEquals(0, viewPager.getCurrentItem()); in showTimer_fromIntent()
662 assertEquals(1, viewPager.getCurrentItem()); in showTimer_fromIntent()
/packages/apps/Settings/src/com/android/settings/wifi/calling/
DWifiCallingSettings.java261 final int subId = mSil.get(mViewPager.getCurrentItem()).getSubscriptionId(); in updateTitleForCurrentSub()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DMediaPickerPanel.java117 setExpanded(mExpanded, false /* animate */, mViewPager.getCurrentItem(), in onFinishInflate()
/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/DeskClock/src/com/android/deskclock/
DDeskClock.kt425 if (fragment.isTabSelected && mFragmentTabPager.getCurrentItem() != i) { in updateCurrentTab()
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/
DIngestActivity.java390 mFullscreenPager.getCurrentItem())); in setFullscreenPagerVisibility()