Commit graph

2851 commits

Author SHA1 Message Date
Matthew Lee
0cb5a17971 Updating docs for Adjust Keyboard Height feature 2025-03-27 23:21:43 -04:00
Darcy Wong
9a4bc0c049 docs(android): Update table 2025-03-28 09:56:08 +07:00
Darcy Wong
39eebaa257 chore(common): Update crowdin strings for Mon 2025-03-28 09:15:42 +07:00
Matthew Lee
05625d5983 Bypassing dynamic height for tests 2025-03-27 19:00:45 -04:00
Matthew Lee
908d17099e Drafting docs for overloads. 2025-03-27 09:59:15 -04:00
Matthew Lee
0bfefa11cd
Update android/KMEA/app/src/main/java/com/keyman/engine/KMManager.java
Co-authored-by: Marc Durdin <marc@durdin.net>
2025-03-27 09:06:33 -04:00
Matthew Lee
426846f08a
Update android/KMEA/app/src/main/java/com/keyman/engine/KMManager.java
Co-authored-by: Marc Durdin <marc@durdin.net>
2025-03-27 09:05:11 -04:00
Matthew Lee
8cd1518e24
Update android/docs/engine/KMManager/applyKeyboardHeight.md
Co-authored-by: Marc Durdin <marc@durdin.net>
2025-03-27 09:00:39 -04:00
Darcy Wong
5871df98b6 fix(android): Modify dimens.xml for 320dpi device
User requested a taller default keyboard height for a Pixel 8a device in landscape (430dpi corresponding to xhdpi). The next tier xxhdpi is for 480+ dpi.

Reference
https://developer.android.com/guide/topics/resources/providing-resources.html#table2

Based on `values/sw600dp-land/dimens.xml`, create `values-land-xhdpi/dimens.xml`

This allows a taller landscape keyboard height.
2025-03-27 15:42:19 +07:00
Darcy Wong
88d896e7d5 fix(android): Copy values-sw600dp-land/dimens.xml to values-land-xhdpi 2025-03-27 15:40:53 +07:00
Matthew Lee
063a91d019 updating variable name 2025-03-27 00:30:04 -04:00
Darcy Wong
fee91b379d chore(android): Remove debug statements 2025-03-27 11:04:30 +07:00
Matthew Lee
287acfbd36 removing duplicate commit() 2025-03-26 23:21:11 -04:00
Matthew Lee
18db5ec139 removing sharedprefs import 2025-03-26 21:10:19 -04:00
Matthew Lee
a8da8e7b5e Finalizing 2025-03-26 20:59:37 -04:00
Matthew Lee
5f069c35d8 Reset Variable 2025-03-26 19:53:32 -04:00
Matthew Lee
b36dc677f5 Using new variables 2025-03-26 19:44:13 -04:00
Matthew Lee
1215f93f87 getDefaultKeyboardHeight() 2025-03-26 08:09:10 -04:00
Matthew Lee
79f8918346 adding Varables and GetDefaultKeyboardHeight Function.
I still need to figure out when to call this for initialization.
2025-03-26 02:52:01 -04:00
Matthew Lee
2bade43b54 Adding overloads for getKeyboardHeight and applyKeyboardHeight for alternate orientations. 2025-03-26 02:25:41 -04:00
Matthew Lee
f7c0e4eaac
Update android/KMEA/app/src/main/java/com/keyman/engine/KMManager.java
Co-authored-by: Marc Durdin <marc@durdin.net>
2025-03-26 02:10:11 -04:00
Matthew Lee
18fc24cb05
Update android/KMEA/app/src/main/java/com/keyman/engine/KMManager.java
Co-authored-by: Marc Durdin <marc@durdin.net>
2025-03-26 02:08:30 -04:00
Matthew Lee
7cd219d097
Update android/KMEA/app/src/main/java/com/keyman/engine/KMManager.java
Co-authored-by: Marc Durdin <marc@durdin.net>
2025-03-26 02:08:10 -04:00
Matthew Lee
705e240d21 Merge remote-tracking branch 'MattGyverLee/fix/kmea/13511/applykeyboardHeight' into fix/kmea/13511/applykeyboardHeight 2025-03-26 02:06:16 -04:00
Matthew Lee
ca2101800d Adding variable. 2025-03-26 02:06:01 -04:00
Matthew Lee
459c948a97
Update android/KMEA/app/src/main/java/com/keyman/engine/KMManager.java
Co-authored-by: Marc Durdin <marc@durdin.net>
2025-03-26 01:54:21 -04:00
Matthew Lee
d4e7d06034
Update android/KMEA/app/src/main/java/com/keyman/engine/KMManager.java
Co-authored-by: Marc Durdin <marc@durdin.net>
2025-03-26 01:45:34 -04:00
Matthew Lee
621d15aa6d
Update android/KMEA/app/src/main/java/com/keyman/engine/KMManager.java
Co-authored-by: Marc Durdin <marc@durdin.net>
2025-03-26 01:42:56 -04:00
Matthew Lee
fc53742821 Setting 0 for heights. Gating inputs 2025-03-26 00:49:34 -04:00
Matthew Lee
8e523aff89 Reverting to removing height values. 2025-03-26 00:34:11 -04:00
Matthew Lee
75856683d4 Fixing Reset Button
Reverting change to getKeyboardHeight, adding getDefaultKeyboardHeightByOrientation.
2025-03-25 23:44:29 -04:00
Matthew Lee
f0d0784719
Update android/KMAPro/kMAPro/src/main/java/com/tavultesoft/kmapro/AdjustKeyboardHeightActivity.java
Co-authored-by: Darcy Wong <darcy_wong@sil.org>
2025-03-25 22:35:46 -04:00
Matthew Lee
a014141d62 minor cleanups. 2025-03-25 22:33:55 -04:00
Matthew Lee
b548f63566
Update android/KMAPro/kMAPro/src/main/java/com/tavultesoft/kmapro/AdjustKeyboardHeightActivity.java
Co-authored-by: Darcy Wong <darcy_wong@sil.org>
2025-03-25 22:26:13 -04:00
Matthew Lee
a0da0e18f5 Fixing Bracket, Adding applyKeyboardHeight(context, 0) 2025-03-25 22:00:31 -04:00
Matthew Lee
d84901fdc1
Update android/docs/engine/KMManager/applyKeyboardHeight.md
Co-authored-by: Marc Durdin <marc@durdin.net>
2025-03-25 20:27:19 -04:00
Matthew Lee
c09df23fbc update docs for applyKeyboardHeight() 2025-03-25 10:51:24 -04:00
Matthew Lee
40a466e969 (fix:android) furthet investigation of applyKeyboardHeight()
Since Keyboard Height is actually set on Action-Up and only frame height is set onBackPressed() in existing code, this should have no effect in KMAPro but "complete" the API in KMEA,
2025-03-25 10:24:46 -04:00
Darcy Wong
75bf69bfbf fix(android): Cleanup comments
Cleanup references to mayPredictOverride in comments
2025-03-24 10:27:50 +07:00
Darcy Wong
009829a842 docs(android): Update Keyman Engine for Android API
Documents added getPredictionsSuspended() and setPredictionsSuspended() API calls for Keyman 18.0
2025-03-24 08:57:14 +07:00
Darcy Wong
9d8f71a718 refactor(android): Rename mayPredictOverrides APIs
Per review comments, rename these API's for Keyman 18.0:

inAppMayPredictOverride --> inAppPredictionsSuspendedForSensitiveInput
systemMayPredictOverride --> systemPredictionsSuspendedForSensitiveInput

getMayPredictOverride() --> getPredictionsSuspended()
setMayPredictOverride() --> setPredictionsSuspended()
2025-03-24 08:19:35 +07:00
Darcy Wong
1da411727a refactor(android): split mayPredictOverride for inapp and system kbd
Refactor mayPredictOverride so the banner toggle is handled independently for `KeyboardType.KEYBOARD_TYPE_INAPP` and `KeyboardType.KEYBOARD_TYPE_SYSTEM` keyboards.

Pre-existing override API calls are now for `KeyboardType.KEYBOARD_TYPE_SYSTEM`
2025-03-20 11:39:02 +07:00
Darcy Wong
9afcf8f2b0 fix(android): Restore banner after lock screen
Fix banner transitions on lock screen and resuming
2025-03-20 07:43:03 +07:00
Darcy Wong
d767936254 fix(android): Update string for Russian language 2025-03-18 08:29:25 +07:00
Joshua Horton
ca395c583a
Merge pull request #13333 from keymanapp/change/android/reorder-host-page-script-load
change(android): re-order host page script load so Sentry can report script load failures
2025-03-17 08:39:16 +07:00
Darcy Wong
166aae51d0
Merge pull request #13500 from keymanapp/chore/common/crowdin-it
chore(common): update crowdin strings for Italian
2025-03-14 10:27:33 +07:00
Darcy Wong
a0514682a4
Merge pull request #13499 from keymanapp/chore/common/crowdin-es-es-419
chore(android,windows): Update Crowdin for Spanish and Spanish (Latin America)
2025-03-14 10:27:18 +07:00
Darcy Wong
2e896e316f chore(common): Update crowdin strings for Italian 2025-03-14 09:23:26 +07:00
Darcy Wong
00552cb06c chore(android): update crowdin strings for Spanish (Latin America) 2025-03-14 09:12:49 +07:00
Darcy Wong
41a13cab2e chore(android): Update crowdin strings for Spanish 2025-03-14 09:10:31 +07:00