Home
last modified time | relevance | path

Searched refs:setColorMode (Results 1 – 25 of 50) sorted by relevance

12

/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/color/
DDisplayTransformManagerTest.java84 mDtm.setColorMode(ColorDisplayManager.COLOR_MODE_NATURAL, mNightDisplayMatrix, -1); in setColorMode_natural()
93 mDtm.setColorMode(ColorDisplayManager.COLOR_MODE_BOOSTED, mNightDisplayMatrix, -1); in setColorMode_boosted()
103 mDtm.setColorMode(ColorDisplayManager.COLOR_MODE_SATURATED, mNightDisplayMatrix, -1); in setColorMode_saturated()
112 mDtm.setColorMode(ColorDisplayManager.COLOR_MODE_AUTOMATIC, mNightDisplayMatrix, -1); in setColorMode_automatic()
121 mDtm.setColorMode(0x100, mNightDisplayMatrix, -1); in setColorMode_vendor()
130 mDtm.setColorMode(0x50, mNightDisplayMatrix, -1); in setColorMode_outOfBounds()
144 mDtm.setColorMode(ColorDisplayManager.COLOR_MODE_NATURAL, mNightDisplayMatrix, in setColorMode_withoutColorSpace()
158 mDtm.setColorMode(ColorDisplayManager.COLOR_MODE_NATURAL, mNightDisplayMatrix, in setColorMode_withColorSpace()
DColorDisplayServiceTest.java958 setColorMode(ColorDisplayManager.COLOR_MODE_NATURAL); in accessibility_colorInversion_transformActivated()
973 setColorMode(ColorDisplayManager.COLOR_MODE_NATURAL); in accessibility_colorCorrection_transformActivated()
989 setColorMode(ColorDisplayManager.COLOR_MODE_NATURAL); in accessibility_all_transformActivated()
1005 setColorMode(ColorDisplayManager.COLOR_MODE_NATURAL); in accessibility_none_transformActivated()
1030 mBinderService.setColorMode(ColorDisplayManager.COLOR_MODE_NATURAL); in displayWhiteBalance_enabled()
1067 mBinderService.setColorMode(ColorDisplayManager.COLOR_MODE_SATURATED); in displayWhiteBalance_enabledAfterLinearColorModeSelected()
1071 mBinderService.setColorMode(ColorDisplayManager.COLOR_MODE_NATURAL); in displayWhiteBalance_enabledAfterLinearColorModeSelected()
1106 setColorMode(ColorDisplayManager.COLOR_MODE_NATURAL); in compositionColorSpaces_noResources()
1108 verify(mDisplayTransformManager).setColorMode( in compositionColorSpaces_noResources()
1124 setColorMode(ColorDisplayManager.COLOR_MODE_NATURAL); in compositionColorSpaces_invalidResources()
[all …]
/frameworks/base/tests/graphics/SilkFX/src/com/android/test/silkfx/common/
DColorModeControls.kt47 setColorMode(window.colorMode) in <lambda>()
50 setColorMode(ActivityInfo.COLOR_MODE_DEFAULT) in <lambda>()
53 setColorMode(ActivityInfo.COLOR_MODE_WIDE_COLOR_GAMUT) in <lambda>()
56 setColorMode(ActivityInfo.COLOR_MODE_HDR) in <lambda>()
59 setColorMode(ActivityInfo.COLOR_MODE_HDR10) in <lambda>()
88 private fun setColorMode(newMode: Int) { in <lambda>() method
/frameworks/base/core/java/android/hardware/display/
DColorDisplayManager.java349 public void setColorMode(int colorMode) { in setColorMode() method in ColorDisplayManager
350 mManager.setColorMode(colorMode); in setColorMode()
817 void setColorMode(int colorMode) { in setColorMode() method in ColorDisplayManager.ColorDisplayManagerInternal
819 mCdm.setColorMode(colorMode); in setColorMode()
DIColorDisplayManager.aidl54 void setColorMode(int colorMode); in setColorMode() method
/frameworks/base/libs/hwui/renderthread/
DRenderProxy.cpp157 float RenderProxy::setColorMode(ColorMode mode) { in setColorMode() function in android::uirenderer::renderthread::RenderProxy
162 [=, this]() -> float { return mContext->setColorMode(mode); }); in setColorMode()
164 mRenderThread.queue().post([=, this]() { mContext->setColorMode(mode); }); in setColorMode()
DRenderProxy.h91 float setColorMode(ColorMode mode);
DCanvasContext.h142 float setColorMode(ColorMode mode);
/frameworks/base/core/java/android/print/
DPrintAttributes.java208 public void setColorMode(int colorMode) { in setColorMode() method in PrintAttributes
287 attributes.setColorMode(getColorMode()); in asPortrait()
325 attributes.setColorMode(getColorMode()); in asLandscape()
1486 public @NonNull Builder setColorMode(@ColorMode int colorMode) { in setColorMode() method in PrintAttributes.Builder
1487 mAttributes.setColorMode(colorMode); in setColorMode()
DPrinterCapabilitiesInfo.java201 builder.setColorMode(colorMode); in getDefaults()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/screenshot/scroll/
DFakeScrollCaptureConnection.java112 mHardwareRenderer.setColorMode(ActivityInfo.COLOR_MODE_DEFAULT); in HwuiContext()
/frameworks/base/core/java/com/android/internal/view/
DScrollCaptureViewSupport.java422 public void setColorMode(@ColorMode int colorMode) { in setColorMode() method in ScrollCaptureViewSupport.ViewRenderer
423 mRenderer.setColorMode(colorMode); in setColorMode()
/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/
DColorBitmapActivity.java209 getWindow().setColorMode(mColorMode); in onCreate()
344 ColorBitmapActivity.this.getWindow().setColorMode(mColorMode); in onItemSelected()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayDeviceRepository.java203 mPersistentDataStore.setColorMode(device, info.colorMode); in handleDisplayDeviceChanged()
DPersistentDataStore.java286 public boolean setColorMode(DisplayDevice device, int colorMode) { in setColorMode() method in PersistentDataStore
291 if (state.setColorMode(colorMode)) { in setColorMode()
664 public boolean setColorMode(int colorMode) { in setColorMode() method in PersistentDataStore.DisplayState
/frameworks/base/services/core/java/com/android/server/display/color/
DDisplayTransformManager.java268 public boolean setColorMode(int colorMode, float[] nightDisplayMatrix, in setColorMode() method in DisplayTransformManager
/frameworks/native/services/surfaceflinger/tests/unittests/mock/DisplayHardware/
DMockHWC2.h73 MOCK_METHOD(hal::Error, setColorMode, (hal::ColorMode, hal::RenderIntent), (override));
DMockComposer.h93 MOCK_METHOD3(setColorMode, Error(Display, ColorMode, RenderIntent));
/frameworks/base/graphics/java/android/graphics/
DHardwareRenderer.java676 public float setColorMode(@ActivityInfo.ColorMode int colorMode) { in setColorMode() method in HardwareRenderer
691 public void setColorMode(@ActivityInfo.ColorMode int colorMode, float whitePoint) { in setColorMode() method in HardwareRenderer
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWC2.h148 [[nodiscard]] virtual hal::Error setColorMode(hal::ColorMode mode,
236 hal::Error setColorMode(hal::ColorMode, hal::RenderIntent) override;
/frameworks/native/services/surfaceflinger/tests/unittests/
DSurfaceFlinger_SetupNewDisplayDeviceInternalTest.cpp52 setColorMode(Display::HWC_DISPLAY_ID, ColorMode::SRGB, in setupComposerCallExpectations()
DDisplayTransactionTestHelpers.h711 EXPECT_CALL(*test->mComposer, setColorMode(_, _, _)).Times(0);
728 EXPECT_CALL(*test->mComposer, setColorMode(_, _, _)).Times(0);
/frameworks/base/tools/aapt2/test/
DBuilders.h304 ConfigDescriptionBuilder& setColorMode(uint8_t colorMode) { in setColorMode() function
/frameworks/base/core/java/android/view/
DWindow.java1341 public void setColorMode(@ActivityInfo.ColorMode int colorMode) { in setColorMode() method in Window
1343 attrs.setColorMode(colorMode); in setColorMode()
/frameworks/base/tools/aapt2/cmd/
DUtil_test.cpp352 .setColorMode(0x0A) in TEST()

12