Home
last modified time | relevance | path

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

/development/samples/training/AnimationsDemo/src/com/example/android/animationsdemo/
DScreenSlideActivity.java85 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/MediaRouter/src/com.example.android.mediarouter/player/
DSessionManager.java63 public PlaylistItem getCurrentItem() { in getCurrentItem() method in SessionManager
102 mPlayer.getStatus(getCurrentItem(), true /* update */); in updateStatus()
148 PlaylistItem item = getCurrentItem(); in seek()
171 if (item == getCurrentItem()) { in getStatus()
243 PlaylistItem item = getCurrentItem(); in suspend()
318 PlaylistItem item = getCurrentItem(); in checkItemCurrent()
325 PlaylistItem item = getCurrentItem(); in updatePlaybackState()
381 PlaylistItem item = getCurrentItem(); in finishItem()
/development/samples/browseable/ShareActionProvider/src/com.example.android.shareactionprovider/
DMainActivity.java85 int currentViewPagerItem = ((ViewPager) findViewById(R.id.viewpager)).getCurrentItem(); in onCreateOptionsMenu()
/development/samples/browseable/SlidingTabsBasic/src/com.example.android.common/view/
DSlidingTabLayout.java232 scrollToTab(mViewPager.getCurrentItem(), 0); in onAttachedToWindow()
/development/samples/browseable/SwipeRefreshLayoutBasic/src/com.example.android.common/view/
DSlidingTabLayout.java232 scrollToTab(mViewPager.getCurrentItem(), 0); in onAttachedToWindow()
/development/samples/browseable/BasicTransition/src/com.example.android.common/view/
DSlidingTabLayout.java232 scrollToTab(mViewPager.getCurrentItem(), 0); in onAttachedToWindow()
/development/samples/browseable/SwipeRefreshMultipleViews/src/com.example.android.common/view/
DSlidingTabLayout.java232 scrollToTab(mViewPager.getCurrentItem(), 0); in onAttachedToWindow()
/development/samples/browseable/SwipeRefreshListFragment/src/com.example.android.common/view/
DSlidingTabLayout.java232 scrollToTab(mViewPager.getCurrentItem(), 0); in onAttachedToWindow()
/development/samples/browseable/SlidingTabsColors/src/com.example.android.common/view/
DSlidingTabLayout.java232 scrollToTab(mViewPager.getCurrentItem(), 0); in onAttachedToWindow()
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/provider/
DSampleMediaRouteProvider.java567 item = mSessionManager.getCurrentItem(); in handleStatusChange()
/development/samples/training/multiscreen/newsreader/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/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/EffectiveNavigation/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/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/ ...