maiacore android keyboard app or something
Find a file
Ming-Shin Lu 6c752d8eca Using IME context to inflate layout from S_V2
With CL[1],[2] to migrate InputMethodService as the subclass of the new
introduced class WindowProviderService in S_V2, IME context resources
can be managed by associating the window container of IME window when
its display/window configuration changed.

So we can get rid of createDisplayContext logic from S_V2 with gated
by SDK version and refining the method of get IME context with
documentation to make it clear.

[1]: Ie565e30ed5dd3f2cfe27355a6dded76dc3adc14b
[2]: I64a1614f32d097785915f6105b1813a929e0fe32

Bug: 213118079
Bug: 133825283
Test: manual with below steps
 1) adb install -r EditTextVariations.apk
 2) tapas LatinIME
 3) make
 4) adb install -r out/target/product/generic/system/app/LatinIME/\
        LatinIME.apk
 5) adb shell ime enable com.android.inputmethod.latin/.LatinIME
 6) adb shell ime set com.android.inputmethod.latin/.LatinIME
 5) Enable screen auto-rotation
 7) Launch EditTextVariations from launcher's shortcut
 8) Tap the first EditText field to show IME
 9) Rotate the device to the landscape mode
 10) Expect the IME should not be shrunk

Change-Id: If2cc1c5bdb257a9c0af653fa7157cf781a90bf1d
2022-01-12 11:50:28 +08:00
common [LSC] Add LOCAL_LICENSE_KINDS to packages/inputmethods/LatinIME 2021-02-17 09:46:27 -08:00
dictionaries Update LatinIME to comply with Android's inclusive language guidance 2020-08-12 13:07:02 +02:00
gradle/wrapper Experimentally Support Android Studio to build LatinIME 2018-07-25 18:08:28 -07:00
java Using IME context to inflate layout from S_V2 2022-01-12 11:50:28 +08:00
native [LSC] Add LOCAL_LICENSE_KINDS to packages/inputmethods/LatinIME 2021-02-17 09:46:27 -08:00
tests Bump targetSdkVersion to "30" 2021-06-15 11:13:09 -07:00
tools [LSC] Add LOCAL_LICENSE_KINDS to packages/inputmethods/LatinIME 2021-02-17 09:46:27 -08:00
.gitignore Experimentally Support Android Studio to build LatinIME 2018-07-25 18:08:28 -07:00
Android.bp [LSC] Add LOCAL_LICENSE_KINDS to packages/inputmethods/LatinIME 2021-02-17 09:46:27 -08:00
build.gradle Migrate packages/inputmethods/LatinIME to androidx.test 2018-12-13 19:06:42 -08:00
CleanSpec.mk Move LatinIME and its lib to /product 2019-01-11 15:20:31 +00:00
gradlew Experimentally Support Android Studio to build LatinIME 2018-07-25 18:08:28 -07:00
gradlew.bat Experimentally Support Android Studio to build LatinIME 2018-07-25 18:08:28 -07:00
NOTICE Move MODULE_LICENSE_APACHE2 to the project top dir 2018-11-19 12:11:31 -08:00
OWNERS Remove paulduffin@ from OWNERS 2018-10-10 16:15:41 +01:00