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
|