9ff94c0251722c44eece7c3561b4ed36b286d4a8 |
31-Mar-2016 |
Michael Wright <michaelwr@google.com> |
Plumb HDR capabilities to Display Bug: 25684127 Change-Id: I0a4fcdc59aa1a7b295c8df03699466685300e735
isplayDeviceInfo.java
ocalDisplayAdapter.java
ogicalDisplay.java
|
103fb78ac1b91874f8b90cc5a165e6f0502179c4 |
22-Apr-2016 |
Michael Wright <michaelwr@google.com> |
Add ambient light ring buffer for initial data gathering period. We're seeing reports of the display being too dim at initial wake up. Saving the buffer for this initial period lets determine whether this is a calculation error or something wrong with the sensor readings. Bug: 27951906 Change-Id: I96b5dd0772de056c3c5e54d59c13d1a3d902d343
utomaticBrightnessController.java
|
99e6d43defe70f499b19239a932cb6d76a0ad96d |
30-Mar-2016 |
Prashant Malani <pmalani@google.com> |
Make display brightness ramp rate fast configurable Add an overlay setting, and keep the default to its existing value of 200. Bug: 26552257 Change-Id: Ifd29d80e28e57c5cfc640d519a62144ab5e963fa
isplayPowerController.java
|
d3c454db291e2780c4ad5fe8b5d9e8ce3fbea114 |
25-Mar-2016 |
Griff Hazen <griff@google.com> |
Detect ranchu as emulator Bug: 27780791 Change-Id: I23e5511acfba22260714874baf5e9380480b22bf
ocalDisplayAdapter.java
|
4b0fa173defb5c31832ddccf86485fb35f10dae2 |
12-Mar-2016 |
Michael Wright <michaelwr@google.com> |
Make display mirroring for local displays configurable. While in general we still want to mirror the content of the default displays onto content-less displays, some devices (e.g. Android Auto) know they're going to have a secondary display for specific information and don't want this behavior. Change-Id: I068cc898a4118e78a5fff67bba27ad54504d9e2f
ocalDisplayAdapter.java
|
5dbd4aad809e6fec51df62280bcc1bfe05cc7df5 |
07-Feb-2016 |
Jason Monk <jmonk@google.com> |
SysUI Tuner: Night mode v3 TwilightService: - Add support for locking on/off twilight globally - Change twilight state to have float amount rather than having clients calculate it using the sunrise/set values - State controlled through secure setting - Override mode which locks to a state for a couple hours then resets - Add broadcast for SysUI to listen to Brightness/Power: - Updates to handle TwilightService changes - Added secure setting to control whether or not to use twilight when calculating brightness. Tuner: - UI Overhall - NightModeController will set the values of the custom color matrix taking into account the current twilight service state and any custom calibration set by the user. - Probably other stuff. Change-Id: I213f1f76a143e711c507b2ba7d784f581bfc32b4
utomaticBrightnessController.java
isplayPowerController.java
|
b131c7003b73c84999b4aa76da853d08a681949f |
17-Feb-2016 |
Chong Zhang <chz@google.com> |
Clear mPendingScreenOff and stop color fade animiation if screen is on bug: 24116819 Change-Id: I4a962878001b00daf5473d90cbd257ac318c0446
isplayPowerController.java
|
6fa9c5cd01e36c62d5ad7efa230d4e52f457c148 |
12-Jan-2016 |
Michael Wright <michaelwr@google.com> |
Merge "Make sure NaturalSurfaceLayout is consistent with SurfaceControl"
|
f0cb46cd6530100e2b31625371a6715c3e2a465d |
29-Dec-2015 |
mochangming <mochangming@xiaomi.com> |
Animate backlight quickly when display state request to change or power mode changed * mAppliedDimming should be false when power request policy is not dim. * mAppliedLowPower should be false when low power mode is disabled. * Backlight brightness changes quickly. Change-Id: I44bf9c216554f8dce5abd0520f198824df5e8dcf Signed-off-by: mochangming <mochangming@xiaomi.com>
isplayPowerController.java
|
40d73a799732110b75d33faa707412821c680b50 |
18-Dec-2015 |
yang.xa.liu <yang.xa.liu@sonymobile.com> |
Make sure NaturalSurfaceLayout is consistent with SurfaceControl SurfaceControl and NaturalSurfaceLayout will be created in screen-off mode. Screen-on animation also creates NaturalSurfaceLayout. And NaturalSurfaceLayout uses the reference of SurfaceControl. SurfaceControl points to NULL when screen-on process calls destory function, which will not be called in screen-off process. It makes NaturalSurfaceLayout's member points to the SurfaceControl with NULL. Crash occurs by accessing the destroyed SurfaceControl. This CL makes the creation of SurfaceControl and NaturalSurfaceLayout to one-to-one. Change-Id: Ic47ea73dea67d2aba4e3e0766d1353198d7dff1d
olorFade.java
|
6fc42f549a6a67fe48e6e8e368dc2b164030d7c3 |
10-Dec-2015 |
Zoran Jovanovic <zoran.jovanovic@sonymobile.com> |
Customize auto-brightness parameters Auto-brightness parameters are device dependent so they should be configurable. The common issue with original values manifests as the screen being perceived as too bright in dark rooms with minimum brightness and also laginess on backlight change. Change-Id: I2b040608bca73a3397c65c24d3b28a1514499ae6
utomaticBrightnessController.java
isplayPowerController.java
|
d73854dbfde6e034ae0a6d12c52930c5284a08bb |
25-Sep-2015 |
Michael Lentine <mlentine@google.com> |
Remove ColorFade resouces when screen off. This will not destroy the surface but will free up everything else used by ColorFade when the screen is turned off. When it is turned on the surface is dismissed. Bug: 24371570 Change-Id: Iba455cdf225a68b320896f8b35d1e873e694b1e3
olorFade.java
isplayPowerController.java
isplayPowerState.java
|
3b3cbb5325e1a8bce09200644b5667fb321d9b90 |
25-Sep-2015 |
Jorim Jaggi <jjaggi@google.com> |
Do not issue config change command when not needed This caused a but where WindowManager was blocked on this to perform a layout, leading to delays in screen wake-ups. Bug: 24383169 Change-Id: I42bc08dae9057060f09c301328bb4839a970c597
ocalDisplayAdapter.java
|
cb13da9772b41c3466c3ed514e6321c2cfb85c2a |
25-Sep-2015 |
Michael Lentine <mlentine@google.com> |
Merge "Revert "Dismiss color fade when it is no longer used."" into mnc-dr-dev
|
68eafe7f883d9963f0b91506b9e618766c854b49 |
25-Sep-2015 |
Michael Lentine <mlentine@google.com> |
Revert "Dismiss color fade when it is no longer used." Bug: 24371570 This reverts commit 193560002fbc080f0006df088f8f5e9c165bfd78.
isplayPowerController.java
|
17a764431a71ff91cbd9272d592fdcd15a9c7539 |
23-Sep-2015 |
Michael Lentine <mlentine@google.com> |
Merge "Dismiss color fade when it is no longer used." into mnc-dr-dev
|
193560002fbc080f0006df088f8f5e9c165bfd78 |
22-Sep-2015 |
Michael Lentine <mlentine@google.com> |
Dismiss color fade when it is no longer used. Previously the color fade layers would stay active until the screen was turned back on. After this change, the layers are dismissed as soon as color fade completes. Bug: 24276564 Change-Id: I1f81b397d82d518c2bc921b22f7fe9fd066fc059
isplayPowerController.java
|
58e829f71d2c525309e5bb5a1c02dc64397df221 |
15-Sep-2015 |
Michael Wright <michaelwr@google.com> |
Add support for setting color transforms Bug: 24038268 Change-Id: I05275c906e02eb9e67331f6f909166eb08ad5536
isplayAdapter.java
isplayDevice.java
isplayDeviceInfo.java
isplayManagerService.java
ocalDisplayAdapter.java
ogicalDisplay.java
verlayDisplayAdapter.java
|
6e90ea03365c6baddc13762c5a701b84540d8bf9 |
24-Aug-2015 |
Jorim Jaggi <jjaggi@google.com> |
Don't wait for brightness changes On some devices, changing the brightness is quite slow, because the change needs to wait for the vsync signal. However, when we are also running a brightness change animation, as soon as the last change has been sent there is a new one pending, leading to that we never reach "clean" state in the PowerManagerService and thus we don't notify clients about the state change, which can delay the animation for waking up while dozing by as much as a second. To fix this, if we only issue a brightness change, we don't block on that because it's not relevant for us. Bug: 22879546 Change-Id: Idad7e90c436bfbc38581fe8ce24d606e432b7952
isplayPowerState.java
|
0d210f6395072db4a4c53d4cb8fac4a59a3965b4 |
10-Jul-2015 |
Jorim Jaggi <jjaggi@google.com> |
Animation for touch, wake and unlock - Add callback to inform SysUI when the screen has been unblocked and turned on. - Cleanup inconsistent messaging about device interactive/screen on and off. - Add callbacks to inform SysUI about screen states - Implement a quick fade for the scrim after touch, wake, and unlock. First, start with a black scrim on top of everything, and then fade it out. - Make sure we play the normal unlock animation when device is pulsing - Override navigation bar animations for touch, wake and unlock: Fade in the same manner as the scrim. Bug: 22571198 Bug: 21855614 Change-Id: I8ff08d72cced1e0f03c78d71ff710d8a4f6b848c
isplayPowerController.java
|
e1633addd38cb5c66f642556b8968293fd5dc5b0 |
23-Jun-2015 |
Jeff Brown <jeffbrown@google.com> |
Suppress pausing activities when screen off due to proximity. Pausing and resuming the in-call activity may have the side-effect of releasing and reacquiring the proximity sensor wake lock which can cause the system to enter a loop. Although in general it might be a good idea to pause activities whenever you can't see them, it makes more sense to treat the proximity sensor as temporarily suppressing rather than fully pausing activities. Bug: 21932251 Change-Id: Ie072cbe5984bec08f2c60c64ed8cc144534982db
isplayPowerController.java
|
8e5d33ef985ebeaa68bf2a7847ed865536ff0623 |
10-Jun-2015 |
Jeff Brown <jeffbrown@google.com> |
Don't request traversals when updating display brightness. Setting the display state and brightness does not require a surface flinger transaction so don't schedule traversals unnecessarily. They may still be scheduled as a side-effect of other operations but only when needed. Bug: 21296696 Change-Id: Ie264254ea1972c37319e5e5a06163d47f6689c22
isplayManagerService.java
|
fe4ad335d80960233022cc2cab79338f5d327582 |
10-Jun-2015 |
Jeff Brown <jeffbrown@google.com> |
Support 4K overlay displays. Bug: 18241736 Change-Id: Ibd479f2ea47ed49a507e7265bdce83afc214b19c
ogicalDisplay.java
verlayDisplayAdapter.java
|
01f280d376218c5a007fc29f70b876375ad24204 |
19-May-2015 |
Adam Powell <adamp@google.com> |
Migrate uses of config_windowIsRound to Configuration.isScreenRound Move existing code that previously relied on config_windowIsRound to use the new Configuration.isScreenRound() method. Also move the system property override for emulators over to the initial setup of a Display so that the configuration property is consistent with existing expectations. Remove config_windowIsRound from symbols.xml. The symbol now only exists as a default value redirect for overlays already configured to supply this value. Change-Id: I24e6564030a6051c3ac7262868983b43e13eee65
ocalDisplayAdapter.java
|
49e7ff9647e6547c2b852944a5435a05794b9951 |
15-May-2015 |
Adam Powell <adamp@google.com> |
Add Configuration data for round displays Add round values to the screenLayout field for Configuration and a convenience method to check roundness. Plumb this through the DisplayManager, making roundness the property of a DisplayAdapter. The built-in main display will read the configuration resource config_mainBuiltInDisplayIsRound to determine its roundness. Device-specific resource overlays should set this to true for devices with round primary displays. By default, this config resource inherits from the existing config_windowIsRound value currently used by some Android Wear device configurations. This change awaits another for aapt/native resources code to make the resource filtering system aware of this property. Change-Id: I1daced7ca6d6e172789e7c32bebfd43753bfa2ae
isplayDeviceInfo.java
ocalDisplayAdapter.java
ogicalDisplay.java
|
9e9e2e73c6ec7bece20268196dc89ad0c8bafad4 |
08-May-2015 |
Wojciech Staszkiewicz <staszkiewicz@google.com> |
Pass charset to XmlPullParser.setInput instead of null Passing null to XmlPullParser.setInput forces it to do additional work, which can be easily avoided if we know the charset beforehand. bug: b/20849543 Change-Id: Iaff97be9df2d0f99d7af8f19f65934439c9658e2
ersistentDataStore.java
|
1018881ce5d4694884db24172ce6ef0a417c1a37 |
06-May-2015 |
P.Y. Laligand <pylaligand@google.com> |
DO NOT MERGE - Overlay display now support multiple modes. b/20723241 Change-Id: I0262a9bc85b94ada2aa08b1805b9996a523fe4f9 (cherry picked from commit af9c52eb45d772301bf96dd6c54455ffa954ead5)
verlayDisplayAdapter.java
verlayDisplayWindow.java
|
ed896d4e59f228f4a166daa95064a87fb7d00b3f |
12-May-2015 |
P.Y. Laligand <pylaligand@google.com> |
DO NOT MERGE - Allowing only a subset of display attributes to get overridden. b/20854184 Change-Id: If6b2486ba8ca93e8f96d3bdbe8e140c736353683 (cherry picked from commit 4b4c7f98869f5394b738bbc91b3775b6f4026189)
ogicalDisplay.java
|
b3b9eb3cfc5b3b3609a5d01258315798b38a5cf9 |
12-May-2015 |
P.Y. Laligand <pylaligand@google.com> |
DO NOT MERGE - Display mode switches. Knowledge of the various modes of a display is now available to apps, and they can request a specific mode for their windows. b/18241736 Change-Id: I8eb16ff713e878512faca3ca6662254f08a9be7f (cherry picked from commit 5c7773d86484aac5737667c604bd8fe8150c2136)
isplayAdapter.java
isplayDevice.java
isplayDeviceInfo.java
isplayManagerService.java
ocalDisplayAdapter.java
ogicalDisplay.java
verlayDisplayAdapter.java
verlayDisplayWindow.java
irtualDisplayAdapter.java
ifiDisplayAdapter.java
|
d1a5fae3bc1b4fa4ff4e97a1cc14c5b16aa4a799 |
05-May-2015 |
Michael Wright <michaelwr@google.com> |
Always destroy virtual display on Binder death. Bug: 20265052 Change-Id: I039d3f2bab0dcbbcdc99b7105b04de5bc3845e05
irtualDisplayAdapter.java
|
5686780404a41901d226cc7ba506c1c0ba284713 |
29-Apr-2015 |
Svet Ganov <svetoslavganov@google.com> |
Merge "Respect the record audio app op - framework" into mnc-dev
|
a576b4d3be8687f0a65fc5777424955d551604e4 |
24-Apr-2015 |
Jeff Brown <jeffbrown@google.com> |
Add code to collect data about auto-brightness adjustments. Write samples of the old and new state to the binary event log whenever the user modifies the auto-brightness adjustment. We wait a few seconds before logging to ensure that the user is satisfied with the adjustment. Bug: 19786916 Change-Id: I41402decd1034d0839aa0f47495bc00907ab9c08
utomaticBrightnessController.java
isplayPowerController.java
|
fa5ecdc4ac6d7a8db2bb9e4a6a60a3189025df30 |
28-Apr-2015 |
Svet Ganov <svetoslavganov@google.com> |
Respect the record audio app op - framework Change-Id: I5696d2ef22738ccffaf8bd7a0ee68cbc3dea3bf1
ifiDisplayController.java
|
d46747a1c64b6ca3282e8841833980ab91829436 |
16-Apr-2015 |
Jeff Brown <jeffbrown@google.com> |
Add support for disabling display scaling for development. Added two new options to the wm command. 1. Set the screen size based on dips rather than pixels using the current screen density. eg. adb shell wm size 320dpx320dp 2. Disable automatic scaling of the contents of the display. When combined with the previous command, this is useful for seeing how the UI would behave if the screen remained at its current density but changed physical size. eg. adb shell wm scaling off Bug: 19899223 Change-Id: I545f893ba4861494e995cf0457ebeba1050d28dc
ogicalDisplay.java
|
10acf6d3efde60977d2d2e82b90c53d722d9d357 |
14-Apr-2015 |
Jeff Brown <jeffbrown@google.com> |
Reduce display device log spam. Don't repeat all of the display properties every time the display just switches states. Bug: 19996401 Change-Id: I9a1bd56f6e079b1c3f94e4be6ee2745a6df38d21
isplayDevice.java
isplayDeviceInfo.java
isplayManagerService.java
|
5d6443bf7c087167e47ea39b13e6af09cb43ad97 |
11-Apr-2015 |
Jeff Brown <jeffbrown@google.com> |
Set initial screen brightness earlier in the boot process. Previously we had to wait for systemReady before setting the brightness due to the order in which the display power controller was initialized. Unfortunately it could take us a rather long time to reach that stage, particularly after an OTA where the screen would remain at maximum brightness for minutes while "Optimizing Apps". This change moves the brightness backlight setting code deeper into the display manager which has a couple of nice side-benefits in that it now becomes much easier to coordinate display power mode changes with display backlight changes. So this change also resolves some issued with changing the backlight while in DOZE_SUSPEND and ensuring that backlight changes generally end up being performed before executing a power mode change except in the case where the display needs to come out of suspend first. (So now the backlight will be set before entering DOZE from the ON state.) Deleted some dead code in LightService which was in the way. Bug: 19029490 Change-Id: I494b5223e676248daf2ff8be3ec338845977f73c
isplayBlanker.java
isplayDevice.java
isplayManagerService.java
isplayPowerController.java
isplayPowerState.java
ocalDisplayAdapter.java
irtualDisplayAdapter.java
|
faec22c8e19d123bdbcfe5ba2c1ec7fe21516faa |
10-Apr-2015 |
Jeff Brown <jeffbrown@google.com> |
Tweak systrace for power manager. Add name to photonic modulator thread. Print light color in hex. Change-Id: I813e875b04c381b26e0f79773a209417eca21e21
isplayPowerState.java
|
08c7116ab9cd04ad6dd3c04aa1017237e7f409ac |
28-Feb-2015 |
John Spurlock <jspurlock@google.com> |
Remove unused imports in frameworks/base. Change-Id: I031443de83f93eb57a98863001826671b18f3b17
olorFade.java
isplayPowerState.java
|
cfb3185a27efeb9312ddf71f52f3a7039c4694df |
25-Feb-2015 |
Filip Gruszczynski <gruszczy@google.com> |
am 0fbcc708: am 1e74b5d6: Merge "Burn in protection." into lmp-mr1-modular-dev * commit '0fbcc7086fe742e641915ed5f097119d01613cb5': Burn in protection.
|
0fbcc7086fe742e641915ed5f097119d01613cb5 |
25-Feb-2015 |
Filip Gruszczynski <gruszczy@google.com> |
am 1e74b5d6: Merge "Burn in protection." into lmp-mr1-modular-dev * commit '1e74b5d6b0e964b7a9e58e64b45f50aec15b1178': Burn in protection.
|
d2e8640c2c1972d4f2e92d48660fa9e17d9291c4 |
19-Feb-2015 |
Filip Gruszczynski <gruszczy@google.com> |
Burn in protection. Bug: 19373758 Change-Id: I7242f73acadd21bdee03262b4205c8af0734fccb
isplayManagerService.java
ogicalDisplay.java
|
e9f7536cc4085bd0884eb7b72888eef980156356 |
14-Feb-2015 |
Filip Gruszczynski <gruszczy@google.com> |
am f1df1970: am 88a9a2a4: Merge "Support for faster brightness response to light changes." into lmp-mr1-modular-dev * commit 'f1df1970db523f60d6ac7850fba93ae98a46163b': Support for faster brightness response to light changes.
|
f1df1970db523f60d6ac7850fba93ae98a46163b |
14-Feb-2015 |
Filip Gruszczynski <gruszczy@google.com> |
am 88a9a2a4: Merge "Support for faster brightness response to light changes." into lmp-mr1-modular-dev * commit '88a9a2a46eb77ea340175f5d272433f4de1b6f93': Support for faster brightness response to light changes.
|
ae6688b09649447e57468b3e7935691bc09ec9b9 |
12-Feb-2015 |
Dianne Hackborn <hackbod@google.com> |
Update voice interaction layer for new UI design. Can switch from a pure overlay at the top of the screen, to interactive mode with the voice UI drawing at the bottom and pushing its target activity up like an IME. Add mechanism to get assist data to the voice interaction UI. Add some basic visualization of the assist data, outlining where on the screen we have text. Add a test ACTION_ASSIST handler, which can propagate the assist data it gets to the voice interaction session so you can see what kind of data we are getting from different apps. Change-Id: I18312fe1601d7926d1fb96a817638d60f6263771
verlayDisplayAdapter.java
verlayDisplayWindow.java
ifiDisplayAdapter.java
ifiDisplayController.java
|
d81ecd12cec5e1efa8ca49036bb023746f63d90a |
06-Feb-2015 |
Filip Gruszczynski <gruszczy@google.com> |
Support for faster brightness response to light changes. Bug: 18572096 Change-Id: Ic9448db672b036779d16883f3476249cea45d97a
utomaticBrightnessController.java
isplayPowerController.java
|
c1a5e82c25dba954cf1c06729e53bfb67667bcbb |
12-Feb-2015 |
Neil Fuller <nfuller@google.com> |
Merge "Remove usages of FloatMath" automerge: a8e8cdb automerge: 27316a9 * commit '27316a93e5979859ae98f506eca365784353007a': Remove usages of FloatMath
|
e573aa9371fc507075219cd078117f96ba8b3b02 |
11-Feb-2015 |
Neil Fuller <nfuller@google.com> |
Remove usages of FloatMath Bug: https://code.google.com/p/android/issues/detail?id=36199 Change-Id: Iec8fb663ed54eb967050f6ff25a36ba534204c4d
olorFade.java
|
2ed0513f20dea3ba97d09b528879301c86f31884 |
08-Jan-2015 |
Michael Wright <michaelwr@google.com> |
Clean up graphics resources. Release SurfaceTexture after use in ColorFade and delete GL resources in ImageWallpaper. Bug: 17871993 Change-Id: I05bda03657ca502ba35b7187b6f361018f7ef687
olorFade.java
|
361ca21acc0831a9f8bbb259bb30218c252a2aa0 |
20-Nov-2014 |
Wale Ogunwale <ogunwale@google.com> |
Added unique id to display devices and their settings. The display setting saved to disk were using a localized name for the key. This is an issue if the user changes languages after the display settings have been saved. We now use the non-localized name for the display to access the settings if it is available, else we fall back on the localized name. Bug: 18190800 Change-Id: I837c06a8935df10727229a1aa2bb6eeb3953707f
isplayDevice.java
isplayDeviceInfo.java
ocalDisplayAdapter.java
ogicalDisplay.java
verlayDisplayAdapter.java
irtualDisplayAdapter.java
ifiDisplayAdapter.java
|
4d269ba32037485bfa5ffba4dd23f796cbf10c43 |
15-Nov-2014 |
Prashant Malani <pmalani@google.com> |
am fb26a2c8: Merge "Don\'t animate screen brightness if there is a pending off transition" into lmp-sprout-dev * commit 'fb26a2c80b988118983251caf36492f2ae39559c': Don't animate screen brightness if there is a pending off transition
|
1c814b5c61c538c7ef5176b1121e1ea0c65046e6 |
15-Nov-2014 |
Chong Zhang <chz@google.com> |
Merge "implement HDMI-like demo mode for remote display" into lmp-mr1-dev
|
ae6119ffce7f2be8846d1d2fd1497965946b66b8 |
12-Nov-2014 |
Chong Zhang <chz@google.com> |
implement HDMI-like demo mode for remote display adding the following two system properties to control remote display rotation and device orientation lock: "persist.demo.rotationlock"=true|false "persist.demo.remoterotation"=landscape|portrait Bug: 18317603 Change-Id: Id5fe115f895c6a0e72563036b9a98ff3b5037763
irtualDisplayAdapter.java
|
33538249f26f0cc637eac636f3712f972916595d |
13-Nov-2014 |
Prashant Malani <pmalani@google.com> |
Don't animate screen brightness if there is a pending off transition When the DisplayPowerRequest policy is POLICY_OFF, a screen state transition animation to DISPLAY_OFF is intiated. However, in updatePowerState() the screen brightness setting, based on the current display state, is set to normal brightness and an animation is triggered. This causes a transient flash on some devices, which are transitioning from a dimmed screen to screen off. This change checks for a pending screen off transition before triggering a screen brightness animation, to prevent the flashes. Bug: 18136235 Change-Id: I37f9fb28b3ec8a4fdbb45920c40d25ebd50c220b
isplayPowerController.java
|
72f1e3b9c9992bfc3449c5441bc8e50e7b05f083 |
13-Nov-2014 |
Jeff Brown <jeffbrown@google.com> |
am 1cbff0e3: Merge "Improve screen brightness boost behavior." into lmp-sprout-dev * commit '1cbff0e310b0fba6b25ca1c1e14eaefeabdee0d9': Improve screen brightness boost behavior.
|
7b5be5e2a738859d36e1977cdc756cf83361d72f |
13-Nov-2014 |
Jeff Brown <jeffbrown@google.com> |
Improve screen brightness boost behavior. Wake-up when entering brightness boost mode, don't boost in ambient mode since some display device drivers do strange things in that mode and boost doesn't work. Waking up feels more natural as well. Don't flutter the power HAL's interactive mode bit simply due to changes in display ready state since that may result in visible artifacts such as display flashes. Don't stop the auto-brightness sensor while temporarily boosted. Don't prevent the display from entering the ready state while in brightness boost since that would unnecessarily delay the transition from DOZING to AWAKE until boost is finished. Restart the user activity timeout when brightness boost ends and prevent the display from dimming while boosted. The pixel fairies basked in the sunlight. Bug: 18262044 Bug: 18261782 Change-Id: I8c42a1e6091b0fe1253e90265ac248087ebc24e1
isplayPowerController.java
|
a15aa7d426972daecc0e8cd31dcf4d6bc656f1e9 |
28-Oct-2014 |
Filip Gruszczynski <gruszczy@google.com> |
Automatic brightness using ALS while dozing. Bug: 16525667 Change-Id: Ib75cfebf46f2c122e7b68556591b601d22a318e1
utomaticBrightnessController.java
isplayPowerController.java
|
0ed053ef537daa11659e70c91974cded7c9bddc6 |
01-Nov-2014 |
Jeff Brown <jeffbrown@google.com> |
am e333e674: Add a function to boost screen brightness temporarily. * commit 'e333e674a758c39885d4d9779a1aad387fb0e6aa': Add a function to boost screen brightness temporarily.
|
e333e674a758c39885d4d9779a1aad387fb0e6aa |
28-Oct-2014 |
Jeff Brown <jeffbrown@google.com> |
Add a function to boost screen brightness temporarily. When PowerManager.boostScreenBrightness() is called, the screen brightness is set to maximum for 5 seconds. This action is also considered to be user activity. Bug: 17934954 Change-Id: I1cb4a03a60705c6c1c5cc9ff84b1c5dbd2932fcd
isplayPowerController.java
|
48ca08a21c162ac3d0bea070b196604ac9283408 |
13-Oct-2014 |
Michael Wright <michaelwr@google.com> |
am 43a7dcc1: am 265d3e9d: Merge "Clean-up ColorFade\'s shaders and buffers." into lmp-dev * commit '43a7dcc12b212ac4f00af294b13d931dca3c3f8d': Clean-up ColorFade's shaders and buffers.
|
265d3e9d3eb6915d9ca9da5fcd1ddb29b5f8bc3b |
13-Oct-2014 |
Michael Wright <michaelwr@google.com> |
Merge "Clean-up ColorFade's shaders and buffers." into lmp-dev
|
5018df761ba7dfa443a9abc728ddcd20d51a75c2 |
09-Oct-2014 |
Michael Wright <michaelwr@google.com> |
Clean-up ColorFade's shaders and buffers. Bug: 17672241 Change-Id: I73328ee4d83c3a8700b7b19b661bcaec7ada877f
olorFade.java
|
8aa2e3f168bc68b1ed59d0ea14a212bdb1837fa8 |
09-Oct-2014 |
Jeff Brown <jeffbrown@google.com> |
am ab46eda8: am 704998ab: Merge "Ensure we correctly unblank displays when added." into lmp-dev * commit 'ab46eda872b4c9a4e16c57c00e5c85bb1f7143ce': Ensure we correctly unblank displays when added.
|
0033a86c25fde70911086c3d8ff2738aa88c0ff6 |
08-Oct-2014 |
Jeff Brown <jeffbrown@google.com> |
Ensure we correctly unblank displays when added. A previous change introduced a regression in the case where a device has been added but is initially blanked. Because we made changes to defer certain work until we escape the critical section when making changes to the global display state, we forgot to apply these changes when displays are initially added. This causes problems with HDMI displays remaining blanked after they are plugged in. Added a quick fix to ensure we perform the work when adding a display although we don't bother trying to defer it outside of the critical section. Bug: 17909838 Change-Id: If5373d20d8827b7f4330a8cf49f8de64ca3f0740
isplayManagerService.java
|
f58b69d063abf896c7dfb0770819551604fe3a95 |
02-Oct-2014 |
Baligh Uddin <baligh@google.com> |
am c744d1de: am 9cdde5f8: Merge "Fix a bug with screen brightness during screen off animation." into lmp-dev * commit 'c744d1deaa22c8f97fb6a0708193d57a396c1253': Fix a bug with screen brightness during screen off animation.
|
bf4e414cf0d0f512a0929ecd4e662a925d7684f0 |
02-Oct-2014 |
Jeff Brown <jeffbrown@google.com> |
Fix a bug with screen brightness during screen off animation. Due to a recent change there was a regression that caused the screen brightness to be animated down to 0 while the screen off animation was running. When the brightness was low this would cause the screen off animation to be cut short. This change ensures that we take into account the actual screen state instead of the desired screen state when making screen brightness decisions in case we are in the middle of a transition. The darkness came early. The pixel fairies trembled. Bug: 17718416 Change-Id: Ib4b55d61b359abbc70920e324f08a5db07bdd035
isplayPowerController.java
|
4d1bb519db6f4b5441281ec1586325883305d840 |
02-Oct-2014 |
Michael Wright <michaelwr@google.com> |
Merge "Add supported refresh rates for all DisplayDeviceInfos." into lmp-mr1-dev
|
8d05172112436a81bed6e4a0810f8914509d8a4d |
01-Oct-2014 |
Dianne Hackborn <hackbod@google.com> |
More work on issue #17656716: Unhandled exception in Window Manager Fix Slog.wtf to not acquire the activity manager lock in its code path, so that it can never deadlock. This was the original intention of it, but part was missed. Now we can put back in the code to detect when strict mode data is getting large (a little more targeted now to the actual problem), and use Slog.wtf to report it. And as a bonus, when this happens we will now clear all of the collected violations, to avoid getting in to the bad case where IPCs start failing. So this should be good enough for L to fix the problem, with wtf reports for us to see if the underlying issue is still happening. Finally, switch a butch of stuff in the system process from Log.wtf to Slog.wtf, since many of those are deadlocks waiting to happen. Oh and fix a crash in the settings provider I noticed in APR. Change-Id: I307d51b7a4db238fd1e5fe2f3f9bf1b9c6f1c041
isplayManagerService.java
|
6f59a7ac0a8da4b7e97999839deb2b9263c7b93f |
27-Sep-2014 |
Michael Wright <michaelwr@google.com> |
Add supported refresh rates for all DisplayDeviceInfos. Bug: 17674769 Change-Id: I8a003e86a013d7ebe177c8168d3573a8f26f4f6a
verlayDisplayAdapter.java
irtualDisplayAdapter.java
ifiDisplayAdapter.java
|
0a434776b836f8fbea1f84b7bfe158b4ddafc876 |
30-Sep-2014 |
Jeff Brown <jeffbrown@google.com> |
Reduce latency from doze to screen on. Don't wait for the brightness ramp to complete before reporting display ready. Keep track of whether we have any unfinished brightness changes and take care to grab a wakelock to ensure they are eventually applied. Ideally we would rewrite the whole state machine to more carefully coordinate screen state and brightness changes but that's too risky for now. The pixel fairies are having a bad day. Bug: 17718416 (cherry picked from commit 875f80c2732a3fbe652a6e8fc14031041f791308) Change-Id: I7a2d8ba4591a12b773653d3dbf86c7db016f967e
isplayPowerController.java
isplayPowerState.java
ampAnimator.java
|
6800e1b9211257bf8dfa79a3c7ebd3e265fcf196 |
23-Sep-2014 |
Jeff Brown <jeffbrown@google.com> |
Merge "Move setting the display state out of the critical section." into lmp-dev
|
e75926d6dc49878682631508c996e472d79a8d41 |
19-Sep-2014 |
Jeff Brown <jeffbrown@google.com> |
Move setting the display state out of the critical section. Setting the display power state currently happens while holding the display manager lock. This change moves it out of the lock to ensure other services don't get stuck for several hundred milliseconds. Unfortunately, surface flinger ends up stalled a little later so this only solves part of the problem. Bug: 17623774 Change-Id: I201137c5e7f82c776f28a436845fcf3191fd0ca5
isplayDevice.java
isplayManagerService.java
ocalDisplayAdapter.java
irtualDisplayAdapter.java
|
03365ccc395f76c023bb63414eef1bd02aef90e7 |
23-Sep-2014 |
John Spurlock <jspurlock@google.com> |
Remove redundant wifi-display notification. Since all devices now appear in quick settings, remove the framework notification and obsolete artifacts. Bug:17607193 Change-Id: If952b826d79c77068285373c6b44a430f78c20b1
ifiDisplayAdapter.java
|
3ee549ca2404067bb8b2fcbaa741ec118c76bf3e |
23-Sep-2014 |
Jeff Brown <jeffbrown@google.com> |
Fix window manager policy state when waking from doze. Once upon a time when the world was fresh and new, the heavens had an easy rhythm. Day and night. Night and day. In the day, the pixel fairies would cavort and play in the bright gardens with narry a mark of shadow or gloom. In the night, they would rest peacefully, dreaming no dreams and knowing no fear. Then one night a fairy dreamed the first dream. At first the dream was peaceful, full of colors and delight, hopes and memories. Then all at once, jarringly, it awoke in bright daylight. The pixel fairy knew fear, for the world had changed and it was unprepared. Time passed and the pixel fairies grew accustomed to their fate, day and night, night and day, sometimes dreaming, until there came a night when a fairy did not sleep. It roamed the land in a dreamless doze, lost and afraid amid a grim haze of grey and darkness. The fairy despaired. It wanted no part of this place. It pretended for a time to be awake but the bright daylight would not come. It pretended for a time to be dreaming but the colors and memories would not come. That is when the fairy wished for oblivion. Then just as suddenly, it awoke in the daylight. It fell to the ground, stunned as if it had forgotten how to walk in the too bright daylight. Though the world again grew softer and kinder in time, the pixel fairies were never the same. For the night is dark and full of terrors. --- It used to be easy. Screen on and screen off could explain almost everything about the state of the device but it's different now with ambient display. We need to be able to wait for all windows to be drawn even in the case where the device is still nominally asleep. In truth, the window manager policy which drives a lot of these interactions is a thicket of outdated assumptions. Added a new method to tell the window manager policy when the screen is being turned off so that it can correctly account for changes to the interactive state (wakeUp and goingToSleep) and screen state (screenTurningOn and screenTurnedOff). Now we can independently poke keyguard during interactive state changes and we can apply screen on blocking during screen state changes. Moved the code which manages screen on blocking (which is what ensures the UI has fully drawn before revealing screen contents) from the power manager to the display manager since the display manager is in a better position to accurately track the state of the screen, particularly when the screen is being turned off. Fixed a bunch of synchronization issues. Previously some work had been moved to a handler without considering what might happen if it became reordered relative to other work happening elsewhere. Documented the desired behavior in the code to prevent this from happening again. There's still a bunch of stuff in here that isn't quite right, particularly the assumption that there's only one screen, but it's good enough for now. Hopefully there aren't too many bugs. Bug: 17605802 Change-Id: Ic7319e09948c8a3cda014d7e169c964a3ad86f14
isplayPowerController.java
|
606e4e8c98304daf756f7e89d47005573288f72a |
19-Sep-2014 |
Jeff Brown <jeffbrown@google.com> |
Ensure that the screen on blocker is applied while dozing. The screen on blocker is used to keep the screen blank while the system is drawing new content to prevent the user from seeing a flash of stale content while the screen is being turned on. This patch ensures that the screen on blocker functionality is also applied while dozing. Bug: 17516245 Change-Id: I77c2d0f2b99476a59ad212099f44c63aa2ef9c34
isplayPowerController.java
|
2175e9c366998ed7bd1a4501b94a02f4f49b932c |
13-Sep-2014 |
Jeff Brown <jeffbrown@google.com> |
Add support for dozing after screen off. On some devices, we want the screen off transition to complete before we start dozing. Added a new config.xml attribute config_dozeAfterScreenOff to configure this behavior. Defer starting dreams until the display is ready. Fixed some minor issues in the system UI doze service when setting the display state. Bug: 16187655 Change-Id: Ib1bc60de5457166f4b4880732db5df989dda67a4
isplayPowerController.java
|
cde5bb45cc86d181d96ee69da1832e6132162871 |
08-Sep-2014 |
Michael Wright <michaelwr@google.com> |
Change callback methods from add to register. Also changes intent returning method from get to create. Both changes are in response to API council feedback. Bug: 17389882 Change-Id: I3b57e3fc202148e3bbb24ac61229f04e8b4ac41e
irtualDisplayAdapter.java
|
02aa75a08303796801ffd74b9c0bd2f8079248af |
02-Sep-2014 |
Michael Wright <michaelwr@google.com> |
Merge "VirtualDisplay.Callbacks -> Callback" into lmp-dev
|
75ee9fcde4d9e1be3883eba6c8d193db4375b052 |
02-Sep-2014 |
Michael Wright <michaelwr@google.com> |
VirtualDisplay.Callbacks -> Callback Also, rename methods to be onPaused instead of onDisplayPaused, etc. Bug: 17008630 Change-Id: Id9ead22a42d36ac338309f0f021ba341ed991144
isplayManagerService.java
irtualDisplayAdapter.java
|
3e9a13438dce2f4a7a437e9b5bbd222128c39d52 |
29-Aug-2014 |
Michael Wright <michaelwr@google.com> |
Use a linear spline if there's a non-monotonic brightness curve Some devices may contain things like transflective displays where they actually want the backlight brightness to decrease in the face of high ambient light scenarios. In the interest of time, just use a linear interpolation based on the brightness control points for these cases but in the future we should consider adding a non-monotonic cubic spline. Bug: 15611140 Change-Id: I8fcee061b18c8ae9cc9a1b38d8b850aaec4478ce
isplayPowerController.java
|
1bfd0f463e279e3ac3f133c5e0ad11ccfd73eed5 |
22-Aug-2014 |
Jeff Brown <jeffbrown@google.com> |
Improve adaptive brightness in very dark rooms. Added config_screenBrightnessDark to configure the minimum value that will be used for auto-brightness adjustment. This value is expected to be less than unadjusted minimum auto-brightness level to provide some range for the user to make the screen dimmer in dark rooms. This configuration value is set to the lowest possible level by default (1). Individual devices may need to override this value in their framework resource overlay depending on their backlight characteristics. Change-Id: I9bd3a2355c65f894dff89aeaf7661cdf38f4a6ee
isplayPowerController.java
|
0c9a62dc8db7b39d5236aba70f14d4e99d38a194 |
20-Aug-2014 |
Michael Lentine <mlentine@google.com> |
Reduce shutdown animation duration. Change-Id: Idb58e8ff9a7e05c6f3d6964970b32a6aa69615c1
isplayPowerController.java
|
255dd04271088590fedc46c8e22b2fd4ab142d39 |
19-Aug-2014 |
Selim Cinek <cinek@google.com> |
Added notification color to all system notifications Bug: 17128331 Change-Id: I81a94510ef51b99916f314c0dd65852426a1fbeb
ifiDisplayAdapter.java
|
3edf5272fb2185403dfe64b9722b9fc9b9de80f8 |
15-Aug-2014 |
Jeff Brown <jeffbrown@google.com> |
Add trace tag for power management. Instrumented the basic power manager state transitions, calling into the Power HAL, setting the display power mode, and setting the backlight. Bug: 17004602 Change-Id: I4e362162ddfd7292a7eea8b5d029ce3f6593c4a9
isplayPowerController.java
isplayPowerState.java
ocalDisplayAdapter.java
|
48054241eb70b4319f8df6575e838f64d6b2c05a |
13-Aug-2014 |
keunyoung <keunyoung@google.com> |
fix wrong flag check for virtual display - FLAG_NEVER_BLANK was always set for non-public display bug: 16958538 Change-Id: Ia147ac3ca39d687e60ec4b77726f6b6e4c3aeb3b
irtualDisplayAdapter.java
|
0839adb25c6d1a9f4e06fc5a098ffd03c67dbe99 |
30-Jul-2014 |
Michael Lentine <mlentine@google.com> |
New screen shut down animation. Bug: 16845774 Change-Id: I355f8d73f54a873f6df180dc48c177b993f170f9
olorFade.java
isplayPowerController.java
isplayPowerState.java
lectronBeam.java
|
6720be4e8c65e90d4453ddad5cef192bc3820038 |
30-Jul-2014 |
Michael Wright <michaelwr@google.com> |
Allow media projections to create public presentations. Change-Id: I3b6e0b54d658352942a38be6a24486bdfc179efd
isplayManagerService.java
irtualDisplayAdapter.java
|
3f145a2f958320766ae9240c7a57debc20d578aa |
23-Jul-2014 |
Michael Wright <michaelwr@google.com> |
Add supported refresh rate to displays Change-Id: I51231dd6dd231d57dd1ac499349d6335121f07d5
isplayDevice.java
isplayDeviceInfo.java
isplayManagerService.java
ocalDisplayAdapter.java
ogicalDisplay.java
|
01e840ff9441e005153d799e71d65b38bcb21902 |
27-Jun-2014 |
Michael Wright <michaelwr@google.com> |
Add resize method for virtual displays Change-Id: I2632fc56c2d2cba356379e42f5c1a3e283b11d1e
isplayManagerService.java
irtualDisplayAdapter.java
|
5c8ea084e609ecce17a038eb6b09fe118a81d700 |
25-Jul-2014 |
Jeff Brown <jeffbrown@google.com> |
Minor tweak to screen dimming policy. Avoid accidentally raising the brightness above the normal minimum if for some reason we already decided it should be less. Change-Id: Ib47385287be3ef8719c25148575b1f59589add8c
isplayPowerController.java
|
0ccc2b0a4466f12fb1d753b58314854674b01b3c |
25-Jul-2014 |
Michael Wright <michaelwr@google.com> |
Flip the permissions checks for video capture. Currently they're backwards in DisplayManagerService. Oops. Bug: 16315225 Change-Id: I9bbfc0f4aef1bd21e43594cc36c6e8fd112f0b81
isplayManagerService.java
|
970d4132ea28e748c1010be39450a98bbf7466f3 |
19-Jul-2014 |
Jeff Brown <jeffbrown@google.com> |
Allow dreams to control screen state and brightness. Added setDozeScreenState() and setDozeScreenBrightness() methods to DreamService. The values specified here only take effect once startDozing is called and can be changed while dozing. This required some significant rework of the display power controller but the result seems quite nice and better represents the policy we want to apply. Changed the test dream a little bit to make it flash the screen every minute using the new functions. Bug: 15903322 Change-Id: I83bcc34503f1b87727d2b2b3c0ef08507f9f0808
utomaticBrightnessController.java
isplayPowerController.java
isplayPowerState.java
|
5dc219142a756d57355b511c8f8ab913c01710da |
18-Jul-2014 |
Jeff Brown <jeffbrown@google.com> |
Add new Display.STATE_DOZE_SUSPEND power state. Change-Id: Ia62f4f0d25234281dc600d0b7f08b3c6a312db7a
isplayPowerController.java
ocalDisplayAdapter.java
|
c39d47a8e7c74bd539104b0efab898ef6fc43ddf |
09-Jul-2014 |
Michael Wright <michaelwr@google.com> |
Add MediaProjection APIs. The new MediaProjection infrastructure allows the system to hand out tokens granting the ability to capture the screen's contents, audio, etc. at a granular level. It's intended to be used both for screen casting, via the cast APIs, as well as screen sharing via third party applications. The screen sharing case is implemented, but all of audio capturing is still forthcoming. Change-Id: I4b24669bed7083e11413c10ed8d6b025f5375316
isplayManagerService.java
ogicalDisplay.java
irtualDisplayAdapter.java
|
e8b1aeb51e1e5da64f1d4fd40f2ee1e815886fe5 |
13-Jun-2014 |
Andy McFadden <fadden@android.com> |
Add two new display info fields This adds SurfaceFlinger's app VSYNC offset and buffer deadline values to DisplayInfo. The values will be available to apps through queries on a Display object (currently hidden). Bug 14612039 Change-Id: I48760f58a9d74d99651b02a9d595f420410f2bb5
isplayDeviceInfo.java
ocalDisplayAdapter.java
ogicalDisplay.java
verlayDisplayAdapter.java
verlayDisplayWindow.java
irtualDisplayAdapter.java
ifiDisplayAdapter.java
|
98908aa0c97d9685045a168ca39ec1ee7988dabe |
12-Jun-2014 |
Jeff Brown <jeffbrown@google.com> |
Merge "Add call to set power mode for display"
|
6a5cacb8683ddd78fc78f01ef726f410bf4e0479 |
28-May-2014 |
Prashant Malani <pmalani@google.com> |
Change display state modification during dozing Check that the BrightnessRamp animation has completed before updating the display state to STATE_DOZING. Bug: 13472578 Change-Id: Ib9751f7a987463e4df98571e846d829ec8e73b5e Signed-off-by: Prashant Malani <pmalani@google.com>
isplayPowerController.java
|
c55929a2a5686fe456b19cd54a73b8bde2a4332b |
25-May-2014 |
Prashant Malani <pmalani@google.com> |
Add call to set power mode for display The blank/unblank interface is being replaced by a generic setPowerMode() call. This will allow the support of low power modes in displays where such functionality is available. Currently three modes are defined: - POWER_MODE_OFF - POWER_MODE_DOZE - POWER_MODE_NORMAL POWER_MODE_OFF would be analogous to blanking the screen, POWER_MODE_NORMAL akin to unblanking it, and POWER_MODE_DOZE would trigger an entry into the display's low power mode. We also tie the JNI call to set power mode to the call from services which actually invokes it. The generic setPowerMode() call can be expanded to potentially include other display power states. Bug: 13472578 Change-Id: I74677506d3ee2ccc50ba70c5102d96b31fe7b837 Signed-off-by: Prashant Malani <pmalani@google.com>
ocalDisplayAdapter.java
|
4bfcae9a3f3f1e225bed08b0a7c09ebf293d6c87 |
21-May-2014 |
Jeff Brown <jeffbrown@google.com> |
am 77669abb: am 9beccf9f: Merge "Defer display ready until brightness ramp completes." into klp-modular-dev * commit '77669abb8300b672700418216939b9253dc98bee': Defer display ready until brightness ramp completes.
|
4255869ac00e700395832ee73b2294603d4b6ece |
21-May-2014 |
Jeff Brown <jeffbrown@google.com> |
Defer display ready until brightness ramp completes. Bug: 14494096 Change-Id: I6da6fffbbce2c7058170e5c6139eae4cb5a06d88
isplayPowerController.java
ampAnimator.java
|
6da87ab684f104baa836138ca5153eb2d6c1f929 |
16-May-2014 |
Adrian Roos <roosa@google.com> |
Speed up brightness transition if auto brightness adjustment is changed Bug: 15019366 Change-Id: Id6e18f6b74d801bc8e87ba84c0948bbbabda368b
isplayPowerController.java
|
6dee605c834fe4926cc1ae5c584563bdb2b608a1 |
14-May-2014 |
Adrian Roos <roosa@google.com> |
Fix adaptive auto brightness bugs Fix update of the light sensor in AutoBrightnessController. Register observer for Settings.System.SCREEN_AUTO_BRIGHTNESS_ADJ. Change-Id: I5201259c4efc0afa200fea3ad9fe3af2991d8676
utomaticBrightnessController.java
|
daf7d410fc97647f2b3ab4254f73c09c923018de |
13-May-2014 |
Adrian Roos <roosa@google.com> |
A better auto brightness Bug: 14927472 Change-Id: I62d0695b7da16ffa7a27c465c3b6bc4b1515f9c0
utomaticBrightnessController.java
|
f974cc870635227ae13201480fb2f019d153af22 |
01-May-2014 |
Ruchi Kandoi <kandoiruchi@google.com> |
Display: Brightness: Low power mode scales the brightness to 50 percent. When the device is in low power mode all changes to brightness will be scaled to half of the brightness that would be normally set when not in low power mode. Change-Id: I03be820ef64c1d5631ded35f7dfc2799e807226b Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
isplayPowerController.java
|
9bd01ef0c6ba09ca626f49bd162ce9aede41b027 |
06-May-2014 |
Dan Stoza <stoza@google.com> |
Merge "Enable changing display configuration"
|
996e269d93d09615e242edcbd7a6218e065aeb7b |
06-May-2014 |
Jeff Brown <jeffbrown@google.com> |
Merge "Plumb display state and interactive information to BatteryStats."
|
e95c3cd89591ba586aa8a0f7a17660c6fb8770bc |
03-May-2014 |
Jeff Brown <jeffbrown@google.com> |
Plumb display state and interactive information to BatteryStats. Fixes an issue where dozing was treated the same as the screen being fully on. Now dozing is treated the same as the screen being fully off which is slightly better. The decision of how to represent this state is now internal to the battery stats so it can be improved later. Removed noteInputEvent() since it is unused. Bug: 14480844 Change-Id: Iee8cf8dce1a1f91c62678bb6d3d9fe567ad6db42
isplayPowerController.java
|
01ee6f6cf7de9fb98fc3a88509b43416caa71040 |
03-May-2014 |
Jeff Brown <jeffbrown@google.com> |
Plumb display state and interactive information to BatteryStats. (DO NOT MERGE) Fixes an issue where dozing was treated the same as the screen being fully on. Now dozing is treated the same as the screen being fully off which is slightly better. The decision of how to represent this state is now internal to the battery stats so it can be improved later. Removed noteInputEvent() since it is unused. Bug: 14480844 Change-Id: Iee8cf8dce1a1f91c62678bb6d3d9fe567ad6db42
isplayPowerController.java
|
00101052b5bf99a29acea3525864ed64b709c16c |
03-May-2014 |
Dan Stoza <stoza@google.com> |
Enable changing display configuration This allows querying and switching display device configurations through the ISurfaceComposer/SurfaceComposerClient interface. Bug: 14320401 Change-Id: Ie4363bc8353d95428f1114ea48e5b1c8976e1730
ocalDisplayAdapter.java
|
a767d762d8f70fbce0d8bb8d2bacde55de2504b5 |
06-May-2014 |
Jesse Hall <jessehall@google.com> |
VirtualDisplayAdapter: Set the transaction surface even if NULL Bug: 14299872 Change-Id: I55e4a2e575cfd3788fbdb90b050dac486976c1b6
irtualDisplayAdapter.java
|
caeaa375946f251bea59f79f3ba73104e3f4634d |
23-Apr-2014 |
Jeff Brown <jeffbrown@google.com> |
am 62271b95: am 3af39267: Merge "Fix HDMI hotplug display blanking behavior." into klp-modular-dev * commit '62271b95222c5d67868ac1b3bbd8851d4fa18454': Fix HDMI hotplug display blanking behavior.
|
44b1f76474218349c9327da9fe482e19aad98795 |
23-Apr-2014 |
Jeff Brown <jeffbrown@google.com> |
Fix HDMI hotplug display blanking behavior. Bug: 14109146 Change-Id: Ie7de4fb05da210e8c74c795f7896cf9951701aeb
ocalDisplayAdapter.java
|
aaea4d3a4822a380831084a779f52a8e767ce402 |
18-Apr-2014 |
Jeff Brown <jeffbrown@google.com> |
am 18a69b93: am 8e1e4006: Merge "Add support for dynamically setting the virtual display surface." into klp-modular-dev * commit '18a69b936afa6bdb8c65b6b582989c4dcdac45ee': Add support for dynamically setting the virtual display surface.
|
92207df753c27b094e9e0ca80d41bc0d54dc6bd5 |
16-Apr-2014 |
Jeff Brown <jeffbrown@google.com> |
Add support for dynamically setting the virtual display surface. Previously, the surface that backs a virtual display had to be set at the time when the display was created. This change now makes it possible to set or remove the surface later. The virtual display is treated as if it were "off" while no surface is attached to it. Change-Id: Ib4fdbbb8b4ee79f0fb9ceb648f9bda4a8fa6a2ca
isplayManagerService.java
irtualDisplayAdapter.java
|
26c6a50f037c6af9c41b3f96269fe194748605ce |
11-Apr-2014 |
Jeff Brown <jeffbrown@google.com> |
Rename isScreenOn() to isInteractive(). Fix build break due to an earlier merge. Change-Id: I6e6583b251da9e027a4ade45cb4bb77e9d4ee624
isplayPowerController.java
|
4e5c089ef3e62e7f658e71c0be262d09bd3e399b |
11-Apr-2014 |
Jeff Brown <jeffbrown@google.com> |
resolved conflicts for merge of 337e764d to master Change-Id: I8168dbf42b68c2f7b5ccb300e0080dddc627af26
|
037c33eae74bee2774897d969d48947f9abe254f |
09-Apr-2014 |
Jeff Brown <jeffbrown@google.com> |
Plumb display power state through display manager. Declare a new method, Display.getState() to retrieve the actual power state of a display. Improved documentation for Intent.ACTION_SCREEN_ON and Intent.ACTION_SCREEN_OFF to clarify what they really mean in terms of the interactive state of the device. Deprecated PowerManager.isScreenOn() and replaced it with PowerManager.isInteractive() with a more suggestive name and better documentation. Redirect display power state changes to go through the display manager first and only then head over to the power manager for legacy compatibility. Eliminated the bright here and woke here policy flags since they were unused. Simplified the input dispatch policy somewhat. Ensure that screen wake locks are respected up until the point when dozing really begins. Fixed a regression in DreamService where onDreamingStarted might be called before onWindowAttached. Bug: 13133142 Bug: 13472578 Bug: 13929355 Bug: 13760290 Change-Id: Iabef96921dd554ce3768fb18619cefc3230b5fb0
isplayBlanker.java
isplayDevice.java
isplayDeviceInfo.java
isplayManagerService.java
isplayPowerController.java
isplayPowerState.java
lectronBeam.java
ocalDisplayAdapter.java
ogicalDisplay.java
verlayDisplayAdapter.java
verlayDisplayWindow.java
|
131206b8a9d07400d7c98aea50cc45c38769448f |
09-Apr-2014 |
Jeff Brown <jeffbrown@google.com> |
Move display power controller to display manager service. This refactoring is in preparation for enabling the display manager to have more control over the blanking state of individual displays. There are no functional changes. Some bits will be cleaned up in a subsequent patch. Bug: 13133142 Change-Id: I159a060088344d8e6fcdf9208a1f242960f7ab90
utomaticBrightnessController.java
isplayManagerService.java
isplayPowerController.java
isplayPowerState.java
lectronBeam.java
ampAnimator.java
|
ad9ef191f50767d8d5b6f0fbd4b59bb1400dcd25 |
09-Apr-2014 |
Jeff Brown <jeffbrown@google.com> |
Move display power controller to display manager service. (DO NOT MERGE) This refactoring is in preparation for enabling the display manager to have more control over the blanking state of individual displays. There are no functional changes. Some bits will be cleaned up in a subsequent patch. Bug: 13133142 Change-Id: Ib811835e8757449c7899ac61807029baaf998161
isplayManagerService.java
isplayPowerController.java
isplayPowerState.java
lectronBeam.java
ampAnimator.java
|
cab8617b8ccea3a99b1ee15e15915c512a10c738 |
11-Feb-2014 |
Jeff Brown <jeffbrown@google.com> |
am 25df673b: am 1b51c9cb: Merge "Make SystemService constructor take a Context." into klp-modular-dev * commit '25df673b849de374cf1de40250dfd8a48b7ac28b': Make SystemService constructor take a Context.
|
b880d880c6cd989eacc28c365fc9a41d31900da1 |
11-Feb-2014 |
Jeff Brown <jeffbrown@google.com> |
Make SystemService constructor take a Context. This change simplifies the process of initializing a SystemService by folding the onCreate() step back into the constructor. It removes some ambuiguity about what work should happen in the constructor and should make it possible for services to retain most of their final fields after refactoring into the new pattern. Change-Id: I25f41af0321bc01898658ab44b369f9c5d16800b
isplayManagerService.java
|
509cc13b705f8c488774e7097ab17471c3dacd2e |
18-Jan-2014 |
Jeff Brown <jeffbrown@google.com> |
am e2c9cd58: Merge "Refactor display manager service to new pattern." into klp-modular-dev * commit 'e2c9cd583f4f706b48270b8cbe84df627c69af24': Refactor display manager service to new pattern.
|
4ccb823a9f62e57f9d221f83a97e82967e79a9e5 |
17-Jan-2014 |
Jeff Brown <jeffbrown@google.com> |
Refactor display manager service to new pattern. Transform DisplayManagerService into a SystemService and start cleaning up other local services that it uses from window manager and input manager. Clean up service thread initialization. Remove unnecessary static variables from ActivityManagerService. It's starting to become clear that we really need a better way to manage service dependencies. Boot phases don't quite cut it. Change-Id: If319dbd7cbfbd4812fe55ece969e818d4b20755b
isplayDevice.java
isplayDeviceInfo.java
isplayManagerService.java
isplayTransactionListener.java
isplayViewport.java
|
1f7488e21994d7b6e143a4540659c1fbae630634 |
10-Jan-2014 |
Craig Mautner <cmautner@google.com> |
resolved conflicts for merge of 4504de5d to master Change-Id: I8d96fd2b479aebd6de913e617ca190f66c25aaa5
|
4504de5d5a8e1c7dfb306b16282f348856c24764 |
20-Dec-2013 |
Craig Mautner <cmautner@google.com> |
Implement ActivityView. With an existing ActivityContainer a caller can now create an ActivityView which consists of a new VirtualDisplay immediately attached to the ActivityContainer. Change-Id: Id70333dcbef55d524a87df8f8c92d72ca5579364
isplayManagerService.java
|
7fa44e90ed11cd35764f7f9efa587203c241fb27 |
09-Jan-2014 |
Jeff Brown <jeffbrown@google.com> |
am b6d9eb87: Merge "Add flag to force public virtual display to show own content." into klp-modular-dev * commit 'b6d9eb875a0bf1bb655a90c88457689342eb0991': Add flag to force public virtual display to show own content.
|
d14c8c9039c0056e1f30ad5d410c8fde20d63df5 |
08-Jan-2014 |
Jeff Brown <jeffbrown@google.com> |
Add flag to force public virtual display to show own content. Change-Id: I1039f2ef3154169ec90411a4c7ba2c94629f72c4
isplayDeviceInfo.java
isplayManagerService.java
irtualDisplayAdapter.java
|
49782e46c0eb85a25ae2abcf80880c48dbab5aea |
20-Dec-2013 |
Amith Yamasani <yamasani@google.com> |
am 9158825f: Move some system services to separate directories * commit '9158825f9c41869689d6b1786d7c7aa8bdd524ce': Move some system services to separate directories
|
9158825f9c41869689d6b1786d7c7aa8bdd524ce |
22-Nov-2013 |
Amith Yamasani <yamasani@google.com> |
Move some system services to separate directories Refactored the directory structure so that services can be optionally excluded. This is step 1. Will be followed by another change that makes it possible to remove services from the build. Change-Id: Ideacedfd34b5e213217ad3ff4ebb21c4a8e73f85
isplayAdapter.java
isplayDevice.java
isplayDeviceInfo.java
isplayManagerService.java
isplayTransactionListener.java
isplayViewport.java
ocalDisplayAdapter.java
ogicalDisplay.java
verlayDisplayAdapter.java
verlayDisplayWindow.java
ersistentDataStore.java
irtualDisplayAdapter.java
ifiDisplayAdapter.java
ifiDisplayController.java
|