Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/
DCtsTestHelper.java49 public static String getTestDetails(List<SelectableResolution> resolutions) { in getTestDetails() argument
51 for (int i = 0; i < resolutions.size(); i++) { in getTestDetails()
52 SelectableResolution res = resolutions.get(i); in getTestDetails()
/cts/tests/tests/mediastress/preconditions/src/android/mediastress/cts/preconditions/
DMediaPreparer.java91 … protected static final Dimension[] resolutions = { // indices meant to align with constants above field in MediaPreparer
123 for (int resIndex = resolutions.length - 1; resIndex >= RES_DEFAULT; resIndex--) { in getMaxVideoPlaybackResolution()
124 Dimension resolution = resolutions[resIndex]; in getMaxVideoPlaybackResolution()
129 return resolutions[RES_DEFAULT]; in getMaxVideoPlaybackResolution()
151 return resolutions[RES_1920_1080]; in getMaxVideoPlaybackResolution()
161 return resolutions[RES_1920_1080]; in getMaxVideoPlaybackResolution()
179 Dimension copiedResolution = resolutions[resIndex]; in mediaFilesExistOnDevice()
276 Dimension copiedResolution = resolutions[resIndex]; in copyMediaFiles()
/cts/tests/tests/print/src/android/print/cts/
DPrintAttributesTest.java141 final int duplexModes[], final int defaultDuplexMode, final Resolution resolutions[], in createMockPrinterDiscoverySessionCallbacks() argument
181 int resolutionsLength = resolutions.length; in createMockPrinterDiscoverySessionCallbacks()
183 if (resolutions[i].equals(defaultResolution)) { in createMockPrinterDiscoverySessionCallbacks()
184 builder.addResolution(resolutions[i], true); in createMockPrinterDiscoverySessionCallbacks()
186 builder.addResolution(resolutions[i], false); in createMockPrinterDiscoverySessionCallbacks()
289 int defaultDuplexMode, Resolution resolutions[], Resolution defaultResolution) {
293 defaultDuplexMode, resolutions, defaultResolution);
369 int defaultDuplexMode, int suggestedDuplexMode, Resolution resolutions[],
378 duplexModes, defaultDuplexMode, resolutions, defaultResolution);
430 && Arrays.asList(resolutions).contains(suggestedResolution)) {
DPrinterCapabilitiesTest.java505 Resolution[] resolutions = {RESOLUTION_300, RESOLUTION_300, in testSanePrinterCapabilityInfos()
534 b.addResolution(resolutions[i], in testSanePrinterCapabilityInfos()
/cts/tests/tests/mediastress/preconditions/tests/src/android/mediastress/cts/preconditions/
DMediaPreparerTest.java40 MediaPreparer.resolutions[MediaPreparer.RES_DEFAULT];
107 assertEquals(result, MediaPreparer.resolutions[MediaPreparer.RES_1920_1080]); in testGetMaxVideoPlaybackResolutionNotFound()