Home
last modified time | relevance | path

Searched refs:supportedColorModes (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/core/java/android/view/
DDisplayInfo.java224 public int[] supportedColorModes = { Display.COLOR_MODE_DEFAULT }; field in DisplayInfo
440 && Arrays.equals(supportedColorModes, other.supportedColorModes) in equals()
501 supportedColorModes = Arrays.copyOf( in copyFrom()
502 other.supportedColorModes, other.supportedColorModes.length); in copyFrom()
564 supportedColorModes = new int[nColorModes]; in readFromParcel()
566 supportedColorModes[i] = source.readInt(); in readFromParcel()
633 dest.writeInt(supportedColorModes.length); in writeToParcel()
634 for (int i = 0; i < supportedColorModes.length; i++) { in writeToParcel()
635 dest.writeInt(supportedColorModes[i]); in writeToParcel()
798 for (int colorMode : supportedColorModes) { in isWideColorGamut()
[all …]
DSurfaceControl.java1757 public int[] supportedColorModes; field in SurfaceControl.DynamicDisplayInfo
1773 + ", supportedColorModes=" + Arrays.toString(supportedColorModes) in toString()
1789 && Arrays.equals(supportedColorModes, that.supportedColorModes) in equals()
DDisplay.java1590 int[] colorModes = mDisplayInfo.supportedColorModes; in getSupportedColorModes()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayDeviceInfo.java314 public int[] supportedColorModes = { Display.COLOR_MODE_DEFAULT }; field in DisplayDeviceInfo
517 || !Arrays.equals(supportedColorModes, other.supportedColorModes) in diff()
561 supportedColorModes = other.supportedColorModes; in copyFrom()
604 sb.append(", supportedColorModes ").append(Arrays.toString(supportedColorModes)); in toString()
DLogicalDisplay.java517 mBaseDisplayInfo.supportedColorModes = Arrays.copyOf( in updateLocked()
518 deviceInfo.supportedColorModes, in updateLocked()
519 deviceInfo.supportedColorModes.length); in updateLocked()
DLocalDisplayAdapter.java310 changed |= updateColorModesLocked(dynamicInfo.supportedColorModes, in updateDisplayPropertiesLocked()
682 mInfo.supportedColorModes = in getDisplayDeviceInfoLocked()
685 mInfo.supportedColorModes[i] = mSupportedColorModes.get(i); in getDisplayDeviceInfoLocked()
/frameworks/native/libs/gui/aidl/android/gui/
DDynamicDisplayInfo.aidl32 int[] supportedColorModes;
/frameworks/native/libs/ui/include/ui/
DDynamicDisplayInfo.h40 std::vector<ui::ColorMode> supportedColorModes; member
/frameworks/base/services/core/java/com/android/server/wm/
DDeferredDisplayUpdater.java405 || !Arrays.equals(first.supportedColorModes, second.supportedColorModes) in calculateDisplayInfoDiff()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DLocalDisplayAdapterTest.java776 display.dynamicInfo.supportedColorModes = initialColorModes; in testAfterDisplayChange_ColorModesAreUpdated()
789 assertThat(displayDeviceInfo.supportedColorModes).isEqualTo(initialColorModes); in testAfterDisplayChange_ColorModesAreUpdated()
793 display.dynamicInfo.supportedColorModes = changedColorModes; in testAfterDisplayChange_ColorModesAreUpdated()
807 assertThat(displayDeviceInfo.supportedColorModes).isEqualTo(changedColorModes); in testAfterDisplayChange_ColorModesAreUpdated()
1336 dynamicInfo.supportedColorModes = new int[]{ Display.COLOR_MODE_DEFAULT };
/frameworks/native/services/surfaceflinger/tests/
DCredentials_test.cpp305 const auto& colorModes = info.supportedColorModes; in TEST_F()
/frameworks/base/core/jni/
Dandroid_view_SurfaceControl.cpp113 jfieldID supportedColorModes; member
1370 jintArray colorModesArray = env->NewIntArray(info.supportedColorModes.size()); in nativeGetDynamicDisplayInfo()
1376 for (size_t i = 0; i < info.supportedColorModes.size(); i++) { in nativeGetDynamicDisplayInfo()
1377 colorModesArrayValues[i] = static_cast<jint>(info.supportedColorModes[i]); in nativeGetDynamicDisplayInfo()
1380 env->SetObjectField(object, gDynamicDisplayInfoClassInfo.supportedColorModes, colorModesArray); in nativeGetDynamicDisplayInfo()
2524 gDynamicDisplayInfoClassInfo.supportedColorModes = in register_android_view_SurfaceControl()
/frameworks/native/libs/gui/
DSurfaceComposerClient.cpp2631 outInfo->supportedColorModes.clear(); in getDynamicDisplayInfoInternal()
2632 outInfo->supportedColorModes.reserve(ginfo.supportedColorModes.size()); in getDynamicDisplayInfoInternal()
2633 for (const auto& cmode : ginfo.supportedColorModes) { in getDynamicDisplayInfoInternal()
2634 outInfo->supportedColorModes.push_back(static_cast<ui::ColorMode>(cmode)); in getDynamicDisplayInfoInternal()
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp1208 info->supportedColorModes = snapshot.filterColorModes(mSupportsWideColor); in getDynamicDisplayInfoInternal()
9862 outInfo->supportedColorModes.clear(); in getDynamicDisplayInfoInternal()
9863 outInfo->supportedColorModes.reserve(info.supportedColorModes.size()); in getDynamicDisplayInfoInternal()
9864 for (const auto& cmode : info.supportedColorModes) { in getDynamicDisplayInfoInternal()
9865 outInfo->supportedColorModes.push_back(static_cast<int32_t>(cmode)); in getDynamicDisplayInfoInternal()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt59212 Landroid/view/DisplayInfo;->supportedColorModes:[I