Home
last modified time | relevance | path

Searched refs:setCurrentItem (Results 1 – 25 of 33) sorted by relevance

12

/packages/apps/DeskClock/tests/src/com/android/deskclock/timer/
DTimerFragmentTest.java182 setCurrentItem(0); in timeClick_startsTimer()
194 setCurrentItem(1); in timeClick_startsSecondTimer()
208 setCurrentItem(0); in timeClick_pausesTimer()
222 setCurrentItem(1); in timeClick_pausesSecondTimer()
239 setCurrentItem(0); in timeClick_restartsTimer()
255 setCurrentItem(1); in timeClick_restartsSecondTimer()
284 setCurrentItem(1); in fabClick_startsSecondTimer()
307 setCurrentItem(1); in fabClick_pausesSecondTimer()
322 setCurrentItem(0); in fabClick_restartsTimer()
336 setCurrentItem(1); in fabClick_restartsSecondTimer()
[all …]
/packages/apps/Messaging/src/com/android/messaging/ui/
DPagingAwareViewPager.java37 public void setCurrentItem(int item, boolean smoothScroll) { in setCurrentItem() method in PagingAwareViewPager
38 super.setCurrentItem(getRtlPosition(item), smoothScroll); in setCurrentItem()
42 public void setCurrentItem(int item) { in setCurrentItem() method in PagingAwareViewPager
43 super.setCurrentItem(getRtlPosition(item)); in setCurrentItem()
DCustomHeaderViewPager.java54 public void setCurrentItem(final int position) { in setCurrentItem() method in CustomHeaderViewPager
55 mViewPager.setCurrentItem(position); in setCurrentItem()
DViewPagerTabs.java165 mPager.setCurrentItem(getRtlPosition(position)); in addTab()
/packages/apps/Settings/src/com/android/settings/widget/
DRtlCompatibleViewPager.java56 public void setCurrentItem(int item) { in setCurrentItem() method in RtlCompatibleViewPager
57 super.setCurrentItem(getRtlAwareIndex(item)); in setCurrentItem()
74 setCurrentItem(rtlSavedState.position); in onRestoreInstanceState()
DSlidingTabLayout.java113 mViewPager.setCurrentItem(i); in onClick()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DRtlCompatibleViewPager.java56 public void setCurrentItem(int item) { in setCurrentItem() method in RtlCompatibleViewPager
57 super.setCurrentItem(getRtlAwareIndex(item)); in setCurrentItem()
74 setCurrentItem(rtlSavedState.position); in onRestoreInstanceState()
DSlidingTabLayout.java113 mViewPager.setCurrentItem(i); in onClick()
/packages/apps/ThemePicker/src/com/android/customization/widget/
DPreviewPager.java107 mViewPager.setCurrentItem(previousPos, true); in PreviewPager()
112 mViewPager.setCurrentItem(NextPos, true); in PreviewPager()
167 mViewPager.setCurrentItem(isRtl() ? mAdapter.getCount() - 1 - initialPage : initialPage); in setAdapter()
/packages/apps/DeskClock/src/com/android/deskclock/timer/
DTimerFragment.kt163 mViewPager.setCurrentItem(index) in onStart()
182 mViewPager.setCurrentItem(index) in onResume()
339 mViewPager.setCurrentItem(0) in onFabClick()
663 mViewPager.setCurrentItem(index, true) in timerUpdated()
DTimerFragment.java185 mViewPager.setCurrentItem(index); in onStart()
205 mViewPager.setCurrentItem(index); in onResume()
378 mViewPager.setCurrentItem(0); in onFabClick()
768 mViewPager.setCurrentItem(index, true); in timerUpdated()
/packages/apps/Dialer/java/com/android/incallui/incall/impl/
DInCallFragment.java105 pager.setCurrentItem(adapter.getButtonGridPosition());
307 pager.setCurrentItem(adapter.getButtonGridPosition(), false /* animateScroll */); in setAdapterMedia()
492 pager.setCurrentItem(adapter.getButtonGridPosition()); in updateButtonStates()
/packages/apps/Dialer/java/com/android/dialer/callcomposer/
DCallComposerActivity.java364 pager.setCurrentItem(CallComposerPagerAdapter.INDEX_CAMERA, true /* animate */); in onClick()
366 pager.setCurrentItem(CallComposerPagerAdapter.INDEX_GALLERY, true /* animate */); in onClick()
368 pager.setCurrentItem(CallComposerPagerAdapter.INDEX_MESSAGE, true /* animate */); in onClick()
/packages/apps/Dialer/java/com/android/dialer/app/list/
DListsFragment.java256 viewPager.setCurrentItem(adapter.getRtlPosition(DialtactsPagerAdapter.TAB_INDEX_VOICEMAIL)); in showTab()
262 viewPager.setCurrentItem(adapter.getRtlPosition(index)); in showTab()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/emoji/
DEmojiPalettesView.java391 mEmojiPager.setCurrentItem(mCurrentPagerPosition); in startEmojiPalettes()
432 mEmojiPager.setCurrentItem(newCategoryPageId, false /* smoothScroll */); in setCurrentCategoryId()
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/
DRtlCompatibleViewPagerTest.java60 mViewPager.setCurrentItem(currentItem); in testRtlCompatibleInner()
/packages/apps/Messaging/src/com/android/messaging/ui/contact/
DContactPickerFragment.java181 mCustomHeaderViewPager.setCurrentItem(0); in onCreateView()
273 mCustomHeaderViewPager.setCurrentItem(1); in onFrequentContactsCursorUpdated()
/packages/apps/Terminal/src/com/android/terminal/
DTerminalActivity.java191 mPager.setCurrentItem(index, true); in onOptionsItemSelected()
/packages/apps/Car/Radio/src/com/android/car/radio/
DRadioActivity.java87 viewPager.setCurrentItem(mToolbar.getTabLayout().getTabPosition(t))); in onCreate()
/packages/apps/Gallery2/src/com/android/photos/
DGalleryActivity.java167 mViewPager.setCurrentItem(i); in onTabSelected()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/display/
DPreviewSeekBarPreferenceFragment.java144 mPreviewPager.setCurrentItem(isLayoutRtl ? previews.length - 1 : 0); in onCreateView()
/packages/apps/Settings/src/com/android/settings/wifi/calling/
DWifiCallingSettings.java112 mViewPager.setCurrentItem(mSil.indexOf(subInfo)); in maybeSetViewForSubId()
/packages/apps/Settings/src/com/android/settings/display/
DPreviewSeekBarPreferenceFragment.java144 mPreviewPager.setCurrentItem(isLayoutRtl ? previews.length - 1 : 0); in onCreateView()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/calling/
DWifiCallingSettings.java112 mViewPager.setCurrentItem(mSil.indexOf(subInfo)); in maybeSetViewForSubId()
/packages/apps/Dialer/java/com/android/dialer/app/calllog/
DCallLogActivity.java100 viewPager.setCurrentItem(startingTab); in onCreate()

12