Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/car/
DPageIndicator.java50 private ViewPager mPager; field in PageIndicator
77 mPager = pager; in setupWithViewPager()
89 if (mPager != null) { in onDetachedFromWindow()
90 updateAdapter(mPager.getAdapter(), null); in onDetachedFromWindow()
91 mPager.removeOnPageChangeListener(mPageListener); in onDetachedFromWindow()
92 mPager.removeOnAdapterChangeListener(mPageListener); in onDetachedFromWindow()
93 mPager = null; in onDetachedFromWindow()
134 if (mPager != null) { in updateAdapter()
/frameworks/support/core-ui/java/android/support/v4/view/
DPagerTitleStrip.java53 ViewPager mPager; field in PagerTitleStrip
249 mPager = pager; in onAttachedToWindow()
256 if (mPager != null) { in onDetachedFromWindow()
257 updateAdapter(mPager.getAdapter(), null); in onDetachedFromWindow()
258 mPager.setInternalPageChangeListener(null); in onDetachedFromWindow()
259 mPager.removeOnAdapterChangeListener(mPageListener); in onDetachedFromWindow()
260 mPager = null; in onDetachedFromWindow()
319 if (mPager != null) { in updateAdapter()
322 updateText(mPager.getCurrentItem(), newAdapter); in updateAdapter()
329 updateText(position, mPager.getAdapter()); in updateTextPositions()
[all …]
DPagerTabStrip.java110 mPager.setCurrentItem(mPager.getCurrentItem() - 1); in PagerTabStrip()
118 mPager.setCurrentItem(mPager.getCurrentItem() + 1); in PagerTabStrip()
250 mPager.setCurrentItem(mPager.getCurrentItem() - 1); in onTouchEvent()
252 mPager.setCurrentItem(mPager.getCurrentItem() + 1); in onTouchEvent()
/frameworks/support/content/tests/java/android/support/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.java48 private ContentPager mPager; field in ContentPagerDemoActivity
60 mPager = new ContentPager(getContentResolver(), runner); in onCreate()
61 mAdapter = new Adapter(mPager, PAGE_SIZE); in onCreate()
73 mPager.reset(); in onDestroy()
149 private final ContentPager mPager;
156 mPager = pager;
172 mPager.query(mUri, null, ContentPager.createArgs(offset, mPageSize), null, this);
/frameworks/support/samples/Support13Demos/src/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/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.java45 ViewPager mPager; field in FragmentPagerSupport
54 mPager = (ViewPager)findViewById(R.id.pager); in onCreate()
55 mPager.setAdapter(mAdapter); in onCreate()
62 mPager.setCurrentItem(0); in onCreate()
69 mPager.setCurrentItem(NUM_ITEMS-1); in onCreate()
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/view/
DViewPagerActivity.java34 private ViewPager mPager; field in ViewPagerActivity
49 mPager = findViewById(R.id.pager); in onCreate()
50 mPager.setAdapter(mAdapter); in onCreate()