Home
last modified time | relevance | path

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

/cts/tests/tests/widget/src/android/widget/cts/
DVideoViewTest.java254 final int desiredSize = 100; in testResolveAdjustedSize() local
255 int resolvedSize = mVideoView.resolveAdjustedSize(desiredSize, MeasureSpec.UNSPECIFIED); in testResolveAdjustedSize()
256 assertEquals(desiredSize, resolvedSize); in testResolveAdjustedSize()
259 resolvedSize = mVideoView.resolveAdjustedSize(desiredSize, MeasureSpec.AT_MOST); in testResolveAdjustedSize()
260 assertEquals(Math.min(desiredSize, specSize), resolvedSize); in testResolveAdjustedSize()
262 resolvedSize = mVideoView.resolveAdjustedSize(desiredSize, MeasureSpec.EXACTLY); in testResolveAdjustedSize()
/cts/apps/CtsVerifier/jni/megaaudio/player/
DOboePlayer.cpp115 int32_t desiredSize = mAudioStream->getFramesPerBurst() * kBufferSizeInBursts; in setupStream() local
116 mAudioStream->setBufferSizeInFrames(desiredSize); in setupStream()
118 mAudioSource->init(desiredSize , mChannelCount); in setupStream()