Home
last modified time | relevance | path

Searched refs:targetSize (Results 1 – 5 of 5) sorted by relevance

/cts/tests/camera/src/android/hardware/camera2/cts/
DFeatureCombinationTest.java545 Size targetSize = null; in setupConfigurationTargets() local
548 targetSize = maxSizes.getOutputSizeForFormat(PRIV, sizeLimit); in setupConfigurationTargets()
550 target.setDefaultBufferSize(targetSize.getWidth(), targetSize.getHeight()); in setupConfigurationTargets()
553 OutputConfiguration configNoSurface = new OutputConfiguration(targetSize, in setupConfigurationTargets()
570 targetSize = maxSizes.getOutputSizeForFormat(format, sizeLimit); in setupConfigurationTargets()
572 targetSize.getWidth(), targetSize.getHeight(), format, numBuffers); in setupConfigurationTargets()
579 format, targetSize); in setupConfigurationTargets()
595 targetSize = maxSizes.getOutputSizeForFormat(YUV, sizeLimit); in setupConfigurationTargets()
597 targetSize.getWidth(), targetSize.getHeight(), format, numBuffers); in setupConfigurationTargets()
601 format, targetSize); in setupConfigurationTargets()
[all …]
DCameraDeviceSetupTest.java731 Size targetSize = null; in setupConfigurations() local
734 targetSize = maxSizes.getOutputSizeForFormat(PRIV, sizeLimit); in setupConfigurations()
736 targetSize, SurfaceTexture.class); in setupConfigurations()
743 targetSize = maxSizes.getOutputSizeForFormat(format, sizeLimit); in setupConfigurations()
744 OutputConfiguration config = new OutputConfiguration(format, targetSize); in setupConfigurations()
752 targetSize = maxSizes.getOutputSizeForFormat(YUV, sizeLimit); in setupConfigurations()
753 OutputConfiguration config = new OutputConfiguration(format, targetSize); in setupConfigurations()
764 if (minFrameDurations.containsKey(targetSize) in setupConfigurations()
765 && minFrameDurations.get(targetSize) > frameDuration) { in setupConfigurations()
766 frameDuration = minFrameDurations.get(targetSize); in setupConfigurations()
DRobustnessTest.java2140 Size targetSize = CameraTestUtils.getMaxSize(chosenConfigs.getOutputSizes(format)); in verifyBasicSensorPixelModes() local
2141 if (configsContain(otherConfigs, format, targetSize)) { in verifyBasicSensorPixelModes()
2145 maxResolution + " contains the format: " + format + " size: " + targetSize + in verifyBasicSensorPixelModes()
2155 textureTarget.setDefaultBufferSize(targetSize.getWidth(), targetSize.getHeight()); in verifyBasicSensorPixelModes()
2158 readerTarget = ImageReader.newInstance(targetSize.getWidth(), in verifyBasicSensorPixelModes()
2159 targetSize.getHeight(), format, MIN_RESULT_COUNT); in verifyBasicSensorPixelModes()
2177 targetSize.toString() + " maxResolution : " + maxResolution; in verifyBasicSensorPixelModes()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DCallComposerTest.java128 int targetSize = (int) TelephonyManager.getMaximumCallComposerPictureSize() + 1; in testExcessivelyLargePictureAsFile() local
130 byte[] paddedData = new byte[targetSize]; in testExcessivelyLargePictureAsFile()
144 int targetSize = (int) TelephonyManager.getMaximumCallComposerPictureSize() + 1; in testExcessivelyLargePictureAsStream() local
146 byte[] paddedData = new byte[targetSize]; in testExcessivelyLargePictureAsStream()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java310 int format, Size targetSize, int numBuffers, String overridePhysicalCameraId, in configureTarget() argument
343 target.setDefaultBufferSize(targetSize.getWidth(), targetSize.getHeight()); in configureTarget()
354 ImageReader target = ImageReader.newInstance(targetSize.getWidth(), in configureTarget()
355 targetSize.getHeight(), format, numBuffers); in configureTarget()
467 Size targetSize = CameraTestUtils.getMaxSize(availableSizes); in setupConfigurationTargets() local
482 targetSize, numBuffers, overridePhysicalCameraId, multiResStreamConfig, in setupConfigurationTargets()
490 if (targetSize != null) { in setupConfigurationTargets()
492 targetSize, numBuffers, overridePhysicalCameraId, in setupConfigurationTargets()