Home
last modified time | relevance | path

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

12

/frameworks/base/services/tests/mockingservicestests/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()
/frameworks/base/services/tests/servicestests/src/com/android/server/display/color/
DColorDisplayServiceTest.java937 setColorMode(ColorDisplayManager.COLOR_MODE_NATURAL); in accessibility_colorInversion_transformActivated()
952 setColorMode(ColorDisplayManager.COLOR_MODE_NATURAL); in accessibility_colorCorrection_transformActivated()
968 setColorMode(ColorDisplayManager.COLOR_MODE_NATURAL); in accessibility_all_transformActivated()
984 setColorMode(ColorDisplayManager.COLOR_MODE_NATURAL); in accessibility_none_transformActivated()
995 mBinderService.setColorMode(ColorDisplayManager.COLOR_MODE_NATURAL); in displayWhiteBalance_enabled()
1032 mBinderService.setColorMode(ColorDisplayManager.COLOR_MODE_SATURATED); in displayWhiteBalance_enabledAfterLinearColorModeSelected()
1036 mBinderService.setColorMode(ColorDisplayManager.COLOR_MODE_NATURAL); in displayWhiteBalance_enabledAfterLinearColorModeSelected()
1074 setColorMode(ColorDisplayManager.COLOR_MODE_NATURAL); in compositionColorSpaces_noResources()
1076 verify(dtm).setColorMode(eq(ColorDisplayManager.COLOR_MODE_NATURAL), any(), in compositionColorSpaces_noResources()
1095 setColorMode(ColorDisplayManager.COLOR_MODE_NATURAL); in compositionColorSpaces_invalidResources()
[all …]
/frameworks/base/core/java/android/hardware/display/
DColorDisplayManager.java346 public void setColorMode(int colorMode) { in setColorMode() method in ColorDisplayManager
347 mManager.setColorMode(colorMode); in setColorMode()
677 void setColorMode(int colorMode) { in setColorMode() method in ColorDisplayManager.ColorDisplayManagerInternal
679 mCdm.setColorMode(colorMode); in setColorMode()
DIColorDisplayManager.aidl44 void setColorMode(int colorMode); in setColorMode() method
/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()
1438 public @NonNull Builder setColorMode(@ColorMode int colorMode) { in setColorMode() method in PrintAttributes.Builder
1439 mAttributes.setColorMode(colorMode); in setColorMode()
DPrinterCapabilitiesInfo.java199 builder.setColorMode(colorMode); in getDefaults()
/frameworks/base/services/core/java/com/android/server/display/
DPersistentDataStore.java250 public boolean setColorMode(DisplayDevice device, int colorMode) { in setColorMode() method in PersistentDataStore
255 if (state.setColorMode(colorMode)) { in setColorMode()
483 public boolean setColorMode(int colorMode) { in setColorMode() method in PersistentDataStore.DisplayState
/frameworks/native/services/surfaceflinger/tests/unittests/mock/DisplayHardware/
DMockDisplay.h77 MOCK_METHOD2(setColorMode, hal::Error(hal::ColorMode, hal::RenderIntent));
DMockComposer.h87 MOCK_METHOD3(setColorMode, Error(Display, ColorMode, RenderIntent));
/frameworks/base/services/core/java/com/android/server/display/color/
DDisplayTransformManager.java253 public boolean setColorMode(int colorMode, float[] nightDisplayMatrix, in setColorMode() method in DisplayTransformManager
DColorDisplayService.java516 dtm.setColorMode(mode, mNightDisplayTintController.getMatrix(), in onDisplayColorModeChanged()
1467 public void setColorMode(int colorMode) { in setColorMode() method in ColorDisplayService.BinderService
/frameworks/base/tools/aapt2/cmd/
DUtil_test.cpp350 .setColorMode(0x0A) in TEST()
/frameworks/base/core/java/android/view/
DWindow.java1224 public void setColorMode(@ActivityInfo.ColorMode int colorMode) { in setColorMode() method in Window
1226 attrs.setColorMode(colorMode); in setColorMode()
DWindowManager.java3054 public void setColorMode(@ActivityInfo.ColorMode int colorMode) { in setColorMode() method in WindowManager.LayoutParams
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWC2.h211 [[clang::warn_unused_result]] virtual hal::Error setColorMode(
290 hal::Error setColorMode(hal::ColorMode mode, hal::RenderIntent renderIntent) override;
DComposerHal.h151 virtual Error setColorMode(Display display, ColorMode mode, RenderIntent renderIntent) = 0;
402 Error setColorMode(Display display, ColorMode mode, RenderIntent renderIntent) override;
DHWC2.cpp552 Error Display::setColorMode(ColorMode mode, RenderIntent renderIntent) in setColorMode() function in android::HWC2::impl::Display
554 auto intError = mComposer.setColorMode(mId, mode, renderIntent); in setColorMode()
DComposerHal.cpp613 Error Composer::setColorMode(Display display, ColorMode mode, in setColorMode() function in android::Hwc2::impl::Composer
623 ret = mClient->setColorMode(display, in setColorMode()
DHWComposer.cpp436 auto error = displayData.hwcDisplay->setColorMode(mode, renderIntent); in setActiveColorMode()
/frameworks/base/tools/aapt2/test/
DBuilders.h303 ConfigDescriptionBuilder& setColorMode(uint8_t colorMode) { in setColorMode() function
/frameworks/native/services/surfaceflinger/tests/fakehwc/
DFakeComposerClient.h92 V2_1::Error setColorMode(Display display, V1_0::ColorMode mode) override;
DFakeComposerClient.cpp327 V2_1::Error FakeComposerClient::setColorMode(Display /*display*/, V1_0::ColorMode /*mode*/) { in setColorMode() function in FakeComposerClient
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DPrintActivity.java925 currAttributes.setColorMode(newColorMode); in onAdvancedPrintOptionsActivityResult()
1220 attributes.setColorMode(defaults.getColorMode()); in updatePrintAttributesFromCapabilities()
1806 attributes.setColorMode(selectedColorMode); in updateOptionsUi()
2864 mPrintJob.getAttributes().setColorMode(newMode); in onItemSelected()
/frameworks/native/services/surfaceflinger/tests/unittests/
DDisplayTransactionTest.cpp784 EXPECT_CALL(*test->mComposer, setColorMode(_, _, _)).Times(0); in setupComposerCallExpectations()
813 setColorMode(Display::HWC_DISPLAY_ID, ColorMode::SRGB, in setupComposerCallExpectations()
834 EXPECT_CALL(*test->mComposer, setColorMode(_, _, _)).Times(0); in setupComposerCallExpectations()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
DPrintSpoolerService.java1253 builder.setColorMode(Integer.parseInt(colorMode)); in parsePrintJobLocked()

12