/frameworks/support/viewpager/src/androidTest/java/androidx/viewpager/widget/ |
D | ViewPagerTest.java | 43 public ViewPager pager; field in ViewPagerTest.ViewPagerActivity 48 pager = new ViewPager(this); in onCreate() 49 setContentView(pager); in onCreate() 55 ViewPager pager = activityRule.getActivity().pager; in setPrimaryItemNotCalledWhenAdapterIsEmpty() local 57 pager.setAdapter(adapter); in setPrimaryItemNotCalledWhenAdapterIsEmpty()
|
D | BaseViewPagerTest.java | 253 mViewPager = (ViewPager) activity.findViewById(R.id.pager); in setUp() 259 onView(withId(R.id.pager)).perform( in setUp() 265 onView(withId(R.id.pager)).perform(ViewPagerActions.setAdapter(null)); in tearDown() 275 onView(withId(R.id.pager)).perform(ViewPagerActions.scrollRight(smoothScroll)); in verifyPageSelections() 279 onView(withId(R.id.pager)).perform(ViewPagerActions.scrollRight(smoothScroll)); in verifyPageSelections() 284 onView(withId(R.id.pager)).perform(ViewPagerActions.scrollRight(smoothScroll)); in verifyPageSelections() 289 onView(withId(R.id.pager)).perform(ViewPagerActions.scrollLeft(smoothScroll)); in verifyPageSelections() 294 onView(withId(R.id.pager)).perform(ViewPagerActions.scrollLeft(smoothScroll)); in verifyPageSelections() 300 onView(withId(R.id.pager)).perform(ViewPagerActions.scrollLeft(smoothScroll)); in verifyPageSelections() 309 onView(withId(R.id.pager)).perform(ViewPagerActions.scrollToPage(2, smoothScroll)); in verifyPageSelections() [all …]
|
D | ViewPagerWithTitleStripTest.java | 56 onView(withId(R.id.pager)).perform(ViewPagerActions.scrollRight(smoothScroll)); in assertStripInteraction() 75 onView(withId(R.id.pager)).perform(ViewPagerActions.scrollToPage(0, smoothScroll)); in assertStripInteraction() 82 onView(withId(R.id.pager)).perform(ViewPagerActions.scrollRight(smoothScroll)); in assertStripInteraction()
|
D | ViewPagerWithTabStripTest.java | 60 onView(withId(R.id.pager)).perform(ViewPagerActions.scrollRight(smoothScroll)); in assertStripInteraction() 74 onView(withId(R.id.pager)).perform(ViewPagerActions.scrollToPage(0, smoothScroll)); in assertStripInteraction() 85 onView(withId(R.id.pager)).perform(ViewPagerActions.scrollRight(smoothScroll)); in assertStripInteraction()
|
/frameworks/support/samples/Support13Demos/src/main/java/com/example/android/supportv13/app/ |
D | FragmentNestingStatePagerSupport.java | 43 mViewPager.setId(R.id.pager); in onCreate() 99 public TabsAdapter(Activity activity, ViewPager pager) { in TabsAdapter() argument 103 mViewPager = pager; in TabsAdapter()
|
D | FragmentNestingPagerSupport.java | 43 mViewPager.setId(R.id.pager); in onCreate() 99 public TabsAdapter(Activity activity, ViewPager pager) { in TabsAdapter() argument 103 mViewPager = pager; in TabsAdapter()
|
D | FragmentTabsFragment.java | 35 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/main/java/com/example/android/supportv4/app/ |
D | FragmentTabsPager.java | 52 mViewPager = (ViewPager)findViewById(R.id.pager); in onCreate() 122 public TabsAdapter(FragmentActivity activity, TabHost tabHost, ViewPager pager) { in TabsAdapter() argument 126 mViewPager = pager; in TabsAdapter()
|
D | FragmentStatePagerSupport.java | 55 mPager = (ViewPager)findViewById(R.id.pager); in onCreate()
|
D | FragmentPagerSupport.java | 55 mPager = (ViewPager)findViewById(R.id.pager); in onCreate()
|
/frameworks/support/viewpager/src/main/java/androidx/viewpager/widget/ |
D | PagerTitleStrip.java | 247 final ViewPager pager = (ViewPager) parent; in onAttachedToWindow() local 248 final PagerAdapter adapter = pager.getAdapter(); in onAttachedToWindow() 250 pager.setInternalPageChangeListener(mPageListener); in onAttachedToWindow() 251 pager.addOnAdapterChangeListener(mPageListener); in onAttachedToWindow() 252 mPager = pager; in onAttachedToWindow()
|
/frameworks/support/wear/src/main/java/androidx/wear/widget/drawer/ |
D | PageIndicatorView.java | 197 public void setPager(ViewPager pager) { in setPager() argument 198 pager.addOnPageChangeListener(this); in setPager() 199 setPagerAdapter(pager.getAdapter()); in setPager() 200 mAdapter = pager.getAdapter(); in setPager()
|
/frameworks/support/samples/SupportContentDemos/src/main/java/com/example/android/support/content/demos/ |
D | ContentPagerDemoActivity.java | 158 private Adapter(ContentPager pager, int pageSize) { 159 mPager = pager;
|
/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/view/ |
D | ViewPagerActivity.java | 50 mPager = findViewById(R.id.pager); in onCreate()
|