aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/suggestions (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Rename to Kelar Keyboard (org.kelar.inputmethod.latin)Amin Bandali2025-01-115-1553/+0
|
* Fix crash: NPE in SuggestionStripView in LatinIMEZiqi Chen2024-12-111-0/+3
| | | | | | | The first parameter in `GestureDetector.OnGestureListener#onScroll` might be null, which indicates an incomplete event stream or error state. https://developer.android.com/reference/android/view/GestureDetector.OnGestureListener#onScroll(android.view.MotionEvent,%20android.view.MotionEvent,%20float,%20float) Bug: 383053077 Change-Id: I6e49ae353beafb6585184fa729041570991f240c
* Migrated various apps under packages/inputmethods/LatinIME/ to androidxvineel sadineni2018-05-151-1/+1
| | | | | | Bug: 76692459 Test: mmma packages/inputmethods/LatinIME/ Change-Id: Ib76af6f6db1a0dd5cf64a06a4ea56151712e9692
* Fix the ellipses image scaling of LatinIMEMohammadinamul Sheik2015-08-121-1/+3
| | | | | | Bug: 23082844 Change-Id: I7baac5e5a0700280906fd0f5f9351fc8dfc4c2b3 (cherry picked from commit 990e9a75b6d88ba234131612f11eac6b69c1cf84)
* [LatinIME] Support MNC permissions.Mohammadinamul Sheik2015-07-151-1/+1
| | | | | | | | | | | | | | | | | | | This build has been compiled against API 23 This build is approved to go out with the M OTA, but may NOT be released to the public until the Play Store has enabled API level 23 apps Version: 4.1.2300x.build_id 1. Replaces the personalization is on information with the suggest contacts. 2. Enables "Use Contacts" only if the app has permission to read contacts. 3. Disables the contacts dictionary in the Facilitator. 4. Do not register/read the contacts in the contact observer. Bug: 22236416 Change-Id: I9674e13d0d0f4a2014c5024fde0178de684c07e7
* Disable message if personalization is disabled.Chieu Nguyen2015-03-181-1/+2
| | | | | Bug: 19087415. Change-Id: I3974f1b676aa4a9bb04ab7f609b6daf1860c64f1
* Label empty suggestions.Dan Zivkovic2015-02-272-7/+14
| | | | | | | | When talkback is enabled, empty strings will have a content description. Bug 19479836. Change-Id: I25679a2bdeff238a5330ba406d5bc7e6e2868ba1
* LatinIME portion of "green plus" feature.Dan Zivkovic2015-02-033-106/+3
| | | | | | | | | Removes the feature that adds strings to the user dictionary, aka the "green highlight with a plus sign". Bug 19237189. Change-Id: I2387129a3add2d69d625f2ff16ed8cab3f10a735
* Move isRtlLanguage method to LocaleUtilsTadashi G. Takaoka2014-11-121-3/+2
| | | | Change-Id: I485a076b81927fed0da593216fea2c740449ef4c
* Remove DrawingHandler.Callbacks.dismissAllKeyPreviews()Tadashi G. Takaoka2014-10-291-6/+0
| | | | Change-Id: I2b11ca0dec0f3522648557a9a909f305cc4170fb
* Move Constants.java to the latin.common packageKen Wakasa2014-10-232-2/+2
| | | | | | | Our intention is to have classes of latinime-common under the common package as much as we can. Change-Id: I76efbbbe7bebf1a4aa943715cdff64f91675e20d
* Fix some compiler warningsTadashi G. Takaoka2014-10-211-2/+1
| | | | | | | | | | | | | | | | | | | | | This CL fixes the following compiler warnings. - Indirect access to static member - Access to a non-accessible member of an enclosing type - Parameter assignment - Method can be static - Local variable declaration hides another field or variable - Value of local variable is not used - Unused import - Unused private member - Unnecessary 'else' statement - Unnecessary declaration of throw exception - Redundant type arguments - Missing '@Override' annotation - Unused '@SuppressWarning' annotations Bug: 18003991 Change-Id: Icfebe753e53a2cc621848f769d6a3d7ce501ebc7
* Merge "Remove shouldBlockAutoCorrectionBySafetyNet"Keisuke Kuroyanagi2014-10-141-12/+0
|\
| * Remove shouldBlockAutoCorrectionBySafetyNetKeisuke Kuroyanagi2014-10-141-12/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 13756409 [Category diff] +1 27 -1 0 +2 0 -2 0 +3 0 -3 1 +4 11 -4 0 +5 51 -5 0 +6 0 -6 38 +7 0 -7 50 [Weighted category diff] +1 28 -1 0 +2 0 -2 0 +3 0 -3 1 +4 11 -4 0 +5 51 -5 0 +6 0 -6 39 +7 0 -7 50 show diff for ./en_user_log_phones_2011_08.csv +1 4 +4 5 +5 7 -6 9 -7 7 The increase of false positives comes from the spaceless typing test cases that are synthetic data. Change-Id: I4ea77aa56ebfaa5518c71107169e1d2332de6327
* | Always show the typed word in recorrections.Jean Chalard2014-10-093-16/+16
|/ | | | | | | Bug: 11330140 Bug: 17875601 Bug: 17623275 Change-Id: Ie4620f36f312c54c7b01b5f6cbdb0bc9171b6179
* Fix missing prediction words on contextual stripTadashi G. Takaoka2014-10-071-10/+8
| | | | | Bug: 17874801 Change-Id: Iaba935a6b2548376f10a0ecd80f07ea7ada6c60a
* Fix ellipsizing and text scale x calculationTadashi G. Takaoka2014-10-021-57/+62
| | | | | | Bug: 17742721 Bug: 11158757 Change-Id: I98b55a8e661804e84f75e75675c6f2ef33ac1a11
* Fix unnecessary touch event handlingTadashi G. Takaoka2014-10-021-0/+6
| | | | | Bug: 17762449 Change-Id: I698ca91ab977aa65c7bd8a5fb82b3d91264cfbca
* Fix when to show more suggestions dot hintTadashi G. Takaoka2014-10-011-3/+7
| | | | | Bug: 17742406 Change-Id: Ifdf5d196778da2bb9bb9e3ca9250d23857d90bab
* Fix checking a11y status just before calling an a11y methodTadashi G. Takaoka2014-09-251-2/+2
| | | | | Bug: 17035860 Change-Id: I9627d525a570ced085281b4db93fe6896081e818
* Stop showing more suggestions while important notice is showingTadashi G. Takaoka2014-09-241-1/+8
| | | | | Bug: 15812659 Change-Id: I314e235cfffae3ae655320a9a75867efc28066bf
* Merge "Fix not intercepting touch event while in modal mode"Tadashi G. Takaoka2014-09-242-2/+13
|\
| * Fix not intercepting touch event while in modal modeTadashi G. Takaoka2014-09-222-2/+13
| | | | | | | | | | Bug: 17600156 Change-Id: Ife8f04550411d88311e08dd33e370a410d791ca2
* | Hiding SuggestedWords.EMPTY and refactoring code that compares ↵Adrian Velicu2014-09-221-1/+1
|/ | | | | | | SuggestedWords instances directly to it to use isEmpty instead Bug: 17560717 Change-Id: I7032bf0ab46f9cf5e3b3312a14e689b5496764c1
* Support Accept typed word UITadashi G. Takaoka2014-08-223-71/+153
| | | | Change-Id: I58e95b2791a45afdc7dae8e26dcfc200b3b4b854
* Let the backing view cover the entire content areaYohei Yukawa2014-08-162-6/+4
| | | | | | | | With this CL, the backing view starts covering the content area entirely. This allows the IME to render its UI elements at an arbitrary position on the screen. Change-Id: I8b4173410931b776964dddf66de2fe247e51d9de
* Disptach hover events when sliding suggestion modeTadashi G. Takaoka2014-07-301-7/+44
| | | | | Bug: 15687702 Change-Id: I7ace1fbbba724c6e422230a3d88f8cc9ffa8efc2
* Rename LatinImeLogger to DebugFlagsTadashi G. Takaoka2014-07-162-4/+4
| | | | | Bug: 15318007 Change-Id: Ic0268fd12865c9a692a5e7110a9beb76cb8b6d7f
* [SD3] Forward the script ID to where it will be usedJean Chalard2014-06-272-7/+6
| | | | | Bug: 15840116 Change-Id: If2073e76fed74ae6e1cdd7670013e0e985b0e630
* Remove redundant override methods and extended classesTadashi G. Takaoka2014-06-241-12/+4
| | | | | Bug: 15727335 Change-Id: Icea09f0643e7aeb8e722e473ad322f7439c3497a
* Refactor keyboard accessibility delegate classesTadashi G. Takaoka2014-06-241-0/+1
| | | | | Bug: 15727335 Change-Id: I1aa79a6f7f8cf14bacec391c016a5d1c553eea24
* [CS1] Some initial clean upJean Chalard2014-06-231-2/+3
| | | | | Bug: 13238601 Change-Id: I54ee9a85ecfee3c50c8db3eb4cd6f391a775a630
* Disable empty suggestion word on the suggestions stripTadashi G. Takaoka2014-06-191-0/+7
| | | | | | | | | | | | | | It should be disabled when it is empty. But should be enabled even when it is empty with accessibility exploration on to avoid announcing "disabled". Note that this CL may not be able to handle "suspending talk back" state correctly. It should be handled by registering TouchExplorationStateChangeListener that is available from API 19. Bug: 15738513 Bug: 14849593 Change-Id: Id9ad89f770840f74a106f53833060407b20c1e24
* Stop announcing suggestions strip content while more keys keyboard is showingTadashi G. Takaoka2014-06-141-0/+7
| | | | | | | This CL also supports announcing dismissing of a more keys keyboard. Bug: 15582905 Change-Id: Ia9e5d6c7e3e23dac39ee570b20d32f0141ae6184
* Add audio and haptic feedback for Emoji and SuggestionsTadashi G. Takaoka2014-06-101-0/+2
| | | | | Bug: 15378862 Change-Id: Ia14929bd9eb63ad5735cae0ad98ad0e2ad301128
* Set content descrition of words in suggestions stripTadashi G. Takaoka2014-06-092-8/+7
| | | | | Bug: 14849593 Change-Id: If020e2352c8e950ce87dc4711c39b8a6a41f66fc
* Fix overwriting accessibility delegate in setKeyboardTadashi G. Takaoka2014-06-081-3/+11
| | | | | | | | | A keyboard accessibility delegate object should be a singleton for each keyboard view. Bug: 15437933 Bug: 15419386 Change-Id: Ia70853c644d950ea6130c1f209b89929b1cb1ee5
* Refactor logic to determine showing suggestions strip or notTadashi G. Takaoka2014-06-061-7/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | The logic to determine when the suggestions strip (a.k.a. the contextual strip) should be shown is already complex. In addition to that the voice input key get shown on the strip as well. There are a several factors to be considered and a few things to control. - The password input field shouldn't have the strip. - Show voice input key on the strip or not. - User preference settings "Show Voice Input Key". - A voice IME exists and is enabled. - The input field may have a private IME option to prevent the voice input key from being displayed. - Application can specify auto completions. - Full screen mode or not. - User preference settings "Show correction suggestions". - Always show, Show in portrait mode, Always hide. - The input field may have flags to prevent showing suggestions or auto corrections. - Suggestions is empty or not. - An important notice may be shown. Bug: 14981852 Bug: 15436479 Change-Id: I3050fd53ee6271fc64a8f17b6b12d9581d37b750
* Always update voice key visibilityTadashi G. Takaoka2014-06-061-23/+17
| | | | | Bug: 15128166 Change-Id: Ie15724c323efa3b102f6aebddc3bda210aad1727
* Support more suggestions accessibility modeTadashi G. Takaoka2014-06-041-0/+14
| | | | | Bug: 12491371 Change-Id: Ib01452b6a2a53faa591b05e62014f356e0511308
* Remove researcher loggerTadashi G. Takaoka2014-05-291-5/+0
| | | | | | | This CL must be checked in together with I5cc76807e3. Bug: 15318007 Change-Id: I61423c3377ddc299fb332e742d6626c2e47145bb
* Move MoreSuggestionsListener to MoreSuggestionsViewTadashi G. Takaoka2014-05-273-8/+7
| | | | Change-Id: I3b5bc630bf73a357ed0beeec0b555149ef248313
* Use ViewCompat support library and delete ViewCompatUtilsTadashi G. Takaoka2014-05-241-8/+11
| | | | Change-Id: I57d60cacd86e83894294c3f64402aba8c1829872
* Revert "Use ViewCompat support library and delete ViewCompatUtils"Tadashi G. Takaoka2014-05-231-1/+1
| | | | | | | This reverts commit db21267b788592ce99b9fb052801c6ec90bfe7b6. The reverting change breaks build in unbundled jb-ub-latinimegoole branch. Change-Id: Ia61424f5321eb97f981d22c4b08e9ea8d348f6c1
* Use ViewCompat support library and delete ViewCompatUtilsTadashi G. Takaoka2014-05-241-1/+1
| | | | Change-Id: Ifee496ff7ecaf361898444ff4127f16748d96422
* Use Java 7 diamond operatorTadashi G. Takaoka2014-05-241-4/+3
| | | | Change-Id: If16ef50ae73147594615d0f49d6a22621eaf1aef
* Refactor MoreKeysKeyboardView to use Key classTadashi G. Takaoka2014-05-212-10/+25
| | | | | | | This can make MoreSuggestionsView to use extended Key class to hold a index of a suggested word. Change-Id: I54d03d2447b04e3caf3e19e7cadcd391cbf58dd5
* Show voice key even when important notice is showingTadashi G. Takaoka2014-05-141-3/+3
| | | | | Bug: 14822080 Change-Id: I2a55bb630cf544b6dc31a5e0e6b932c6af268c71
* Add content description to the voice keyTadashi G. Takaoka2014-05-131-1/+4
| | | | | Bug: 14849593 Change-Id: I1664b6a4ef54b78a09df65adbffff7861b54c4a9
* Add voice key to suggestions stripTadashi G. Takaoka2014-05-121-12/+48
| | | | | Bug: 14419121 Change-Id: I3b2bdc3c07bb7e49ea7be53649bd6dd134fea27c