/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 | 34 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/ |
D | DisplayTransformManagerTest.java | 30 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/ |
D | DisplayTransformManager.java | 20 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()
|
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; 199 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/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/services/core/java/com/android/server/display/ |
D | BrightnessTracker.java | 37 import android.hardware.display.ColorDisplayManager; 1102 return context.getSystemService(ColorDisplayManager.class) in getNightDisplayColorTemperature() 1107 return context.getSystemService(ColorDisplayManager.class).isNightDisplayActivated(); in isNightDisplayActivated()
|
/frameworks/base/core/java/android/app/ |
D | SystemServiceRegistry.java | 75 import android.hardware.display.ColorDisplayManager; 476 registerService(Context.COLOR_DISPLAY_SERVICE, ColorDisplayManager.class, in registerService() 477 new CachedServiceFetcher<ColorDisplayManager>() { in registerService() 479 public ColorDisplayManager createService(ContextImpl ctx) { in registerService() argument 480 return new ColorDisplayManager(); in registerService()
|
/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; 3497 setting >= ColorDisplayManager.COLOR_MODE_NATURAL 3498 && setting <= ColorDisplayManager.COLOR_MODE_AUTOMATIC; 3500 setting >= ColorDisplayManager.VENDOR_COLOR_MODE_RANGE_MIN 3501 && setting <= ColorDisplayManager.VENDOR_COLOR_MODE_RANGE_MAX;
|
/frameworks/base/api/ |
D | system-current.txt | 2152 public final class ColorDisplayManager {
|
/frameworks/base/non-updatable-api/ |
D | system-current.txt | 2152 public final class ColorDisplayManager {
|