Home
last modified time | relevance | path

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

/frameworks/support/v4/java/android/support/v4/view/
DPagerTitleStrip.java48 ViewPager mPager; field in PagerTitleStrip
255 mPager = pager; in onAttachedToWindow()
262 if (mPager != null) { in onDetachedFromWindow()
263 updateAdapter(mPager.getAdapter(), null); in onDetachedFromWindow()
264 mPager.setInternalPageChangeListener(null); in onDetachedFromWindow()
265 mPager.setOnAdapterChangeListener(null); in onDetachedFromWindow()
266 mPager = null; in onDetachedFromWindow()
324 if (mPager != null) { in updateAdapter()
327 updateText(mPager.getCurrentItem(), newAdapter); in updateAdapter()
334 updateText(position, mPager.getAdapter()); in updateTextPositions()
[all …]
DPagerTabStrip.java108 mPager.setCurrentItem(mPager.getCurrentItem() - 1); in PagerTabStrip()
116 mPager.setCurrentItem(mPager.getCurrentItem() + 1); in PagerTabStrip()
247 mPager.setCurrentItem(mPager.getCurrentItem() - 1); in onTouchEvent()
249 mPager.setCurrentItem(mPager.getCurrentItem() + 1); in onTouchEvent()
/frameworks/base/docs/html/training/animation/
Dscreen-slide.jd153 private ViewPager mPager;
166 mPager = (ViewPager) findViewById(R.id.pager);
168 mPager.setAdapter(mPagerAdapter);
173 if (mPager.getCurrentItem() == 0) {
179 mPager.setCurrentItem(mPager.getCurrentItem() - 1);
234 ViewPager mPager = (ViewPager) findViewById(R.id.pager);
236 mPager.setPageTransformer(true, new ZoomOutPageTransformer());
/frameworks/base/docs/html/training/displaying-bitmaps/
Ddisplay-bitmap.jd65 private ViewPager mPager;
79 mPager = (ViewPager) findViewById(R.id.pager);
80 mPager.setAdapter(mAdapter);