44fe4e471f8d6d10a3282a0f875d29b5ba4e9202
Since IMM#reportActivityView() expects a matrix that transform coordinates
that maps (0, 0) in the ActivityView to the actual screen coordinates in
the host process.
So transform coordinates with getLocationInWindow which presents the location
that inside of ActivityView will be wrong when in freeform mode.
We should use getLocationOnScreen to fix this.
Fix: 137566626
Test: atest ActivityViewTest#testInputMethod in freeform / desktop mode
Test: manual as below steps:
0) Make sure device connected HW keyboard & set Gboard launguages
as Japanese input.
1) Make and install ActivityViewTest.
2) Launch any app and enter split screen mode.
3) Launch "AV Main" with shortcut in split screen bottom stack.
4) Press "Test Scroll ActiviyView" - > "launch"
5) Scroll down ActivityView & tap EditText and then type words with
HW keyboard.
6) Check if candidate view shown on the right place that aligned
with EditText.
Change-Id: Ia40b9aa94028592fd16e45c7226ec6e3cf07c9b1
…
…
…
…
…
…
…
…
…
Merge "Do not turn on Bluetooth when booting into Safe Mode" am:
34ed823dae am: 8ae1de7afe am: 121bafc53e
…
Merge "Remove voip-common to the dependency list of *-api-stubs-docs" am:
b5958c7c49 am: 1f51d97b8e am: 511bd2ba29
…
Description
No description provided
Languages
Java
73.7%
Kotlin
14%
PowerBuilder
5.8%
C++
5.2%
AIDL
1%