/frameworks/support/core-ui/tests/java/android/support/v4/view/ |
D | BaseViewPagerTest.java | 255 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 …]
|
D | ViewPagerWithTabStripTest.java | 62 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()
|
D | ViewPagerWithTitleStripTest.java | 58 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/ |
D | PageIndicator.java | 76 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/ |
D | FragmentNestingPagerSupport.java | 42 mViewPager.setId(R.id.pager); in onCreate() 98 public TabsAdapter(Activity activity, ViewPager pager) { in TabsAdapter() argument 102 mViewPager = pager; in TabsAdapter()
|
D | FragmentNestingStatePagerSupport.java | 42 mViewPager.setId(R.id.pager); in onCreate() 98 public TabsAdapter(Activity activity, ViewPager pager) { in TabsAdapter() argument 102 mViewPager = pager; in TabsAdapter()
|
D | FragmentTabsFragment.java | 34 mTabHost.setup(getActivity(), getChildFragmentManager(), R.id.pager); in onCreateView()
|
D | FragmentPagerSupport.java | 55 mPager = (ViewPager)findViewById(R.id.pager); in onCreate()
|
D | FragmentStatePagerSupport.java | 55 mPager = (ViewPager)findViewById(R.id.pager); in onCreate()
|
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/app/ |
D | FragmentTabsPager.java | 51 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()
|
D | FragmentStatePagerSupport.java | 55 mPager = (ViewPager)findViewById(R.id.pager); in onCreate()
|
D | FragmentPagerSupport.java | 54 mPager = (ViewPager)findViewById(R.id.pager); in onCreate()
|
/frameworks/support/core-ui/java/android/support/v4/view/ |
D | PagerTitleStrip.java | 244 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/ |
D | PageIndicatorView.java | 196 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/ |
D | ContentPagerDemoActivity.java | 155 private Adapter(ContentPager pager, int pageSize) { 156 mPager = pager;
|
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/view/ |
D | ViewPagerActivity.java | 49 mPager = findViewById(R.id.pager); in onCreate()
|