Skip to content
Snippets Groups Projects
  1. Jan 08, 2025
    • Timi Rautamäki's avatar
      LatinIME: fit more emoji in a page · d6e09c35
      Timi Rautamäki authored and Dhina17's avatar Dhina17 committed
      
      Includes I9ce763108223428a99479b91d872d6f76afacb5d.
      
      Co-authored-by: default avatarGeorg Veichtlbauer <georg@vware.at>
      Change-Id: I319f7b069593861beda22b99406b8612d823776c
      d6e09c35
    • Timi Rautamäki's avatar
      LatinIME: remove unused drawables · 895375f3
      Timi Rautamäki authored and Dhina17's avatar Dhina17 committed
      Test: m
      Change-Id: Ie2850553acb9a25e30a47428ee61009199b99bdb
      895375f3
    • Michael W's avatar
      LatinIME: Properly refresh summary · dfbaa589
      Michael W authored and Dhina17's avatar Dhina17 committed
      * onResume() of AppearanceSettingsFragment gets called
        before onPause() of CustomInputStyleSettingsFragment
      * Instead, save after each modification so the lifecycle
        doesn't matter
      
      Change-Id: If5c5df8b589c08df61eea2643c217e9665a01002
      dfbaa589
    • Michael W's avatar
      LatinIME: Remove unused resources · c65b53b3
      Michael W authored and Dhina17's avatar Dhina17 committed
      * All these ICS, KLP and HOLO resources aren't
        used anywhere
      
      Change-Id: I7c04999848d5536518263f2858704d547ff8abd0
      c65b53b3
    • Michael W's avatar
      LatinIME: Fix invisible icon · 333f9606
      Michael W authored and Dhina17's avatar Dhina17 committed
      * 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
      333f9606
    • George Zacharia's avatar
      LatinIME: Remove hardcoded emoji row logic · 24d3da8f
      George Zacharia authored and Dhina17's avatar Dhina17 committed
      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
      24d3da8f
    • George Zacharia's avatar
      LatinIME: Enable full flag emoji support · d2a55061
      George Zacharia authored and Dhina17's avatar Dhina17 committed
      Change-Id: I3603948e7181bb0027addc0a8bb227f1370ae977
      d2a55061
    • Michael W's avatar
      LatinIME: Fix NPE in getKeyboardThemeName · 3aa80d76
      Michael W authored and Dhina17's avatar Dhina17 committed
      * 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
      3aa80d76
    • Iliya Bazlyankov's avatar
      Include Bulgarian Extended Keyboard Layout · 0ef8c55b
      Iliya Bazlyankov authored and Dhina17's avatar Dhina17 committed
      
      An enhanced variant of Bulgarian keyboard, proposed by 500 people.
      
      Signed-off-by: default avatarIliya Bazlyankov <iliya.bazlyankov@unicart.bg>
      Change-Id: I94acd74a1ebf9f4af656e425e1cf205ca23d8de0
      Test: Manual test by building the code
      0ef8c55b
    • Tom Marshall's avatar
      LatinIME: Move keyboard height setting from debug to advanced · 89d57bcb
      Tom Marshall authored and Dhina17's avatar Dhina17 committed
      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
      89d57bcb
    • Michael W's avatar
      LatinIME: Fix back-arrow finishing activity · ce9b44e3
      Michael W authored and Dhina17's avatar Dhina17 committed
      * 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
      ce9b44e3
    • Michael W's avatar
      LatinIME: Remove dividers everywhere · f3b05201
      Michael W authored and Dhina17's avatar Dhina17 committed
      * 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
      f3b05201
    • Michael W's avatar
      LatinIME: Do we really still want Holo? · 6cb58bc8
      Michael W authored and Dhina17's avatar Dhina17 committed
      * Remove Holo keyboard selection
      
      Change-Id: I2a67bc147afd9f5c86f0c723eda70083891707cd
      6cb58bc8
    • Michael W's avatar
      LatinIME: Add setting for theme to follow system setting · 9bbdb4da
      Michael W authored and Dhina17's avatar Dhina17 committed
      * 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
      9bbdb4da
    • Arekusu Rin's avatar
      LatinIME: Update key_styles_currency euro lists. · 70b6ca99
      Arekusu Rin authored and Dhina17's avatar Dhina17 committed
      Change-Id: I6a51ea0053a021d02617d71b55c8f8536d4d9309
      70b6ca99
    • Michel Weimerskirch's avatar
      LatinIME: Add Luxembourgish keyboard & spellchecking dictionary · 70cc31f8
      Michel Weimerskirch authored and Dhina17's avatar Dhina17 committed
      Change-Id: Ie53bcb49b568a44a7bdcc8c7437d9981062487b6
      70cc31f8
    • Michael Bestas's avatar
      LatinIME: Add support for Australian English · 0ec30eca
      Michael Bestas authored and Dhina17's avatar Dhina17 committed
      * LatinIME: Add Australia wordlist
        Based of EN_GB while fixing up a few things.
      
      Change-Id: Ic9f01e0a260a0f4eb7c994a5ad4533a28e6d2af3
      0ec30eca
    • Julien "_FrnchFrgg_" RIVAUD's avatar
      Add support for Bépo keyboard layout · d70ec4c8
      Julien "_FrnchFrgg_" RIVAUD authored and Dhina17's avatar Dhina17 committed
      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
      d70ec4c8
    • dh-harald's avatar
      LatinIME: Add Hungarian QWERTY, enable predictive dictionary · 78245c86
      dh-harald authored and Dhina17's avatar Dhina17 committed
      Change-Id: Ic75020618d11d55833183449fb40fc39f539b335
      78245c86
    • Tamás Tóth's avatar
      LatinIME: HU enable predictive dictionary and remove unused letters · 00a6a91d
      Tamás Tóth authored and Dhina17's avatar Dhina17 committed
      Change-Id: I6658bae54793c59b3c0839edda6933950920185e
      00a6a91d
    • blunden's avatar
      LatinIME: Enable spellchecker for additional languages · 346e2e6e
      blunden authored and Dhina17's avatar Dhina17 committed
      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
      346e2e6e
    • Michael Bestas's avatar
      LatinIME: Add Bulgarian, Georgian and Ukrainian wordlists · 926e7f71
      Michael Bestas authored and Dhina17's avatar Dhina17 committed
      * 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
      926e7f71
    • Vasyl Gello's avatar
      LatinIME: Set proper keyboard for Georgian script · c88b72da
      Vasyl Gello authored and Dhina17's avatar Dhina17 committed
      
      Fixes the runtime exception 'Wrong script supplied: 5'
      
      Change-Id: Id4f244f7e229532998e846a8d41749d90f7913bd
      Signed-Off-By: default avatarVasyl Gello <vasek.gello@gmail.com>
      c88b72da
    • Vasyl Gello's avatar
      LatinIME: Add new type for Bulgarian script · c5840b1d
      Vasyl Gello authored and Dhina17's avatar Dhina17 committed
      
      Declaring the script type as Cyrillic leads to usage of 'east_slavic'
      template, which is incorrect for Bulgarian layout.
      
      Signed-Off-By: default avatarVasyl Gello <vasek.gello@gmail.com>
      Change-Id: Ieec27701367f00c4b5e345cee7bf387f923da8f1
      c5840b1d
    • Steve Kondik's avatar
      LatinIME: Add "more" keys to ALL the keys · 4a9189aa
      Steve Kondik authored and Dhina17's avatar Dhina17 committed
       * 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
      4a9189aa
    • Janet Sun's avatar
      LatinIME: Add shortcuts support · 42594feb
      Janet Sun authored and Dhina17's avatar Dhina17 committed
      Making sure to include unit test changes this time.
      Adjust for deleted files and delete references to them.
      
      This reverts commit fe674a44,
      "am 12d80ebe: Remove shortcut support from LatinIME."
      
      Ticket-Id: CYNGNOS-3129, CYNGNOS-3267
      Change-Id: I136e307f93445b353e0d798284fd0fbaee61c0d9
      42594feb
    • Danny Baumann's avatar
      Don't interrupt active gesture input by modifier key presses. · 242c1281
      Danny Baumann authored and Dhina17's avatar Dhina17 committed
      They're likely to be caused by palm touches.
      
      Change-Id: Ic1e0b86c5bf5d4c22f888f0bb77342584e45763e
      242c1281
    • Steve Kondik's avatar
      LatinIME: Add fallback loader for JNI lib · 0ef8fe2e
      Steve Kondik authored and Dhina17's avatar Dhina17 committed
      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
      0ef8fe2e
    • Dan Pasanen's avatar
      LatinIME: disable sound on keypress on all devices by default · d22966c1
      Dan Pasanen authored and Dhina17's avatar Dhina17 committed
      * This sound is horrible and tablet users shouldn't be subject
        to listening to it through setupwizard either.
      
      Change-Id: Ia6b6db31fb9a986c2a68773dc69524aed5e5af08
      d22966c1
    • Michael Bestas's avatar
      LatinIME: Regenerate KeyboardTextsTable · 4b2fedac
      Michael Bestas authored and Dhina17's avatar Dhina17 committed
      * Add Burmese
      
      Change-Id: I650fdac232bb1aa6c35798e782edaa2ab829c5fc
      4b2fedac
    • Joey's avatar
      LatinIME: support for incognito mode · 85388c8f
      Joey authored and Dhina17's avatar Dhina17 committed
      
      Don't learn suggestions when input specifies the
      IME_FLAG_NO_PERSONALIZED_LEARNING flag
      
      Change-Id: I224c36deda560657996cffa2922392a64e45b53f
      Signed-off-by: default avatarJoey <joey@lineageos.org>
      85388c8f
    • Danny Baumann's avatar
      Fix send button not being centered for non-standard densities. · 6915f9cd
      Danny Baumann authored and Dhina17's avatar Dhina17 committed
      Change-Id: I6e6717dc7487eeafca121e94d93aff5c3aae5f6c
      6915f9cd
    • Asher Simonds's avatar
      LatinIME: Bring in the new icon · 28db7fcb
      Asher Simonds authored and Dhina17's avatar Dhina17 committed
      
      * Part of the new iconset made by Asher Simonds
      
      Co-authored-by: default avatarMichael W <baddaemon87@gmail.com>
      Change-Id: I34227f160f862bafb157095cff345852953c604b
      28db7fcb
  2. Sep 07, 2024
  3. Sep 06, 2024
    • Xin Li's avatar
      Merge 24Q3 to AOSP main · 9248b5ab
      Xin Li authored
      Bug: 357762254
      Merged-In: Ice09a7ad54167e68cd2dc892692fc49a0afbabc1
      Change-Id: If27a204b2e8db793efb9b5161449e79b75a4cdfd
      9248b5ab
Loading