/packages/apps/ThemePicker/src/com/android/customization/widget/ |
D | PreviewPager.java | 106 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/apps/Settings/src/com/android/settings/widget/ |
D | RtlCompatibleViewPager.java | 51 public int getCurrentItem() { in getCurrentItem() method in RtlCompatibleViewPager 52 return getRtlAwareIndex(super.getCurrentItem()); in getCurrentItem() 65 rtlSavedState.position = getCurrentItem(); in onSaveInstanceState()
|
D | SlidingTabLayout.java | 138 tabTitleView.setSelected(i == mViewPager.getCurrentItem()); in populateTabStrip()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/ |
D | RtlCompatibleViewPager.java | 51 public int getCurrentItem() { in getCurrentItem() method in RtlCompatibleViewPager 52 return getRtlAwareIndex(super.getCurrentItem()); in getCurrentItem() 65 rtlSavedState.position = getCurrentItem(); in onSaveInstanceState()
|
D | SlidingTabLayout.java | 138 tabTitleView.setSelected(i == mViewPager.getCurrentItem()); in populateTabStrip()
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | PagingAwareViewPager.java | 47 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/ |
D | RtlCompatibleViewPagerTest.java | 64 assertThat(mViewPager.getCurrentItem()).isEqualTo(currentItem); in testRtlCompatibleInner() 73 assertThat(mViewPager.getCurrentItem()).isEqualTo(currentItem); in testRtlCompatibleInner()
|
/packages/apps/DeskClock/src/com/android/deskclock/timer/ |
D | TimerFragment.kt | 388 val page: Int = mViewPager.getCurrentItem() in updatePageIndicators() 585 mAdapter.getTimer(mViewPager.getCurrentItem()) 662 if (!before.isExpired && after.isExpired && index != mViewPager.getCurrentItem()) { in timerUpdated() 664 } else if (mCurrentView === mTimersView && index == mViewPager.getCurrentItem()) { in timerUpdated()
|
D | TimerFragment.java | 434 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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/display/ |
D | PreviewSeekBarPreferenceFragment.java | 195 setPagerIndicatorContentDescription(mPreviewPager.getCurrentItem()); in setPreviewLayer() 197 mPreviewPager.getCurrentItem(), animate); in setPreviewLayer()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/calling/ |
D | WifiCallingSettingsTest.java | 133 assertThat(pager.getCurrentItem()).isEqualTo(1); in setupFragment_twoSubscriptions_correctSelection() 158 assertThat(pager.getCurrentItem()).isEqualTo(0); in setupFragment_twoSubscriptionsOneNotProvisionedOnDevice_oneResult()
|
/packages/apps/Settings/src/com/android/settings/display/ |
D | PreviewSeekBarPreferenceFragment.java | 195 setPagerIndicatorContentDescription(mPreviewPager.getCurrentItem()); in setPreviewLayer() 197 mPreviewPager.getCurrentItem(), animate); in setPreviewLayer()
|
/packages/apps/Messaging/tests/src/com/android/messaging/ui/ |
D | CustomHeaderViewPagerTest.java | 52 assertEquals(1, pager.getCurrentItem()); in testBindFirstLevel()
|
/packages/apps/Car/Cluster/src/android/car/cluster/ |
D | MainClusterActivity.java | 241 if (mPager.getCurrentItem() != COMMS_FACET_ID) { in onCreate() 242 mPreviousFacet = mPager.getCurrentItem(); in onCreate()
|
/packages/apps/Terminal/src/com/android/terminal/ |
D | TerminalActivity.java | 195 final int index = mPager.getCurrentItem(); in onOptionsItemSelected()
|
/packages/apps/Settings/src/com/android/settings/wifi/calling/ |
D | WifiCallingSettings.java | 216 final int subId = mSil.get(mViewPager.getCurrentItem()).getSubscriptionId(); in updateTitleForCurrentSub()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/calling/ |
D | WifiCallingSettings.java | 221 final int subId = mSil.get(mViewPager.getCurrentItem()).getSubscriptionId(); in updateTitleForCurrentSub()
|
/packages/apps/Messaging/tests/src/com/android/messaging/ui/contact/ |
D | ContactPickerFragmentTest.java | 148 final View currentPagedView = pager.getChildAt(pager.getCurrentItem()); in testInitialState()
|
/packages/apps/DeskClock/tests/src/com/android/deskclock/timer/ |
D | TimerFragmentTest.java | 651 assertEquals(0, viewPager.getCurrentItem()); in showTimer_fromIntent() 662 assertEquals(1, viewPager.getCurrentItem()); in showTimer_fromIntent()
|
/packages/apps/Dialer/java/com/android/dialer/app/calllog/ |
D | CallLogActivity.java | 128 updateMissedCalls(viewPager.getCurrentItem()); in onStop()
|
/packages/apps/UniversalMediaPlayer/java/com/android/pump/activity/ |
D | PumpActivity.java | 170 current.setCurrent(mViewPager.getCurrentItem()); in selectPages()
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/ |
D | MediaPickerPanel.java | 117 setExpanded(mExpanded, false /* animate */, mViewPager.getCurrentItem(), in onFinishInflate()
|
/packages/apps/Dialer/java/com/android/dialer/app/list/ |
D | ListsFragment.java | 128 currentPage = adapter.getItem(viewPager.getCurrentItem()); in onResume()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/emoji/ |
D | EmojiPalettesView.java | 431 mEmojiPager.getCurrentItem()).first != categoryId) { in setCurrentCategoryId()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/ |
D | IngestActivity.java | 390 mFullscreenPager.getCurrentItem())); in setFullscreenPagerVisibility()
|