Commit graph

56 commits

Author SHA1 Message Date
jahorton
7addf5cf3b Merges the duplicated vkbd adjustHeights() method 2019-09-02 15:39:45 +07:00
Marc Durdin
f8d1283a0b Add constants, TODOs 2019-06-19 09:01:43 +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
Marc Durdin
2ca79c7682 [Web] Tweak positioning of banner and layout of OSK 2019-06-17 12:57:34 +10: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
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
Joshua A. Horton
d94d47fade Fixes Android suggestion-select. 2019-04-10 13:26:41 +07:00
Joshua A. Horton
6882e43c11 Merge branch 'master' into web-banner-touch-handling 2019-04-09 15:27:23 +07:00
Joshua A. Horton
ae3a6a5b2a Start of touch support for Banner Suggestions. 2019-04-02 10:27:15 +07:00
Darcy Wong
d99bd10a8a Adjust for banner height 2019-04-01 16:08:14 +07:00
Darcy Wong
319a556a67 Address review comments 2019-03-21 14:48:44 +07:00
Darcy Wong
7323a6a110 Adjust suggestion styling
* Use full width
* Remove "extra" blank region
2019-03-21 09:03:12 +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
Darcy
2074956bf9 Add methods to control visibility and enable 2019-03-14 15:42:38 +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
ebce04fdca Moves text-processing related files to text namespace. 2019-02-07 02:28:27 +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
5c282ba981 Integrates element interfaces into KMW proper. 2019-01-31 03:39:33 +07:00
Joshua A. Horton
510d1ea4bf Integrates the newly-refactored TouchAliasElement into KMW. 2019-01-28 04:37:13 +07:00
Joshua A. Horton
0026d5ae08 Extracts some dom-related util API into targetable module for tools. 2019-01-26 00:26:54 +07:00
Joshua A. Horton
62bdfc6674 KeymanWeb - versioning update for beta. 2019-01-15 08:52:43 +07:00
Joshua A. Horton
3800576965 Adds better typing for OSK keys, some related fixes. 2019-01-11 10:25:52 +07:00
Joshua A. Horton
e58aa60504 Initial reorganization of OSK code complete. Regressions exist, though. 2019-01-10 11:54:47 +07:00
Joshua A. Horton
5606dd0fe3 Addresses PR issue re documentation. 2019-01-03 08:45:31 +07:00
Joshua A. Horton
62b794d3ae Publishes the alignInputs() function as API for touch-alias correction. 2019-01-03 08:45:31 +07:00
Joshua A. Horton
9eabaee5f9 Addresses PR issue re documentation. 2019-01-02 07:56:05 +07:00
Joshua A. Horton
b84aa0d20e Publishes the alignInputs() function as API for touch-alias correction. 2018-12-19 12:50:46 +07:00
Joshua A. Horton
e16c1a7ea5 Tidies up all the documentation and intermediate notes. 2018-12-12 15:30:55 +07:00
Joshua A. Horton
caee038036 Finishes tweaking key previews. 2018-12-12 13:02:37 +07:00
Joshua A. Horton
c8055511a1 Fixes key previews, starts dynamic adjustment of key cap font sizing. 2018-12-12 13:00:06 +07:00
Joshua A. Horton
73df886272 Encapsulates fixed KMW rotation behavior with minor refactor. 2018-05-02 10:30:56 +07:00
Joshua A. Horton
e2a8e13c07 Created an integrated rotation testing page. Needs more work. 2018-04-30 15:39:31 +07:00
Joshua A. Horton
cf5a2483f7 Added some base code toward testing rotation-related events. 2018-04-30 11:27:04 +07:00
Joshua A. Horton
73e2bd4ced Resolves iOS rotation issue via timeout, due to event timing issues. 2018-04-27 13:36:06 +07:00
Joshua A. Horton
b68d63fe68 Fixes rotation resizing for iOS native. 2018-04-26 15:20:49 +07:00
Joshua A. Horton
ba76a734e0 Rewired most of the Util.instanceof calls to use TS-friendlier versions. 2018-02-02 12:40:22 +07:00
Joshua A. Horton
beadfc30ef Deals (partly?) with IE's .parentWindow property. 2018-01-26 08:32:41 +07:00
Joshua A. Horton
983fe8ca6a Removes document.selection and its codepaths from the KMW engine. 2018-01-25 08:36:54 +07:00
Joshua A. Horton
a0e1783061 Outside of initialization code and the debug API, completes the keymanweb.ts refactor. 2018-01-24 12:20:09 +07:00
Joshua A. Horton
ad228fbfbd Refactors numerous DOM-related state variables out of kmwbase.ts and into the appropriate DOM-related sources. 2018-01-24 10:07:04 +07:00
Joshua A. Horton
51a1b886e2 Refactored ActiveElement, element focusing, and a few other methods. 2018-01-23 12:21:52 +07:00
Joshua A. Horton
d234be6a74 Merge branch 'web-typescript-typed-callbacks' into web-typescript-dom-module 2018-01-23 09:00:35 +07:00
Joshua A. Horton
95068cec55 Moved core attachment functions into the new DOMManager object. 2018-01-11 11:05:06 +07:00