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.java51 ViewPager mPager; field in PagerTitleStrip
258 mPager = pager; in onAttachedToWindow()
265 if (mPager != null) { in onDetachedFromWindow()
266 updateAdapter(mPager.getAdapter(), null); in onDetachedFromWindow()
267 mPager.setInternalPageChangeListener(null); in onDetachedFromWindow()
268 mPager.removeOnAdapterChangeListener(mPageListener); in onDetachedFromWindow()
269 mPager = null; in onDetachedFromWindow()
328 if (mPager != null) { in updateAdapter()
331 updateText(mPager.getCurrentItem(), newAdapter); in updateAdapter()
338 updateText(position, mPager.getAdapter()); in updateTextPositions()
[all …]
DPagerTabStrip.java109 mPager.setCurrentItem(mPager.getCurrentItem() - 1); in PagerTabStrip()
117 mPager.setCurrentItem(mPager.getCurrentItem() + 1); in PagerTabStrip()
249 mPager.setCurrentItem(mPager.getCurrentItem() - 1); in onTouchEvent()
251 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);