Home
last modified time | relevance | path

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

/cts/tests/tests/print/src/android/print/cts/
DPrinterCapabilitiesTest.java206 for (int resolutionIndex = 1; resolutionIndex < mediaSizes.length; in sanePrinterCapabilityInfos()
207 resolutionIndex++) { in sanePrinterCapabilityInfos()
224 for (int i = 0; i < resolutionIndex; i++) { in sanePrinterCapabilityInfos()
226 i == resolutionIndex - 1); in sanePrinterCapabilityInfos()
260 assertEquals(resolutionIndex, cap.getResolutions().size()); in sanePrinterCapabilityInfos()
261 assertEquals(resolutions[resolutionIndex - 1], in sanePrinterCapabilityInfos()
263 for (int i = 0; i < resolutionIndex; i++) { in sanePrinterCapabilityInfos()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/formats/
DCameraFormatsActivity.java120 private CameraCombination(int cameraIndex, int resolutionIndex, int formatIndex, in CameraCombination() argument
123 this.mResolutionIndex = resolutionIndex; in CameraCombination()
428 for (int resolutionIndex = 0; resolutionIndex < mPreviewSizes.size(); resolutionIndex++) { in setUpCamera()
431 id, resolutionIndex, formatIndex, in setUpCamera()
432 mPreviewSizes.get(resolutionIndex).width, in setUpCamera()
433 mPreviewSizes.get(resolutionIndex).height, in setUpCamera()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java5125 public final Size getOutputSizeForFormat(int format, int resolutionIndex) { in getOutputSizeForFormat() argument
5126 if (resolutionIndex >= RESOLUTION_COUNT) { in getOutputSizeForFormat()
5132 return mMaxPrivSizes[resolutionIndex]; in getOutputSizeForFormat()
5134 return mMaxYuvSizes[resolutionIndex]; in getOutputSizeForFormat()
5136 return mMaxJpegSizes[resolutionIndex]; in getOutputSizeForFormat()
5138 return mMaxJpegRSizes[resolutionIndex]; in getOutputSizeForFormat()
5140 return mMaxY8Sizes[resolutionIndex]; in getOutputSizeForFormat()
5142 return mMaxHeicSizes[resolutionIndex]; in getOutputSizeForFormat()
5144 if (resolutionIndex == MAX_RES) { in getOutputSizeForFormat()
5153 public final Size getMaxInputSizeForFormat(int format, int resolutionIndex) { in getMaxInputSizeForFormat() argument
[all …]