Home
last modified time | relevance | path

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

/frameworks/support/viewpager/src/androidTest/java/androidx/viewpager/widget/
DViewPagerTest.java43 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()
DBaseViewPagerTest.java253 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 …]
DViewPagerWithTitleStripTest.java56 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()
DViewPagerWithTabStripTest.java60 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/
DFragmentNestingStatePagerSupport.java43 mViewPager.setId(R.id.pager); in onCreate()
99 public TabsAdapter(Activity activity, ViewPager pager) { in TabsAdapter() argument
103 mViewPager = pager; in TabsAdapter()
DFragmentNestingPagerSupport.java43 mViewPager.setId(R.id.pager); in onCreate()
99 public TabsAdapter(Activity activity, ViewPager pager) { in TabsAdapter() argument
103 mViewPager = pager; in TabsAdapter()
DFragmentTabsFragment.java35 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/main/java/com/example/android/supportv4/app/
DFragmentTabsPager.java52 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()
DFragmentStatePagerSupport.java55 mPager = (ViewPager)findViewById(R.id.pager); in onCreate()
DFragmentPagerSupport.java55 mPager = (ViewPager)findViewById(R.id.pager); in onCreate()
/frameworks/support/viewpager/src/main/java/androidx/viewpager/widget/
DPagerTitleStrip.java247 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/
DPageIndicatorView.java197 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/
DContentPagerDemoActivity.java158 private Adapter(ContentPager pager, int pageSize) {
159 mPager = pager;
/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/view/
DViewPagerActivity.java50 mPager = findViewById(R.id.pager); in onCreate()