summaryrefslogtreecommitdiff
path: root/libs/androidfw/ResourceTimer.cpp
diff options
context:
space:
mode:
author Galia Peycheva <galinap@google.com> 2022-02-18 21:03:18 +0100
committer Galia Peycheva <galinap@google.com> 2022-04-04 14:33:07 +0200
commitc24734e830a69a9745d43ca6b0f2faebc9a00375 (patch)
tree27f684e0592c20c075f921995b7d7b97b059cd8a /libs/androidfw/ResourceTimer.cpp
parentd2d5e6831267f1b7ca123086260bbed9b66950cb (diff)
Add edu text to TV PiP
The edu text is added to the bottom of the TvPipMenuView, below the pip content. This also makes the front and back pip menu surfaces change size while the edu text is showing. It is shown for 10 seconds and after that it is hidden by sliding upwards. This repositions the PiP window so that it is placed properly (centered in case of expanded pip). This change introduces temporary decor insets - this is for the edu text. Temporary decor insets don't interfere with the keep-clear area algorithm - they will not cause the pip to move if they intersect with a keep-clear area. They are only taken into account when calculating the anchor bounds. Permanent decor insets are also taken into account when calculating intersecting keep-clear areas Bug: 219884907 Test: manual - start pip and check that the edu text is displayed and goes away after 10 seconds Change-Id: Ie27c633c517903a4bf0b1544626bd00b621c19d4
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions