diff options
| author | 2023-06-26 16:44:37 -0700 | |
|---|---|---|
| committer | 2023-07-05 12:42:06 -0700 | |
| commit | 347491494efe97bd0e4f9db3d0f0a24e29e362b8 (patch) | |
| tree | 830f9e90b20636c197882be509fa471f3ec17ba2 /libs/androidfw/ObbFile.cpp | |
| parent | 7875db5f8f21fab3482a139689029ffb91e5d3fe (diff) | |
Adds a method to TaskView to allow clients to set caption insets
Some users of TaskView (bubbles) need to be able to add a caption
bar to TaskView to allow users to manipulate the bubble window or
access a menu.
This CL exposes a method on TaskView to set a rect that represents
the insets for that caption bar. This rect is automatically excluded
as a touchable area so that TaskView doesn't steal touches from it.
Test: manual - locally use new setCaptionInsets method on a TaskView
=> observe that content is inset & touchable
Test: atest TaskViewTest
Bug: 284205099
Change-Id: Ia71f56920bb85b6e0e7164c92273caf4d480916a
Diffstat (limited to 'libs/androidfw/ObbFile.cpp')
0 files changed, 0 insertions, 0 deletions