summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorfelkachang <felkachang@google.com>2018-07-04 12:51:44 +0800
committerFelka Chang <felkachang@google.com>2018-11-07 03:40:25 +0000
commit6d1eca3c851202efe52d2a68a0c1e4a8809198f0 (patch)
tree0a6b91a2b6064a8864f0f51ea7506d651c17ce31 /tools/aapt2/java/JavaClassGenerator.cpp
parent29226627d0898713558c4e03d237d100796d7d53 (diff)
Fix EditText show wrong position when ime show
In landscape and largest density, the area that could show the heads up notification is smaller than normal density. To handle the heads up notification should be different with the normal notification in both of targetScrollForView and getScrollRange because StackScrollAlgorithm translation heads up notification as mHeadsUpInset but neither targetScrollForView nor getScrollRange has have the same consideration. The solution make the StackScrollAlgorithm to considerate scroll value to move up the heads up notification. The getScrollRange need to consider more about the difference between heads up showing and non-heads up showing. The top padding and the total content height are the major considerations. Test: manual test Test: atest SystemUITests Change-Id: I46bb960a81f6ab5be4d8e39738e8fb64245dd4eb Merged-In: I46bb960a81f6ab5be4d8e39738e8fb64245dd4eb Fixes: 110388615 (cherry picked from commit 529bfe6f0a4c5a8683b4dc6a6256b30f7e08bc16)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions