Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DAudioFrequencyActivity.java54 public int mMaxLevel = 0; field in AudioFrequencyActivity
58 mMaxLevel = am.getStreamMaxVolume(AudioManager.STREAM_MUSIC); in setMaxLevel()
59 am.setStreamVolume(AudioManager.STREAM_MUSIC, (int)(mMaxLevel), 0); in setMaxLevel()
70 Log.i(TAG, String.format("Max level: %d curLevel: %d", mMaxLevel, currentLevel)); in testMaxLevel()
71 if (currentLevel != mMaxLevel) { in testMaxLevel()
DAudioLoopbackActivity.java78 int mMaxLevel; field in AudioLoopbackActivity
136 mMaxLevel = am.getStreamMaxVolume(AudioManager.STREAM_MUSIC); in onCreate()
137 mAudioLevelSeekbar.setMax(mMaxLevel); in onCreate()
138 am.setStreamVolume(AudioManager.STREAM_MUSIC, (int)(0.7 * mMaxLevel), 0); in onCreate()
177 currentLevel, mMaxLevel); in refreshLevel()