Lines Matching refs:mViewPager
96 private final ViewPager mViewPager;
134 mViewPager = (ViewPager) viewContainer.findViewById(R.id.pager);
146 if (mViewPager != null) {
195 R.layout.contact_detail_about_fragment_container, mViewPager, false);
197 R.layout.contact_detail_updates_fragment_container, mViewPager, false);
203 mViewPager.addView(mDetailFragmentView);
204 mViewPager.addView(mUpdatesFragmentView);
205 mViewPager.setAdapter(mViewPagerAdapter);
206 mViewPager.setOnPageChangeListener(mOnPageChangeListener);
224 mViewPager.setCurrentItem(currentPageIndex);
341 mViewPager.setCurrentItem(0);
454 mViewPager.setCurrentItem(0, false /* smooth transition */);
482 mViewPager.setCurrentItem(0, false /* smooth transition */);
505 if (mViewPager != null) {
506 return mViewPager.getCurrentItem();
531 if (mViewPager.isFakeDragging()) return;
555 syncScrollStateBetweenLists(mViewPager.getCurrentItem());
561 int currentPageIndex = mViewPager.getCurrentItem();
673 if (!mViewPager.isFakeDragging()) mViewPager.beginFakeDrag();
681 if (mViewPager.isFakeDragging()) mViewPager.endFakeDrag();
688 if (mViewPager.isFakeDragging()) {
689 mViewPager.fakeDragBy(oldl - l);
696 mViewPager.setCurrentItem(position);
711 int currentPageIndex = mViewPager.getCurrentItem();