summaryrefslogtreecommitdiff
path: root/java
Commit message (Collapse)AuthorAgeFilesLines
* Automatic translation importHEADq10.0Michael Bestas2020-06-2217-0/+34
| | | | Change-Id: Ia0acf47b3b03ebe7c28776878603d0f3b2d1ddb2
* Support polytonic Greek diacritics in the Greek keyboardAlex Henrie2020-05-253-33/+211
| | | | | | | | | | | | | | | | | | | | Although modern Greek is typically written with only acute accent marks, polytonic diacritics are still used by the Greek orthodox church, the Greek newspaper Estia, and students of classical Greek texts. Supporting these special characters is helpful to all of those groups. Note that for the short vowels (epsilon, upsilon, iota, and omicron) all of the diacritics permitted on lowercase letters are also permitted on their uppercase forms. However, for the long vowels (alpha, eta, and omega) the diacritics permitted on uppercase letters are a subset of the diacritics permitted on lowercase letters. That's just how Greek is. Test: Manually turned on the Greek (Greece) keyboard in the aosp_x86-eng emulator and tried out all the new characters with Shift, with Shift Lock, and without any modifiers. Bug: 142007431 Change-Id: Iec4a82cab02aea5176721e8447f7dfdba46bacb3
* Implement text entry key API for accessibility services in AOSP Keyboardryanlwlin2020-05-253-16/+4
| | | | | | | | | | | | | | | | | | | From Android Q, Talkback supports lift-to-type feature if the node claims it is a text entry key via setTextEntryKey(). We implement this API to show how this API is applied. This CL uses AccessibilityNodeInfoCompat instead of AccessibilityNodeInfo so that the same functionality can be used even on pre-Q devices when the AccessibilityService supports it. With that, this CL removes the legacy code of lift-to-type feature, which was implemented in the AOSP Keyboard side. Bug: 131644969 Test: manual - enable Talkback suporting lift-to-type,check Talback perform click action when finger is lifted. Change-Id: I1ec2928f5a9ba0bde999b09d4c0b9c922f179a2a
* Create display context when switching IME to new display for AOSP IMElumark2020-05-252-9/+42
| | | | | | | | | | | | | | | | | | | | To address IME service context's Resources / DisplayMetrics update when switching IME window to another display after onConfigurationChange. We use Context#createDisplayContext to create display specific context when display changed, to ensure soft keyboard can re-layout with correct resources. Bug: 126930163 Test: manual with AOSP IME as below steps: 1) Settings > Developer options > enable "Simulated Display" & "Force desktop mode". 2) Reboot device 3) Launch app (i.e. Contacts) with bluetooth or usb mouse in Simulated display. 4) Tap EditText on app to see see if IME window layout correctly on simulated display. 5) Launch app (i.e Files) on primary display. 6) Tap EditText on app to see if IME window layout correctly on primary display. Change-Id: I0ed6a079af1ed90c75fee1d36d5ce3ef3c41f8ed Merged-In: I0ed6a079af1ed90c75fee1d36d5ce3ef3c41f8ed
* LatinIME: Update key_styles_currency euro lists #2Alexander K2020-05-251-28/+44
| | | | Change-Id: I7d58878b95c10f964d523157d2fea88e7387313c
* LatinIME: Fix back-arrow finishing activityMichael W2020-05-253-4/+12
| | | | | | | | | | | | | | | | | | | | | | * 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
* LatinIME: Remove dividers everywhereMichael W2020-05-256-17/+46
| | | | | | | | | | | * 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
* Automatic translation importMichael Bestas2020-05-233-0/+3
| | | | Change-Id: I6a46d185dfdd5829f1a68455e4f4c77b4755256c
* LatinIME: Remove divider linesMichael W2020-05-182-0/+24
| | | | | | | | * In order to make it look less like it doesn't belong to settings, remove the divider lines that are currently everywhere Change-Id: Ie4a2db64517280da28ac0159390b587a748e95b4
* LatinIME: Do we really still want Holo?Michael W2020-05-182-48/+1
| | | | | | * Remove Holo keyboard selection Change-Id: I2a67bc147afd9f5c86f0c723eda70083891707cd
* LatinIME: Add setting for theme to follow system settingMichael W2020-05-184-22/+46
| | | | | | | | | * 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
* LatinIME: Add Variation Selector-16 to emojis that have default text ↵mimi899992020-04-271-145/+145
| | | | | | presentation Change-Id: I6228cc25bcbe59c4d30f1207aa8bc7cacee806ce
* Automatic translation importMichael Bestas2020-04-23103-98/+294
| | | | Change-Id: Ic1c9d47706f48d2d36c2d0080b2bb7f1fe2f7f5b
* Automatic translation importMichael Bestas2020-03-303-3/+0
| | | | Change-Id: I22c4d5cb7c030fc97ece5a12bdc14a9fa4bcc66f
* Revert "Don't crash when displaying the " key"Michael Bestas2020-03-091-1/+1
| | | | | | | | * No longer needed This reverts commit 85c3cfef90cf1940d0c9c40ad1b58150135465f6. Change-Id: I14ca3f2c0ef5d98bad4b60579cf1e07e713d105c
* LatinIME: Update key_styles_currency euro lists.Arekusu Rin2020-03-091-39/+48
| | | | Change-Id: I6a51ea0053a021d02617d71b55c8f8536d4d9309
* Merge tag 'android-10.0.0_r31' into lineage-17.1-android-10.0.0_r31Luca Stefani2020-03-07580-153652/+153652
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Android 10.0.0 release 31 * tag 'android-10.0.0_r31': (25 commits) Import translations. DO NOT MERGE Import translations. DO NOT MERGE Import translations. DO NOT MERGE Import translations. DO NOT MERGE Import translations. DO NOT MERGE Import translations. DO NOT MERGE Import translations. DO NOT MERGE Import translations. DO NOT MERGE Import translations. DO NOT MERGE Import translations. DO NOT MERGE Import translations. DO NOT MERGE Import translations. DO NOT MERGE Import translations. DO NOT MERGE Import translations. DO NOT MERGE Import translations. DO NOT MERGE Import translations. DO NOT MERGE Import translations. DO NOT MERGE Import translations. DO NOT MERGE Import translations. DO NOT MERGE Import translations. DO NOT MERGE ... Change-Id: I4c6b9ddc46fd0fdf9b60bb15310298940d2712ad
| * Merge "Import translations. DO NOT MERGE" into qt-qpr1-devTreeHugger Robot2019-11-091-1/+1
| |\
| | * Import translations. DO NOT MERGEBill Yi2019-11-091-1/+1
| | | | | | | | | | | | | | | Change-Id: I05c0b930c3ad4874427948f3c7edced4c8d0a838 Auto-generated-cl: translation import
| * | Merge "Import translations. DO NOT MERGE" into qt-qpr1-devTreeHugger Robot2019-11-093-8/+8
| |\ \
| | * | Import translations. DO NOT MERGEBill Yi2019-11-093-8/+8
| | |/ | | | | | | | | | | | | Change-Id: I81bb93f802d6207d6a635ef20d3cf14b8fe63736 Auto-generated-cl: translation import
| * | Merge "Import translations. DO NOT MERGE" into qt-qpr1-devTreeHugger Robot2019-11-092-3/+3
| |\ \
| | * | Import translations. DO NOT MERGEBill Yi2019-11-092-3/+3
| | |/ | | | | | | | | | | | | Change-Id: Ie07900be31c3c8d19e858a8abbb1193bc431da0f Auto-generated-cl: translation import
| * / Import translations. DO NOT MERGEBill Yi2019-11-091-1/+1
| |/ | | | | | | | | Change-Id: I5b95f6ad5e3e70baa6ac48af90d371436cbdc4db Auto-generated-cl: translation import
| * Merge "Import translations. DO NOT MERGE" into qt-qpr1-devTreeHugger Robot2019-10-1282-115945/+115945
| |\
| | * Import translations. DO NOT MERGEBill Yi2019-10-1282-115945/+115945
| | | | | | | | | | | | | | | Change-Id: I925c36249f38fe16ca692829af6fcf502cdef25e Auto-generated-cl: translation import
| * | Merge "Import translations. DO NOT MERGE" into qt-qpr1-devTreeHugger Robot2019-10-1283-332/+332
| |\ \
| | * | Import translations. DO NOT MERGEBill Yi2019-10-1283-332/+332
| | |/ | | | | | | | | | | | | Change-Id: I9ce8d5417907c4a914acfdb865ab5402e1cce2f8 Auto-generated-cl: translation import
| * | Merge "Import translations. DO NOT MERGE" into qt-qpr1-devTreeHugger Robot2019-10-1283-83/+83
| |\ \
| | * | Import translations. DO NOT MERGEBill Yi2019-10-1283-83/+83
| | |/ | | | | | | | | | | | | Change-Id: I8c858e95532a053a3bae22ca9eb1de09e6df38b3 Auto-generated-cl: translation import
| * | Merge "Import translations. DO NOT MERGE" into qt-qpr1-devTreeHugger Robot2019-10-1283-664/+664
| |\ \
| | * | Import translations. DO NOT MERGEBill Yi2019-10-1283-664/+664
| | |/ | | | | | | | | | | | | Change-Id: I19facb6d7cec213691a081578669b78d34a18e1e Auto-generated-cl: translation import
| * | Merge "Import translations. DO NOT MERGE" into qt-qpr1-devTreeHugger Robot2019-10-1283-6074/+6074
| |\ \
| | * | Import translations. DO NOT MERGEBill Yi2019-10-1283-6074/+6074
| | |/ | | | | | | | | | | | | Change-Id: I0e355f93e60c93c90ddaa09066c498e40359be2d Auto-generated-cl: translation import
| * | Merge "Import translations. DO NOT MERGE" into qt-qpr1-devTreeHugger Robot2019-10-1282-14678/+14678
| |\ \
| | * | Import translations. DO NOT MERGEBill Yi2019-10-1282-14678/+14678
| | |/ | | | | | | | | | | | | Change-Id: Iba616f0749d1c51716c4626d409183459f47aa27 Auto-generated-cl: translation import
| * / Import translations. DO NOT MERGEBill Yi2019-10-1284-15876/+15876
| |/ | | | | | | | | Change-Id: Ic205e05525cdc7d270221307fe412de6034f113c Auto-generated-cl: translation import
* | LatinIME: Hide emojis that are missing colored glyphsMichael Bestas2020-02-281-153/+153
| | | | | | | | | | | | | | Even though most of these were added in emoji 1.0, noto font still doesn't have colored glyphs for them Change-Id: Iddbeaaf993abf64965fd39f982929f71479a0db5
* | LatinIME: Update emojisMichael Bestas2020-02-261-2609/+697
| | | | | | | | | | | | | | Update to emoji 12.0 From: https://unicode.org/emoji/charts-12.0/full-emoji-list.html Change-Id: I29028b417fe579e4326d1052e53e682f2cd1b6b8
* | Automatic translation importMichael Bestas2020-01-27100-0/+8319
| | | | | | | | Change-Id: I2a0dc142472d30f637fcb5680b8cb683606722c2
* | LatinIME: Add Luxembourgish keyboard & spellchecking dictionaryMichel Weimerskirch2019-12-113-193/+250
| | | | | | | | Change-Id: Ie53bcb49b568a44a7bdcc8c7437d9981062487b6
* | LatinIME: Add support for Australian EnglishMichael Bestas2019-12-112-0/+13
| | | | | | | | | | | | | | * LatinIME: Add Australia wordlist Based of EN_GB while fixing up a few things. Change-Id: Ic9f01e0a260a0f4eb7c994a5ad4533a28e6d2af3
* | Add support for Bépo keyboard layoutJulien "_FrnchFrgg_" RIVAUD2019-12-119-0/+328
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | LatinIME: Add Hungarian QWERTY, enable predictive dictionarydh-harald2019-12-1114-0/+2475
| | | | | | | | Change-Id: Ic75020618d11d55833183449fb40fc39f539b335
* | LatinIME: HU enable predictive dictionary and remove unused lettersTamás Tóth2019-12-112-32/+9
| | | | | | | | Change-Id: I6658bae54793c59b3c0839edda6933950920185e
* | LatinIME: Enable spellchecker for additional languagesblunden2019-12-112-1/+83
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | LatinIME: Set proper keyboard for Georgian scriptVasyl Gello2019-12-111-0/+2
| | | | | | | | | | | | | | Fixes the runtime exception 'Wrong script supplied: 5' Change-Id: Id4f244f7e229532998e846a8d41749d90f7913bd Signed-Off-By: Vasyl Gello <vasek.gello@gmail.com>
* | LatinIME: Add new type for Bulgarian scriptVasyl Gello2019-12-112-0/+4
| | | | | | | | | | | | | | | | 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
* | LatinIME: Add "more" keys to ALL the keysSteve Kondik2019-12-1114-42/+278
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* | LatinIME: Add shortcuts supportJanet Sun2019-12-116-23/+97
| | | | | | | | | | | | | | | | | | | | | | Making sure to include unit test changes this time. Adjust for deleted files and delete references to them. This reverts commit fe674a441f0ece3d772acba01be09a0a0d8ff5ce, "am 12d80ebe: Remove shortcut support from LatinIME." Ticket-Id: CYNGNOS-3129, CYNGNOS-3267 Change-Id: I136e307f93445b353e0d798284fd0fbaee61c0d9