Home
last modified time | relevance | path

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

/cts/tests/tests/media/src/android/media/cts/
DClearKeySystemTest.java291 int videoWidth, int videoHeight) { in isResolutionSupported() argument
293 if (videoHeight <= 144) { in isResolutionSupported()
295 } else if (videoHeight <= 240) { in isResolutionSupported()
297 } else if (videoHeight <= 288) { in isResolutionSupported()
299 } else if (videoHeight <= 480) { in isResolutionSupported()
301 } else if (videoHeight <= 720) { in isResolutionSupported()
303 } else if (videoHeight <= 1080) { in isResolutionSupported()
310 MediaFormat format = MediaFormat.createVideoFormat(mime, videoWidth, videoHeight); in isResolutionSupported()
330 int videoWidth, int videoHeight) throws Exception { in testClearKeyPlayback() argument
341 if (!isResolutionSupported(videoMime, videoFeatures, videoWidth, videoHeight)) { in testClearKeyPlayback()
[all …]
/cts/tests/tests/mediastress/src/android/mediastress/cts/
DCodecTest.java246 public static int videoHeight(String filePath) throws Exception { in videoHeight() method in CodecTest
248 int videoHeight = 0; in videoHeight() local
271 videoHeight = mMediaPlayer.getVideoHeight(); in videoHeight()
277 return videoHeight; in videoHeight()
/cts/tests/camera/src/android/hardware/cts/
DCameraTest.java387 int videoWidth, int videoHeight) throws Exception { in subtestTakePictureByCamera() argument
389 videoWidth * videoHeight; // Temporary until new API definitions in subtestTakePictureByCamera()
411 ", video size is " + videoWidth + " x " + videoHeight); in subtestTakePictureByCamera()
413 videoWidth + " x " + videoHeight + " (" + in subtestTakePictureByCamera()