Commit graph

467 commits

Author SHA1 Message Date
Darcy Wong
56982bde4e Add two more fixes
* Fix determination of custom keyboard from package
* Add Toast notification when re-installing a lexical model.
2019-05-24 08:18:54 +07:00
Darcy Wong
a19db98e78 Merge remote-tracking branch 'origin/master' into android-download-model 2019-05-23 15:10:22 +07:00
Darcy Wong
1b87308eae Allow pre-existing models to be re-installed 2019-05-23 15:09:03 +07:00
Darcy Wong
086466808b Fix custom model param 2019-05-22 22:52:46 +07:00
Darcy Wong
8eecf9a6e9 Cleanup code 2019-05-22 17:19:32 +07:00
Darcy Wong
fcc45c8a99 Fix model download 2019-05-22 17:11:31 +07:00
Darcy Wong
48dd7a1779 Add hooks to download KMP lexical model from cloud 2019-05-21 16:19:53 +07:00
Darcy Wong
cf56de8008 Check language ID in model lists 2019-05-21 12:08:39 +07:00
Joshua Horton
1a80a3f182
Merge pull request #1778 from keymanapp/web-fat-fingering
[Web] Fat-finger detection + probability generation
2019-05-21 10:01:09 +07:00
Darcy Wong
fd3405ca8b Fix some parsing 2019-05-20 21:54:23 +07:00
Darcy Wong
852d82edd6 Attempt to populate lexical model info 2019-05-20 17:13:37 +07:00
Darcy Wong
4eeda9ac0e More wip changes 2019-05-20 11:53:04 +07:00
Darcy Wong
f4ab849989 Fix compilation errors 2019-05-18 09:13:11 +07:00
Darcy Wong
485f6f44a7 More updates to parse lexical model info 2019-05-17 16:25:09 +07:00
jahorton
ca7a7d4ef7 Improved code, but not yet complete. 2019-05-17 16:05:24 +07:00
jahorton
c21919676d Start of a predictive text submenu for Android. 2019-05-17 15:36:34 +07:00
Darcy Wong
a31125554b Rename ModelsPickerActivity to ModelListActivity 2019-05-17 11:37:26 +07:00
jahorton
ed5448ba98 Fixes Android regression within PR. 2019-05-17 11:09:16 +07:00
Darcy Wong
4f1f1dcb4e Fix exception when setting banner height 0 2019-05-17 09:26:27 +07:00
Darcy Wong
3411462961
Merge pull request #1770 from keymanapp/android-language-settings
[Android] Add "Language Settings" menu stub
2019-05-16 16:10:33 +07:00
Darcy Wong
99b4d3a885 Deregister model after uninstalling it 2019-05-16 15:24:58 +07:00
Darcy Wong
ec0508e315 Add code for deleting model 2019-05-16 14:02:00 +07:00
Darcy Wong
6aa743b04d Connect ModelInfo to ModelsPicker 2019-05-15 09:30:23 +07:00
Darcy Wong
301e7e8eb6 Connect ModelsPickerActivity to LanguageSettingsActivity 2019-05-15 08:58:12 +07:00
jahorton
e6bc5db912 Adds note where app longpress needs extension. 2019-05-14 16:21:39 +07:00
Darcy Wong
18328a694a Add keyboard picker to LanguageSettingsActivity 2019-05-14 14:36:31 +07:00
Joshua Horton
0df56cda01
Merge pull request #1773 from keymanapp/web-embed-banner-longpress
[Web, iOS, Android] Base for predictive text longpress
2019-05-14 13:07:04 +07:00
jahorton
1e6085ceed Cleans up Android changes. 2019-05-14 11:57:44 +07:00
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
26b779890a Revert test code in MainActivity 2019-05-09 08:55:31 +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
ea0d9be206 Add null check of keyboard list 2019-05-03 08:51:43 +07:00
Darcy Wong
d263b4c36e Change checkbox label on "Getting Started" activity
Checkbox changed from "Don't show again" to "Show 'Get Started' on startup"
2019-05-02 16:00:00 +07:00
Darcy Wong
fb0b7a8602 Add right arrow icon to preference selection 2019-04-30 15:08:30 +07:00