Home
last modified time | relevance | path

Searched refs:mCurrentIndex (Results 1 – 3 of 3) sorted by relevance

/frameworks/support/samples/SupportLeanbackDemos/src/main/java/com/example/android/leanback/
DMediaSessionService.java134 private int mCurrentIndex = -1; field in MediaSessionService
271 mCurrentIndex = 0; in setMediaList()
427 && mCurrentIndex == mMediaItemList.size() - 1) { in initializePlayer()
431 mCurrentIndex = 0; in initializePlayer()
434 mCurrentIndex = generateMediaItemIndex(); in initializePlayer()
436 mCurrentMediaItem = mMediaItemList.get(mCurrentIndex); in initializePlayer()
447 } else if (mCurrentIndex < mMediaItemList.size() - 1) { in initializePlayer()
449 mCurrentIndex++; in initializePlayer()
451 mCurrentIndex = generateMediaItemIndex(); in initializePlayer()
453 mCurrentMediaItem = mMediaItemList.get(mCurrentIndex); in initializePlayer()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/display/
DDisplayDensityUtils.java86 private final int mCurrentIndex; field in DisplayDensityUtils
95 mCurrentIndex = -1; in DisplayDensityUtils()
172 mCurrentIndex = displayIndex; in DisplayDensityUtils()
186 return mCurrentIndex; in getCurrentIndex()
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputHardwareManager.java111 private int mCurrentIndex = 0; field in TvInputHardwareManager
506 mCurrentIndex = mAudioManager.getStreamVolume(AudioManager.STREAM_MUSIC); in updateVolume()
518 if (index == mCurrentIndex) { in handleVolumeChange()
521 mCurrentIndex = index; in handleVolumeChange()
548 return (float) mCurrentIndex / (float) mCurrentMaxIndex; in getMediaStreamVolume()