Home
last modified time | relevance | path

Searched refs:colorTemperature (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/core/java/android/hardware/display/
DBrightnessChangeEvent.java68 public final int colorTemperature; field in BrightnessChangeEvent
107 float powerBrightnessFactor, boolean nightMode, int colorTemperature, in BrightnessChangeEvent() argument
119 this.colorTemperature = colorTemperature; in BrightnessChangeEvent()
138 this.colorTemperature = other.colorTemperature; in BrightnessChangeEvent()
156 colorTemperature = source.readInt(); in BrightnessChangeEvent()
190 dest.writeInt(colorTemperature); in writeToParcel()
271 public Builder setColorTemperature(int colorTemperature) { in setColorTemperature() argument
272 mColorTemperature = colorTemperature; in setColorTemperature()
DNightDisplayListener.java168 default void onColorTemperatureChanged(int colorTemperature) { in onColorTemperatureChanged() argument
/frameworks/base/services/tests/servicestests/src/com/android/server/display/color/
DDisplayWhiteBalanceTintControllerTest.java60 final int colorTemperature = (mDisplayWhiteBalanceTintController.mTemperatureMin in displayWhiteBalance_setValidTemperature() local
62 mDisplayWhiteBalanceTintController.setMatrix(colorTemperature); in displayWhiteBalance_setValidTemperature()
66 .isEqualTo(colorTemperature); in displayWhiteBalance_setValidTemperature()
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DBrightnessTrackerTest.java277 assertEquals(mDefaultNightModeColorTemperature, event.colorTemperature); in testBrightnessEvent()
308 assertEquals(3333, event.colorTemperature); in testBrightnessFullPopulatedEvent()
468 assertEquals(3235, event.colorTemperature); in testReadEvents()
568 assertEquals(3339, event.colorTemperature); in testWriteThenRead()
619 assertEquals(3339, event.colorTemperature); in testWritePrunesOldEvents()
663 assertEquals(event.colorTemperature, event2.colorTemperature); in testParcelUnParcel()
/frameworks/base/services/core/java/com/android/server/display/color/
DColorDisplayService.java1327 private int clampNightDisplayColorTemperature(int colorTemperature) { in clampNightDisplayColorTemperature() argument
1328 if (colorTemperature == NOT_SET) { in clampNightDisplayColorTemperature()
1329 colorTemperature = getContext().getResources().getInteger( in clampNightDisplayColorTemperature()
1336 if (colorTemperature < minimumTemperature) { in clampNightDisplayColorTemperature()
1337 colorTemperature = minimumTemperature; in clampNightDisplayColorTemperature()
1338 } else if (colorTemperature > maximumTemperature) { in clampNightDisplayColorTemperature()
1339 colorTemperature = maximumTemperature; in clampNightDisplayColorTemperature()
1342 return colorTemperature; in clampNightDisplayColorTemperature()
DDisplayWhiteBalanceTintController.java113 final int colorTemperature = res.getInteger( in setUp() local
121 mTemperatureDefault = colorTemperature; in setUp()
/frameworks/base/services/core/java/com/android/server/display/
DBrightnessTracker.java554 toWrite[i].colorTemperature)); in writeEventsLocked()
637 String colorTemperature = in readEventsLocked() local
639 builder.setColorTemperature(Integer.parseInt(colorTemperature)); in readEventsLocked()
/frameworks/base/api/
Dtest-current.txt939 field public final int colorTemperature;
Dsystem-current.txt2112 field public final int colorTemperature;
/frameworks/base/non-updatable-api/
Dsystem-current.txt2112 field public final int colorTemperature;