Commit graph

616 commits

Author SHA1 Message Date
BlackyHawky
0edbf9c08a
Add dynamic colors (#277)
Add "dynamic colors" using Android 12+ system colors
Change colors into an interface
* allow the desired more exact copy of colors from Gboard
* avoid needlessly exposing Colors stuffs

---------

Co-authored-by: Helium314 <helium314@mailbox.org>
2023-12-19 07:48:10 +01:00
Helium314
62bff1e68a allow fullscreen mode again, but limit to cases where the keyboard blocks more than 60% of the screen 2023-12-19 00:27:19 +01:00
Helium314
0b55a92e02
Improve main views (#321)
* views now have the same height
* add one-handed mode width setting
* key text and emojis scale more adequately with keyboard height and one-handed mode width
* slightly adjust landscape config to match better with portrait
2023-12-18 17:30:53 +01:00
Helium314
c1516b33d3 add undo and redo codes
now we only need the actual keys for #149
2023-12-15 19:27:47 +01:00
Helium314
18aa209ee7 revert addition of valid word cache, fixes #307 2023-12-15 14:55:41 +01:00
Helium314
8b236fd51a only add number to integrated number row moreKeys
other moreKeys appear to be unwanted, see #324 and #314 (comment)
2023-12-15 11:17:35 +01:00
Helium314
ef4acba9c3 add logging when configuration changed, might help with #298 2023-12-15 10:59:38 +01:00
Helium314
ad9282ea25 add internal logger, so user is able to provide logs on issues 2023-12-15 10:51:46 +01:00
Helium314
245ee27053 add copy key, fixes #253 2023-12-11 23:19:04 +01:00
Helium314
5d173d0981 don't care about icons for invisible keyboard 2023-12-11 20:00:52 +01:00
Helium314
6e6bbbd0da fix addition of emojis to history 2023-12-11 11:18:19 +01:00
Helium314
ca73709a7d update comments 2023-12-11 10:33:19 +01:00
Helium314
3107144f38 load emoji keyboards only when used, and not on keyboard start
ca 30% faster keyboard loading (on first start, or when theme/color change)
ca 5-10% reduced memory use
may result in short loading times when an emoji tab is opened for the first time
2023-12-11 10:03:21 +01:00
Helium314
89f8c44cfc call readAttributes in the right builders directly 2023-12-10 21:34:10 +01:00
Helium314
bb7c1f5242 add setting to show first popup key as hint label 2023-12-10 18:31:03 +01:00
Helium314
c5f3d4bfcf misc improvements, update todo 2023-12-10 15:52:10 +01:00
Helium314
f471cf81ed make space bar trackpad work in apps that always report empty text 2023-12-10 14:22:50 +01:00
Helium314
57423626d3 add numpad landscape layout 2023-12-10 13:44:33 +01:00
Helium314
615fde1a7b add new parser for emoji arrays 2023-12-10 10:49:05 +01:00
Helium314
4406f1b224 use new parser for number layouts (tablet/landscape still missing some keys) 2023-12-09 21:11:46 +01:00
Helium314
100da1beae slightly tune glide typing garbage word detection 2023-12-05 08:14:11 +01:00
Helium314
43987ad037 don't use old parser for moreKeys and moreSuggestions 2023-12-04 16:04:47 +01:00
Helium314
3121bd5816 add pcqwerty layout (functional keys are a bit different now) 2023-12-04 13:26:02 +01:00
Helium314
d438438aca use visual insets instead of spacers for edge keys (fixes #308, #294) 2023-12-04 12:30:06 +01:00
Helium314
2232bc3848 improvements for tablet layouts with new parser 2023-12-04 12:11:53 +01:00
Helium314
8edf006a32 reset parser setting, fix zwnj key background 2023-12-02 10:04:18 +01:00
Helium314
28098a52c7 fix a bunch of mostly small issues with the new parser and layouts
write up some issues for tablet layout (to be fixed later)
2023-12-02 09:28:57 +01:00
Helium314
eafd0d4276 add missing labelFlag to hindi (compact) and marathi
and add debug info for some rarely occurring glitches
2023-12-01 16:16:04 +01:00
Helium314
5eaeb5892f slightly tune when entries are added to user history 2023-12-01 14:26:42 +01:00
Helium314
935dd77cf1 faster recovery from slow input connection 2023-12-01 14:14:29 +01:00
Helium314
cbb1798dc1 fix some issues with layouts
compare old and new parsing when debug mode is on
2023-12-01 00:08:54 +01:00
Helium314
6fc558962f add remaining layouts 2023-11-30 21:47:11 +01:00
Helium314
cb70ee2656 tune glide typing suggestions
prefer multi-letter over single letter suggestions
prefer suggestions that also occur in next word suggestions for this ngram context
(and do some tiny tuning)
2023-11-30 14:57:38 +01:00
Helium314
7397deac57 add cache for next word suggestions 2023-11-30 12:46:26 +01:00
Helium314
006ba16f60 fix issues with some hint labels 2023-11-30 11:25:45 +01:00
Helium314
99cf72684d add layout infos for new parser, to be (re)moved after removing old parser 2023-11-30 11:01:03 +01:00
Helium314
662c6f638d fix localized number row 2023-11-30 10:58:53 +01:00
Helium314
9a3c631a75 always show language on spacebar if multilingual typing is enabled 2023-11-30 09:03:19 +01:00
Helium314
ff06aa9701 fix order of quote moreKeys (#302) 2023-11-30 08:52:00 +01:00
Helium314
38d8365e5b add some more layouts 2023-11-28 21:27:29 +01:00
Helium314
26c890a3e2 add slavic layouts for new parser 2023-11-28 18:34:28 +01:00
Helium314
a1dbfedc0b fix issues with moreKeys in json layouts (e.g. azerty) 2023-11-28 18:30:04 +01:00
Helium314
50b38d7687 fix minor issues with suggestions debug string 2023-11-28 13:48:30 +01:00
Helium314
c43e3efbc1 make internal user dictionary fragment work (mostly) 2023-11-28 11:04:55 +01:00
Helium314
bd3e73ea10 non-null comute for KeyData, comments 2023-11-28 09:18:47 +01:00
Helium314
3f30d5ce1f fix some warnings 2023-11-28 08:32:23 +01:00
Helium314
cd33575446 use auto-adjusted comma label only in alphabet keyboards 2023-11-28 07:50:35 +01:00
BlackyHawky
1b1118f320
Replace and delete images with vector drawable (#296)
* Replace and delete images with vector drawable

- Applied to "ic_ime_switcher_dark";
- "ic_ime_switcher_dark" renamed to "ic_ime_switcher";
- "ic_notify_dictionary" deleted because never used.
2023-11-27 23:56:45 +01:00
Helium314
1c9a8c597c hide toolbar and pinned keys if device is locked, fixes #271 2023-11-27 19:19:33 +01:00
Helium314
79b84a0b58 somewhat improve garbage word issue 2023-11-27 16:51:39 +01:00