aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/suggestions (follow)
Commit message (Expand)AuthorAgeFilesLines
* Fix crash: NPE in SuggestionStripView in LatinIME•••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 Ziqi Chen2024-12-111-0/+3
* Migrated various apps under packages/inputmethods/LatinIME/ to androidx•••Bug: 76692459 Test: mmma packages/inputmethods/LatinIME/ Change-Id: Ib76af6f6db1a0dd5cf64a06a4ea56151712e9692 vineel sadineni2018-05-151-1/+1
* Fix the ellipses image scaling of LatinIME•••Bug: 23082844 Change-Id: I7baac5e5a0700280906fd0f5f9351fc8dfc4c2b3 (cherry picked from commit 990e9a75b6d88ba234131612f11eac6b69c1cf84) Mohammadinamul Sheik2015-08-121-1/+3
* [LatinIME] Support MNC permissions.•••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 Mohammadinamul Sheik2015-07-151-1/+1
* Disable message if personalization is disabled.•••Bug: 19087415. Change-Id: I3974f1b676aa4a9bb04ab7f609b6daf1860c64f1 Chieu Nguyen2015-03-181-1/+2
* Label empty suggestions.•••When talkback is enabled, empty strings will have a content description. Bug 19479836. Change-Id: I25679a2bdeff238a5330ba406d5bc7e6e2868ba1 Dan Zivkovic2015-02-272-7/+14
* LatinIME portion of "green plus" feature.•••Removes the feature that adds strings to the user dictionary, aka the "green highlight with a plus sign". Bug 19237189. Change-Id: I2387129a3add2d69d625f2ff16ed8cab3f10a735 Dan Zivkovic2015-02-033-106/+3
* Move isRtlLanguage method to LocaleUtils•••Change-Id: I485a076b81927fed0da593216fea2c740449ef4c Tadashi G. Takaoka2014-11-121-3/+2
* Remove DrawingHandler.Callbacks.dismissAllKeyPreviews()•••Change-Id: I2b11ca0dec0f3522648557a9a909f305cc4170fb Tadashi G. Takaoka2014-10-291-6/+0
* Move Constants.java to the latin.common package•••Our intention is to have classes of latinime-common under the common package as much as we can. Change-Id: I76efbbbe7bebf1a4aa943715cdff64f91675e20d Ken Wakasa2014-10-232-2/+2
* Fix some compiler warnings•••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 Tadashi G. Takaoka2014-10-211-2/+1
* Merge "Remove shouldBlockAutoCorrectionBySafetyNet"Keisuke Kuroyanagi2014-10-141-12/+0
|\
| * Remove shouldBlockAutoCorrectionBySafetyNet•••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 Keisuke Kuroyanagi2014-10-141-12/+0
* | Always show the typed word in recorrections.•••Bug: 11330140 Bug: 17875601 Bug: 17623275 Change-Id: Ie4620f36f312c54c7b01b5f6cbdb0bc9171b6179 Jean Chalard2014-10-093-16/+16
|/
* Fix missing prediction words on contextual strip•••Bug: 17874801 Change-Id: Iaba935a6b2548376f10a0ecd80f07ea7ada6c60a Tadashi G. Takaoka2014-10-071-10/+8
* Fix ellipsizing and text scale x calculation•••Bug: 17742721 Bug: 11158757 Change-Id: I98b55a8e661804e84f75e75675c6f2ef33ac1a11 Tadashi G. Takaoka2014-10-021-57/+62
* Fix unnecessary touch event handling•••Bug: 17762449 Change-Id: I698ca91ab977aa65c7bd8a5fb82b3d91264cfbca Tadashi G. Takaoka2014-10-021-0/+6
* Fix when to show more suggestions dot hint•••Bug: 17742406 Change-Id: Ifdf5d196778da2bb9bb9e3ca9250d23857d90bab Tadashi G. Takaoka2014-10-011-3/+7
* Fix checking a11y status just before calling an a11y method•••Bug: 17035860 Change-Id: I9627d525a570ced085281b4db93fe6896081e818 Tadashi G. Takaoka2014-09-251-2/+2
* Stop showing more suggestions while important notice is showing•••Bug: 15812659 Change-Id: I314e235cfffae3ae655320a9a75867efc28066bf Tadashi G. Takaoka2014-09-241-1/+8
* 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 mode•••Bug: 17600156 Change-Id: Ife8f04550411d88311e08dd33e370a410d791ca2 Tadashi G. Takaoka2014-09-222-2/+13
* | Hiding SuggestedWords.EMPTY and refactoring code that compares SuggestedWords...•••Bug: 17560717 Change-Id: I7032bf0ab46f9cf5e3b3312a14e689b5496764c1 Adrian Velicu2014-09-221-1/+1
|/
* Support Accept typed word UI•••Change-Id: I58e95b2791a45afdc7dae8e26dcfc200b3b4b854 Tadashi G. Takaoka2014-08-223-71/+153
* Let the backing view cover the entire content area•••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 Yohei Yukawa2014-08-162-6/+4
* Disptach hover events when sliding suggestion mode•••Bug: 15687702 Change-Id: I7ace1fbbba724c6e422230a3d88f8cc9ffa8efc2 Tadashi G. Takaoka2014-07-301-7/+44
* Rename LatinImeLogger to DebugFlags•••Bug: 15318007 Change-Id: Ic0268fd12865c9a692a5e7110a9beb76cb8b6d7f Tadashi G. Takaoka2014-07-162-4/+4
* [SD3] Forward the script ID to where it will be used•••Bug: 15840116 Change-Id: If2073e76fed74ae6e1cdd7670013e0e985b0e630 Jean Chalard2014-06-272-7/+6
* Remove redundant override methods and extended classes•••Bug: 15727335 Change-Id: Icea09f0643e7aeb8e722e473ad322f7439c3497a Tadashi G. Takaoka2014-06-241-12/+4
* Refactor keyboard accessibility delegate classes•••Bug: 15727335 Change-Id: I1aa79a6f7f8cf14bacec391c016a5d1c553eea24 Tadashi G. Takaoka2014-06-241-0/+1
* [CS1] Some initial clean up•••Bug: 13238601 Change-Id: I54ee9a85ecfee3c50c8db3eb4cd6f391a775a630 Jean Chalard2014-06-231-2/+3
* Disable empty suggestion word on the suggestions strip•••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 Tadashi G. Takaoka2014-06-191-0/+7
* Stop announcing suggestions strip content while more keys keyboard is showing•••This CL also supports announcing dismissing of a more keys keyboard. Bug: 15582905 Change-Id: Ia9e5d6c7e3e23dac39ee570b20d32f0141ae6184 Tadashi G. Takaoka2014-06-141-0/+7
* Add audio and haptic feedback for Emoji and Suggestions•••Bug: 15378862 Change-Id: Ia14929bd9eb63ad5735cae0ad98ad0e2ad301128 Tadashi G. Takaoka2014-06-101-0/+2
* Set content descrition of words in suggestions strip•••Bug: 14849593 Change-Id: If020e2352c8e950ce87dc4711c39b8a6a41f66fc Tadashi G. Takaoka2014-06-092-8/+7
* Fix overwriting accessibility delegate in setKeyboard•••A keyboard accessibility delegate object should be a singleton for each keyboard view. Bug: 15437933 Bug: 15419386 Change-Id: Ia70853c644d950ea6130c1f209b89929b1cb1ee5 Tadashi G. Takaoka2014-06-081-3/+11
* Refactor logic to determine showing suggestions strip or not•••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 Tadashi G. Takaoka2014-06-061-7/+4
* Always update voice key visibility•••Bug: 15128166 Change-Id: Ie15724c323efa3b102f6aebddc3bda210aad1727 Tadashi G. Takaoka2014-06-061-23/+17
* Support more suggestions accessibility mode•••Bug: 12491371 Change-Id: Ib01452b6a2a53faa591b05e62014f356e0511308 Tadashi G. Takaoka2014-06-041-0/+14
* Remove researcher logger•••This CL must be checked in together with I5cc76807e3. Bug: 15318007 Change-Id: I61423c3377ddc299fb332e742d6626c2e47145bb Tadashi G. Takaoka2014-05-291-5/+0
* Move MoreSuggestionsListener to MoreSuggestionsView•••Change-Id: I3b5bc630bf73a357ed0beeec0b555149ef248313 Tadashi G. Takaoka2014-05-273-8/+7
* Use ViewCompat support library and delete ViewCompatUtils•••Change-Id: I57d60cacd86e83894294c3f64402aba8c1829872 Tadashi G. Takaoka2014-05-241-8/+11
* Revert "Use ViewCompat support library and delete ViewCompatUtils"•••This reverts commit db21267b788592ce99b9fb052801c6ec90bfe7b6. The reverting change breaks build in unbundled jb-ub-latinimegoole branch. Change-Id: Ia61424f5321eb97f981d22c4b08e9ea8d348f6c1 Tadashi G. Takaoka2014-05-231-1/+1
* Use ViewCompat support library and delete ViewCompatUtils•••Change-Id: Ifee496ff7ecaf361898444ff4127f16748d96422 Tadashi G. Takaoka2014-05-241-1/+1
* Use Java 7 diamond operator•••Change-Id: If16ef50ae73147594615d0f49d6a22621eaf1aef Tadashi G. Takaoka2014-05-241-4/+3
* Refactor MoreKeysKeyboardView to use Key class•••This can make MoreSuggestionsView to use extended Key class to hold a index of a suggested word. Change-Id: I54d03d2447b04e3caf3e19e7cadcd391cbf58dd5 Tadashi G. Takaoka2014-05-212-10/+25
* Show voice key even when important notice is showing•••Bug: 14822080 Change-Id: I2a55bb630cf544b6dc31a5e0e6b932c6af268c71 Tadashi G. Takaoka2014-05-141-3/+3
* Add content description to the voice key•••Bug: 14849593 Change-Id: I1664b6a4ef54b78a09df65adbffff7861b54c4a9 Tadashi G. Takaoka2014-05-131-1/+4
* Add voice key to suggestions strip•••Bug: 14419121 Change-Id: I3b2bdc3c07bb7e49ea7be53649bd6dd134fea27c Tadashi G. Takaoka2014-05-121-12/+48
* Use margin instead of padding in SuggestionStripView•••This CL also tunes the width of suggestions strip to be able to display 15~16 letters without x-scaling at the center slot. Bug: 14419121 Change-Id: Ia5766cee043899533e24e2ebc621e8dc279370b3 Tadashi G. Takaoka2014-05-072-9/+8