Searched refs:mViewPager (Results 1 – 2 of 2) sorted by relevance
53 private final ViewPager mViewPager; field in DayPickerView133 mViewPager = findViewById(R.id.day_picker_view_pager); in DayPickerView()134 mViewPager.setAdapter(mAdapter); in DayPickerView()135 mViewPager.setOnPageChangeListener(mOnPageChangedListener); in DayPickerView()193 final ViewPager viewPager = mViewPager;229 mViewPager.layout(0, 0, width, height);231 final SimpleMonthView monthView = (SimpleMonthView) mViewPager.getChildAt(0);315 if (position != mViewPager.getCurrentItem()) {316 mViewPager.setCurrentItem(position, animate);328 if (position != mViewPager.getCurrentItem()) {[all …]
152 protected PhotoViewPager mViewPager; field in PhotoViewController319 mViewPager = (PhotoViewPager) findViewById(R.id.photo_view_pager); in onCreate()320 mViewPager.setAdapter(mAdapter); in onCreate()321 mViewPager.setOnPageChangeListener(this); in onCreate()322 mViewPager.setOnInterceptTouchListener(this); in onCreate()323 mViewPager.setPageMargin(resources.getDimensionPixelSize(R.dimen.photo_page_margin)); in onCreate()340 mViewPager.setVisibility(View.GONE); in onCreate()541 if (mViewPager == null || mAdapter == null || mAdapter.getCount() == 0) { in isFragmentFullScreen()544 return mFullScreen || (mViewPager.getCurrentItem() != mAdapter.getItemPosition(fragment)); in isFragmentFullScreen()638 if (mViewPager.getAdapter() == null) { in onLoadFinished()[all …]