/development/samples/browseable/SlidingTabsBasic/src/com.example.android.slidingtabsbasic/ |
D | SlidingTabsBasicFragment.java | 49 private ViewPager mViewPager; field in SlidingTabsBasicFragment 75 mViewPager = (ViewPager) view.findViewById(R.id.viewpager); in onViewCreated() 76 mViewPager.setAdapter(new SamplePagerAdapter()); in onViewCreated() 83 mSlidingTabLayout.setViewPager(mViewPager); in onViewCreated()
|
/development/samples/browseable/Flashlight/src/com.example.android.wearable.flashlight/ |
D | MainActivity.java | 37 private ViewPager mViewPager; field in MainActivity 44 mViewPager = (ViewPager) findViewById(R.id.pager); in onCreate() 49 mViewPager.setAdapter(adapter); in onCreate() 50 mViewPager.setOnPageChangeListener(new OnPageChangeListener() { in onCreate()
|
/development/samples/browseable/HorizontalPaging/src/com.example.android.horizontalpaging/ |
D | MainActivity.java | 33 ViewPager mViewPager; field in MainActivity 67 mViewPager = (ViewPager) findViewById(R.id.pager); in onCreate() 68 mViewPager.setAdapter(mSectionsPagerAdapter); in onCreate() 74 mViewPager.setOnPageChangeListener(new ViewPager.SimpleOnPageChangeListener() { in onCreate() 108 mViewPager.setCurrentItem(tab.getPosition()); in onTabSelected()
|
/development/samples/training/EffectiveNavigation/src/com/example/android/effectivenavigation/ |
D | MainActivity.java | 47 ViewPager mViewPager; field in MainActivity 69 mViewPager = (ViewPager) findViewById(R.id.pager); in onCreate() 70 mViewPager.setAdapter(mAppSectionsPagerAdapter); in onCreate() 71 mViewPager.setOnPageChangeListener(new ViewPager.SimpleOnPageChangeListener() { in onCreate() 100 mViewPager.setCurrentItem(tab.getPosition()); in onTabSelected()
|
D | CollectionDemoActivity.java | 49 ViewPager mViewPager; field in CollectionDemoActivity 70 mViewPager = (ViewPager) findViewById(R.id.pager); in onCreate() 71 mViewPager.setAdapter(mDemoCollectionPagerAdapter); in onCreate()
|
/development/samples/browseable/SlidingTabsColors/src/com.example.android.slidingtabscolors/ |
D | SlidingTabsColorsFragment.java | 97 private ViewPager mViewPager; field in SlidingTabsColorsFragment 164 mViewPager = (ViewPager) view.findViewById(R.id.viewpager); in onViewCreated() 165 mViewPager.setAdapter(new SampleFragmentPagerAdapter(getChildFragmentManager())); in onViewCreated() 172 mSlidingTabLayout.setViewPager(mViewPager); in onViewCreated()
|
/development/samples/browseable/SlidingTabsBasic/src/com.example.android.common/view/ |
D | SlidingTabLayout.java | 77 private ViewPager mViewPager; field in SlidingTabLayout 160 mViewPager = viewPager; in setViewPager() 198 final PagerAdapter adapter = mViewPager.getAdapter(); in populateTabStrip() 231 if (mViewPager != null) { in onAttachedToWindow() 232 scrollToTab(mViewPager.getCurrentItem(), 0); in onAttachedToWindow() 307 mViewPager.setCurrentItem(i); in onClick()
|
/development/samples/browseable/SwipeRefreshMultipleViews/src/com.example.android.common/view/ |
D | SlidingTabLayout.java | 77 private ViewPager mViewPager; field in SlidingTabLayout 160 mViewPager = viewPager; in setViewPager() 198 final PagerAdapter adapter = mViewPager.getAdapter(); in populateTabStrip() 231 if (mViewPager != null) { in onAttachedToWindow() 232 scrollToTab(mViewPager.getCurrentItem(), 0); in onAttachedToWindow() 307 mViewPager.setCurrentItem(i); in onClick()
|
/development/samples/browseable/BasicTransition/src/com.example.android.common/view/ |
D | SlidingTabLayout.java | 77 private ViewPager mViewPager; field in SlidingTabLayout 160 mViewPager = viewPager; in setViewPager() 198 final PagerAdapter adapter = mViewPager.getAdapter(); in populateTabStrip() 231 if (mViewPager != null) { in onAttachedToWindow() 232 scrollToTab(mViewPager.getCurrentItem(), 0); in onAttachedToWindow() 307 mViewPager.setCurrentItem(i); in onClick()
|
/development/samples/browseable/SwipeRefreshListFragment/src/com.example.android.common/view/ |
D | SlidingTabLayout.java | 77 private ViewPager mViewPager; field in SlidingTabLayout 160 mViewPager = viewPager; in setViewPager() 198 final PagerAdapter adapter = mViewPager.getAdapter(); in populateTabStrip() 231 if (mViewPager != null) { in onAttachedToWindow() 232 scrollToTab(mViewPager.getCurrentItem(), 0); in onAttachedToWindow() 307 mViewPager.setCurrentItem(i); in onClick()
|
/development/samples/browseable/SlidingTabsColors/src/com.example.android.common/view/ |
D | SlidingTabLayout.java | 77 private ViewPager mViewPager; field in SlidingTabLayout 160 mViewPager = viewPager; in setViewPager() 198 final PagerAdapter adapter = mViewPager.getAdapter(); in populateTabStrip() 231 if (mViewPager != null) { in onAttachedToWindow() 232 scrollToTab(mViewPager.getCurrentItem(), 0); in onAttachedToWindow() 307 mViewPager.setCurrentItem(i); in onClick()
|
/development/samples/browseable/SwipeRefreshLayoutBasic/src/com.example.android.common/view/ |
D | SlidingTabLayout.java | 77 private ViewPager mViewPager; field in SlidingTabLayout 160 mViewPager = viewPager; in setViewPager() 198 final PagerAdapter adapter = mViewPager.getAdapter(); in populateTabStrip() 231 if (mViewPager != null) { in onAttachedToWindow() 232 scrollToTab(mViewPager.getCurrentItem(), 0); in onAttachedToWindow() 307 mViewPager.setCurrentItem(i); in onClick()
|