Home
last modified time | relevance | path

Searched refs:colorModes (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/core/java/android/print/
DPrinterCapabilitiesInfo.java336 int colorModes = mColorModes; in colorModesToString() local
337 while (colorModes != 0) { in colorModesToString()
338 final int colorMode = 1 << Integer.numberOfTrailingZeros(colorModes); in colorModesToString()
339 colorModes &= ~colorMode; in colorModesToString()
564 public @NonNull Builder setColorModes(@ColorMode int colorModes, in setColorModes() argument
566 enforceValidMask(colorModes, in setColorModes()
569 mPrototype.mColorModes = colorModes; in setColorModes()
/frameworks/native/services/surfaceflinger/Display/
DDisplaySnapshot.cpp31 DisplayModes&& displayModes, ui::ColorModes&& colorModes, in DisplaySnapshot() argument
36 mColorModes(std::move(colorModes)), in DisplaySnapshot()
DDisplaySnapshot.h45 const auto& colorModes() const { return mColorModes; } in colorModes() function
/frameworks/native/services/surfaceflinger/tests/unittests/
DSurfaceFlinger_SetupNewDisplayDeviceInternalTest.cpp255 ui::ColorModes colorModes; in setupNewDisplayDeviceInternalTest() local
257 colorModes.push_back(ColorMode::DISPLAY_P3); in setupNewDisplayDeviceInternalTest()
263 std::move(colorModes), std::nullopt) in setupNewDisplayDeviceInternalTest()
/frameworks/native/services/surfaceflinger/tests/
DCredentials_test.cpp305 const auto& colorModes = info.supportedColorModes; in TEST_F() local
306 for (ColorMode colorMode : colorModes) { in TEST_F()
/frameworks/base/core/java/android/view/
DDisplay.java1590 int[] colorModes = mDisplayInfo.supportedColorModes; in getSupportedColorModes() local
1591 return Arrays.copyOf(colorModes, colorModes.length); in getSupportedColorModes()
1612 final int[] colorModes = getSupportedColorModes(); in getSupportedWideColorGamut() local
1614 for (int colorMode : colorModes) { in getSupportedWideColorGamut()
/frameworks/base/services/core/java/com/android/server/display/color/
DColorDisplayService.java284 final int[] colorModes = res.getIntArray(R.array.config_displayCompositionColorModes); in setUpDisplayCompositionColorSpaces() local
285 if (colorModes == null) { in setUpDisplayCompositionColorSpaces()
294 if (colorModes.length != compSpaces.length) { in setUpDisplayCompositionColorSpaces()
299 mColorModeCompositionColorSpaces = new SparseIntArray(colorModes.length); in setUpDisplayCompositionColorSpaces()
300 for (int i = 0; i < colorModes.length; i++) { in setUpDisplayCompositionColorSpaces()
301 mColorModeCompositionColorSpaces.put(colorModes[i], compSpaces[i]); in setUpDisplayCompositionColorSpaces()
/frameworks/base/services/core/java/com/android/server/display/
DLocalDisplayAdapter.java548 private boolean updateColorModesLocked(int[] colorModes, int activeColorMode) { in updateColorModesLocked() argument
549 if (colorModes == null) { in updateColorModesLocked()
556 for (int colorMode : colorModes) { in updateColorModesLocked()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPrintActivity.java1753 final int colorModes = capabilities.getColorModes(); in updateOptionsUi() local
1757 if (Integer.bitCount(colorModes) != mColorModeSpinnerAdapter.getCount()) { in updateOptionsUi()
1760 int remainingColorModes = colorModes; in updateOptionsUi()
1781 int remainingColorModes = colorModes; in updateOptionsUi()
1800 final int selectedColorMode = colorModes & defaultAttributes.getColorMode(); in updateOptionsUi()
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp3639 ui::ColorModes colorModes = getHwComposer().getColorModes(displayId); in processHotplugConnect() local
3655 std::move(colorModes), std::move(deviceProductInfo)); in processHotplugConnect()
3669 std::move(displayModes), std::move(colorModes), in processHotplugConnect()
3736 for (const auto mode : snapshot.colorModes()) { in setupNewDisplayDeviceInternal()
6608 for (const auto mode : display.snapshot().colorModes()) { in dumpWideColorInfo()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...