Commit graph

81 commits

Author SHA1 Message Date
jahorton
963b9213b3 change(ios): restores original return style 2020-01-24 13:05:56 +07:00
jahorton
ef7871d8a0 fix(ios): Fixes embedded subkey layer-shifting 2020-01-24 13:02:26 +07:00
jahorton
7addf5cf3b Merges the duplicated vkbd adjustHeights() method 2019-09-02 15:39:45 +07:00
Marc Durdin
4dfb8b1895 [web] Adjust position of subkeys and key previews for iOS (needs test against Android); fixup init order error with correctOSKTextSize 2019-07-01 12:27:20 +10:00
Marc Durdin
f8d1283a0b Add constants, TODOs 2019-06-19 09:01:43 +10:00
Marc Durdin
90a6bf175d Apply changes to embedded version of adjustHeights 2019-06-19 08:57:31 +10:00
Marc Durdin
494cd52de4 Fix kmw-key-square positioning and adjust findNearestKey for over-key situations 2019-06-19 08:41:02 +10:00
jahorton
35ae108add Fix for embedded Mock-targetted processing 2019-06-05 10:39:18 +07:00
jahorton
ed5448ba98 Fixes Android regression within PR. 2019-05-17 11:09:16 +07:00
jahorton
6706522d67 Fixes minor test bugs, calcs key dist from touches 2019-05-16 11:38:38 +07:00
jahorton
7974ab7735 Calculates vertical center of OSK/layout rows. 2019-05-15 13:38:42 +07:00
jahorton
ea7b7ea380 Finishes up kmwembedded.ts method. 2019-05-14 15:02:44 +07:00
jahorton
efb0350bac Adds support for rotating suggestions in KMW. 2019-05-14 15:00:48 +07:00
jahorton
6eb59e5bd7 Initial pred. text longpress support (Android) 2019-05-13 15:04:21 +07:00
jahorton
d0fb13f768 Better documents KMW longpress management funcs. 2019-05-13 09:25:51 +07:00
jahorton
e27d351e51 Tweaks kmwembedded's touchMenuPos. 2019-05-02 08:26:48 +07:00
jahorton
194d105ed2 Fixes Android OSK enter-key regression 2019-04-24 09:07:38 +07:00
Darcy Wong
d435270282 Clean up debug statements 2019-04-23 13:26:47 +07:00
Darcy Wong
17f093a69f Adjust key previews by banner height 2019-04-23 09:06:58 +07:00
Darcy Wong
51248da0a2 Allow app to set default banner height 2019-04-22 22:44:21 +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
9dc935be30 Cleanup comments 2019-04-02 23:50:08 +07:00
Darcy Wong
d99bd10a8a Adjust for banner height 2019-04-01 16:08:14 +07:00
Darcy Wong
36f8edb875 Remove unneeded enable
Remove setting `modelManager.enable = true;`
2019-03-27 08:33:30 +07:00
Darcy Wong
67a43243b7 Start integrating lexical model installs to KMW 2019-03-26 16:22:03 +07:00
Darcy Wong
319a556a67 Address review comments 2019-03-21 14:48:44 +07:00
Darcy Wong
af0cefb104 Merge remote-tracking branch 'origin/master' into web-suggestion-ui 2019-03-19 08:44:29 +07:00
Darcy Wong
5d3c5504bb Cleanup
* Separate `getBannerHeight`, `getKeyboardHeight`, and `get Height`
* Add typing to banner height
2019-03-19 08:43:50 +07:00
Darcy Wong
25c779e193 Add method to compute the rows height 2019-03-19 08:15:13 +07:00
Darcy Wong
94a9ab4a00 Clean up adjustHeights()
The methods in `kmwnative.ts` and `kmwembedded.ts` are nearly identical.

Also added a few pixels to the Android OSK dimensions.
2019-03-18 15:45:23 +07:00
Darcy Wong
b91427394a Factor banner height on mobile view 2019-03-18 13:27:33 +07:00
Darcy
7a39380cea Start incorporating banner height 2019-03-15 15:36:34 +07:00
Joshua A. Horton
bc1f0a4420 Addresses PR review; extended defaultKeyOutput should affect OSK too. 2019-03-14 15:49:37 +07:00
Darcy
2074956bf9 Add methods to control visibility and enable 2019-03-14 15:42:38 +07:00
Joshua A. Horton
f018b988e6 Funnels 'embedded'-path external-keyboard handling through Processor. 2019-03-14 14:26:49 +07:00
Joshua A. Horton
a3174069c8 Partially refactors 'embedded'-mode subkey preprocessing. 2019-03-14 13:54:01 +07:00
Joshua A. Horton
539ab17b7a Partial refactor of embedded-mode popup key execution. 2019-03-14 13:05:23 +07:00
Joshua A. Horton
1d363676f7 Fixes lack of longpress output on embedded subkeys. 2019-03-12 12:39:22 +07:00
Joshua A. Horton
095d2f4f2f The embedded path had a few details missed on a recent refactor. 2019-03-12 11:48:39 +07:00
Joshua Horton
0abc5976a7
Merge pull request #1622 from keymanapp/web-processing-refactor
[Web] Processing refactor
2019-03-04 10:14:11 +07:00
Joshua A. Horton
4665a5abd5 Fixes mobile app longpress key regression. 2019-03-04 09:25:53 +07:00
Joshua A. Horton
2faf0e0826 Significant refactoring of key -> keyboard logic. 2019-02-25 10:17:31 +07:00
Joshua A. Horton
e56dc00ee8 Merge branch 'master' into web-touch-alias-refactor 2019-02-15 08:34:29 +07:00
Joshua A. Horton
f5f7e16187 Accidentally broke embedded compilation for a moment. 2019-02-08 00:46:46 +07:00
Joshua A. Horton
87bd9cabb1 Tidies up some of the recent refactor work. 2019-02-06 23:36:48 +07:00
Joshua A. Horton
02e37a4808 Replaces the keyboard param Pelem with its corresponding ele interface. 2019-02-06 01:48:31 +07:00
Joshua A. Horton
ba769e67c3 Merge branch 'beta' into p5s2-merge 2019-02-04 21:02:15 +07:00
Joshua A. Horton
d637c24ff8 Integrates element interfaces into KMW's 'embedded' mode. 2019-02-01 21:50:29 +07:00
Joshua A. Horton
1ed13e4242 Cleanup - removes some engine variables moved into element interfaces. 2019-01-31 03:57:35 +07:00
Joshua A. Horton
c1403c8d8d Extracts some dom-related util API into targetable module for tools. 2019-01-24 21:07:39 +07:00