Home
last modified time | relevance | path

Searched refs:mPager (Results 1 – 20 of 20) sorted by relevance

/development/samples/training/AnimationsDemo/src/com/example/android/animationsdemo/
DScreenSlideActivity.java52 private ViewPager mPager; field in ScreenSlideActivity
65 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()
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/ui/
DImageDetailActivity.java50 private ViewPager mPager; field in ImageDetailActivity
86 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 …]
/development/samples/Support13Demos/src/com/example/android/supportv13/app/
DFragmentStatePagerSupport.java46 ViewPager mPager; field in FragmentStatePagerSupport
55 mPager = (ViewPager)findViewById(R.id.pager); in onCreate()
56 mPager.setAdapter(mAdapter); in onCreate()
62 mPager.setCurrentItem(0); in onCreate()
68 mPager.setCurrentItem(NUM_ITEMS-1); in onCreate()
DFragmentPagerSupport.java46 ViewPager mPager; field in FragmentPagerSupport
55 mPager = (ViewPager)findViewById(R.id.pager); in onCreate()
56 mPager.setAdapter(mAdapter); in onCreate()
62 mPager.setCurrentItem(0); in onCreate()
68 mPager.setCurrentItem(NUM_ITEMS-1); in onCreate()
/development/samples/Support4Demos/src/com/example/android/supportv4/app/
DFragmentPagerSupport.java45 ViewPager mPager; field in FragmentPagerSupport
54 mPager = (ViewPager)findViewById(R.id.pager); in onCreate()
55 mPager.setAdapter(mAdapter); in onCreate()
61 mPager.setCurrentItem(0); in onCreate()
67 mPager.setCurrentItem(NUM_ITEMS-1); in onCreate()
DFragmentStatePagerSupport.java46 ViewPager mPager; field in FragmentStatePagerSupport
55 mPager = (ViewPager)findViewById(R.id.pager); in onCreate()
56 mPager.setAdapter(mAdapter); in onCreate()
62 mPager.setCurrentItem(0); in onCreate()
68 mPager.setCurrentItem(NUM_ITEMS-1); in onCreate()
/development/samples/training/ads-and-ux/src/com/example/training/ads/
DAdsCatalogActivity.java45 ViewPager mPager; field in AdsCatalogActivity
54 mPager = (ViewPager) findViewById(R.id.pager); in onCreate()
55 mPager.setAdapter(mAdapter); in onCreate()
61 mPager.setCurrentItem(0); in onOptionsItemSelected()
/development/samples/Support4Demos/src/com/example/android/supportv4/view/
DViewPagerActivity.java34 private ViewPager mPager; field in ViewPagerActivity
49 mPager = (ViewPager) findViewById(R.id.pager); in onCreate()
50 mPager.setAdapter(mAdapter); in onCreate()
/development/samples/browseable/JumpingJack/src/com.example.android.wearable.jumpingjack/
DMainActivity.java74 private ViewPager mPager; field in MainActivity
97 mPager = (ViewPager) findViewById(R.id.pager); in setupViews()
106 mPager.setOnPageChangeListener(new ViewPager.OnPageChangeListener() { in setupViews()
122 mPager.setAdapter(adapter); in setupViews()
/development/samples/browseable/SkeletonWearableApp/src/com.example.android.google.wearable.app/
DGridExampleActivity.java45 GridViewPager mPager; field in GridExampleActivity
52 mPager = (GridViewPager) findViewById(R.id.fragment_container); in onCreate()
54 mPager.setAdapter(mAdapter); in onCreate()
/development/samples/browseable/DataLayer/Wearable/src/com.example.android.wearable.datalayer/
DMainActivity.java92 private GridViewPager mPager; field in MainActivity
259 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()
/development/samples/training/basic/ActivityLifecycle/libs/
Dandroid-support-v13.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/basic/FragmentBasics/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/location-aware/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/AnimationsDemo/libs/
Dandroid-support-v13.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/InteractiveChart/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/ContactsList/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/EffectiveNavigation/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/ControllerSample/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/NavigationDrawer/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...