History log of /frameworks/base/services/core/java/com/android/server/wm/CircularDisplayMask.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
ea481beda699165a7050ddcc37b10841d33ed9e6 08-Jan-2015 Prashant Malani <pmalani@google.com> Improve the circularMask for round displays

The mask was earlier drawn as a thin ring at the display periphery.
This had undesirable effects when screenshots were taken, as the ring
was seen, as well as display content beyond it.

This patch modifies the mask to be a black canvas with portions erased
to improve the screenshot image.

Bug: 18772987
Change-Id: I25ef6387879613354308e015446fe325ed8c4515
/frameworks/base/services/core/java/com/android/server/wm/CircularDisplayMask.java
7fb614664707f4c67dbbad8320e7d3cc10750df1 09-Sep-2014 Griff Hazen <griff@google.com> Add support for a circular bitmap overlay for round android wear emulator.

Android wear emulators have never had support for enabling both gpu
emulation and also having a round clip overlay present. Fix this by
supporting a drawable overlay when the ro.emulator.circular system
property is set.

Bug: 13415409

Change-Id: I6e0840ebe5c77adb786a7ba7ec6af348308ca46a
/frameworks/base/services/core/java/com/android/server/wm/CircularDisplayMask.java
a04ea61db5566f05d5c783b2f62614aa03005be9 19-Jul-2014 Prashant Malani <pmalani@google.com> Revert "Remove circular mask"

This reverts commit 2e8b27e898af3af1165a79e7c5f8b59f63f20a2f.

It also makes the circularMask option configurable via overlay.
It is set to false by default.

An offset dimension entry is also provided, for displays which have
a "chin". This is set to 0 by default.

Bug: 16380982
Change-Id: I16ec3e8d8882a6683c9155055944e5c2f5cd781e
/frameworks/base/services/core/java/com/android/server/wm/CircularDisplayMask.java
2e8b27e898af3af1165a79e7c5f8b59f63f20a2f 05-Jun-2014 Michael Kolb <kolby@google.com> Remove circular mask

Change-Id: I83b1caea100d28be2fca46dc0280b05e9b78da44
/frameworks/base/services/core/java/com/android/server/wm/CircularDisplayMask.java
ca5b9cfc07b345b373da1ced5384975e269dd7ac 23-May-2014 Michael Kolb <kolby@google.com> Fix circular mask

Bug: 15110243

Change-Id: Ic6a3728998f3f9fb73567ed1aff012d620a19486
/frameworks/base/services/core/java/com/android/server/wm/CircularDisplayMask.java
8b275ca9d34792ba525771e0c1865b3262e569c9 24-Apr-2014 Michael Kolb <kolby@google.com> Use rotation to position circular display mask

Bug: 14231785

Change-Id: Ib6d69f3b9c2a638731539f1c1e51b56ad1698adc
/frameworks/base/services/core/java/com/android/server/wm/CircularDisplayMask.java
39a6db7cd5199dbe83da388404be3fc8f386281e 27-Mar-2014 Michael Kolb <kolby@google.com> Add circular anti-aliasing mask to circular display

Bug: 13635645

Add a 2 px wide anti-aliased circle as a Layer to WindowManagerService

Change-Id: Ic8d319ca43c222f5b2e69af896749b8f2018ce3e
/frameworks/base/services/core/java/com/android/server/wm/CircularDisplayMask.java