Home
last modified time | relevance | path

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

/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/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/ShareActionProvider/src/com.example.android.shareactionprovider/
DMainActivity.java85 int currentViewPagerItem = ((ViewPager) findViewById(R.id.viewpager)).getCurrentItem(); in onCreateOptionsMenu()
/development/samples/browseable/SwipeRefreshLayoutBasic/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/SlidingTabsColors/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/SwipeRefreshListFragment/src/com.example.android.common/view/
DSlidingTabLayout.java232 scrollToTab(mViewPager.getCurrentItem(), 0); in onAttachedToWindow()
/development/samples/browseable/SlidingTabsBasic/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()