diff options
author | Evan Rosky <erosky@google.com> | 2019-02-01 10:58:38 -0800 |
---|---|---|
committer | Evan Rosky <erosky@google.com> | 2019-03-04 12:39:57 -0800 |
commit | 60dba2f3a01abc736fa40bbc6bb42b0bc3ee3695 (patch) | |
tree | d6364355826937588bb6e580818929ed3a07bb4e /rs/java/android/renderscript/RenderScript.java | |
parent | 6ce9003ef0c28c3ea9de43550dfa36e3d067c1d5 (diff) |
Ensure freeform windows always have a visible portion on screen
There was already code attempting to do this, but it wasn't
correct and was causing windows to pop to top or left.
This basically ensures that a fixed amount of dp in each
linear direction is visible on the screen for a given window.
Since this is handled in policy, it doesn't need to be enforced
during computeFrame anymore.
Bug: 123757388
Test: drag freeform to right or bottom,
atest TaskRecordTests WindowFrameTests
Change-Id: I23c690a5efe06c77caa14ecc8e30a30cd42c23c4
Diffstat (limited to 'rs/java/android/renderscript/RenderScript.java')
0 files changed, 0 insertions, 0 deletions