commit | 01a5613bdae45087cff5473671d174d067519a0b | [log] [tgz] |
---|---|---|
author | Garfield Tan <xutan@google.com> | Mon Aug 05 16:44:21 2019 -0700 |
committer | Garfield Tan <xutan@google.com> | Tue Aug 13 14:04:47 2019 -0700 |
tree | 1ebf41d63500a51401512c4b3fa42b1574a1ffae | |
parent | 70954fd00d57e81bf53a45c057ef053681671c3d [diff] |
Add metadata for mouse cursor. Mouse cursor metadata is stored in a parcel with a int32_t for mouse cursor type, and two floats for mouse hotspotX/Y. Therefore move the parcel to byte vector conversion into SurfaceComposerClient. If anyone needs to store metadata in raw byte vector we can change the interface later. Bug: 130822623 Test: SurfaceFlinger can get cursor type and hotspot. Change-Id: Ia7e0c952fcaefd14280322d9b2269f4dba38e8da