Home
last modified time | relevance | path

Searched refs:colorTemperature (Results 1 – 9 of 9) 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.java270 assertEquals(mDefaultNightModeColorTemperature, event.colorTemperature); in testBrightnessEvent()
301 assertEquals(3333, event.colorTemperature); in testBrightnessFullPopulatedEvent()
458 assertEquals(3235, event.colorTemperature); in testReadEvents()
558 assertEquals(3339, event.colorTemperature); in testWriteThenRead()
606 assertEquals(3339, event.colorTemperature); in testWritePrunesOldEvents()
650 assertEquals(event.colorTemperature, event2.colorTemperature); in testParcelUnParcel()
/frameworks/base/services/core/java/com/android/server/display/color/
DColorDisplayService.java1218 private int clampNightDisplayColorTemperature(int colorTemperature) { in clampNightDisplayColorTemperature() argument
1219 if (colorTemperature == NOT_SET) { in clampNightDisplayColorTemperature()
1220 colorTemperature = getContext().getResources().getInteger( in clampNightDisplayColorTemperature()
1227 if (colorTemperature < minimumTemperature) { in clampNightDisplayColorTemperature()
1228 colorTemperature = minimumTemperature; in clampNightDisplayColorTemperature()
1229 } else if (colorTemperature > maximumTemperature) { in clampNightDisplayColorTemperature()
1230 colorTemperature = maximumTemperature; in clampNightDisplayColorTemperature()
1233 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.java552 toWrite[i].colorTemperature)); in writeEventsLocked()
635 String colorTemperature = in readEventsLocked() local
637 builder.setColorTemperature(Integer.parseInt(colorTemperature)); in readEventsLocked()
/frameworks/base/api/
Dtest-current.txt924 field public final int colorTemperature;
Dsystem-current.txt1916 field public final int colorTemperature;