eb2bf7d188b28096ae2b933483c121256c0d04ee |
|
23-Jan-2018 |
yuemingw <yuemingw@google.com> |
Block brightness slider quick settings when DISALLOW_CONFIG_BRIGHTNESS is set. Test: manual Bug: 67628870 Change-Id: I30af889e7758c7ea30fa796138d4ca3fefc6e8e9
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/ToggleSliderView.java
|
d846023804ddadcd692666152db420c54594ddb9 |
|
16-Jan-2018 |
Michael Wright <michaelwr@google.com> |
Slider always represents absolute brightness Currently the slider represents a gamma adjustment to the brightness curve when auto brightness is enabled and the absolute screen brightness when it's not. This is a fairly confusing behavior to most people, so this consolidates them to a single behavior: the slider always represents the current brightness and auto-brightness will automatically adjust it. This also moves a bunch of the brightness methods from PowerManager over to DisplayManager, since it's really the DisplayPowerController that's responsible for determining and setting the display brightness. Test: atest com.android.server.display.BrightnessMappingStrategyTest Bug: 69406898 Change-Id: I73b5982809a94cd50d563426a72d7965e923c994
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/ToggleSliderView.java
|
51efddbd3bb304de2dd47fa8cd1114ac555958bb |
|
05-Apr-2017 |
Alan Viverette <alanv@google.com> |
Remove unnecessary casts on calls to findViewById Just frameworks/ this time. More paths to come. Bug: 24137209 Test: make -j32 Change-Id: Iff27abd26fa43296ac2fff8f534fc6742d2ae80c
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/ToggleSliderView.java
|
3b0f892c8f38d610679dc9f0aed123e8611a387f |
|
19-Apr-2016 |
Muyuan Li <muyuanli@google.com> |
sysui: refactor for extensibility. 1. Refactor the interfaces of the slider out side the ToggleSlider class. 2. BrightnessController now takes in only an IToggleSlider interface instead of the view. Bug: 28172423 Change-Id: Iff463a30e149f17795ccaffca66040d64f44a643 (cherry picked from commit 89c0cb853175c66769d287b8d6cf82c7166e0e6e)
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/ToggleSliderView.java
|