History log of /frameworks/base/services/core/java/com/android/server/display/VirtualDisplayAdapter.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
5fca1ac2b9a9e8dcf6b0c7ae5ad60f26336959a6 08-May-2015 Michael Wright <michaelwr@google.com> am a9f5e1c6: am 709d1022: am 1336c2c6: Merge "Always destroy virtual display on Binder death." into mnc-dev

* commit 'a9f5e1c6e0fe48ac100e21e88f9a78a061998144':
Always destroy virtual display on Binder death.
d1a5fae3bc1b4fa4ff4e97a1cc14c5b16aa4a799 05-May-2015 Michael Wright <michaelwr@google.com> Always destroy virtual display on Binder death.

Bug: 20265052
Change-Id: I039d3f2bab0dcbbcdc99b7105b04de5bc3845e05
/frameworks/base/services/core/java/com/android/server/display/VirtualDisplayAdapter.java
5c7773d86484aac5737667c604bd8fe8150c2136 04-May-2015 P.Y. Laligand <pylaligand@google.com> 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
/frameworks/base/services/core/java/com/android/server/display/VirtualDisplayAdapter.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
/frameworks/base/services/core/java/com/android/server/display/VirtualDisplayAdapter.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
/frameworks/base/services/core/java/com/android/server/display/VirtualDisplayAdapter.java
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
/frameworks/base/services/core/java/com/android/server/display/VirtualDisplayAdapter.java
6f59a7ac0a8da4b7e97999839deb2b9263c7b93f 27-Sep-2014 Michael Wright <michaelwr@google.com> Add supported refresh rates for all DisplayDeviceInfos.

Bug: 17674769
Change-Id: I8a003e86a013d7ebe177c8168d3573a8f26f4f6a
/frameworks/base/services/core/java/com/android/server/display/VirtualDisplayAdapter.java
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
/frameworks/base/services/core/java/com/android/server/display/VirtualDisplayAdapter.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
/frameworks/base/services/core/java/com/android/server/display/VirtualDisplayAdapter.java
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
/frameworks/base/services/core/java/com/android/server/display/VirtualDisplayAdapter.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
/frameworks/base/services/core/java/com/android/server/display/VirtualDisplayAdapter.java
6720be4e8c65e90d4453ddad5cef192bc3820038 30-Jul-2014 Michael Wright <michaelwr@google.com> Allow media projections to create public presentations.

Change-Id: I3b6e0b54d658352942a38be6a24486bdfc179efd
/frameworks/base/services/core/java/com/android/server/display/VirtualDisplayAdapter.java
01e840ff9441e005153d799e71d65b38bcb21902 27-Jun-2014 Michael Wright <michaelwr@google.com> Add resize method for virtual displays

Change-Id: I2632fc56c2d2cba356379e42f5c1a3e283b11d1e
/frameworks/base/services/core/java/com/android/server/display/VirtualDisplayAdapter.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
/frameworks/base/services/core/java/com/android/server/display/VirtualDisplayAdapter.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
/frameworks/base/services/core/java/com/android/server/display/VirtualDisplayAdapter.java
a767d762d8f70fbce0d8bb8d2bacde55de2504b5 06-May-2014 Jesse Hall <jessehall@google.com> VirtualDisplayAdapter: Set the transaction surface even if NULL

Bug: 14299872
Change-Id: I55e4a2e575cfd3788fbdb90b050dac486976c1b6
/frameworks/base/services/core/java/com/android/server/display/VirtualDisplayAdapter.java
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
/frameworks/base/services/core/java/com/android/server/display/VirtualDisplayAdapter.java
d14c8c9039c0056e1f30ad5d410c8fde20d63df5 08-Jan-2014 Jeff Brown <jeffbrown@google.com> Add flag to force public virtual display to show own content.

Change-Id: I1039f2ef3154169ec90411a4c7ba2c94629f72c4
/frameworks/base/services/core/java/com/android/server/display/VirtualDisplayAdapter.java
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
/frameworks/base/services/core/java/com/android/server/display/VirtualDisplayAdapter.java