/frameworks/base/services/core/java/com/android/server/display/ |
D | LocalDisplayAdapter.java | 114 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 288 if (colorModes == null) return false; in updateColorModesLocked() 291 for (int colorMode: colorModes) { in updateColorModesLocked()
|
/frameworks/base/core/java/android/print/ |
D | PrinterCapabilitiesInfo.java | 334 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/base/core/java/android/view/ |
D | Display.java | 882 int[] colorModes = mDisplayInfo.supportedColorModes; in getSupportedColorModes() local 883 return Arrays.copyOf(colorModes, colorModes.length); in getSupportedColorModes()
|
/frameworks/native/libs/gui/ |
D | ISurfaceComposer.cpp | 660 Vector<android_color_mode_t> colorModes; in onTransact() local 667 result = getDisplayColorModes(display, &colorModes); in onTransact() 670 reply->writeUint32(static_cast<uint32_t>(colorModes.size())); in onTransact() 671 for (size_t i = 0; i < colorModes.size(); ++i) { in onTransact() 672 reply->writeInt32(colorModes[i]); in onTransact()
|
D | Surface.cpp | 326 Vector<android_color_mode_t> colorModes; in getWideColorSupport() local 328 composerService()->getDisplayColorModes(display, &colorModes); in getWideColorSupport() 338 for (android_color_mode_t colorMode : colorModes) { in getWideColorSupport()
|
/frameworks/base/core/jni/ |
D | android_view_SurfaceControl.cpp | 527 Vector<android_color_mode_t> colorModes; in nativeGetDisplayColorModes() local 528 if (SurfaceComposerClient::getDisplayColorModes(token, &colorModes) != NO_ERROR || in nativeGetDisplayColorModes() 529 colorModes.isEmpty()) { in nativeGetDisplayColorModes() 533 jintArray colorModesArray = env->NewIntArray(colorModes.size()); in nativeGetDisplayColorModes() 539 for (size_t i = 0; i < colorModes.size(); i++) { in nativeGetDisplayColorModes() 540 colorModesArrayValues[i] = static_cast<jint>(colorModes[i]); in nativeGetDisplayColorModes()
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/ |
D | PrintActivity.java | 1714 final int colorModes = capabilities.getColorModes(); in updateOptionsUi() local 1718 if (Integer.bitCount(colorModes) != mColorModeSpinnerAdapter.getCount()) { in updateOptionsUi() 1721 int remainingColorModes = colorModes; in updateOptionsUi() 1742 int remainingColorModes = colorModes; in updateOptionsUi() 1761 final int selectedColorMode = colorModes & defaultAttributes.getColorMode(); in updateOptionsUi()
|
/frameworks/native/services/surfaceflinger/tests/hwc2/ |
D | Hwc2Test.cpp | 4132 std::vector<android_color_mode_t> colorModes; in TEST_F() local 4135 &colorModes)); in TEST_F() 4137 EXPECT_NE(std::count(colorModes.begin(), colorModes.end(), in TEST_F() 4148 std::vector<android_color_mode_t> colorModes; in TEST_F() local 4153 ASSERT_NO_FATAL_FAILURE(getColorModes(display, &colorModes, &err)); in TEST_F()
|
/frameworks/native/services/surfaceflinger/ |
D | SurfaceFlinger_hwc1.cpp | 841 std::set<android_color_mode_t> colorModes; in getDisplayColorModes() local 843 colorModes.insert(hwConfig.colorMode); in getDisplayColorModes() 847 std::copy(colorModes.cbegin(), colorModes.cend(), std::back_inserter(*outColorModes)); in getDisplayColorModes()
|
/frameworks/native/libs/hwc2on1adapter/ |
D | HWC2On1Adapter.cpp | 1654 std::set<android_color_mode_t> colorModes; in getColorModes() local 1656 colorModes.emplace(idPair.first); in getColorModes() 1658 return colorModes; in getColorModes()
|