Home
last modified time | relevance | path

Searched refs:mPager (Results 1 – 9 of 9) sorted by relevance

/frameworks/support/viewpager/src/main/java/androidx/viewpager/widget/
DPagerTitleStrip.java56 ViewPager mPager; field in PagerTitleStrip
252 mPager = pager; in onAttachedToWindow()
259 if (mPager != null) { in onDetachedFromWindow()
260 updateAdapter(mPager.getAdapter(), null); in onDetachedFromWindow()
261 mPager.setInternalPageChangeListener(null); in onDetachedFromWindow()
262 mPager.removeOnAdapterChangeListener(mPageListener); in onDetachedFromWindow()
263 mPager = null; in onDetachedFromWindow()
322 if (mPager != null) { in updateAdapter()
325 updateText(mPager.getCurrentItem(), newAdapter); in updateAdapter()
332 updateText(position, mPager.getAdapter()); in updateTextPositions()
[all …]
DPagerTabStrip.java113 mPager.setCurrentItem(mPager.getCurrentItem() - 1); in PagerTabStrip()
121 mPager.setCurrentItem(mPager.getCurrentItem() + 1); in PagerTabStrip()
253 mPager.setCurrentItem(mPager.getCurrentItem() - 1); in onTouchEvent()
255 mPager.setCurrentItem(mPager.getCurrentItem() + 1); in onTouchEvent()
/frameworks/support/content/src/androidTest/java/androidx/contentpager/content/
DContentPagerTest.java61 private ContentPager mPager; field in ContentPagerTest
71 mPager = new ContentPager(mResolver, mRunner); in setUp()
85 Query query = mPager.query( in testRelaysProviderPagedResults()
135 Query query = mPager.query( in testLimitsPagedResultsToWindowSize()
180 Query query = mPager.query( in testAdaptsUnpagedToPaged()
220 mPager.query( in testCachesUnpagedCursor()
227 mPager.query( in testCachesUnpagedCursor()
236 Query query = mPager.query( in testCachesUnpagedCursor()
267 Query query = mPager.query( in testWrapsCursorsThatJustHappenToFitInPageRange()
314 Query query = mPager.query( in testCorrectlyCopiesRecords_EndOfResults()
[all …]
/frameworks/support/samples/SupportContentDemos/src/main/java/com/example/android/support/content/demos/
DContentPagerDemoActivity.java51 private ContentPager mPager; field in ContentPagerDemoActivity
63 mPager = new ContentPager(getContentResolver(), runner); in onCreate()
64 mAdapter = new Adapter(mPager, PAGE_SIZE); in onCreate()
76 mPager.reset(); in onDestroy()
152 private final ContentPager mPager;
159 mPager = pager;
175 mPager.query(mUri, null, ContentPager.createArgs(offset, mPageSize), null, this);
/frameworks/support/samples/Support13Demos/src/main/java/com/example/android/supportv13/app/
DFragmentPagerSupport.java46 ViewPager mPager; field in FragmentPagerSupport
55 mPager = (ViewPager)findViewById(R.id.pager); in onCreate()
56 mPager.setAdapter(mAdapter); in onCreate()
63 mPager.setCurrentItem(0); in onCreate()
70 mPager.setCurrentItem(NUM_ITEMS-1); in onCreate()
DFragmentStatePagerSupport.java46 ViewPager mPager; field in FragmentStatePagerSupport
55 mPager = (ViewPager)findViewById(R.id.pager); in onCreate()
56 mPager.setAdapter(mAdapter); in onCreate()
63 mPager.setCurrentItem(0); in onCreate()
70 mPager.setCurrentItem(NUM_ITEMS-1); in onCreate()
/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/app/
DFragmentStatePagerSupport.java46 ViewPager mPager; field in FragmentStatePagerSupport
55 mPager = (ViewPager)findViewById(R.id.pager); in onCreate()
56 mPager.setAdapter(mAdapter); in onCreate()
63 mPager.setCurrentItem(0); in onCreate()
70 mPager.setCurrentItem(NUM_ITEMS-1); in onCreate()
DFragmentPagerSupport.java46 ViewPager mPager; field in FragmentPagerSupport
55 mPager = (ViewPager)findViewById(R.id.pager); in onCreate()
56 mPager.setAdapter(mAdapter); in onCreate()
63 mPager.setCurrentItem(0); in onCreate()
70 mPager.setCurrentItem(NUM_ITEMS-1); in onCreate()
/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/view/
DViewPagerActivity.java35 private ViewPager mPager; field in ViewPagerActivity
50 mPager = findViewById(R.id.pager); in onCreate()
51 mPager.setAdapter(mAdapter); in onCreate()