Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DAutoTileManagerTest.java24 import android.hardware.display.ColorDisplayManager;
75 if (!ColorDisplayManager.isNightDisplayAvailable(mContext)) { in nightTileAdded_whenActivated()
84 if (!ColorDisplayManager.isNightDisplayAvailable(mContext)) { in nightTileNotAdded_whenDeactivated()
93 if (!ColorDisplayManager.isNightDisplayAvailable(mContext)) { in nightTileAdded_whenNightModeTwilight()
97 ColorDisplayManager.AUTO_MODE_TWILIGHT); in nightTileAdded_whenNightModeTwilight()
103 if (!ColorDisplayManager.isNightDisplayAvailable(mContext)) { in nightTileAdded_whenNightModeCustom()
107 ColorDisplayManager.AUTO_MODE_CUSTOM_TIME); in nightTileAdded_whenNightModeCustom()
113 if (!ColorDisplayManager.isNightDisplayAvailable(mContext)) { in nightTileNotAdded_whenNightModeDisabled()
117 ColorDisplayManager.AUTO_MODE_DISABLED); in nightTileNotAdded_whenNightModeDisabled()
/frameworks/base/services/tests/servicestests/src/com/android/server/display/color/
DColorDisplayServiceTest.java28 import android.hardware.display.ColorDisplayManager;
923 setColorMode(ColorDisplayManager.COLOR_MODE_NATURAL); in accessibility_colorInversion_transformActivated()
926 assertUserColorMode(ColorDisplayManager.COLOR_MODE_NATURAL); in accessibility_colorInversion_transformActivated()
927 if (isColorModeValid(ColorDisplayManager.COLOR_MODE_SATURATED)) { in accessibility_colorInversion_transformActivated()
928 assertActiveColorMode(ColorDisplayManager.COLOR_MODE_SATURATED); in accessibility_colorInversion_transformActivated()
929 } else if (isColorModeValid(ColorDisplayManager.COLOR_MODE_AUTOMATIC)) { in accessibility_colorInversion_transformActivated()
930 assertActiveColorMode(ColorDisplayManager.COLOR_MODE_AUTOMATIC); in accessibility_colorInversion_transformActivated()
941 setColorMode(ColorDisplayManager.COLOR_MODE_NATURAL); in accessibility_colorCorrection_transformActivated()
944 assertUserColorMode(ColorDisplayManager.COLOR_MODE_NATURAL); in accessibility_colorCorrection_transformActivated()
945 if (isColorModeValid(ColorDisplayManager.COLOR_MODE_SATURATED)) { in accessibility_colorCorrection_transformActivated()
[all …]
/frameworks/base/services/core/java/com/android/server/display/color/
DDisplayTransformManager.java20 import android.hardware.display.ColorDisplayManager;
248 return colorMode != ColorDisplayManager.COLOR_MODE_SATURATED; in needsLinearColorMatrix()
255 if (colorMode == ColorDisplayManager.COLOR_MODE_NATURAL) { in setColorMode()
258 } else if (colorMode == ColorDisplayManager.COLOR_MODE_BOOSTED) { in setColorMode()
261 } else if (colorMode == ColorDisplayManager.COLOR_MODE_SATURATED) { in setColorMode()
264 } else if (colorMode == ColorDisplayManager.COLOR_MODE_AUTOMATIC) { in setColorMode()
267 } else if (colorMode >= ColorDisplayManager.VENDOR_COLOR_MODE_RANGE_MIN in setColorMode()
268 && colorMode <= ColorDisplayManager.VENDOR_COLOR_MODE_RANGE_MAX) { in setColorMode()
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;
49 import android.hardware.display.ColorDisplayManager;
[all …]
DGlobalSaturationTintController.java22 import android.hardware.display.ColorDisplayManager;
79 return ColorDisplayManager.isColorTransformAccelerated(context); in isAvailable()
DDisplayWhiteBalanceTintController.java24 import android.hardware.display.ColorDisplayManager;
198 mIsAvailable = ColorDisplayManager.isDisplayWhiteBalanceAvailable(context); in isAvailable()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DNightDisplayTile.java23 import android.hardware.display.ColorDisplayManager;
62 private final ColorDisplayManager mManager;
69 mManager = mContext.getSystemService(ColorDisplayManager.class); in NightDisplayTile()
75 return ColorDisplayManager.isNightDisplayAvailable(mContext); in isAvailable()
89 mManager.setNightDisplayAutoMode(ColorDisplayManager.AUTO_MODE_CUSTOM_TIME); in handleClick()
134 case ColorDisplayManager.AUTO_MODE_TWILIGHT: in getSecondaryLabel()
143 case ColorDisplayManager.AUTO_MODE_CUSTOM_TIME: in getSecondaryLabel()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/display/color/
DDisplayTransformManagerTest.java29 import android.hardware.display.ColorDisplayManager;
82 mDtm.setColorMode(ColorDisplayManager.COLOR_MODE_NATURAL, mNightDisplayMatrix); in setColorMode_natural()
91 mDtm.setColorMode(ColorDisplayManager.COLOR_MODE_BOOSTED, mNightDisplayMatrix); in setColorMode_boosted()
101 mDtm.setColorMode(ColorDisplayManager.COLOR_MODE_SATURATED, mNightDisplayMatrix); in setColorMode_saturated()
110 mDtm.setColorMode(ColorDisplayManager.COLOR_MODE_AUTOMATIC, mNightDisplayMatrix); in setColorMode_automatic()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DAutoTileManager.java18 import android.hardware.display.ColorDisplayManager;
101 && ColorDisplayManager.isNightDisplayAvailable(mContext)) { in AutoTileManager()
117 if (ColorDisplayManager.isNightDisplayAvailable(mContext)) { in destroy()
181 if (autoMode == ColorDisplayManager.AUTO_MODE_CUSTOM_TIME
182 || autoMode == ColorDisplayManager.AUTO_MODE_TWILIGHT) {
/frameworks/base/core/java/android/hardware/display/
DNightDisplayListener.java38 private final ColorDisplayManager mManager;
56 mManager = mContext.getSystemService(ColorDisplayManager.class); in NightDisplayListener()
DDisplayManager.java575 final ColorDisplayManager cdm = mContext.getSystemService(ColorDisplayManager.class); in setSaturationLevel()
DColorDisplayManager.java50 public final class ColorDisplayManager { class
185 public ColorDisplayManager() { in ColorDisplayManager() method in ColorDisplayManager
/frameworks/base/core/java/android/app/
DSystemServiceRegistry.java72 import android.hardware.display.ColorDisplayManager;
438 registerService(Context.COLOR_DISPLAY_SERVICE, ColorDisplayManager.class, in registerService()
439 new CachedServiceFetcher<ColorDisplayManager>() { in registerService()
441 public ColorDisplayManager createService(ContextImpl ctx) { in registerService() argument
442 return new ColorDisplayManager(); in registerService()
/frameworks/base/services/core/java/com/android/server/display/
DBrightnessTracker.java37 import android.hardware.display.ColorDisplayManager;
1099 return context.getSystemService(ColorDisplayManager.class) in getNightDisplayColorTemperature()
1104 return context.getSystemService(ColorDisplayManager.class).isNightDisplayActivated(); in isNightDisplayActivated()
/frameworks/base/config/
Ddirty-image-objects97 android.hardware.display.ColorDisplayManager$ColorDisplayManagerInternal
Dpreloaded-classes1528 android.hardware.display.ColorDisplayManager$ColorDisplayManagerInternal
1529 android.hardware.display.ColorDisplayManager
Dboot-image-profile.txt2243 …egistry$26;->createService(Landroid/app/ContextImpl;)Landroid/hardware/display/ColorDisplayManager;
7194 …roid/hardware/display/ColorDisplayManager$ColorDisplayManagerInternal;->getInstance()Landroid/hard…
7195 HSPLandroid/hardware/display/ColorDisplayManager$ColorDisplayManagerInternal;->getNightDisplayAutoM…
7196 HSPLandroid/hardware/display/ColorDisplayManager$ColorDisplayManagerInternal;->isNightDisplayActiva…
7197 HSPLandroid/hardware/display/ColorDisplayManager;->getMaximumColorTemperature(Landroid/content/Cont…
7198 HSPLandroid/hardware/display/ColorDisplayManager;->getMinimumColorTemperature(Landroid/content/Cont…
7199 HSPLandroid/hardware/display/ColorDisplayManager;->getNightDisplayAutoMode()I
7200 HSPLandroid/hardware/display/ColorDisplayManager;->isDisplayWhiteBalanceAvailable(Landroid/content/…
7201 HSPLandroid/hardware/display/ColorDisplayManager;->isNightDisplayActivated()Z
7202 HSPLandroid/hardware/display/ColorDisplayManager;->isNightDisplayAvailable(Landroid/content/Context…
[all …]
/frameworks/base/core/java/android/provider/
DSettings.java62 import android.hardware.display.ColorDisplayManager;
3466 setting >= ColorDisplayManager.COLOR_MODE_NATURAL
3467 && setting <= ColorDisplayManager.COLOR_MODE_AUTOMATIC;
3469 setting >= ColorDisplayManager.VENDOR_COLOR_MODE_RANGE_MIN
3470 && setting <= ColorDisplayManager.VENDOR_COLOR_MODE_RANGE_MAX;
/frameworks/base/api/
Dsystem-current.txt1956 public final class ColorDisplayManager {