- Jan 17, 2022
-
-
Lais Andrade authored
The keyboard key-press haptic feedback should follow the user settings for "Touch feedback". Bug: 185351540 Test: manual Change-Id: I718d3bf15b1ef841a869a898038d0eca1eca78f0
-
- Jan 13, 2022
-
-
Ming-Shin Lu authored
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/16613686 Change-Id: I16a579dd8e759bc32bcd453ba218be5cdc1dcd7c
-
Ming-Shin Lu authored
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/16613686 Change-Id: Id87eb67dbf2e4c8bc7060e5a8a524d30629f0571
-
- Jan 12, 2022
-
-
Ming-Shin Lu authored
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
-
- Jun 18, 2021
-
-
Ming-Shin Lu authored
[automerger skipped] Fix Keyboard Theme update when device orientation changed am: 6ae09365 am: 7f3bcefd -s ours am: 68103a86 -s ours am skip reason: Merged-In I288a31baf04fa2e63d6b4a14ad81b401cb36ece5 with SHA-1 6ae09365 is already in history Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/15021672 Change-Id: I100848fbd1e74afcaf32c7ae0dc3be241d09f892
-
Ming-Shin Lu authored
[automerger skipped] Fix Keyboard Theme update when device orientation changed am: 6ae09365 -s ours am: d7970ac3 -s ours am: 2db995ef -s ours am skip reason: Merged-In I288a31baf04fa2e63d6b4a14ad81b401cb36ece5 with SHA-1 407f8a32 is already in history Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/15021672 Change-Id: I2adacb1a237f7226e87507ee2ceeb8a69f9732dc
-
Ming-Shin Lu authored
[automerger skipped] Fix Keyboard Theme update when device orientation changed am: 6ae09365 am: 7f3bcefd -s ours am skip reason: Merged-In I288a31baf04fa2e63d6b4a14ad81b401cb36ece5 with SHA-1 6ae09365 is already in history Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/15021672 Change-Id: I52e4fa1371d8a8e6fcf7c92a03dc8861049ae14d
-
Ming-Shin Lu authored
[automerger skipped] Fix Keyboard Theme update when device orientation changed am: 6ae09365 -s ours am: d7970ac3 -s ours am skip reason: Merged-In I288a31baf04fa2e63d6b4a14ad81b401cb36ece5 with SHA-1 407f8a32 is already in history Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/15021672 Change-Id: I97cd4d4948c1a573eb50ee756e88152cc1bbb7ed
-
Ming-Shin Lu authored
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/15021672 Change-Id: I33a6fa7093b4633fc5bbd535b2c3d9d287022bc8
-
Ming-Shin Lu authored
[automerger skipped] Fix Keyboard Theme update when device orientation changed am: 6ae09365 -s ours am skip reason: Merged-In I288a31baf04fa2e63d6b4a14ad81b401cb36ece5 with SHA-1 407f8a32 is already in history Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/15021672 Change-Id: I3d0ca553f117d3d0871930362f68b87df2105b1c
-
Ming-Shin Lu authored
As CL[1] introduces diplayContext to address IME service context's Resources / DisplayMetrics update when switching IME window to another display after onConfigurationChange. In LatinIME#onInitializeInterface, we only update keyboard theme context and displayContent when the displayId is changed, but overlooked even the displayId is the same, the display context's resource configuration might changed like the device orientation changd. It leads getDefaultKeyboardHeight will get wrong config_max_keyboard_height fraction value when rotating to landcape because the context resources didn't get updated. Add a check to update keyboard theme context when the current display configuation is changed accordingly. [1]: I0ed6a079af1ed90c75fee1d36d5ce3ef3c41f8ed Fix: 186507147 Test: manual as issue steps 1) Turn on auto-rotate 2) Open Settings 3) Rotating the device to landscape mode 4) Tap “Search settings", verify if the soft-keyboard shown and the size is expected. Change-Id: I288a31baf04fa2e63d6b4a14ad81b401cb36ece5 Merged-In: I288a31baf04fa2e63d6b4a14ad81b401cb36ece5
-
- Jun 17, 2021
-
-
Yohei Yukawa authored
[automerger skipped] Bump targetSdkVersion to "30" am: 07ce283a -s ours am: 516ab1c9 -s ours am: 8405e5b1 -s ours am skip reason: Merged-In I4bf7588c62fb77bf78d4afcb665e9bfbbef53966 with SHA-1 360052f3 is already in history Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/14985309 Change-Id: I769efe0432474510a98ff2365321ee9fea6e5a3b
-
Yohei Yukawa authored
[automerger skipped] Bump targetSdkVersion to "30" am: 07ce283a am: 036d3a68 -s ours am: ff75f321 -s ours am skip reason: Merged-In I4bf7588c62fb77bf78d4afcb665e9bfbbef53966 with SHA-1 360052f3 is already in history Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/14985309 Change-Id: I9937aaedc70955d1b66bf70a2c8a70dc926765c5
-
Yohei Yukawa authored
am skip reason: Merged-In I4bf7588c62fb77bf78d4afcb665e9bfbbef53966 with SHA-1 360052f3 is already in history Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/14985309 Change-Id: Ib3d0cc6737d6ac5b03240114fc65503873b2f5f7
-
Yohei Yukawa authored
am skip reason: Merged-In I4bf7588c62fb77bf78d4afcb665e9bfbbef53966 with SHA-1 360052f3 is already in history Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/14985309 Change-Id: I312515621927fa92db2af43e6df3f075a555cb9e
-
Yohei Yukawa authored
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/14985309 Change-Id: Ie29ef64dd7638aeb2bdcaddc9a7384b7dae0f761
-
Yohei Yukawa authored
am skip reason: Merged-In I4bf7588c62fb77bf78d4afcb665e9bfbbef53966 with SHA-1 360052f3 is already in history Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/14985309 Change-Id: Ifc9ea2e2344d5a501e9ff031410cc4f1da99c38c
-
- Jun 15, 2021
-
-
Yohei Yukawa authored
With this CL, versionCode, targetSdkVersion and minSdkVersion will be bumped/set as follows: versionCode: 28 -> 30 targetSdkVersion: 28 -> 30 minSdkVersion: 21 As far as we know, there should be no user-visible behavior change on supported OS versions. Fix: 189558760 Test: manually verified that LatinIME still is functional Change-Id: I3a7deb452960b370f5290f3d1bac9c79fe935303 Merged-In: I4bf7588c62fb77bf78d4afcb665e9bfbbef53966 (cherry picked from commit 360052f3)
-
Treehugger Robot authored
Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/1737355 Change-Id: I4188cc4f29dafdbf9e58935d35e25a1415d0877a
-
Treehugger Robot authored
Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/1737355 Change-Id: I8be18798ecac3b163c27024c2a6217945b80e6ec
-
Treehugger Robot authored
Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/1737355 Change-Id: Ie0ef45d6f1171bd3767bd1a26001e9513a0b94fe
-
Treehugger Robot authored
Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/1737355 Change-Id: I63caa1f35eeda340064f05c0310d3a5eccbb1690
-
Treehugger Robot authored
-
Yohei Yukawa authored
With this CL, versionCode, targetSdkVersion and minSdkVersion will be bumped/set as follows: versionCode: 28 -> 30 targetSdkVersion: 28 -> 30 minSdkVersion: 21 As far as we know, there should be no user-visible behavior change on supported OS versions. Fix: 189558760 Test: manually verified that LatinIME still is functional Change-Id: I4bf7588c62fb77bf78d4afcb665e9bfbbef53966
-
- Jun 10, 2021
-
-
TreeHugger Robot authored
-
Ming-Shin Lu authored
Also, set the content intent to launch an editorActivity as the message notifiation when tapping the notification. Bug: 190057993 Test: make EditTextVariations, manual test by using EditTextVariations app to simulate the issue step. Change-Id: I1a4463dc44031eaebb286ad2a289870e97a1c475
-
- May 28, 2021
-
-
Treehugger Robot authored
Merge "Fix Keyboard Theme update when device orientation changed" am: 7ae00baa am: 16a01e7c am: 9d1ee4ae am: 524b30d7 Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/1721930 Change-Id: I1006b19a75f665776fb01db830a885617f7dfc1d
-
Treehugger Robot authored
Merge "Fix Keyboard Theme update when device orientation changed" am: 7ae00baa am: 16a01e7c am: 9d1ee4ae Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/1721930 Change-Id: I5a0cfb63667799ba52441eac6e083a05c8d6bae4
-
Treehugger Robot authored
Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/1721930 Change-Id: Ic168a7cbb656a3939061ad58bd0cc7991c0ceff1
-
Treehugger Robot authored
Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/1721930 Change-Id: I1d756d3f5a24e21b791ec0cd4726dadc1daa0759
-
Treehugger Robot authored
-
Ming-Shin Lu authored
As CL[1] introduces diplayContext to address IME service context's Resources / DisplayMetrics update when switching IME window to another display after onConfigurationChange. In LatinIME#onInitializeInterface, we only update keyboard theme context and displayContent when the displayId is changed, but overlooked even the displayId is the same, the display context's resource configuration might changed like the device orientation changd. It leads getDefaultKeyboardHeight will get wrong config_max_keyboard_height fraction value when rotating to landcape because the context resources didn't get updated. Add a check to update keyboard theme context when the current display configuation is changed accordingly. [1]: I0ed6a079af1ed90c75fee1d36d5ce3ef3c41f8ed Fix: 186507147 Test: manual as issue steps 1) Turn on auto-rotate 2) Open Settings 3) Rotating the device to landscape mode 4) Tap “Search settings", verify if the soft-keyboard shown and the size is expected. Change-Id: I288a31baf04fa2e63d6b4a14ad81b401cb36ece5
-
- May 15, 2021
-
-
Pedro Loureiro authored
[automerger skipped] Merge "Add lint baseline to address NewApi errors" am: 685abcb9 am: 0605aae4 am: 7e35eb12 -s ours am: e03eca7c -s ours am: 85262026 -s ours am skip reason: Merged-In Ic37bd8c531af7e68c939ce9c05614c37e6699b03 with SHA-1 b47de75a is already in history Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/1675572 Change-Id: Icd0e5f7e85c6fc833ec532c524a560f7eefbe193
-
- Apr 15, 2021
-
-
Pedro Loureiro authored
[automerger skipped] Merge "Add lint baseline to address NewApi errors" am: 685abcb9 am: 0605aae4 am: 7e35eb12 -s ours am: e03eca7c -s ours am skip reason: skip tag Change-Id Ic37bd8c531af7e68c939ce9c05614c37e6699b03 with SHA-1 b47de75a is already in history Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/1675572 Change-Id: I1f2f9b6d139f43196581f9ed37085a09d27eaa06
-
Pedro Loureiro authored
[automerger skipped] Merge "Add lint baseline to address NewApi errors" am: 685abcb9 am: 0605aae4 am: 7e35eb12 -s ours am: e03eca7c -s ours am skip reason: skip tag Change-Id Ic37bd8c531af7e68c939ce9c05614c37e6699b03 with SHA-1 b47de75a is already in history Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/1675572 Change-Id: I7d1467ce37893a886be106891f141436eea0c3fd
-
Pedro Loureiro authored
[automerger skipped] Merge "Add lint baseline to address NewApi errors" am: 685abcb9 am: 0605aae4 am: 7e35eb12 -s ours am skip reason: skip tag Change-Id Ic37bd8c531af7e68c939ce9c05614c37e6699b03 with SHA-1 b47de75a is already in history Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/1675572 Change-Id: Ibc1f110c41ad148391c842766732892c31340e03
-
Pedro Loureiro authored
Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/1675572 Change-Id: I1dca662027a09c4377349f1cc59e7bd5317d1e2a
-
Pedro Loureiro authored
Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/1675572 Change-Id: I7d81740175550e0be44ac9069bfa6e2f1fb8716d
-
Pedro Loureiro authored
-
- Apr 13, 2021
-
-
Pedro Loureiro authored
We are enabling a new lint check where the min sdk != compile sdk. It has produced a lot of errors and adding the baseline file(s) allows us to continue work without introducing more problems. Bug: 150847901 Test: m lint-check Change-Id: Ic37bd8c531af7e68c939ce9c05614c37e6699b03 Merged-In: Ic37bd8c531af7e68c939ce9c05614c37e6699b03
-