Searched refs:desiredSize (Results 1 – 2 of 2) sorted by relevance
254 final int desiredSize = 100; in testResolveAdjustedSize() local255 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()
115 int32_t desiredSize = mAudioStream->getFramesPerBurst() * kBufferSizeInBursts; in setupStream() local116 mAudioStream->setBufferSizeInFrames(desiredSize); in setupStream()118 mAudioSource->init(desiredSize , mChannelCount); in setupStream()