Commit graph

2841 commits

Author SHA1 Message Date
Darcy Wong
d66ecec73d fix(android): Address review comments
* Move Espanol back
* Capitalize Svwnska (Swedish)
2026-04-22 13:53:00 +07:00
Darcy Wong
ded6e1c6f3 fix(android): Reorder display language list 2026-04-22 10:42:37 +07:00
Darcy Wong
13ba5c8f8e chore(android): Remove unused status vars 2026-03-09 08:20:17 +07:00
Darcy Wong
1db954a7fa chore(android): Cleanup unused extracted text 2026-03-04 14:09:57 +07:00
Darcy Wong
57cf8fd7fa chore(android): Remove unused var 2026-02-03 13:07:16 +07:00
Darcy Wong
72913ca402 chore(android): Cleanup logging statement 2026-02-02 09:34:17 +07:00
Darcy Wong
4654dfad9c refactor(android): Regenerate keyboard search URL when resuming 2026-02-02 09:32:21 +07:00
Darcy Wong
70b140ed35
Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2026-02-02 09:13:44 +07:00
Darcy Wong
bea9de2b33 fix(android): Cleanup to address review comments 2026-01-30 08:48:19 +07:00
Darcy Wong
03e69d03af chore(android): Merge remote-tracking branch 'origin/master' into feat/android/lang
# Keyman Conventional Commit suggestions:
#
# - Link to a Sentry issue with git trailer:
#     Fixes: _MODULE_-_ID_
# - Give credit to co-authors:
#     Co-authored-by: _Name_ <_email_>
# - Use imperative, present tense ('attach' not 'attaches', 'attached' etc)
# - Don't include a period at the end of the title
# - Always include a blank line before trailers
# - More: https://github.com/keymanapp/keyman/wiki/Pull-Request-and-Commit-workflow-notes
2026-01-30 07:10:58 +07:00
Darcy Wong
356ef54c86 chore(common): Update Crowdin strings for de 2026-01-29 16:38:12 +07:00
Darcy Wong
866c856b94 feat(android): Use current display language for keyboard search 2026-01-29 09:09:41 +07:00
Darcy Wong
665e82a104 chore(common): Update Crowdin strings for Italian 2026-01-13 09:37:15 +07:00
Darcy Wong
9f86141803 chore(android): Update crowdin strings 2026-01-08 11:37:26 +07:00
Darcy Wong
3bdb0694c3 chore(android): Download PT again 2025-12-19 06:19:59 +07:00
Darcy Wong
cbca7630e1 chore(common): Update crowdin strings for PT 2025-12-18 16:13:25 +07:00
Matthew Lee
2f9a321a24 Compressing 2 text boxes into one to save vertical space in the dialog. 2025-12-08 14:34:32 -05:00
Matthew Lee
929bd05459 back to rounding 2025-12-08 09:23:24 -05:00
Matthew Lee
f553ed8755 Ceiling and floor to make percentages change immediately. 2025-12-08 09:19:41 -05:00
Matthew Lee
c64b466667 Merge remote-tracking branch 'MattGyverLee/feat/grabbable-bar-and-feedback' into feat/grabbable-bar-and-feedback 2025-12-08 09:02:06 -05:00
Matthew Lee
781da520be context for calculateKeyboardHeightFromTouch 2025-12-08 08:57:14 -05:00
Matthew Lee
796bcf9a2b
Update android/KMAPro/kMAPro/src/main/java/com/tavultesoft/kmapro/AdjustKeyboardHeightActivity.java
Co-authored-by: Marc Durdin <marc@durdin.net>
2025-12-08 08:35:42 -05:00
Matthew Lee
dcd6ac019b
Update android/KMAPro/kMAPro/src/main/java/com/tavultesoft/kmapro/AdjustKeyboardHeightActivity.java
Co-authored-by: Marc Durdin <marc@durdin.net>
2025-12-08 08:34:58 -05:00
Matthew Lee
b72de3107a
Apply suggestion from @mcdurdin
Co-authored-by: Marc Durdin <marc@durdin.net>
2025-12-08 08:33:31 -05:00
Matthew Lee
8c4382bc73 Cutting spaghetti 2025-12-03 22:45:47 -05:00
Matthew Lee
a8e311fc8b simplifying string work 2025-12-03 22:21:15 -05:00
Matthew Lee
99d7dfa217 Cleanup 2025-12-03 21:55:35 -05:00
Matthew Lee
38319f1229 Resolving comments 2025-12-03 21:01:48 -05:00
Matthew Lee
37acf0e377 Reverting functions to the Activity. 2025-12-03 20:42:48 -05:00
Matthew Lee
811a94e30b Compressing 2 text boxes into one. 2025-12-02 16:33:06 -05:00
Matthew Lee
d955404307 Final Cleanup 2025-12-02 16:16:48 -05:00
Matthew Lee
6445a6bcb5 Adding grabbable bar and feedback 2025-12-01 15:47:18 -05:00
Marc Durdin
307f600f43
Merge pull request #13663 from MattGyverLee/feat/android/keyboard-min-max
fix(android): address keyboard height vs touch height race after keyboard height preference change (also min max heights + docs)
2025-12-01 14:22:25 +01:00
Darcy Wong
c909c020f9
Merge pull request #15247 from keymanapp/docs/android/broadcast-font-name
docs(android): Document Keyman API for keyboard font change
2025-12-01 15:43:28 +07:00
Darcy Wong
d89e90a404
Merge branch 'master' into chore/android/sendCurrentFontName 2025-12-01 08:46:29 +07:00
Darcy Wong
fd7c1b3683 docs(android): Document Keyman API for keyboard font change 2025-11-28 10:55:54 +07:00
Matthew Lee
d2b40bd3c1
Update android/docs/engine/KMManager/getKeyboardHeightMin.md
Co-authored-by: Darcy Wong <darcy_wong@sil.org>
2025-11-25 02:39:28 -06:00
Matthew Lee
8bcf03cb1e
Update android/KMEA/app/src/main/java/com/keyman/engine/KMManager.java
Co-authored-by: Marc Durdin <marc@durdin.net>
2025-11-25 02:35:58 -06:00
Claude
99704c4ec2
fix(android): resolve PR review comments for keyboard height min/max
Addresses review feedback from Marc and Darcy:

- Add JavaDoc comments to getKeyboardHeightMin() and getKeyboardHeightMax()
  explaining the purpose, parameters, and return values
- Implement separate pending height tracking per keyboard type (in-app/system)
  and orientation (portrait/landscape) instead of a single flag
- Add four preference keys following KMKey_ naming convention:
  KMKey_PendingHeightUpdate_InappPortrait, KMKey_PendingHeightUpdate_InappLandscape,
  KMKey_PendingHeightUpdate_SystemPortrait, KMKey_PendingHeightUpdate_SystemLandscape
- Create helper function getPendingHeightKey() to determine the correct key
- Create setPendingHeightUpdate() and getAndClearPendingHeightUpdate() functions
- Fix applyKeyboardHeight() to use new helper functions and remove broken
  heightApplied variable and duplicate pending height logic
- Update KMKeyboard.onResume() to use getAndClearPendingHeightUpdate()
- Add documentation links for getKeyboardHeightMin and getKeyboardHeightMax
  in index.md
2025-11-24 23:14:52 +00:00
Matthew Lee
3ed2d4a21e
Update android/KMEA/app/src/main/java/com/keyman/engine/KMManager.java
Co-authored-by: Marc Durdin <marc@durdin.net>
2025-11-24 01:10:05 -06:00
Nnyny
e215603146 fix: change intent ID 2025-11-24 13:50:26 +07:00
Matthew Lee
43bb10d967
Update android/docs/engine/KMManager/getKeyboardHeightMin.md
Co-authored-by: Darcy Wong <darcy_wong@sil.org>
2025-11-23 19:25:36 -06:00
Matthew Lee
1662802bd5
Update android/KMEA/app/src/main/java/com/keyman/engine/KMManager.java
Co-authored-by: Marc Durdin <marc@durdin.net>
2025-11-22 02:35:00 -06:00
Matthew Lee
3962d5795d
Update android/KMEA/app/src/main/java/com/keyman/engine/KMManager.java
Co-authored-by: Marc Durdin <marc@durdin.net>
2025-11-22 02:34:49 -06:00
Matthew Lee
6be82ac9b8 Adding Docs for getKeyboardHeightMin/max & updating webview height
Handling invalid orientations

updating orientation logic

refresh webview height if ApplyKeyboardHeight() has been applied without KB active

I ran into a bug building this code into app-builders and fixed it downstream. This commit pushes it upstream.

While resize dialog is open:
- Keyboard WebView is NOT loaded (isKeyboardLoaded() == false)
- ACTION_UP saves to SharedPreferences:  Works
 -But skips WebView layout update:  Because keyboard not loaded
 - User exits dialog, keyboard appears:
    - If the keyboard WebView loads and reads from SharedPreferences properly:  Works
    - But if there's a timing issue or the WebView had old layout params cached:  Touch zone mismatch
2025-11-21 14:50:03 -06:00
Nnyny
3264557bef chore: add intent to broadcast font name 2025-11-20 12:44:59 +07:00
Darcy Wong
48b19c468c
Merge pull request #15136 from keymanapp/docs/android/adware
docs(android): Document disclaimer of Keyman NOT containing adware/spyware
2025-11-13 07:08:27 +07:00
Darcy Wong
1fe688ec9e
Merge pull request #15098 from keymanapp/fix/android/alert-no-keyboards-lexical-models
fix(android): Change Alert Dialog instead of Toast if package missing keyboard and lexical-model files
2025-11-12 08:24:42 +07:00
Darcy Wong
32de05a385 docs(android): Rearrange section and add Sentry blurb 2025-11-11 15:42:58 +07:00
Darcy Wong
1c5fc9d6fc
Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2025-11-11 15:03:41 +07:00