Searched refs:mPager (Results 1 – 8 of 8) sorted by relevance
52 private ViewPager mPager; field in ScreenSlideActivity65 mPager = (ViewPager) findViewById(R.id.pager); in onCreate()67 mPager.setAdapter(mPagerAdapter); in onCreate()68 mPager.setOnPageChangeListener(new ViewPager.SimpleOnPageChangeListener() { in onCreate()85 menu.findItem(R.id.action_previous).setEnabled(mPager.getCurrentItem() > 0); in onCreateOptionsMenu()90 (mPager.getCurrentItem() == mPagerAdapter.getCount() - 1) in onCreateOptionsMenu()109 mPager.setCurrentItem(mPager.getCurrentItem() - 1); in onOptionsItemSelected()115 mPager.setCurrentItem(mPager.getCurrentItem() + 1); in onOptionsItemSelected()
50 private ViewPager mPager; field in ImageDetailActivity86 mPager = (ViewPager) findViewById(R.id.pager); in onCreate()87 mPager.setAdapter(mAdapter); in onCreate()88 mPager.setPageMargin((int) getResources().getDimension(R.dimen.horizontal_page_margin)); in onCreate()89 mPager.setOffscreenPageLimit(2); in onCreate()104 mPager.setOnSystemUiVisibilityChangeListener( in onCreate()117 mPager.setSystemUiVisibility(View.SYSTEM_UI_FLAG_LOW_PROFILE); in onCreate()124 mPager.setCurrentItem(extraCurrentItem); in onCreate()206 final int vis = mPager.getSystemUiVisibility(); in onClick()208 mPager.setSystemUiVisibility(View.SYSTEM_UI_FLAG_VISIBLE); in onClick()[all …]
33 private ViewPager mPager; field in ShortcutLauncherMain46 mPager = (ViewPager) findViewById(R.id.pager); in onCreate()47 mPager.setOffscreenPageLimit(2); in onCreate()49 mPager.setAdapter(mPagerAdapter); in onCreate()68 mPager.setCurrentItem(tab.getPosition());
45 private ViewPager mPager; field in ShowcaseFragment70 mPager = new ViewPager(context); in onCreateView()76 mPager.setLayoutParams(params); in onCreateView()81 mPager.addView(pagerTitleView); in onCreateView()82 backgroundLayout.addView(mPager); in onCreateView()91 mPager.addOnPageChangeListener(new ViewPager.OnPageChangeListener() { in onCreateView()101 mPager.setAdapter(mAdapter); in onCreateView()149 mPager.setCurrentItem(++mIndex); in next()
45 ViewPager mPager; field in AdsCatalogActivity54 mPager = (ViewPager) findViewById(R.id.pager); in onCreate()55 mPager.setAdapter(mAdapter); in onCreate()61 mPager.setCurrentItem(0); in onOptionsItemSelected()
74 private ViewPager mPager; field in MainActivity97 mPager = (ViewPager) findViewById(R.id.pager); in setupViews()106 mPager.setOnPageChangeListener(new ViewPager.OnPageChangeListener() { in setupViews()122 mPager.setAdapter(adapter); in setupViews()
45 GridViewPager mPager; field in GridExampleActivity52 mPager = (GridViewPager) findViewById(R.id.fragment_container); in onCreate()54 mPager.setAdapter(mAdapter); in onCreate()
92 private GridViewPager mPager; field in MainActivity259 mPager = (GridViewPager) findViewById(R.id.pager); in setupViews()260 mPager.setOffscreenPageCount(2); in setupViews()263 dotsPageIndicator.setPager(mPager); in setupViews()272 mPager.setAdapter(adapter); in setupViews()279 mPager.setCurrentItem(0, index, true); in moveToPage()