Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/display/
DLocalDisplayAdapter.java114 int[] colorModes = SurfaceControl.getDisplayColorModes(displayToken); in tryConnectDisplayLocked() local
119 configs, activeConfig, colorModes, activeColorMode); in tryConnectDisplayLocked()
123 colorModes, activeColorMode)) { in tryConnectDisplayLocked()
178 int[] colorModes, int activeColorMode) { in LocalDisplayDevice() argument
182 colorModes, activeColorMode); in LocalDisplayDevice()
183 updateColorModesLocked(colorModes, activeColorMode); in LocalDisplayDevice()
200 int[] colorModes, int activeColorMode) { in updatePhysicalDisplayInfoLocked() argument
284 private boolean updateColorModesLocked(int[] colorModes, in updateColorModesLocked() argument
290 for (int colorMode: colorModes) { in updateColorModesLocked()
/frameworks/base/core/java/android/print/
DPrinterCapabilitiesInfo.java334 int colorModes = mColorModes; in colorModesToString() local
335 while (colorModes != 0) { in colorModesToString()
336 final int colorMode = 1 << Integer.numberOfTrailingZeros(colorModes); in colorModesToString()
337 colorModes &= ~colorMode; in colorModesToString()
562 public @NonNull Builder setColorModes(@ColorMode int colorModes, in setColorModes() argument
564 enforceValidMask(colorModes, in setColorModes()
567 mPrototype.mColorModes = colorModes; in setColorModes()
/frameworks/native/libs/gui/
DISurfaceComposer.cpp552 Vector<android_color_mode_t> colorModes; in onTransact() local
559 result = getDisplayColorModes(display, &colorModes); in onTransact()
562 reply->writeUint32(static_cast<uint32_t>(colorModes.size())); in onTransact()
563 for (size_t i = 0; i < colorModes.size(); ++i) { in onTransact()
564 reply->writeInt32(colorModes[i]); in onTransact()
/frameworks/base/core/java/android/view/
DDisplay.java756 int[] colorModes = mDisplayInfo.supportedColorModes; in getSupportedColorModes() local
757 return Arrays.copyOf(colorModes, colorModes.length); in getSupportedColorModes()
/frameworks/base/core/jni/
Dandroid_view_SurfaceControl.cpp455 Vector<android_color_mode_t> colorModes; in nativeGetDisplayColorModes() local
456 if (SurfaceComposerClient::getDisplayColorModes(token, &colorModes) != NO_ERROR || in nativeGetDisplayColorModes()
457 colorModes.isEmpty()) { in nativeGetDisplayColorModes()
461 jintArray colorModesArray = env->NewIntArray(colorModes.size()); in nativeGetDisplayColorModes()
467 for (size_t i = 0; i < colorModes.size(); i++) { in nativeGetDisplayColorModes()
468 colorModesArrayValues[i] = static_cast<jint>(colorModes[i]); in nativeGetDisplayColorModes()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPrintActivity.java1663 final int colorModes = capabilities.getColorModes(); in updateOptionsUi() local
1667 if (Integer.bitCount(colorModes) != mColorModeSpinnerAdapter.getCount()) { in updateOptionsUi()
1670 int remainingColorModes = colorModes; in updateOptionsUi()
1691 int remainingColorModes = colorModes; in updateOptionsUi()
1710 final int selectedColorMode = colorModes & defaultAttributes.getColorMode(); in updateOptionsUi()
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger_hwc1.cpp753 std::set<android_color_mode_t> colorModes; in getDisplayColorModes() local
755 colorModes.insert(hwConfig.colorMode); in getDisplayColorModes()
759 std::copy(colorModes.cbegin(), colorModes.cend(), std::back_inserter(*outColorModes)); in getDisplayColorModes()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWC2On1Adapter.cpp1747 std::set<android_color_mode_t> colorModes; in getColorModes() local
1749 colorModes.emplace(idPair.first); in getColorModes()
1751 return colorModes; in getColorModes()