HomeSort by relevance Sort by last modified time
    Searched refs:setCurrentItem (Results 1 - 25 of 107) sorted by null

1 2 3 4 5

  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowViewPager.java 39 public void setCurrentItem(int position) {
47 public void setCurrentItem(int position, boolean smoothScroll){
48 setCurrentItem( position );
  /packages/apps/Messaging/src/com/android/messaging/ui/
PagingAwareViewPager.java 37 public void setCurrentItem(int item, boolean smoothScroll) {
38 super.setCurrentItem(getRtlPosition(item), smoothScroll);
42 public void setCurrentItem(int item) {
43 super.setCurrentItem(getRtlPosition(item));
CustomHeaderViewPager.java 54 public void setCurrentItem(final int position) {
55 mViewPager.setCurrentItem(position);
  /packages/apps/Settings/src/com/android/settings/widget/
RtlCompatibleViewPager.java 53 public void setCurrentItem(int item) {
54 super.setCurrentItem(getRtlAwareIndex(item));
  /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
ViewPagerTest.java 36 pager.setCurrentItem(2);
45 pager.setCurrentItem(2);
  /packages/apps/DeskClock/src/com/android/deskclock/widget/
RtlViewPager.java 72 public void setCurrentItem(int item) {
73 super.setCurrentItem(getRtlAwareIndex(item));
  /frameworks/support/design/tests/src/android/support/design/testutils/
ViewPagerActions.java 58 viewPager.setCurrentItem(current + 1, false);
86 viewPager.setCurrentItem(current - 1, false);
115 viewPager.setCurrentItem(size - 1, false);
145 viewPager.setCurrentItem(0, false);
173 viewPager.setCurrentItem(page, false);
  /frameworks/support/core-ui/tests/java/android/support/v4/view/
ViewPagerActions.java 187 viewPager.setCurrentItem(current + 1, smoothScroll);
215 viewPager.setCurrentItem(current - 1, smoothScroll);
244 viewPager.setCurrentItem(size - 1, smoothScroll);
274 viewPager.setCurrentItem(0, smoothScroll);
302 viewPager.setCurrentItem(page, smoothScroll);
  /development/samples/training/AnimationsDemo/src/com/example/android/animationsdemo/
ScreenSlideActivity.java 33 * automatically plays such an animation when calling {@link ViewPager#setCurrentItem(int)}, there
108 // setCurrentItem will do nothing.
109 mPager.setCurrentItem(mPager.getCurrentItem() - 1);
113 // Advance to the next step in the wizard. If there is no next step, setCurrentItem
115 mPager.setCurrentItem(mPager.getCurrentItem() + 1);
  /frameworks/support/core-ui/java/android/support/v4/view/
PagerTabStrip.java 109 mPager.setCurrentItem(mPager.getCurrentItem() - 1);
117 mPager.setCurrentItem(mPager.getCurrentItem() + 1);
249 mPager.setCurrentItem(mPager.getCurrentItem() - 1);
251 mPager.setCurrentItem(mPager.getCurrentItem() + 1);
  /packages/apps/UnifiedEmail/src/com/android/mail/browse/
ConversationPagerController.java 123 setCurrentItem(pos);
168 setCurrentItem(initialPos);
215 private void setCurrentItem(int pos) {
219 mPager.setCurrentItem(pos);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
PagedTileLayout.java 68 setCurrentItem(0);
75 setCurrentItem(0, false);
79 public void setCurrentItem(int item, boolean smoothScroll) {
83 super.setCurrentItem(item, smoothScroll);
214 setCurrentItem(0, false);
  /frameworks/support/samples/Support13Demos/src/com/example/android/supportv13/app/
FragmentPagerSupport.java 62 mPager.setCurrentItem(0);
68 mPager.setCurrentItem(NUM_ITEMS-1);
FragmentStatePagerSupport.java 62 mPager.setCurrentItem(0);
68 mPager.setCurrentItem(NUM_ITEMS-1);
ActionBarTabsPager.java 147 mViewPager.setCurrentItem(i);
FragmentNestingPagerSupport.java 145 mViewPager.setCurrentItem(i);
  /frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/app/
FragmentPagerSupport.java 61 mPager.setCurrentItem(0);
67 mPager.setCurrentItem(NUM_ITEMS-1);
FragmentStatePagerSupport.java 62 mPager.setCurrentItem(0);
68 mPager.setCurrentItem(NUM_ITEMS-1);
  /development/samples/ShortcutDemo/launcher/src/com/example/android/pm/shortcutlauncherdemo/
ShortcutLauncherMain.java 60 mPager.setCurrentItem(tab.getPosition());
  /frameworks/base/core/java/android/widget/
DayPickerView.java 301 mViewPager.setCurrentItem(position, animate);
387 mViewPager.setCurrentItem(position, false);
426 mViewPager.setCurrentItem(nextItem, animate);
  /developers/build/prebuilts/gradle/HorizontalPaging/Application/src/main/java/com/example/android/horizontalpaging/
MainActivity.java 108 mViewPager.setCurrentItem(tab.getPosition());
  /developers/samples/android/ui/views/HorizontalPaging/Application/src/main/java/com/example/android/horizontalpaging/
MainActivity.java 108 mViewPager.setCurrentItem(tab.getPosition());
  /development/samples/browseable/HorizontalPaging/src/com.example.android.horizontalpaging/
MainActivity.java 108 mViewPager.setCurrentItem(tab.getPosition());
  /development/samples/training/EffectiveNavigation/src/com/example/android/effectivenavigation/
MainActivity.java 100 mViewPager.setCurrentItem(tab.getPosition());
  /development/samples/training/ads-and-ux/src/com/example/training/ads/
AdsCatalogActivity.java 61 mPager.setCurrentItem(0);

Completed in 441 milliseconds

1 2 3 4 5