Home
last modified time | relevance | path

Searched refs:ColorDisplayManager (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/base/services/tests/servicestests/src/com/android/server/display/color/
DColorDisplayServiceTest.java34 import android.hardware.display.ColorDisplayManager;
937 setColorMode(ColorDisplayManager.COLOR_MODE_NATURAL); in accessibility_colorInversion_transformActivated()
940 assertUserColorMode(ColorDisplayManager.COLOR_MODE_NATURAL); in accessibility_colorInversion_transformActivated()
952 setColorMode(ColorDisplayManager.COLOR_MODE_NATURAL); in accessibility_colorCorrection_transformActivated()
955 assertUserColorMode(ColorDisplayManager.COLOR_MODE_NATURAL); in accessibility_colorCorrection_transformActivated()
968 setColorMode(ColorDisplayManager.COLOR_MODE_NATURAL); in accessibility_all_transformActivated()
971 assertUserColorMode(ColorDisplayManager.COLOR_MODE_NATURAL); in accessibility_all_transformActivated()
984 setColorMode(ColorDisplayManager.COLOR_MODE_NATURAL); in accessibility_none_transformActivated()
987 assertUserColorMode(ColorDisplayManager.COLOR_MODE_NATURAL); in accessibility_none_transformActivated()
988 assertActiveColorMode(ColorDisplayManager.COLOR_MODE_NATURAL); in accessibility_none_transformActivated()
[all …]
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/display/color/
DDisplayTransformManagerTest.java30 import android.hardware.display.ColorDisplayManager;
84 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()
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/core/java/com/android/server/display/color/
DDisplayTransformManager.java20 import android.hardware.display.ColorDisplayManager;
251 return colorMode != ColorDisplayManager.COLOR_MODE_SATURATED; in needsLinearColorMatrix()
259 if (colorMode == ColorDisplayManager.COLOR_MODE_NATURAL) { in setColorMode()
262 } else if (colorMode == ColorDisplayManager.COLOR_MODE_BOOSTED) { in setColorMode()
265 } else if (colorMode == ColorDisplayManager.COLOR_MODE_SATURATED) { in setColorMode()
268 } else if (colorMode == ColorDisplayManager.COLOR_MODE_AUTOMATIC) { in setColorMode()
271 } else if (colorMode >= ColorDisplayManager.VENDOR_COLOR_MODE_RANGE_MIN in setColorMode()
272 && colorMode <= ColorDisplayManager.VENDOR_COLOR_MODE_RANGE_MAX) { in setColorMode()
DGlobalSaturationTintController.java22 import android.hardware.display.ColorDisplayManager;
79 return ColorDisplayManager.isColorTransformAccelerated(context); in isAvailable()
DColorDisplayService.java19 import static android.hardware.display.ColorDisplayManager.AUTO_MODE_CUSTOM_TIME;
20 import static android.hardware.display.ColorDisplayManager.AUTO_MODE_DISABLED;
21 import static android.hardware.display.ColorDisplayManager.AUTO_MODE_TWILIGHT;
22 import static android.hardware.display.ColorDisplayManager.COLOR_MODE_AUTOMATIC;
23 import static android.hardware.display.ColorDisplayManager.COLOR_MODE_BOOSTED;
24 import static android.hardware.display.ColorDisplayManager.COLOR_MODE_NATURAL;
25 import static android.hardware.display.ColorDisplayManager.COLOR_MODE_SATURATED;
26 import static android.hardware.display.ColorDisplayManager.VENDOR_COLOR_MODE_RANGE_MAX;
27 import static android.hardware.display.ColorDisplayManager.VENDOR_COLOR_MODE_RANGE_MIN;
50 import android.hardware.display.ColorDisplayManager;
[all …]
DReduceBrightColorsTintController.java22 import android.hardware.display.ColorDisplayManager;
98 return ColorDisplayManager.isColorTransformAccelerated(context); in isAvailable()
DDisplayWhiteBalanceTintController.java26 import android.hardware.display.ColorDisplayManager;
224 mIsAvailable = ColorDisplayManager.isDisplayWhiteBalanceAvailable(context); in isAvailable()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DNightDisplayTile.java22 import android.hardware.display.ColorDisplayManager;
72 private ColorDisplayManager mManager;
89 ColorDisplayManager colorDisplayManager, in NightDisplayTile()
102 return ColorDisplayManager.isNightDisplayAvailable(mContext); in isAvailable()
116 mManager.setNightDisplayAutoMode(ColorDisplayManager.AUTO_MODE_CUSTOM_TIME); in handleClick()
132 mManager = getHost().getUserContext().getSystemService(ColorDisplayManager.class); in handleUserSwitch()
163 case ColorDisplayManager.AUTO_MODE_TWILIGHT: in getSecondaryLabel()
173 case ColorDisplayManager.AUTO_MODE_CUSTOM_TIME: in getSecondaryLabel()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DAutoTileManagerTest.java39 import android.hardware.display.ColorDisplayManager;
232 if (ColorDisplayManager.isNightDisplayAvailable(mContext)) { in testChangeUserCallbacksStoppedAndStarted()
282 if (ColorDisplayManager.isNightDisplayAvailable(mContext)) { in testChangeUserSomeCallbacksNotAdded()
320 if (!ColorDisplayManager.isNightDisplayAvailable(mContext)) { in nightTileAdded_whenActivated()
329 if (!ColorDisplayManager.isNightDisplayAvailable(mContext)) { in nightTileNotAdded_whenDeactivated()
338 if (!ColorDisplayManager.isNightDisplayAvailable(mContext)) { in nightTileAdded_whenNightModeTwilight()
342 ColorDisplayManager.AUTO_MODE_TWILIGHT); in nightTileAdded_whenNightModeTwilight()
348 if (!ColorDisplayManager.isNightDisplayAvailable(mContext)) { in nightTileAdded_whenNightModeCustom()
352 ColorDisplayManager.AUTO_MODE_CUSTOM_TIME); in nightTileAdded_whenNightModeCustom()
358 if (!ColorDisplayManager.isNightDisplayAvailable(mContext)) { in nightTileNotAdded_whenNightModeDisabled()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/dagger/
DQSFlagsModule.java20 import android.hardware.display.ColorDisplayManager;
44 return ColorDisplayManager.isReduceBrightColorsAvailable(context); in isReduceBrightColorsAvailable()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DReduceBrightColorsController.java21 import android.hardware.display.ColorDisplayManager;
43 private final ColorDisplayManager mManager;
54 ColorDisplayManager colorDisplayManager, in ReduceBrightColorsController()
/frameworks/base/core/java/android/hardware/display/
DColorDisplayManager.java50 public final class ColorDisplayManager { class
185 public ColorDisplayManager() { in ColorDisplayManager() method in ColorDisplayManager
365 return mode == ColorDisplayManager.COLOR_MODE_NATURAL in isStandardColorMode()
366 || mode == ColorDisplayManager.COLOR_MODE_BOOSTED in isStandardColorMode()
367 || mode == ColorDisplayManager.COLOR_MODE_SATURATED in isStandardColorMode()
368 || mode == ColorDisplayManager.COLOR_MODE_AUTOMATIC; in isStandardColorMode()
DNightDisplayListener.java38 private final ColorDisplayManager mManager;
56 mManager = mContext.getSystemService(ColorDisplayManager.class); in NightDisplayListener()
DDisplayManager.java751 final ColorDisplayManager cdm = mContext.getSystemService(ColorDisplayManager.class); in setSaturationLevel()
/frameworks/base/packages/SettingsProvider/src/android/provider/settings/validators/
DSystemSettingsValidators.java30 import android.hardware.display.ColorDisplayManager;
99 setting >= ColorDisplayManager.COLOR_MODE_NATURAL in VALIDATORS.put()
100 && setting <= ColorDisplayManager.COLOR_MODE_AUTOMATIC; in VALIDATORS.put()
102 setting >= ColorDisplayManager.VENDOR_COLOR_MODE_RANGE_MIN in VALIDATORS.put()
104 <= ColorDisplayManager in VALIDATORS.put()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DAutoTileManager.java22 import android.hardware.display.ColorDisplayManager;
143 && ColorDisplayManager.isNightDisplayAvailable(mContext)) { in startControllersAndSettingsListeners()
171 if (ColorDisplayManager.isNightDisplayAvailable(mContext)) { in stopListening()
330 if (autoMode == ColorDisplayManager.AUTO_MODE_CUSTOM_TIME
331 || autoMode == ColorDisplayManager.AUTO_MODE_TWILIGHT) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/dagger/
DFrameworkServicesModule.java44 import android.hardware.display.ColorDisplayManager;
120 static ColorDisplayManager provideColorDisplayManager(Context context) { in provideColorDisplayManager()
121 return context.getSystemService(ColorDisplayManager.class); in provideColorDisplayManager()
DDependencyProvider.java28 import android.hardware.display.ColorDisplayManager;
298 ColorDisplayManager colorDisplayManager, SecureSettings secureSettings) { in provideReduceBrightColorsListener()
/frameworks/base/services/core/java/com/android/server/display/
DBrightnessTracker.java39 import android.hardware.display.ColorDisplayManager;
1142 return context.getSystemService(ColorDisplayManager.class) in getNightDisplayColorTemperature()
1147 return context.getSystemService(ColorDisplayManager.class).isNightDisplayActivated(); in isNightDisplayActivated()
1151 return context.getSystemService(ColorDisplayManager.class) in getReduceBrightColorsStrength()
1156 return context.getSystemService(ColorDisplayManager.class) in getReduceBrightColorsOffsetFactor()
1161 return context.getSystemService(ColorDisplayManager.class) in isReduceBrightColorsActivated()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsHelper.java28 import android.hardware.display.ColorDisplayManager;
182 if (!ColorDisplayManager.isStandardColorMode(mode) in restoreValue()
/frameworks/base/core/java/android/app/
DSystemServiceRegistry.java90 import android.hardware.display.ColorDisplayManager;
496 registerService(Context.COLOR_DISPLAY_SERVICE, ColorDisplayManager.class, in registerService()
497 new CachedServiceFetcher<ColorDisplayManager>() { in registerService()
499 public ColorDisplayManager createService(ContextImpl ctx) { in registerService() argument
500 return new ColorDisplayManager(); in registerService()
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DBrightnessTrackerTest.java41 import android.hardware.display.ColorDisplayManager;
118 .getSystemService(ColorDisplayManager.class).getReduceBrightColorsOffsetFactor(); in setUp()
/frameworks/base/config/
Ddirty-image-objects97 Landroid/hardware/display/ColorDisplayManager$ColorDisplayManagerInternal;
Dpreloaded-classes2341 android.hardware.display.ColorDisplayManager$ColorDisplayManagerInternal
2342 android.hardware.display.ColorDisplayManager
/frameworks/base/boot/
Dpreloaded-classes2343 android.hardware.display.ColorDisplayManager$ColorDisplayManagerInternal
2344 android.hardware.display.ColorDisplayManager

12