Home
last modified time | relevance | path

Searched refs:getPosition (Results 1 – 17 of 17) sorted by relevance

/development/samples/training/multiscreen/newsreader/src/com/example/android/newsreader/
DCompatActionBarNavHandler.java56 mNavListener.onCategorySelected(tab.getPosition()); in onTabSelected()
/development/samples/browseable/BluetoothAdvertisements/src/com.example.android.bluetoothadvertisements/
DScanResultAdapter.java92 private int getPosition(String address) { in getPosition() method in ScanResultAdapter
110 int existingPosition = getPosition(scanResult.getDevice().getAddress()); in add()
/development/samples/training/TabCompat/src/com/example/android/tabcompat/lib/
DTabHelperHoneycomb.java73 int position = mActionBar.getSelectedTab().getPosition(); in onSaveInstanceState()
/development/samples/browseable/SpeedTracker/Wearable/src/com.example.android.wearable.speedtracker/
DSpeedPickerActivity.java81 int newSpeedLimit = speeds[viewHolder.getPosition()]; in onClick()
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/
DPlaylistItem.java94 public long getPosition() { in getPosition() method in PlaylistItem
DRemotePlayer.java138 if (item.getPosition() > 0) { in play()
371 if (item.getPosition() > 0) { in enqueueInternal()
405 mClient.seek(item.getRemoteItemId(), item.getPosition(), null, new ItemActionCallback() { in seekInternal()
DLocalPlayer.java116 mSeekToPos = (int)item.getPosition(); in play()
141 int pos = (int)item.getPosition(); in seek()
DSessionManager.java149 if (pos != item.getPosition()) { in seek()
DMainActivity.java152 long pos = item.getPosition() +
540 long position = item.getPosition(); in updateProgress()
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/
DMediaNotificationManager.java320 && mPlaybackState.getPosition() >= 0) { in setNotificationPlaybackState()
322 (System.currentTimeMillis() - mPlaybackState.getPosition()) / 1000, " seconds"); in setNotificationPlaybackState()
324 .setWhen(System.currentTimeMillis() - mPlaybackState.getPosition()) in setNotificationPlaybackState()
DQueueFragment.java227 statusBuilder.append(" -- At position: ").append(state.getPosition()); in onPlaybackStateChanged()
/development/samples/ShortcutDemo/launcher/src/com/example/android/pm/shortcutlauncherdemo/
DShortcutLauncherMain.java68 mPager.setCurrentItem(tab.getPosition());
/development/samples/ApiDemos/src/com/example/android/apis/view/
DExpandableList2.java95 mQueryHandler.startQuery(TOKEN_CHILD, groupCursor.getPosition(), phoneNumbersUri, in getChildrenCursor()
/development/samples/browseable/HorizontalPaging/src/com.example.android.horizontalpaging/
DMainActivity.java108 mViewPager.setCurrentItem(tab.getPosition()); in onTabSelected()
/development/samples/training/EffectiveNavigation/src/com/example/android/effectivenavigation/
DMainActivity.java100 mViewPager.setCurrentItem(tab.getPosition()); in onTabSelected()
/development/samples/browseable/Timer/src/com.example.android.wearable.timer/
DSetTimerActivity.java100 long duration = mTimeOptions[holder.getPosition()].duration; in onClick()
/development/samples/HoneycombGallery/src/com/example/android/hcgallery/
DTitlesFragment.java240 titleFrag.populateTitles(tab.getPosition()); in onTabSelected()