- Jan 08, 2025
-
-
Issue: Valid words are being erroneously flagged by the spellchecker when followed by a period. Resolution: Valid words followed by periods are no longer flagged. Invalid words followed by periods are still flagged, and the intent behind the existing logic to flag and suggest valid words on either side of a period within a token should not be impacted by this change. Additional considerations for CHECKABILITY_CONTAINS_PERIOD: * Empty words are considered invalid. In CHECKABILITY_CONTAINS_PERIOD, when a period was the first or last index of text, splitting that text on periods caused suggestions to consider potentially valid words to be invalid. For example, "this.example." should suggest "this example" or "this example.", but no suggestions were being given due to the trailing empty string resulting from the split operation being considered invalid. This PR modifies this behavior such that empty split tokens will not be considered toward word validity when generating suggestions for text containing periods. * Single word sentences (like "Groovy.") were being flagged as invalid since the word only exists in the main dictionary as lower case, but the validity check within CHECKABILITY_CONTAINS_PERIOD sent text over as is. This PR adds, specific to the period checkability logic, a fallback validity check for words set to lower case. Fixes: https://gitlab.com/LineageOS/issues/android/-/issues/4861 Change-Id: Ie445533544fb3ed4b8d2fa6b554e03e0ae5a960f
-
Theme the swipe components which still had the old visual style to fit with the new Material You one. This includes colored swipe trails that match dynamic accents as well as new popup hover boxes for the swipe word completion. Material Light/Dark themes remain visually untouched. Here is what it looks like: https://i.imgur.com/WMXjiKz.png https://i.imgur.com/C3C3ft8.png https://i.imgur.com/B6XTaJP.png https://i.imgur.com/x5SIg4Z.png Change-Id: I8b2a048d27ac0687e08a1f073a49da0843a0b297
-
Update ´Follow system settings´ to ´Material - follow system settings´. Change-Id: I3c24434f69f91ad58fea52e352351f87d7d3d064
-
Change-Id: Id95a26c2fbe182e366d9ebbfb53f6457dbb48167
-
Change-Id: I1d754a114f937cd6e7884ca20406213c0f70e0e6
-
Includes I9ce763108223428a99479b91d872d6f76afacb5d. Co-authored-by:
Georg Veichtlbauer <georg@vware.at> Change-Id: I319f7b069593861beda22b99406b8612d823776c
-
Test: m Change-Id: Ie2850553acb9a25e30a47428ee61009199b99bdb
-
* Settings -> System -> Languages & Input -> On-screen keyboard -> Android-Keyboard (AOSP) -> Appearance & Layouts -> Customized * The add-icon in the actionbar is close to invisible on light theme, since the color is hardcoded to white * Import the same add icon as vector drawable instead and set the fillColor to colorControlNormal - that way it's looking properly on both, dark AND light theme Includes I47f163fb66c1fd3d0421d09d443c7c5ac579ff6a, "Fix up line endings". Change-Id: I8fa23f0efaa6c7ab6982eeab64aad8bf86628153
-
The hardcoded value was not allowing adjusting the actionbar height, make this follow the overalyable row height The value is incremented by one as the actionbar is considered one row. Change-Id: Ia3135bf5a3ef38224ce4e7dadc812faf9efeb69d
-
Change-Id: I3603948e7181bb0027addc0a8bb227f1370ae977
-
* Other components like KeyboardBuilder use this method and are not guaranteed to pass a valid themeId (e.g. because it requests one of the removed keyboard themes) * In those cases lookup the default keyboard with DEFAULT_THEME_ID and use that to return the theme name Fixes: Spellchecker not doing its' job Fixes: java.lang.NullPointerException: Attempt to read from field 'java.lang.String com.android.inputmethod.keyboard.KeyboardTheme.mThemeName' on a null object reference at com.android.inputmethod.keyboard.KeyboardTheme.getKeyboardThemeName(KeyboardTheme.java:123) Change-Id: Ib7b7b516c7747700b4e05073b806814d9da95238
-
An enhanced variant of Bulgarian keyboard, proposed by 500 people. Signed-off-by:
Iliya Bazlyankov <iliya.bazlyankov@unicart.bg> Change-Id: I94acd74a1ebf9f4af656e425e1cf205ca23d8de0 Test: Manual test by building the code
-
Seems stable and useful. Note the resize keyboard preference that enables changing the keyboard height is removed, as it needlessly complicates the settings screen. Change-Id: I74a3dfca4f75eb5b15a05641c0929f28d0a66967
-
* When going to a sub setting menu and pressing the action bar up arrow instead of the device's back key, the settings are closed instead of going one level up as expected * Call "onBackPressed" instead of "finish" to fix that * For InputMethodSettings create a new flag to alter the behaviour for our use case but to keep existing behaviour for other callers Test: - Open the keyboard settings from Settings app and navigate between menus -> action bar back icon only goes one levelup - Open keyboard settings directly from keyboard: behaviour is the same, last "up" action takes you back to where you came from Change-Id: I4f01e80e7f35ddbd2af1baae899d689f1144a5a1
-
* In order to make it look less like it doesn't belong to settings, remove the divider lines that are currently everywhere * Instead of removing the dividers per fragment, create a custom fragment which does the job Test: * Go to every setting and verify that there are no divider lines between every preference Change-Id: Id76dfa2e3ce3999242c8dd09a531ab06ccacd203
-
Change-Id: I6a51ea0053a021d02617d71b55c8f8536d4d9309
-
Change-Id: Ie53bcb49b568a44a7bdcc8c7437d9981062487b6
-
* LatinIME: Add Australia wordlist Based of EN_GB while fixing up a few things. Change-Id: Ic9f01e0a260a0f4eb7c994a5ad4533a28e6d2af3
-
This layout is a Dvorak-like initiative, used mainly in France, that can be used to type any language with more ease that QWERTY & Co. It is already supported out of the box by most Linux/BSD distributions. I used http://linuxfr.org/users/jpec/journaux/de-la-conception-d-une-disposition-bepo-pour-android as an inspiration for a variant more adapted to phones. See http://bepo.fr/ for more information about the layout. Change-Id: I6a5b43608d23cf99ddde4e241e1691aae3ff8098
-
Change-Id: I6658bae54793c59b3c0839edda6933950920185e
-
We include more dictionaries than stock builds so let's also enable spell checking for languages that use only the supported unicode characters. Change-Id: Iff9aea56edde10e47a754df39682f4f72c269756 LatinIME: Enable Greek spell checking * We already ship a dictionary for Greek Change-Id: I99ee7c98a88515c4c69b654210c10696135d7560 Add support for Ukrainian spell checking Change-Id: Ie8a39c9206ec1a2e4cccc43d77890abe00080747 Add support for Polish spell checking * The script type for Polish is Latin, so no need to add it to ScriptUtils Change-Id: I5203c56858912ea53bc6069e23fa136af60361bf Add support for Czech spell checking * Czech script type is Latin so no need to add it in ScriptUtils Change-Id: I62085658ff7f7bbbca79e9895d57f1adb48592d4 Add support for Croatian spell checking * The script type for Croatian is Latin, so no need to add it to ScriptUtils Change-Id: I057ba38adf705e62b16ee9e2d2aa7d46bf3b865f Add support for Hebrew spell checking * Hebrew type is already declared in ScriptUtils Change-Id: Id420c256b298d9692d8c415dfc75bd4d3116ca29 Add support for Portuguese spell checking * Script type for Portuguese (Portugal) is Latin so no need to add it in ScriptUtils Change-Id: I2955f267a1f7d81b9180cf4c53718f72724f782d Add support for Bulgarian spell checking Change-Id: I9ff3c73979e68a7a11a657aa6e83769da6607115 Add support for Georgian spell checking * Georgian script type is already defined in ScriptUtils Change-Id: I7e1eb3e985aa44903baed918f58bb6aaace15147 Add in spellchecker.xml support for en_AU, lt, lv, nl, ro, sl, sr, tr Settings for missing dictionaries in menu. Now the xml file have the same amount of 32 (+hu_zz) languages as all .dict files. https://github.com/LineageOS/android_vendor_lineage/tree/lineage-16.0/overlay/dictionaries/packages/inputmethods/LatinIME/java/res/raw https://github.com/LineageOS/android_packages_inputmethods_LatinIME/tree/lineage-16.0/java/res/raw Change-Id: I9fa6245f57a0976d96e0dab37c2e25ef1180e899 Change-Id: I425f0163cd0b34917d6041d75c0e244526ddc268
-
* Generated from the current dictionaries in vendor/cm Includes: Author: Eloi Carracedo <eloimuns@gmail.com> Date: Mon Jun 1 10:36:24 2020 +0200 Update Bulgarian wordlist Sourced from: https://github.com/dslul/openboard/pull/108 A total of approximately 750 words and their forms were added. The first line was amended with the new version and a correction for the name of the dictionary, which did not list the language name with a capitalized first letter as it should have. The newly added words are mostly names of local dishes (cuisine), old or dialect words, Turkish loanwords that are commonplace, curses and offensive words and words pertaining to gender studies. As is noted in the original source (https://github.com/dslul/openboard/issues/105), the new lines received the addition of ',flags=originalFreq=' for future proofing, but the old lines did not. Other things to note if somebody wishes to improve this in the future: 1. The general frequency is skewed and needs to be heavily improved. 2. Offensive and possibly offensive flags are missing, as are any other flags that may exist. 3. Common personal and family names, famous historical figures' names, as well as monikers and/or celebrities' pseudonyms could be added to further enrich the dictionary. 4. The prefixes 'по' and 'най' (hyphenated in front of certain words) can't be handled by the dictionary as is. Change-Id: Ibe4a1578a6d88ffbd8acc8150aa0acd3f3237010 Change-Id: I958af20e44f87a097645ccf0bd96879ef3d72048
-
Fixes the runtime exception 'Wrong script supplied: 5' Change-Id: Id4f244f7e229532998e846a8d41749d90f7913bd Signed-Off-By:
Vasyl Gello <vasek.gello@gmail.com>
-
Declaring the script type as Cyrillic leads to usage of 'east_slavic' template, which is incorrect for Bulgarian layout. Signed-Off-By:
Vasyl Gello <vasek.gello@gmail.com> Change-Id: Ieec27701367f00c4b5e345cee7bf387f923da8f1
-
* I'm in ur productivity, increasin' it. Change-Id: I688bed9c3db7ef8d2c9dd5e4af72a65eb7f37966 Unbreak QWERTZ keyboards Adding "more" keys to ALL the keys broke QWERTZ keyboards. Fix it by adding seperate XMLs for QWERTZ. Change-Id: Iccf10139cf02cab2a773c7085aadac8538359a16 LatinIME: Add "more" keys to ALL the keys in Greek layouts Change-Id: I120e7b94abd71baf24c97afbd20cf2c6c76df6ef LatinIME: Apply "Enable more keys for top row on tablets" (f6620308ba) and "Add "more" keys to ALL the keys" (c561f31af9) to slavik layouts. Change-Id: Ic6fea3faecc5783d99f5257a4501e37b79f40fdf Rearrange morekeys Some of the symbols such as *,!,-,+ were moved in kitkat, this moves the moreKeys to be inline with the moves. Change-Id: I5aff699b268dd32a5b1e4539163e6ec153021f0a Rearrange Slavic & Greek morekeys * Following the previous change Change-Id: I5b5a9bff8dd97c0bf31bc5e28245a9c14662d583
-
They're likely to be caused by palm touches. Change-Id: Ic1e0b86c5bf5d4c22f888f0bb77342584e45763e
-
Prefer the JNI lib with gesture typing support. If not available / installed fall back to the standard one without geture typing. Change-Id: I70a5f43386a9c72809a70bd286f3702378d6f9be LatinIME: Only enable gesture mode if gesture lib is available * Prevents keyboard FC when gapps is not loaded. Change-Id: I0d48e1cd80534513205f61913c798b48573ea38c LatinIME: Remove gesture preference if gesture lib is unavailable Gesture typing won't work without the gesture library, so remove the preference to not mislead users into thinking that gesture typing is supported. Change-Id: I387ae83fd174b57fc48fe7bcfc37e3010ce89b12
-
* This sound is horrible and tablet users shouldn't be subject to listening to it through setupwizard either. Change-Id: Ia6b6db31fb9a986c2a68773dc69524aed5e5af08
-
* Add Burmese Change-Id: I650fdac232bb1aa6c35798e782edaa2ab829c5fc
-
Don't learn suggestions when input specifies the IME_FLAG_NO_PERSONALIZED_LEARNING flag Change-Id: I224c36deda560657996cffa2922392a64e45b53f Signed-off-by:
Joey <joey@lineageos.org>
-
Change-Id: I6e6717dc7487eeafca121e94d93aff5c3aae5f6c
-
* Part of the new iconset made by Asher Simonds Co-authored-by:
Michael W <baddaemon87@gmail.com> Change-Id: I34227f160f862bafb157095cff345852953c604b
-
- Sep 07, 2024
-
-
Android Build Coastguard Worker authored
Change-Id: I4bf53532e95e637806ee5c7882f65485e79cfa09
-