/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/car/ |
D | PageIndicator.java | 50 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/ |
D | PagerTitleStrip.java | 53 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 …]
|
D | PagerTabStrip.java | 110 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/ |
D | ContentPagerTest.java | 61 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/ |
D | ContentPagerDemoActivity.java | 48 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/ |
D | FragmentPagerSupport.java | 46 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()
|
D | FragmentStatePagerSupport.java | 46 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/ |
D | FragmentStatePagerSupport.java | 46 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()
|
D | FragmentPagerSupport.java | 45 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/ |
D | ViewPagerActivity.java | 34 private ViewPager mPager; field in ViewPagerActivity 49 mPager = findViewById(R.id.pager); in onCreate() 50 mPager.setAdapter(mAdapter); in onCreate()
|