Home
last modified time | relevance | path

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

12

/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/UnifiedEmail/src/com/android/mail/browse/
DConversationPagerController.java123 setCurrentItem(pos); in show()
168 setCurrentItem(initialPos); in show()
215 private void setCurrentItem(int pos) { in setCurrentItem() method in ConversationPagerController
219 mPager.setCurrentItem(pos); in setCurrentItem()
/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/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/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.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());
308 pager.setCurrentItem(adapter.getButtonGridPosition(), false /* animateScroll */); in setAdapterMedia()
493 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/Car/Radio/src/com/android/car/radio/
DRadioActivity.java158 viewPager.setCurrentItem(carTabLayout.getCarTabPosition(carTab)); in setupTabsWithViewPager()
/packages/apps/Gallery2/src/com/android/photos/
DGalleryActivity.java167 mViewPager.setCurrentItem(i); in onTabSelected()
/packages/apps/Terminal/src/com/android/terminal/
DTerminalActivity.java191 mPager.setCurrentItem(index, true); in onOptionsItemSelected()
/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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/display/
DPreviewSeekBarPreferenceFragment.java144 mPreviewPager.setCurrentItem(isLayoutRtl ? previews.length - 1 : 0); in onCreateView()
/packages/apps/UniversalMediaPlayer/java/com/android/pump/activity/
DPumpActivity.java177 mViewPager.setCurrentItem(pages.getCurrent()); in selectPages()
/packages/apps/Dialer/java/com/android/dialer/app/calllog/
DCallLogActivity.java100 viewPager.setCurrentItem(startingTab); in onCreate()

12