Home
last modified time | relevance | path

Searched refs:maxSize (Results 1 – 8 of 8) sorted by relevance

/cts/tests/camera/src/android/hardware/camera2/cts/
DImageWriterTest.java176 Size maxSize = sizes.get(0); in readerWriterFormatTestByCamera() local
178 Log.v(TAG, "Testing size " + maxSize); in readerWriterFormatTestByCamera()
184 createDefaultImageReader(maxSize, format, MAX_NUM_IMAGES, in readerWriterFormatTestByCamera()
187 createDefaultImageReader(maxSize, format, MAX_NUM_IMAGES, listenerForCamera); in readerWriterFormatTestByCamera()
198 maxSize, format, MAX_NUM_IMAGES, in readerWriterFormatTestByCamera()
202 maxSize, format, MAX_NUM_IMAGES, listenerForWriter); in readerWriterFormatTestByCamera()
255 validateOpaqueImages(maxSize, listenerForCamera, listenerForWriter, captureListener, in readerWriterFormatTestByCamera()
285 String img1FileName = mDebugFileNameBase + "/" + maxSize + "_image1_copy.yuv"; in readerWriterFormatTestByCamera()
286 String outputImg1FileName = mDebugFileNameBase + "/" + maxSize in readerWriterFormatTestByCamera()
305 String img2FileName = mDebugFileNameBase + "/" + maxSize + "_image2.yuv"; in readerWriterFormatTestByCamera()
[all …]
DStaticMetadataTest.java549 Size maxSize = CameraTestUtils.getMaxSize(sizes); in getFpsForMaxSize() local
550 Long minDuration = minFrameDurationMap.get(maxSize); in getFpsForMaxSize()
552 Log.v(TAG, "min frame duration for size " + maxSize + " is " + minDuration); in getFpsForMaxSize()
DAllocationTest.java556 final Size maxSize = getMaxSize( in testBlackWhite()
559 try (ScriptGraph scriptGraph = createGraphForYuvCroppedMeans(maxSize)) { in testBlackWhite()
635 final Size maxSize = getMaxSize( in testParamSensitivity()
648 try (ScriptGraph scriptGraph = createGraphForYuvCroppedMeans(maxSize)) { in testParamSensitivity()
/cts/tests/tests/media/src/android/media/cts/
DMidiSoloTest.java128 int maxSize = 11; in testMidiReceiver() local
129 MyMidiReceiver myReceiver = new MyMidiReceiver(maxSize); in testMidiReceiver()
130 assertEquals("MidiReceiver set size wrong.", maxSize, in testMidiReceiver()
164 int maxSize = 11; in testMidiReceiverException() local
165 MyMidiReceiver myReceiver = new MyMidiReceiver(maxSize); in testMidiReceiverException()
166 assertEquals("MidiReceiver set size wrong.", maxSize, in testMidiReceiverException()
DEncodeVirtualDisplayWithCompositionTest.java514 Size maxSize = getMaxSupportedEncoderSize(); in doTestVirtualDisplayRecycles() local
515 if (maxSize == null) { in doTestVirtualDisplayRecycles()
529 maxSize.getWidth(), maxSize.getHeight(), mEncoderEventListener); in doTestVirtualDisplayRecycles()
535 maxSize.getWidth(), maxSize.getHeight(), numDisplays); in doTestVirtualDisplayRecycles()
544 maxSize.getWidth()/numDisplays, maxSize.getHeight()); in doTestVirtualDisplayRecycles()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsUtils.java175 Size maxSize = sizes[0]; in getMaxSize() local
176 int maxArea = maxSize.getWidth() * maxSize.getHeight(); in getMaxSize()
180 (area == maxArea && sizes[i].getWidth() > maxSize.getWidth())) { in getMaxSize()
181 maxSize = sizes[i]; in getMaxSize()
186 return maxSize; in getMaxSize()
/cts/tests/tests/webkit/src/android/webkit/cts/
DWebSettingsTest.java434 int maxSize = mSettings.getDefaultFontSize(); in testAccessDefaultFontSize() local
437 maxSize, in testAccessDefaultFontSize()
443 assertThat(minSize, lessThan(maxSize)); in testAccessDefaultFontSize()
457 int maxSize = mSettings.getDefaultFixedFontSize(); in testAccessDefaultFixedFontSize() local
460 maxSize, in testAccessDefaultFixedFontSize()
466 assertThat(minSize, lessThan(maxSize)); in testAccessDefaultFixedFontSize()
/cts/tests/tests/widget/src/android/widget/cts/
DTextViewTest.java7845 final int maxSize = textView.getAutoSizeMaxTextSize(); in testAutoSizeUniform_getSetAutoSizeTextDefaults() local
7847 assertTrue(minSize < maxSize); in testAutoSizeUniform_getSetAutoSizeTextDefaults()
7888 final int maxSize = textView.getAutoSizeMaxTextSize();
7889 assertNotEquals(0, maxSize);
7893 assertTrue((maxSize - minSize) > 1);
7894 final int newMinSize = maxSize - 1;
7903 assertEquals(maxSize, textView.getAutoSizeMaxTextSize());
8021 final int maxSize = textView.getAutoSizeMaxTextSize(); in testAutoSizeUniform_getSetAutoSizeMaxTextSize() local
8022 assertNotEquals(0, maxSize); in testAutoSizeUniform_getSetAutoSizeMaxTextSize()
8024 final int newMaxSize = maxSize + 11; in testAutoSizeUniform_getSetAutoSizeMaxTextSize()