Commit graph

1638 commits

Author SHA1 Message Date
Darcy Wong
51488df782 Clean up ConfirmDialogFragment
Introduce enum DialogType to specify the kind of confirmation dialog. Later, we'll add DOWNLOAD_MODEL and DELETE_MODEL.
2019-05-14 10:39:39 +07:00
jahorton
55204a2254 Reworks Android changes to use URI query semantics 2019-05-14 10:31:23 +07:00
Darcy Wong
70ab0d7dff Merge remote-tracking branch 'origin/master' into android-language-settings 2019-05-13 16:45:48 +07:00
jahorton
b5a31f4ace I accidentally a closing brace. 2019-05-13 16:36:20 +07:00
Darcy Wong
dca773ef10 Update ConfirmDialog to optionally dismiss calling activity 2019-05-13 16:11:00 +07:00
jahorton
6eb59e5bd7 Initial pred. text longpress support (Android) 2019-05-13 15:04:21 +07:00
Darcy Wong
2ce86ecee3 Insert more places for lexical models to be registered
Update KMManager to handle determining associated lexical models and registering accordingly.
The current lexical model info is kept so switching keyboards into the same language won't trigger a new model registration.

Model registration now also occurs on app / keyboard startup
2019-05-13 14:31:06 +07:00
Darcy Wong
1f6c968a61 Try to finish activity after confirmation dialog 2019-05-10 15:50:31 +07:00
Darcy Wong
2c60a607c9 Add Keyboard Settings
* Also updated ConfirmDialog to handle confirmation in downloading keyboards and deleting keyboards.
2019-05-10 14:58:44 +07:00
Darcy Wong
d408f9a598 Connect "Languages Settings" menu to "Language Settings" 2019-05-10 09:12:27 +07:00
Darcy Wong
c8fe2c720a Start language setting menu 2019-05-09 16:37:55 +07:00
Darcy Wong
a7a2187bef Use language ID and name in Model Picker Activity 2019-05-08 15:54:25 +07:00
Darcy Wong
220ca0b5e8 Add model info menu 2019-05-08 10:37:44 +07:00
Darcy Wong
08d8fb834e Start model picker menu 2019-05-08 09:22:59 +07:00
Darcy Wong
880993a575 Add associated keyboard info
In preparation for "Language Settings" menu, include the info to the Intent:
* language ID
* language Name
* Associated keyboard names
2019-05-07 11:03:30 +07:00
Darcy Wong
94bca801ff Add "right arrow" and "add keyboard" buttons 2019-05-06 16:58:43 +07:00
Darcy Wong
8de5556e10 Start new "Languages Settings" menu 2019-05-06 16:58:43 +07:00
Darcy Wong
1f8ad67243 Refactor list toolbars 2019-05-06 16:58:43 +07:00
Darcy Wong
ed092bd79f
Merge pull request #1729 from keymanapp/android-fix-banner-kludge
[Android] Accommodate dimension for device banner
2019-04-25 07:43:44 +07:00
Darcy Wong
10f43eec76 Update dependencies again
Android Studio is warning  a call (from Firebase) will be deprecated end of 2019. This updates the versions of
* Frebase
* Gradle from 4.10.1 to 5.1.1

Also stubs a missing keyboard event handler in some of the sample/test projects.
2019-04-24 14:26:40 +07:00
Darcy Wong
b8fc0ca253 Use larger banner heights on tablets 2019-04-24 13:12:55 +07:00
Darcy Wong
0f1de177ce Account for banner height on device rotations 2019-04-24 11:49:21 +07:00
Joshua Horton
56a2bfe4ef
Merge pull request #1732 from keymanapp/web-embed-apply-suggestion
In-app acceptance of predictive suggestions
2019-04-24 08:40:10 +07:00
Darcy Wong
d435270282 Clean up debug statements 2019-04-23 13:26:47 +07:00
Darcy Wong
f41a377520 Transition between "blank" and "suggestion" banners 2019-04-23 11:47:15 +07:00
jahorton
24dca0e6a6 Adds documentation, integrates partially for iOS. 2019-04-23 09:16:42 +07:00
Darcy Wong
51248da0a2 Allow app to set default banner height 2019-04-22 22:44:21 +07:00
jahorton
8cbbd9d961 Baseline in-app suggestion acceptance 2019-04-22 15:26:33 +07:00
Darcy Wong
9cdd0c2e18 Use unminified KMW when building debug app 2019-04-22 09:36:51 +07:00
Darcy Wong
258a6402f6 Clean up
* Remove test code for `setBanner`
* Clean up getKeyboardLayoutParams
2019-04-19 13:32:03 +07:00
Darcy Wong
242b5ac839 Accommodate dimension for Android device banner
* Also have Android app track the banner (suggestion vs blank) on lexical model change
2019-04-19 06:58:14 +07:00
Darcy Wong
11f76b648f Update KMManager to resize Keyman when banner changes 2019-04-04 16:06:05 +07:00
Darcy Wong
ea998309af Add ability for app to toggle between 'blank' and 'suggestion' banner 2019-04-04 13:44:55 +07:00
Darcy Wong
9dc935be30 Cleanup comments 2019-04-02 23:50:08 +07:00
Darcy Wong
0487e6356a Add banner dimensions for other Android devices 2019-04-02 23:32:56 +07:00
Darcy Wong
f8697640c5 Change text styling 2019-04-02 14:52:37 +07:00
Darcy Wong
d99bd10a8a Adjust for banner height 2019-04-01 16:08:14 +07:00
Darcy Wong
00a97a68c1 Remove commented code 2019-03-28 15:53:07 +07:00
Darcy Wong
93a8c84de3 log exception when model fails to register 2019-03-27 13:35:54 +07:00
Darcy Wong
8cea2e07d7 Fix modelSpec passed for registration
* Also read in lexical models list
2019-03-27 10:37:10 +07:00
Darcy Wong
7ea8da554f Add associated lexical model 2019-03-26 16:40:20 +07:00
Darcy Wong
67a43243b7 Start integrating lexical model installs to KMW 2019-03-26 16:22:03 +07:00
Darcy Wong
a67dc72f3c Fix the build
Revert some import statements that #1654 "cleaned up" but are still needed in #1653
2019-03-08 13:48:34 +07:00
Darcy Wong
1472a76603
Merge pull request #1654 from keymanapp/android-stash-dependencies
[Android] Update dependencies
2019-03-08 09:46:10 +07:00
Darcy Wong
ae68c483a7 Update dependencies
* Update compile/target SDK version from 27 to 28
*  Migrate appcompat namespace (See https://developer.android.com/jetpack/androidx/migrate)
2019-03-06 16:20:26 +07:00
Darcy Wong
37f9050742 Get lexical model package from API
* Also update TC reporter of unit tests
2019-03-06 08:51:33 +07:00
Darcy Wong
2c3701608d Missed one cleanup 2019-03-05 15:32:23 +07:00
Darcy Wong
19f3e880e9 Address review comments 2019-03-05 15:11:29 +07:00
Darcy Wong
e55b71e9e8 Cleanup headers 2019-03-01 09:44:23 +07:00
Darcy Wong
f9210a0fde Cleanup 2019-02-28 22:01:33 +07:00