diff options
author | Filip Gruszczynski <gruszczy@google.com> | 2015-02-19 13:05:03 -0800 |
---|---|---|
committer | Filip Gruszczynski <gruszczy@google.com> | 2015-02-25 12:22:49 -0800 |
commit | d2e8640c2c1972d4f2e92d48660fa9e17d9291c4 (patch) | |
tree | c6ac43889a6736ee26ae44db089641fe1bfb85ff /core/java/android/hardware/display | |
parent | 01dd0e86546a5bf815dd9a6e7cd4b7bf8e8f5719 (diff) | |
download | frameworks_base-d2e8640c2c1972d4f2e92d48660fa9e17d9291c4.zip frameworks_base-d2e8640c2c1972d4f2e92d48660fa9e17d9291c4.tar.gz frameworks_base-d2e8640c2c1972d4f2e92d48660fa9e17d9291c4.tar.bz2 |
Burn in protection.
Bug: 19373758
Change-Id: I7242f73acadd21bdee03262b4205c8af0734fccb
Diffstat (limited to 'core/java/android/hardware/display')
-rw-r--r-- | core/java/android/hardware/display/DisplayManagerInternal.java | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/core/java/android/hardware/display/DisplayManagerInternal.java b/core/java/android/hardware/display/DisplayManagerInternal.java index bb162153..adab9be 100644 --- a/core/java/android/hardware/display/DisplayManagerInternal.java +++ b/core/java/android/hardware/display/DisplayManagerInternal.java @@ -132,6 +132,19 @@ public abstract class DisplayManagerInternal { float requestedRefreshRate, boolean inTraversal); /** + * Applies an offset to the contents of a display, for example to avoid burn-in. + * <p> + * TODO: Technically this should be associated with a physical rather than logical + * display but this is good enough for now. + * </p> + * + * @param displayId The logical display id to update. + * @param x The X offset by which to shift the contents of the display. + * @param y The Y offset by which to shift the contents of the display. + */ + public abstract void setDisplayOffsets(int displayId, int x, int y); + + /** * Describes the requested power state of the display. * * This object is intended to describe the general characteristics of the |