commit | 006b71f401008a4101abd5b563c780aa4b7fcf43 | [log] [tgz] |
---|---|---|
author | Issei Suzuki <issei@google.com> | Mon Jun 17 15:56:57 2019 +0200 |
committer | Issei Suzuki <issei@google.com> | Thu Jul 04 09:49:23 2019 +0200 |
tree | 57ab2d0f65f2df67553b6655eef02d6e1fbe4031 | |
parent | 8958bbac1cc8c17235c1e7d490c251c28da0a923 [diff] |
Support alpha value in SurfaceView. For backward compatibility, SurfaceView ignores alpha value by default. In order to reflect alpha value set on the SurfaceView to its underlying surface, setUseAlpha() needs to be called. Translucent alpha only works when the surface is placed z-above. Otherwise only fully opaque and transparent status are supported. Bug: 130442248 Test: Manual, use BubblesTest app and checks if alpha is set. Change-Id: I86847de59109b2adf12a2c7c50c988c2cbcf0450