Home
last modified time | relevance | path

Searched refs:setCurrentItem (Results 1 – 25 of 42) 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()
/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/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/Settings/tests/robotests/src/com/android/settings/accessibility/
DTextReadingPreviewPreferenceTest.java89 mTextReadingPreviewPreference.setCurrentItem(currentItem); in setPreviewAdapterWithNull_resetCurrentItem()
104 mTextReadingPreviewPreference.setCurrentItem(currentItem); in setCurrentItem_success()
114 mTextReadingPreviewPreference.setCurrentItem(currentItem); in setCurrentItemBeforeSetPreviewAdapter_throwNPE()
145 mViewPager.setCurrentItem(currentItem); in afterPagerChange_updateCurrentItem()
/packages/apps/Car/Launcher/app/src/com/android/car/carlauncher/homescreen/audio/media/
DMediaCardController.java349 mPager.setCurrentItem(getOverflowTabIndex()); in setOverflowState()
360 mPager.setCurrentItem(getOverflowTabIndex(), true); in setOverflowState()
378 mPager.setCurrentItem(getQueueTabIndex()); in setQueueState()
389 mPager.setCurrentItem(getQueueTabIndex(), true); in setQueueState()
409 mPager.setCurrentItem(historyPos); in setHistoryState()
420 mPager.setCurrentItem(historyPos, true); in setHistoryState()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/widget/
DPreviewPager.java150 mViewPager.setCurrentItem(previousPos, true); in PreviewPager()
155 mViewPager.setCurrentItem(NextPos, true); in PreviewPager()
214 mViewPager.setCurrentItem(isRtl() ? mAdapter.getCount() - 1 - initialPage : initialPage); in setAdapter()
251 mViewPager.setCurrentItem(index); in switchPreviewPage()
DSeparatedTabLayout.java60 viewPager.setCurrentItem(tab.getPosition()); in onTabSelected()
/packages/apps/Launcher3/src/com/android/launcher3/keyboard/
DItemFocusIndicatorHelper.java213 setCurrentItem(item); in changeFocus()
247 protected void setCurrentItem(T item) { in setCurrentItem() method in ItemFocusIndicatorHelper
279 setCurrentItem(mItemToSet); in onAnimationEnd()
/packages/apps/Settings/src/com/android/settings/accessibility/
DTextReadingPreviewController.java111 mPreviewPreference.setCurrentItem( in displayPreference()
136 void setCurrentItem(int index) { in setCurrentItem() method in TextReadingPreviewController
137 mPreviewPreference.setCurrentItem(index); in setCurrentItem()
DTextReadingPreviewPreference.java138 void setCurrentItem(int currentItem) { in setCurrentItem() method in TextReadingPreviewPreference
177 viewPager.setCurrentItem(mCurrentItem); in updatePagerAndIndicator()
/packages/apps/Settings/src/com/android/settings/inputmethod/
DModifierKeysPickerDialogFragment.java136 adapter.setCurrentItem(i); in onCreateDialog()
222 adapter.setCurrentItem(modifierKeys.indexOf(mKeyDefaultName)); in setInitialFocusItem()
224 adapter.setCurrentItem(modifierKeys.indexOf(mKeyFocus)); in setInitialFocusItem()
286 public void setCurrentItem(int currentItem) { in setCurrentItem() method in ModifierKeysPickerDialogFragment.ModifierKeyAdapter
DTrackpadGestureDialogFragment.java198 mViewPager.setCurrentItem(firstPos, true); in addViewPager()
214 mViewPager.setCurrentItem(nextPos, true); in addViewPager()
/packages/apps/Settings/src/com/android/settings/display/
DColorModePreferenceFragment.java115 mViewPager.setCurrentItem(selectedPosition); in onCreate()
175 mViewPager.setCurrentItem(previousPos, true); in addViewPager()
181 mViewPager.setCurrentItem(nextPos, true); in addViewPager()
/packages/apps/DeskClock/src/com/android/deskclock/timer/
DTimerFragment.kt162 mViewPager.setCurrentItem(index) in onStart()
181 mViewPager.setCurrentItem(index) in onResume()
338 mViewPager.setCurrentItem(0) in onFabClick()
662 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/Settings/tests/unit/src/com/android/settings/widget/
DRtlCompatibleViewPagerTest.java59 mViewPager.setCurrentItem(currentItem); in testRtlCompatibleInner()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/preview/ui/binder/
DPreviewPagerBinder.kt109 previewsViewPager.setCurrentItem(it, /* smoothScroll= */ true) in <lambda>()
DDualPreviewPagerBinder.kt163 dualPreviewView.setCurrentItem(positionLTR, /* smoothScroll= */ true) in <lambda>()
/packages/apps/Settings/src/com/android/settings/
DTrustedCredentialsSettings.java85 viewPager.setCurrentItem(TABS.indexOf(Tab.USER), false); in onViewCreated()
/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/modules/IntentResolver/java/src/com/android/intentresolver/profiles/
DMultiProfilePagerAdapter.java273 viewPager.setCurrentItem(pageNumber); in setupProfileTabs()
316 viewPager.setCurrentItem(mCurrentPage); in setupViewPager()
/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()

12