Home
last modified time | relevance | path

Searched refs:pager (Results 1 – 16 of 16) sorted by relevance

/frameworks/support/core-ui/tests/java/android/support/v4/view/
DBaseViewPagerTest.java255 mViewPager = (ViewPager) activity.findViewById(R.id.pager); in setUp()
261 onView(withId(R.id.pager)).perform(setAdapter(adapter), scrollToPage(0, false)); in setUp()
266 onView(withId(R.id.pager)).perform(setAdapter(null)); in tearDown()
276 onView(withId(R.id.pager)).perform(scrollRight(smoothScroll)); in verifyPageSelections()
280 onView(withId(R.id.pager)).perform(scrollRight(smoothScroll)); in verifyPageSelections()
285 onView(withId(R.id.pager)).perform(scrollRight(smoothScroll)); in verifyPageSelections()
290 onView(withId(R.id.pager)).perform(scrollLeft(smoothScroll)); in verifyPageSelections()
295 onView(withId(R.id.pager)).perform(scrollLeft(smoothScroll)); in verifyPageSelections()
301 onView(withId(R.id.pager)).perform(scrollLeft(smoothScroll)); in verifyPageSelections()
310 onView(withId(R.id.pager)).perform(scrollToPage(2, smoothScroll)); in verifyPageSelections()
[all …]
DViewPagerWithTabStripTest.java62 onView(withId(R.id.pager)).perform(scrollRight(smoothScroll)); in assertStripInteraction()
76 onView(withId(R.id.pager)).perform(scrollToPage(0, smoothScroll)); in assertStripInteraction()
87 onView(withId(R.id.pager)).perform(scrollRight(smoothScroll)); in assertStripInteraction()
DViewPagerWithTitleStripTest.java58 onView(withId(R.id.pager)).perform(scrollRight(smoothScroll)); in assertStripInteraction()
77 onView(withId(R.id.pager)).perform(scrollToPage(0, smoothScroll)); in assertStripInteraction()
84 onView(withId(R.id.pager)).perform(scrollRight(smoothScroll)); in assertStripInteraction()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/car/
DPageIndicator.java76 public void setupWithViewPager(ViewPager pager) { in setupWithViewPager() argument
77 mPager = pager; in setupWithViewPager()
79 final PagerAdapter adapter = (PagerAdapter) pager.getAdapter(); in setupWithViewPager()
80 pager.addOnPageChangeListener(mPageListener); in setupWithViewPager()
81 pager.addOnAdapterChangeListener(mPageListener); in setupWithViewPager()
/frameworks/support/samples/Support13Demos/src/com/example/android/supportv13/app/
DFragmentNestingPagerSupport.java42 mViewPager.setId(R.id.pager); in onCreate()
98 public TabsAdapter(Activity activity, ViewPager pager) { in TabsAdapter() argument
102 mViewPager = pager; in TabsAdapter()
DFragmentNestingStatePagerSupport.java42 mViewPager.setId(R.id.pager); in onCreate()
98 public TabsAdapter(Activity activity, ViewPager pager) { in TabsAdapter() argument
102 mViewPager = pager; in TabsAdapter()
DFragmentTabsFragment.java34 mTabHost.setup(getActivity(), getChildFragmentManager(), R.id.pager); in onCreateView()
DFragmentPagerSupport.java55 mPager = (ViewPager)findViewById(R.id.pager); in onCreate()
DFragmentStatePagerSupport.java55 mPager = (ViewPager)findViewById(R.id.pager); in onCreate()
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/app/
DFragmentTabsPager.java51 mViewPager = (ViewPager)findViewById(R.id.pager); in onCreate()
121 public TabsAdapter(FragmentActivity activity, TabHost tabHost, ViewPager pager) { in TabsAdapter() argument
125 mViewPager = pager; in TabsAdapter()
DFragmentStatePagerSupport.java55 mPager = (ViewPager)findViewById(R.id.pager); in onCreate()
DFragmentPagerSupport.java54 mPager = (ViewPager)findViewById(R.id.pager); in onCreate()
/frameworks/support/core-ui/java/android/support/v4/view/
DPagerTitleStrip.java244 final ViewPager pager = (ViewPager) parent; in onAttachedToWindow() local
245 final PagerAdapter adapter = pager.getAdapter(); in onAttachedToWindow()
247 pager.setInternalPageChangeListener(mPageListener); in onAttachedToWindow()
248 pager.addOnAdapterChangeListener(mPageListener); in onAttachedToWindow()
249 mPager = pager; in onAttachedToWindow()
/frameworks/support/wear/src/android/support/wear/widget/drawer/
DPageIndicatorView.java196 public void setPager(ViewPager pager) { in setPager() argument
197 pager.addOnPageChangeListener(this); in setPager()
198 setPagerAdapter(pager.getAdapter()); in setPager()
199 mAdapter = pager.getAdapter(); in setPager()
/frameworks/support/samples/SupportContentDemos/src/main/java/com/example/android/support/content/demos/
DContentPagerDemoActivity.java155 private Adapter(ContentPager pager, int pageSize) {
156 mPager = pager;
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/view/
DViewPagerActivity.java49 mPager = findViewById(R.id.pager); in onCreate()