aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/suggestions/SuggestionStripLayoutHelper.java (follow)
Commit message (Expand)AuthorAgeFilesLines
* Rename to Kelar Keyboard (org.kelar.inputmethod.latin)Amin Bandali2025-01-111-650/+0
* Fix the ellipses image scaling of LatinIME•••Bug: 23082844 Change-Id: I7baac5e5a0700280906fd0f5f9351fc8dfc4c2b3 (cherry picked from commit 990e9a75b6d88ba234131612f11eac6b69c1cf84) Mohammadinamul Sheik2015-08-121-1/+3
* Label empty suggestions.•••When talkback is enabled, empty strings will have a content description. Bug 19479836. Change-Id: I25679a2bdeff238a5330ba406d5bc7e6e2868ba1 Dan Zivkovic2015-02-271-6/+12
* 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-031-53/+0
* Move isRtlLanguage method to LocaleUtils•••Change-Id: I485a076b81927fed0da593216fea2c740449ef4c Tadashi G. Takaoka2014-11-121-3/+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-091-12/+12
|/
* 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 when to show more suggestions dot hint•••Bug: 17742406 Change-Id: Ifdf5d196778da2bb9bb9e3ca9250d23857d90bab Tadashi G. Takaoka2014-10-011-3/+7
* Support Accept typed word UI•••Change-Id: I58e95b2791a45afdc7dae8e26dcfc200b3b4b854 Tadashi G. Takaoka2014-08-221-63/+145
* 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-161-4/+2
* Rename LatinImeLogger to DebugFlags•••Bug: 15318007 Change-Id: Ic0268fd12865c9a692a5e7110a9beb76cb8b6d7f Tadashi G. Takaoka2014-07-161-2/+2
* [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
* Set content descrition of words in suggestions strip•••Bug: 14849593 Change-Id: If020e2352c8e950ce87dc4711c39b8a6a41f66fc Tadashi G. Takaoka2014-06-091-7/+7
* Add content description to the voice key•••Bug: 14849593 Change-Id: I1664b6a4ef54b78a09df65adbffff7861b54c4a9 Tadashi G. Takaoka2014-05-131-1/+4
* 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-071-8/+7
* Remove unused argument in SuggestionStripLayoutHelper•••Bug: 13461039 Change-Id: I3f6227bd56fb81021aaacf0e901eab8a9e91d4a1 Tadashi G. Takaoka2014-03-201-3/+2
* Fix clipped important notice message on tablet•••Bug: 13461039 Change-Id: I710bf10c9cbc202c7f6ee39ab4c8b9d699741a81 Tadashi G. Takaoka2014-03-141-1/+2
* [QRP5] Fix boldness for predictions, and small refactoring•••This is more correct. When predictions, the typed word should always be null unless explicitly passed. The text color should be that of a valid typed word only if it's actually the typed word. Bug: 13170509 Change-Id: I769ae100e112c37c6f02064fe9ef2f81372ca9e5 Jean Chalard2014-02-251-3/+4
* [QRP4] Simplification & small correctness fix.•••This fixes the color of the predictions when running on a theme that has different colors for typed and suggested words (GB theme). Also, this is easier to understand and to modify from now on. Change-Id: Ifdc6d86a1695e83e16103041b06a2451f8d52cc4Jean Chalard2014-02-251-6/+6
* [QRP3] Refactoring•••Rename some variables for clarity and use constants instead of immediates. Change-Id: Ie07fbfcc3738ac4e67aefddc339fc54259172c39 Jean Chalard2014-02-251-13/+15
* [QRP1] Fix a bug where the wrong value would get passed•••In the practice it works because this never tries to access inside the suggestion strip, and the worst that can happen is a wrong text color for a suggestion. But since the two colors that would be swapped are the same, nobody ever notices -- unless they are using the GingerBread theme. Change-Id: Ic8c70d8b3cdddf92946dfefbbc6d061572626c7a Jean Chalard2014-02-251-3/+3
* Turn personalization on when important notice dialog is displayed•••This change must be checked in together with Ifde70b1d3b. Bug: 10587358 Change-Id: I9dc48f9d521e0e6f6269e4f184389ba805f3053f Tadashi G. Takaoka2014-02-191-2/+3
* Add go to "Settings" button to important notice dialog•••This CL also - removes icons on important notice title. - changes the "Personalized suggestions" summary text. This change must be checked in together with Id115d89ba9. Bug: 10587358 Change-Id: I52ff26fa8ae12445e9014ba08253f69e1be609f4 Tadashi G. Takaoka2014-02-171-7/+1
* Add PunctuationSuggestions class•••This change must be checked in together with I366c477516. Bug: 12640318 Change-Id: I8d3864b9d9649c9e3306e82b01a6327b11281b1f Tadashi G. Takaoka2014-02-141-9/+10
* Fix showing all suggestions when the top suggestion is long•••This change also fixes Bug#12982404; displays the suggestion word using entire suggestions strip if there is only one suggestion. Bug: 12564279 Bug: 12982404 Change-Id: I51806b90c3ee34a2072880245d4e33f7be273c8f Tadashi G. Takaoka2014-02-131-34/+46
* Show important notice strip•••Bug: 10587358 Change-Id: I1af3faa59afb2fc4cb90176acff1c2b0b1ba369c Tadashi G. Takaoka2014-02-101-10/+4
* Fix important notice strip text layout•••Bug: 10587358 Change-Id: I9cbdd3b450e05d6d0611a16b6b7fad945918dd5f Tadashi G. Takaoka2014-02-031-4/+10
* Add important notice strip•••This change is a groundwork to show important notice. Bug: 10587358 Change-Id: I80aa70d30e2a529b37798f0df2183b41df3ac38a Tadashi G. Takaoka2014-01-311-2/+19
* Show "Touch again to save" in system locale•••Bug: 12811156 Change-Id: I928daf17297ec5c526720850d6203cb9af0496ac Tadashi G. Takaoka2014-01-301-4/+9
* Suggestion strip honors RTL layout•••Bug: 9126496 Change-Id: Ia4a1c52bd2a80ea7fe6b9529f2767fee5f9e8aeb Tadashi G. Takaoka2014-01-281-3/+8
* Refactor SuggestionsStripLayoutHelper class•••Bug: 9126496 Change-Id: I8bede13c8745fbcad68099d882681ca4f2326d14 Tadashi G. Takaoka2014-01-271-45/+11
* [IL37] Small simplification•••Bug: 8636060 Change-Id: I08a6c04986a0bd86ce4c232893e804766ebeebb9 Jean Chalard2013-12-261-3/+3
* Reset to 9bd6dac4708ad94fd0257c53e977df62b152e20c•••The bulk merge from -bayo to klp-dev should not have been merged to master. Change-Id: I527a03a76f5247e4939a672f27c314dc11cbb854 Ken Wakasa2013-12-131-4/+7
* Fix the suggestion size.•••The available space was not computed correctly. This makes the decision to ellipsize/expand the middle suggestion correct. Also, the scale was not applied correctly in some cases. Finally, for some reason ellipsize does not work as we expect. I'm not sure how to get it to work like we want it to, but this works around the problem in a simple manner. Bug: 11158757 Change-Id: I083e7ac56e157f100923733e67b92a6368a526c9 Jean Chalard2013-10-111-9/+26
* Merge "Revert "Remove key preview backing view""Ken Wakasa2013-08-301-1/+12
|\
| * Revert "Remove key preview backing view"•••This reverts commit 2dfcfc5013eee2fbd19a5830ff70943bd6c1bee2. Change-Id: I96c691b2e9c92be456420196cd7361d03ea4f3e9 bug: 10541453 Ken Wakasa2013-08-301-1/+12
* | Fix build•••Change-Id: I60a6ee4dff8203cd9a2ed8045df6a2d75e50c89d Tadashi G. Takaoka2013-08-271-1/+1
* | Remove unnecessary alpha attributes of SuggestionStripView•••Change-Id: I78701403d7bd21928c4b459bb336a565f386ebcc Tadashi G. Takaoka2013-08-211-17/+5
|/
* Remove key preview backing view•••This change re-origanizes view hierarchy of IME's input view. Change-Id: I9d0a07692d0f41de3345d207366393bcd5424f7e Tadashi G. Takaoka2013-08-091-12/+1
* Move a couple classes to the utils package•••Change-Id: Ia14a2011d79bad7cd02697b9254705f6e2099442 Ken Wakasa2013-07-191-2/+2
* Move TypefaceUtils and ViewUtils to utils package•••Change-Id: Iccd47c27670248c43de9a539c1951111d7733111 Tadashi G. Takaoka2013-07-051-1/+1
* Reorganize Utils class•••Change-Id: I7294d1547def5dcfcae9d1d53b277cb3cc9f2d18 Tadashi G. Takaoka2013-07-051-2/+1
* Fix the one-suggestion case.•••When there is only one suggestion, this code does not work. The reason for that is, it's not homogeneous at all and takes indices of one thing into another. Not completely related to b/8839763, but realized working on this and needed to have it addressed. Bug: 8839763 Change-Id: I422730cc7eebb69ff421a171025af0390ebcdf92 Jean Chalard2013-06-251-22/+36
* Move util classes to the latin/utils directory•••Change-Id: I1c5b27c8edf231680edb8d96f63b9d04cfc6a6fa Ken Wakasa2013-06-241-2/+2
* Fix punctuations strip•••Bug: 9508186 Change-Id: I8f0fbf4e0578cf9116d4c57e7e5747d38c89387e Tadashi G. Takaoka2013-06-211-4/+10