diff options
author | Mihai Popa <popam@google.com> | 2018-03-27 19:03:09 +0100 |
---|---|---|
committer | Mihai Popa <popam@google.com> | 2018-03-29 20:04:49 +0000 |
commit | b1b423a46f187c978ba7d7b7572890ea8e75ba56 (patch) | |
tree | 8aad7578ecf6d800f77fe865197d21efce2a27c2 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | a56558bf4fa111a85eaf9fb88583ec36dc396b1a (diff) |
[Magnifier-37] Hide handle when overlaps magnifier
In most cases, the magnifier will be displayed above the current line,
so it will not overlap with the handle being dragged. However, when
there is not enough space in the current surface for the magnifier to be
displayed above the current line, the handle can overlap with the
magnifier. Since the handle is implemented as a different window, we
cannot really control the z ordering between them, and we noticed that
the handle will be rendered over the magnifier, which looks bad. This CL
better handles this situation, by hiding the handle when it would
overlap with the magnifier.
Bug: 76459199
Test: manual testing
Test: atest FrameworksCoreTests:android.widget.TextViewActivityTest
Test: atest FrameworksCoreTests:android.widget.TextViewTest
Change-Id: Id5a17fd964360df6094f9e2680e5bcca886c4d2d
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions