aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Removed unused importsatok2011-07-041-3/+17
| | | | Change-Id: I87344f071e982dfc37b17553c5a7054e26009cc7
* Move keyboard event handling code to separate LatinKeyboardBaseView classTadashi G. Takaoka2011-07-041-6/+6
| | | | | | | | | | | | | | To sort out the issue, main keyboard and mini keyboard have to share the pointer trackers. In order to prepare for that, KeyboardView needs to be refactored as two separate classes. KeyboardView is responsible for drawing keyboard visual. And LatinKeyboardBaseView is responsible for handling key event and mini keyboard as well. Bug: 4768084 Change-Id: I5643e333b9bdfde0c939a0693cea76bd22f38897
* Merge "Disable auto-correction when application auto completion has set"Tadashi G. Takaoka2011-07-041-2/+2
|\
| * Disable auto-correction when application auto completion has setTadashi G. Takaoka2011-07-041-2/+2
| | | | | | | | Change-Id: I3f4ecfe7f2d96613dd37d41d9195d94864f82b48
* | Merge "Add SettingsActivity"satok2011-07-041-0/+6
|\ \
| * | Add SettingsActivitysatok2011-07-041-0/+6
| | | | | | | | | | | | Change-Id: I26d9f90fe18bd7723f1c3c0c9fafbb659cb2f020
* | | Merge "Fixed a visibility of a shortcut button"satok2011-07-041-0/+2
|\ \ \ | |_|/ |/| |
| * | Fixed a visibility of a shortcut buttonsatok2011-07-041-0/+2
| |/ | | | | | | Change-Id: I65e57f6742186b3434d6582ce7f2a1d5d91ce588
* / Use Key background for suggestions strip controlTadashi G. Takaoka2011-07-041-2/+13
|/ | | | Change-Id: I5e43c0919e89972283fd18eb29d69f96f1bd0290
* Set candidates pane control visibility gone when touch-to-save is activatedTadashi G. Takaoka2011-07-021-0/+1
| | | | | Bug: 4985540 Change-Id: I9ca9e9bd990d9cdae0da22625be88bbfa4c7ee62
* Merge "Calculate text width more conservatively"Tadashi G. Takaoka2011-07-011-13/+15
|\
| * Calculate text width more conservativelyTadashi G. Takaoka2011-07-011-13/+15
| | | | | | | | Change-Id: If937ca0d05d50def115f6d275ed4b727c71e7bf4
* | Disable candidate pane controller just after suggestions are setTadashi G. Takaoka2011-07-011-0/+2
|/ | | | Change-Id: I62e24bc39e80e2b51d1a29d093a96a8480254da2
* Merge "Tweak ICS theme a bit"Tadashi G. Takaoka2011-07-011-39/+31
|\
| * Tweak ICS theme a bitTadashi G. Takaoka2011-07-011-39/+31
| | | | | | | | Change-Id: Ib8f1a712a1fc3fd6f08b336617b4b6a17af11376
* | Refactor settingssatok2011-07-011-22/+29
|/ | | | Change-Id: I2e0108ba429b477a07cfd53dcc664c0e43ff16a7
* Merge "Adaptive suggestions strip"Tadashi G. Takaoka2011-06-303-146/+305
|\
| * Adaptive suggestions stripTadashi G. Takaoka2011-07-013-146/+305
| | | | | | | | | | Bug: 4903845 Change-Id: I9e2e17a9eee72df5c92414dcd4796ed7fe1655e1
* | Some clean up and fixes around auto-correction cancellation logicKen Wakasa2011-06-302-7/+5
|/ | | | Change-Id: I07f4c3cd98d14d9f0da2de54bfa76a3867389f6f
* Merge "Show subtype settings preference for new design"satok2011-06-281-4/+0
|\
| * Show subtype settings preference for new designsatok2011-06-281-4/+0
| | | | | | | | Change-Id: I6164ab6ae3d97e2095778a4a6fd9f36c508af7b0
* | Add visual debug modeTadashi G. Takaoka2011-06-281-0/+1
| | | | | | | | Change-Id: Ife131a398c0753b5b0e6e8969fe7bbc2a3bdab96
* | Remove mInForeground flag from KeyboardViewTadashi G. Takaoka2011-06-281-2/+1
| | | | | | | | | | | | | | Instead of that, added cancelAllMessages() and call it from onFinishInputView(). Change-Id: I58f6f0931ed8d73441d80d9616ba3afbbbe38e05
* | Re-create input view after voice IME finishedTadashi G. Takaoka2011-06-271-0/+5
| | | | | | | | Change-Id: Ia389eb43ac7ffec229bfd8b0fe56ce8271cb1d39
* | Fix NPETadashi G. Takaoka2011-06-271-1/+1
| | | | | | | | Change-Id: Ia2c7d9e9298330ae991956fca64b225adaeff898
* | Fix NPETadashi G. Takaoka2011-06-271-1/+2
| | | | | | | | Change-Id: Ie4b8b657fc6cc5a819d4ea3a0ca4536e6fdf6825
* | Show long suggestion in condensed and ellipsized textTadashi G. Takaoka2011-06-271-15/+82
| | | | | | | | | | Bug: 4903845 Change-Id: I75d58fb55f81594ebb2628ea21d00c2eb59fa70e
* | Use dedicated layout for "touch to save word" featureTadashi G. Takaoka2011-06-271-12/+21
|/ | | | Change-Id: Ie8c948476740a645d8b2d9a9d821236941d27adf
* Fix ragged suggestion strip baselineTadashi G. Takaoka2011-06-261-4/+2
| | | | Change-Id: I5fa9e2ad0993602e24f436e1d8ad0999209e5180
* Avoid memory leak by by non-static Handler inner classesKen Wakasa2011-06-263-30/+86
| | | | | bug: 4901934 Change-Id: I870ab2e621ef3640a84468f09c074cdd726dc963
* Add a link from Latin IME to the dictionary pack.Jean Chalard2011-06-241-0/+11
| | | | | | | The link only shows up if the dictionary pack is installed. Bug: 1752028 Change-Id: I4af0a0a63324c155609710064a25df0deeb82b4d
* Display suggested word info in debug modeTadashi G. Takaoka2011-06-241-58/+71
| | | | | Bug: 4686782 Change-Id: I0e5bef33aa39c3d6f75edda7818524965aa40b79
* Added support for touch exploration to Latin IME.Alan Viverette2011-06-221-0/+2
| | | | | Bug: 4379983 Change-Id: I97f22e54827c6229054b514801401ffa5b4ed3b8
* Make CandidateView backward compatibleTadashi G. Takaoka2011-06-221-13/+12
| | | | | | | | Up to version 10 (Gingerbread) of the API, FrameLayout doesn't handle margin properly. This change inserts RelativeLayout to FrameLayout as placer to set margin and place children views absolutely. Change-Id: Iee785bc2da77677738caf456bcd2bbf57b89f007
* Merge "Use 2 arguments LinearLayout constructor"Tadashi G. Takaoka2011-06-211-1/+13
|\
| * Use 2 arguments LinearLayout constructorTadashi G. Takaoka2011-06-211-1/+13
| | | | | | | | | | | | | | To maintain backward compatibility back to Froyo, we can't call 3-argument constructor of LinearLayout. Change-Id: I35310704f92812d2748d32f35820a5058fa2bf31
* | Merge "Support Turkish keyboard"Tadashi G. Takaoka2011-06-213-13/+18
|\ \
| * | Support Turkish keyboardTadashi G. Takaoka2011-06-213-13/+18
| |/ | | | | | | | | | | | | | | | | I left TODOs in Suggest.java because we must pay attention to locale when changing character's case. Filed another Bug: 4769095 to track that. Bug: 4768050 Change-Id: I1ae2c4ffd2208403a8c2a25dd3a56b71dcefc826
* / Add ArraysCompatUtils.binarySearchTadashi G. Takaoka2011-06-211-2/+3
|/ | | | | | | Until API version 9, java.util.Arrays.binarySearch(int[], int, int, int) doesn't exist. Change-Id: Ife0ed4fbac642eda069e7b6f6b8dd30e0cd5fdee
* Fix NPETadashi G. Takaoka2011-06-201-1/+1
| | | | | | | NPE has occured while getting containerHeight in LatinIME.onComputeInsets(). Change-Id: Ib906c20791a1f80a5c484a75eead9d2816a9da1b
* Merge "Close dictionary appropriately"Tadashi G. Takaoka2011-06-201-28/+21
|\
| * Close dictionary appropriatelyTadashi G. Takaoka2011-06-201-28/+21
| | | | | | | | | | | | | | | | The dictionary that extends ExpandableDictionary must be closed when it becomes unused. Bug: 4725930 Change-Id: Ib5d2c39771fb7010d303a26d1ea1c8e237c0101f
* | Remove unnecessary onRefreshKeyboard call.Tadashi G. Takaoka2011-06-201-1/+2
|/ | | | | | | | | | | | | | | | | | When using the sliding spacebar language switch on ICS, both LatinIME.toggleLanguage() and InputMethodService.onCurrentInputMethodSubtypeChanged() invoke LatinIME.onRefreshKeyboard(). This change eliminates the first one if it isn't necessary. This change also cleans up the followings. * reuse theme Context when the keyboard theme hasn't been changed. * clear the Keyboard cache when theme has been switched. * eliminates unnecessary Context reference from LatinKeyboard and SlidingLocaleDrawable. * recycle Bitmap and reuse Canvas in KeyboardView. Bug: 4725930 Change-Id: I87366e9304879d94d12b7345adea768d86d43519
* Fix NPETadashi G. Takaoka2011-06-181-8/+2
| | | | | Bug: 4686479 Change-Id: I0b8a32d0f9bcebe55eebecd38dc5e69198e94378
* Merge "Disable showing TAB key when navigate flags are specified"Tadashi G. Takaoka2011-06-171-2/+3
|\
| * Disable showing TAB key when navigate flags are specifiedTadashi G. Takaoka2011-06-171-2/+3
| | | | | | | | | | Bug: 3094312 Change-Id: Ibbd36020c1e40daab220b588e6c190979afe7149
* | Temporarily disable displaying debug informationTadashi G. Takaoka2011-06-171-3/+3
|/ | | | | | Should come up with the way to display the debug info again soon. Change-Id: I20a01d1f03330cee05d4e52fd1ab622e315c87e9
* Merge "Small performance fix."Jean Chalard2011-06-161-2/+2
|\
| * Small performance fix.Jean Chalard2011-06-161-2/+2
| | | | | | | | | | | | This improves performance by not allocating an iterator. Change-Id: I5511fd8b8d3aa826917620c0af994dbaf1562bb1
* | Make LatinKeyboard aware of themeTadashi G. Takaoka2011-06-162-6/+1
| | | | | | | | | | Bug: 4436327 Change-Id: Idecdd470cbb0720b96958039eb11f6978d39629e