/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | AutoTileManagerTest.java | 24 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/ |
D | ColorDisplayServiceTest.java | 28 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/ |
D | DisplayTransformManager.java | 20 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()
|
D | ColorDisplayService.java | 19 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 …]
|
D | GlobalSaturationTintController.java | 22 import android.hardware.display.ColorDisplayManager; 79 return ColorDisplayManager.isColorTransformAccelerated(context); in isAvailable()
|
D | DisplayWhiteBalanceTintController.java | 24 import android.hardware.display.ColorDisplayManager; 198 mIsAvailable = ColorDisplayManager.isDisplayWhiteBalanceAvailable(context); in isAvailable()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
D | NightDisplayTile.java | 23 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/ |
D | DisplayTransformManagerTest.java | 29 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/ |
D | AutoTileManager.java | 18 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/ |
D | NightDisplayListener.java | 38 private final ColorDisplayManager mManager; 56 mManager = mContext.getSystemService(ColorDisplayManager.class); in NightDisplayListener()
|
D | DisplayManager.java | 575 final ColorDisplayManager cdm = mContext.getSystemService(ColorDisplayManager.class); in setSaturationLevel()
|
D | ColorDisplayManager.java | 50 public final class ColorDisplayManager { class 185 public ColorDisplayManager() { in ColorDisplayManager() method in ColorDisplayManager
|
/frameworks/base/core/java/android/app/ |
D | SystemServiceRegistry.java | 72 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/ |
D | BrightnessTracker.java | 37 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/ |
D | dirty-image-objects | 97 android.hardware.display.ColorDisplayManager$ColorDisplayManagerInternal
|
D | preloaded-classes | 1528 android.hardware.display.ColorDisplayManager$ColorDisplayManagerInternal 1529 android.hardware.display.ColorDisplayManager
|
D | boot-image-profile.txt | 2243 …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/ |
D | Settings.java | 62 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/ |
D | system-current.txt | 1956 public final class ColorDisplayManager {
|