Searched refs:mViewPager (Results 1 – 4 of 4) sorted by relevance
52 private final ViewPager mViewPager; field in DayPickerView130 mViewPager = (ViewPager) findViewById(R.id.day_picker_view_pager); in DayPickerView()131 mViewPager.setAdapter(mAdapter); in DayPickerView()132 mViewPager.setOnPageChangeListener(mOnPageChangedListener); in DayPickerView()190 final ViewPager viewPager = mViewPager;226 mViewPager.layout(0, 0, width, height);228 final SimpleMonthView monthView = (SimpleMonthView) mViewPager.getChildAt(0);300 if (position != mViewPager.getCurrentItem()) {301 mViewPager.setCurrentItem(position, animate);348 updateButtonVisibility(mViewPager.getCurrentItem());[all …]
149 protected PhotoViewPager mViewPager; field in PhotoViewController307 mViewPager = (PhotoViewPager) findViewById(R.id.photo_view_pager); in onCreate()308 mViewPager.setAdapter(mAdapter); in onCreate()309 mViewPager.setOnPageChangeListener(this); in onCreate()310 mViewPager.setOnInterceptTouchListener(this); in onCreate()311 mViewPager.setPageMargin(resources.getDimensionPixelSize(R.dimen.photo_page_margin)); in onCreate()326 mViewPager.setVisibility(View.GONE); in onCreate()475 if (mViewPager == null || mAdapter == null || mAdapter.getCount() == 0) { in isFragmentFullScreen()478 return mFullScreen || (mViewPager.getCurrentItem() != mAdapter.getItemPosition(fragment)); in isFragmentFullScreen()572 if (mViewPager.getAdapter() == null) { in onLoadFinished()[all …]
99 ViewPager mViewPager;110 mViewPager = (ViewPager) findViewById(R.id.pager);111 mViewPager.setAdapter(mDemoCollectionPagerAdapter);238 mViewPager.setCurrentItem(tab.getPosition());255 mViewPager = (ViewPager) findViewById(R.id.pager);256 mViewPager.setOnPageChangeListener(
1619 private final ViewPager mViewPager; field in TabLayout.ViewPagerOnTabSelectedListener1622 mViewPager = viewPager; in ViewPagerOnTabSelectedListener()1627 mViewPager.setCurrentItem(tab.getPosition()); in onTabSelected()