Home
last modified time | relevance | path

Searched refs:fillLevel (Results 1 – 2 of 2) sorted by relevance

/frameworks/wilhelm/src/android/
Dandroid_GenericMediaPlayer.cpp487 int32_t fillLevel = 0; in onBufferingUpdate() local
488 if (msg->findInt32(WHATPARAM_BUFFERING_UPDATE, &fillLevel)) { in onBufferingUpdate()
489 SL_LOGD("GenericMediaPlayer::onBufferingUpdate(fillLevel=%d)", fillLevel); in onBufferingUpdate()
492 mCacheFill = fillLevel; in onBufferingUpdate()
505 int64_t bufferedDurationMsec = (durationMsec * fillLevel / 100) - positionMsec; in onBufferingUpdate()
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
DNekoControlsService.kt141 private fun makeWaterBowlControl(fillLevel: Float): Control { in makeWaterBowlControl()
147 if (fillLevel >= 100f) R.drawable.ic_water_filled else R.drawable.ic_water)) in makeWaterBowlControl()
149 .setControlTemplate(RangeTemplate("waterlevel", 0f, 200f, fillLevel, 10f, in makeWaterBowlControl()
152 … .setSubtitle(if (fillLevel == 0f) getString(R.string.control_water_subtitle) else "") in makeWaterBowlControl()