summaryrefslogtreecommitdiff
path: root/core/java/android/inputmethodservice/InputMethodService.java
diff options
context:
space:
mode:
authorMady Mellor <madym@google.com>2022-08-16 12:11:15 -0700
committerMady Mellor <madym@google.com>2022-09-21 02:12:46 +0000
commit38edb219c0cd5b173daae5c5a10198765d9a9c5b (patch)
tree0dd479552d95eb2ba70fdbebceff5f7de3095d61 /core/java/android/inputmethodservice/InputMethodService.java
parent5856ac8f1e3968544bbb7913d3db65857f7319d5 (diff)
Support for a floating task window (behind a sysui flag)
Creates a new package within shell for floating tasks along with a basic controller and interfaces for sysui and launcher to use to manage floating tasks. A single floating task is allowed at a time and they can only be created if a sysui flag is turned on. The floating task is backed by a TaskView, floats above all other content, and can be moved via a handle at the top of the view. The view sticks along the left and right edges of the screen, can be stashed (similar to PIP), and can be removed by dragging to a dismiss target in the middle of the screen (similar to PIP & bubbles). The tests included trigger the sysui flag on and off to ensure the flag behavior (i.e. that you can't create one unless the flag is on). Test: atest FloatingTaskControllerTest Bug: 237678727 Change-Id: I490c44685825e14166869b2cf7c2994ee0e30ba7
Diffstat (limited to 'core/java/android/inputmethodservice/InputMethodService.java')
0 files changed, 0 insertions, 0 deletions