- Aug 23, 2023
-
-
Nick authored
* checking if resources object is equal is not enough * fixes Material You accent not updating when switching light/dark mode Change-Id: I798041cdcbf6b7bbcdc69f4edbb9d0bf392bbb69
-
- Aug 05, 2023
-
-
The deleted text should not appear after screen orientation changes. When change screen orientation, if the text in editText doesn't contain typedWord, reset mWordCompser. The cases are as follows: 1. Enter a word that is not in the dictionary to a editText, and enter space 2. Select this word and delete it through the pop-up window 3. Change the screen orientation Bug: 74163611 Change-Id: I25b2937921851c7dffbcc66216fea52e8c404824 Signed-off-by:
Mohammad Hasan Keramat J <ikeramat@protonmail.com>
-
English dictionary item is deleted from Database when enter AOSP settings at the second time. Add a judgement to avoid English dictionary item to be deleted. Change-Id: I5a69d583db5585ae4dcc9a888bb66c9bf98fe82f CRs-Fixed: 857148 Signed-off-by:
Mohammad Hasan Keramat J <ikeramat@protonmail.com>
-
- Jul 29, 2023
-
-
Mohammad Hasan Keramat J authored
Merge tag 'android-13.0.0_r52' of https://android.googlesource.com/platform/packages/inputmethods/LatinIME into thirteen Android 13.0.0 Release 52 (TQ3A.230605.012) Change-Id: Ia5dfb415b84ac7a66ce16688c4bb5a5c1542579f Signed-off-by:
Mohammad Hasan Keramat J <ikeramat@protonmail.com>
-
- Jun 08, 2023
-
-
Change-Id: I6228cc25bcbe59c4d30f1207aa8bc7cacee806ce Signed-off-by:
Mohammad Hasan Keramat J <ikeramat@protonmail.com>
-
Update to Emoji 15.0 From: https://unicode.org/emoji/charts-15.0/full-emoji-list.html Change-Id: Ic8db8cde54bb72a21d6cac39a84e5cad08c847d0 Signed-off-by:
Mohammad Hasan Keramat J <ikeramat@protonmail.com>
-
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 Signed-off-by:
Mohammad Hasan Keramat J <ikeramat@protonmail.com>
-
- Jan 20, 2023
-
-
Co-authored-by:
nift4 <nift4@protonmail.com> Change-Id: I11344e95e32566507f937d6b72b6212e3cba2220 Signed-off-by:
Mohammad Hasan Keramat J <ikeramat@protonmail.com>
-
This reverts commit 74233f6c. Signed-off-by:
Mohammad Hasan Keramat J <ikeramat@protonmail.com> Change-Id: Ied548d9d315de2ad27ebb08c0a984cb8117d8d5c
-
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 Signed-off-by:
Mohammad Hasan Keramat J <ikeramat@protonmail.com>
-
Change-Id: I81abe0b2ed71dc9b78f58724cfc8ad9e2850a171 Signed-off-by:
Mohammad Hasan Keramat J <ikeramat@protonmail.com>
-
Update ´Follow system settings´ to ´Material - follow system settings´. Change-Id: I3c24434f69f91ad58fea52e352351f87d7d3d064 Signed-off-by:
Mohammad Hasan Keramat J <ikeramat@protonmail.com>
-
Change-Id: Id95a26c2fbe182e366d9ebbfb53f6457dbb48167 Signed-off-by:
Mohammad Hasan Keramat J <ikeramat@protonmail.com>
-
Change-Id: I1d754a114f937cd6e7884ca20406213c0f70e0e6 Signed-off-by:
Mohammad Hasan Keramat J <ikeramat@protonmail.com>
-
* Keep it hidden when language switch is visible since there is no room for more keys. * Make the emoji key look like other keys. * Remove the additional emoji key from enter and more keys menu. Change-Id: I45bc72d833e2737b40bbfeac1bf175b8ebab2b7b Signed-off-by:
Mohammad Hasan Keramat J <ikeramat@protonmail.com>
-
Change-Id: I319f7b069593861beda22b99406b8612d823776c Signed-off-by:
Mohammad Hasan Keramat J <ikeramat@protonmail.com>
-
Test: m Change-Id: Ie2850553acb9a25e30a47428ee61009199b99bdb Signed-off-by:
Mohammad Hasan Keramat J <ikeramat@protonmail.com>
-
* onResume() of AppearanceSettingsFragment gets called before onPause() of CustomInputStyleSettingsFragment * Instead, save after each modification so the lifecycle doesn't matter Change-Id: If5c5df8b589c08df61eea2643c217e9665a01002 Signed-off-by:
Mohammad Hasan Keramat J <ikeramat@protonmail.com>
-
* All these ICS, KLP and HOLO resources aren't used anywhere Change-Id: I7c04999848d5536518263f2858704d547ff8abd0 Signed-off-by:
Mohammad Hasan Keramat J <ikeramat@protonmail.com>
-
* 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 Change-Id: I8fa23f0efaa6c7ab6982eeab64aad8bf86628153 Signed-off-by:
Mohammad Hasan Keramat J <ikeramat@protonmail.com>
-
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 Signed-off-by:
Mohammad Hasan Keramat J <ikeramat@protonmail.com>
-
Change-Id: I3603948e7181bb0027addc0a8bb227f1370ae977 Signed-off-by:
Mohammad Hasan Keramat J <ikeramat@protonmail.com>
-
* 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 Signed-off-by:
Mohammad Hasan Keramat J <ikeramat@protonmail.com>
-
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 Signed-off-by:
Mohammad Hasan Keramat J <ikeramat@protonmail.com>
-
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 Signed-off-by:
Mohammad Hasan Keramat J <ikeramat@protonmail.com>
-
* 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 Signed-off-by:
Mohammad Hasan Keramat J <ikeramat@protonmail.com>
-
* 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 Signed-off-by:
Mohammad Hasan Keramat J <ikeramat@protonmail.com>
-
* Remove Holo keyboard selection Change-Id: I2a67bc147afd9f5c86f0c723eda70083891707cd Signed-off-by:
Mohammad Hasan Keramat J <ikeramat@protonmail.com>
-
* Add a setting to follow the system design (light/dark) * Make it default for >= Q * Rework the handling to differentiate between selected theme (by id) and actual theme we use Change-Id: I380e3540b2437102685aa632c5b0a2f2dff11e1b Signed-off-by:
Mohammad Hasan Keramat J <ikeramat@protonmail.com>
-
Change-Id: I6a51ea0053a021d02617d71b55c8f8536d4d9309 Signed-off-by:
Mohammad Hasan Keramat J <ikeramat@protonmail.com>
-
Change-Id: Ie53bcb49b568a44a7bdcc8c7437d9981062487b6 Signed-off-by:
Mohammad Hasan Keramat J <ikeramat@protonmail.com>
-
* LatinIME: Add Australia wordlist Based of EN_GB while fixing up a few things. Change-Id: Ic9f01e0a260a0f4eb7c994a5ad4533a28e6d2af3 Signed-off-by:
Mohammad Hasan Keramat J <ikeramat@protonmail.com>
-
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 Signed-off-by:
Mohammad Hasan Keramat J <ikeramat@protonmail.com>
-
Change-Id: Ic75020618d11d55833183449fb40fc39f539b335 Signed-off-by:
Mohammad Hasan Keramat J <ikeramat@protonmail.com>
-
Change-Id: I6658bae54793c59b3c0839edda6933950920185e Signed-off-by:
Mohammad Hasan Keramat J <ikeramat@protonmail.com>
-
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 Signed-off-by:
Mohammad Hasan Keramat J <ikeramat@protonmail.com>
-
* 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 Signed-off-by:
Mohammad Hasan Keramat J <ikeramat@protonmail.com>
-
Fixes the runtime exception 'Wrong script supplied: 5' Change-Id: Id4f244f7e229532998e846a8d41749d90f7913bd Signed-Off-By:
Vasyl Gello <vasek.gello@gmail.com> Signed-off-by:
Mohammad Hasan Keramat J <ikeramat@protonmail.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 Signed-off-by:
Mohammad Hasan Keramat J <ikeramat@protonmail.com>
-
* 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 Signed-off-by:
Mohammad Hasan Keramat J <ikeramat@protonmail.com>
-