Searched refs:setCurrentItem (Results 1 - 25 of 30) sorted by relevance

12

/frameworks/support/design/tests/src/android/support/design/testutils/
H A DViewPagerActions.java58 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/
H A DViewPagerActions.java187 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);
/frameworks/support/core-ui/java/android/support/v4/view/
H A DPagerTabStrip.java110 mPager.setCurrentItem(mPager.getCurrentItem() - 1);
118 mPager.setCurrentItem(mPager.getCurrentItem() + 1);
250 mPager.setCurrentItem(mPager.getCurrentItem() - 1);
252 mPager.setCurrentItem(mPager.getCurrentItem() + 1);
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DPagedTileLayout.java68 setCurrentItem(0);
75 setCurrentItem(0, false);
79 public void setCurrentItem(int item, boolean smoothScroll) { method in class:PagedTileLayout
83 super.setCurrentItem(item, smoothScroll);
217 setCurrentItem(0, false);
/frameworks/support/frameworks/support/samples/Support13Demos/src/com/example/android/supportv13/app/
H A DFragmentPagerSupport.java62 mPager.setCurrentItem(0);
68 mPager.setCurrentItem(NUM_ITEMS-1);
H A DFragmentStatePagerSupport.java62 mPager.setCurrentItem(0);
68 mPager.setCurrentItem(NUM_ITEMS-1);
H A DActionBarTabsPager.java147 mViewPager.setCurrentItem(i);
H A DFragmentNestingPagerSupport.java145 mViewPager.setCurrentItem(i);
H A DFragmentNestingStatePagerSupport.java145 mViewPager.setCurrentItem(i);
/frameworks/support/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/app/
H A DFragmentPagerSupport.java61 mPager.setCurrentItem(0);
67 mPager.setCurrentItem(NUM_ITEMS-1);
H A DFragmentStatePagerSupport.java62 mPager.setCurrentItem(0);
68 mPager.setCurrentItem(NUM_ITEMS-1);
H A DFragmentTabsPager.java155 mViewPager.setCurrentItem(position);
/frameworks/support/samples/Support13Demos/src/com/example/android/supportv13/app/
H A DFragmentPagerSupport.java62 mPager.setCurrentItem(0);
68 mPager.setCurrentItem(NUM_ITEMS-1);
H A DFragmentStatePagerSupport.java62 mPager.setCurrentItem(0);
68 mPager.setCurrentItem(NUM_ITEMS-1);
H A DActionBarTabsPager.java147 mViewPager.setCurrentItem(i);
H A DFragmentNestingPagerSupport.java145 mViewPager.setCurrentItem(i);
H A DFragmentNestingStatePagerSupport.java145 mViewPager.setCurrentItem(i);
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/app/
H A DFragmentPagerSupport.java61 mPager.setCurrentItem(0);
67 mPager.setCurrentItem(NUM_ITEMS-1);
H A DFragmentStatePagerSupport.java62 mPager.setCurrentItem(0);
68 mPager.setCurrentItem(NUM_ITEMS-1);
H A DFragmentTabsPager.java155 mViewPager.setCurrentItem(position);
/frameworks/base/core/java/android/widget/
H A DDayPickerView.java301 mViewPager.setCurrentItem(position, animate);
387 mViewPager.setCurrentItem(position, false);
426 mViewPager.setCurrentItem(nextItem, animate);
/frameworks/support/frameworks/support/samples/SupportDesignDemos/src/com/example/android/support/design/widget/
H A DTabLayoutPreselectedUsage.java67 mViewPager.setCurrentItem(2, false);
H A DTabLayoutUsage.java78 mViewPager.setCurrentItem(0);
/frameworks/support/samples/SupportDesignDemos/src/com/example/android/support/design/widget/
H A DTabLayoutPreselectedUsage.java67 mViewPager.setCurrentItem(2, false);
H A DTabLayoutUsage.java78 mViewPager.setCurrentItem(0);

Completed in 385 milliseconds

12