aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/compat (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove the "deprecated" classesKen Wakasa2012-03-302-122/+1
| | | | | bug: 6129704 Change-Id: Ib27f2774444e1f084b19be3fe6f56d25dffa7084
* Fix some obvious compiler warningsTadashi G. Takaoka2012-03-293-7/+8
| | | | Change-Id: I10a634f7492b45d5a72345f14d36cf341946387d
* Put a misspelled flag if the word is not valid by the same logic of Android ↵satok2012-03-271-7/+25
| | | | | | | | | | spell checker. Bug: 6222722 Currently, the flags of the suggestion span from the Latin IME is different from the flags from Android spell checker. Change-Id: I2f7a54ae0d63235a0b94e039109ab8b2f1311055
* Use the unique flag in SuggestionsViewJean Chalard2012-03-151-1/+0
| | | | | | | Also, the first word in a sugestions list can never be obsolete. Change-Id: Ib21439aac8db4e6ce5b15b7a2aabe4222bc354db
* Avoid using collection interface, using array insteadTadashi G. Takaoka2012-03-131-1/+1
| | | | Change-Id: Ie0554362b73967bfcbbab6ad19c24683066a608e
* Merge "Split Utils class to StringUtils, SubtypeUtils, and JniUtils"Tadashi G. Takaoka2012-03-081-3/+4
|\
| * Split Utils class to StringUtils, SubtypeUtils, and JniUtilsTadashi G. Takaoka2012-03-081-3/+4
| | | | | | | | Change-Id: I09e91675fe7d573dad8c933ad513b21d7e409144
* | Give InputLogicTests the ability to change languageJean Chalard2012-03-082-4/+4
|/ | | | | | | | Also fix a typo, and increase the time allowed to load the main dictionary to 2 secs instead of 1. Bug: 6114326 Change-Id: I5f70b34fc4277c55977b18466253152aa98a2507
* Add language switch key only to the phone layoutsTadashi G. Takaoka2012-03-071-0/+21
| | | | | Bug: 5759092 Change-Id: Ic7d7d4812976654c0e85fecabd1128eadfc52c5c
* Merge "Omit InputMethodManagerCompatWrapper argument from some utility methods"Tadashi G. Takaoka2012-03-041-3/+2
|\
| * Omit InputMethodManagerCompatWrapper argument from some utility methodsTadashi G. Takaoka2012-03-051-3/+2
| | | | | | | | Change-Id: Ic837018c702c8c575de3e5e81fe8e31fee16fe22
* | Added virtual view hierarchy for keyboard accessibility.alanv2012-02-284-30/+57
|/ | | | | Bug: 5829051 Change-Id: Ied1b6267eec616bd3b9337f6e761b0c740aa0eb2
* Add next/prev navigate action more keys and remove tab keyTadashi G. Takaoka2012-02-211-5/+5
| | | | | | Bug: 6037537 Bug: 5961814 Change-Id: I9c6dedf953452a180fcd5bce7bfadfd3c821f224
* Shift+Smiley key will register newline character of textMultiLineTadashi G. Takaoka2012-02-081-33/+25
| | | | | | | | | | | | | | This change also * Honors the custom action label in EditorInfo.actionLabel. * Invokes InputConnection.performeEditorAction if action is specifed at EditorInfo.imeOptions or actionLabel/actionId. * Stops using InputMethodService.sendKeyChar. Implements sendKeyCodePoint instead. Bug: 2498607 Bug: 5961809 Bug: 5368408 Change-Id: If4cd5eb3dacfc6b6a7ea434b0617c2438e06e42d
* Support EditorInfo.IME_FLAG_FORCE_ASCIITadashi G. Takaoka2012-01-171-3/+22
| | | | | Bug: 5850605 Change-Id: I6665b483f775094903f2e26f5584e4b141592ab5
* Add error log to expensive ArraysCompatUtils.binarySearchTadashi G. Takaoka2011-12-161-2/+13
| | | | Change-Id: Id33998e2a99be9249de4011892555f10c5d0968d
* Build God Mode keyboard with API level 14Ken Wakasa2011-12-101-0/+43
| | | | Change-Id: I29ab9e9041c9faac91dc303175625221bfdb3af8
* am c960695f: Updated keyboard to use SPEAK_PASSWORD preference.Alan Viverette2011-12-061-0/+34
|\ | | | | | | | | * commit 'c960695f38ae0564dff3a6897fd1843c8e74c604': Updated keyboard to use SPEAK_PASSWORD preference.
| * Updated keyboard to use SPEAK_PASSWORD preference.Alan Viverette2011-12-061-0/+34
| | | | | | | | | | Bug: 5678383 Change-Id: Ie9bdc92f4b2c9014159d672b71e4438f8fa34f55
* | Refactor reflection membersatok2011-12-061-7/+7
| | | | | | | | Change-Id: I112dbf851e10dae9e4291cf440f01b28d51180f4
* | am e5db3871: Fix a field value for the suggestion max size Bug: 5574747satok2011-12-051-3/+3
|\| | | | | | | | | * commit 'e5db3871b1269703e5ef360090fb35f50ae57ed4': Fix a field value for the suggestion max size Bug: 5574747
| * Fix a field value for the suggestion max sizesatok2011-12-051-3/+3
| | | | | | | | | | | | | | | | Bug: 5574747 This bug was introduced by I5e40edf6f790c078c4a05d Change-Id: I5b0f51e1f5e8a12d786657167082bc604089505e
* | am 352b9310: Merge "Use reflection to get field values of SuggestionSpan" ↵satok2011-10-311-7/+23
|\| | | | | | | | | | | | | into ics-mr1 * commit '352b93104afa73fd53a04c4414bf382fcf477f04': Use reflection to get field values of SuggestionSpan
| * Use reflection to get field values of SuggestionSpansatok2011-10-281-7/+23
| | | | | | | | | | Bug: 5440299 Change-Id: I5e40edf6f790c078c4a05d0d347a89d63f7c042a
* | Make some private method staticTadashi G. Takaoka2011-10-281-2/+1
|/ | | | Change-Id: Ia23765268be0ef89d7fe7c3f5372ed32d6615765
* Set SuggestionSpan with FLAG_AUTO_CORRECTION as a composing spansatok2011-10-151-1/+2
| | | | | Bug: 5460262 Change-Id: Ibeb875bb885fb663ed23f0299d671e995a66b642
* Put SuggestionSpan as the indicater of the auto-correctionsatok2011-10-101-0/+23
| | | | | | Bug: 5245468 Change-Id: Ia5609e1b3c69f5553e3632fbce60a55665a5b185
* Move SharedPreferencesCompat to com.android.inputmethod.compatsatok2011-09-301-0/+53
| | | | Change-Id: Ied336339b8eb3643f14517c251b07c09398f61fe
* Merge "Update fullscreen mode also at onStartInputView"Tadashi G. Takaoka2011-09-201-10/+0
|\
| * Update fullscreen mode also at onStartInputViewTadashi G. Takaoka2011-09-201-10/+0
| | | | | | | | | | | | | | | | This change also separates controlling visibility of "key preview backing view" from suggestions strip visibility. Bug: 5315001 Change-Id: I190a71f7956c804e5d89d2d5bacecc62d565ac2c
* | Tweak LatinIME's keypress vibration durationKen Wakasa2011-09-201-0/+4
|/ | | | | bug: 5337363 Change-Id: If6e6de587cbcddf26710d8f0b237c4bc393589b6
* Merge "Support automatic language"satok2011-09-051-2/+1
|\
| * Support automatic languagesatok2011-09-051-2/+1
| | | | | | | | | | | | Bug: 5057886 Change-Id: I807776b0a3d1286c66ba032c3701b3503911664c
* | Get rid of LinearLayoutCompatUtilsTadashi G. Takaoka2011-09-051-55/+0
|/ | | | Change-Id: If0f63eaeb4539c0e03ef20190d2f9211a176babc
* Implement KeyboardLocale InputMethodSubtype extra keyTadashi G. Takaoka2011-09-011-4/+5
| | | | | | | | The locale is specified by KeyboardLocale extra key in method.xml, LatinIME will use the specified locale for keyboard layout. Bug: 5238658 Change-Id: I8e6cb66c73a7ac1bf611d9910b42fa9cff38eba0
* Do not put the suggestion span for obsolete suggestions.satok2011-08-261-1/+2
| | | | | | Bug: 5219037 Change-Id: I0300fbc7e1cc97f0f8ba4d21e0e699d9fe66ed76
* Fixed speaking keys when editing password fieldsAlan Viverette2011-08-081-0/+54
| | | | | Bug: 5042681 Change-Id: Ic4523ec38b0faa2b6a91d476ea7af7e69404861c
* Updated check for touch exploration enabled stateAlan Viverette2011-07-212-27/+4
| | | | | Bug: 5061704 Change-Id: Id2c0cce953f7bdb2b4c18b68f9e318d95eabc1b8
* Vibrator.hasVibrator() takes no parameter.Ken Wakasa2011-07-201-1/+1
| | | | | bug: 5038842 Change-Id: I239a2f35488a1f18ecdb019abc50e72e3e9da297
* Support select input method dialog on pre-HC platformTadashi G. Takaoka2011-07-194-22/+188
| | | | | Bug: 4971680 Change-Id: I641b336da54813e13409bd7874aa22e51f790729
* Honor EditorType's IME_FLAG_NO_EXTRACT_UI and IME_FLAG_NO_FULLSCREEN flagsTadashi G. Takaoka2011-07-151-0/+10
| | | | | Bug: 5030408 Change-Id: I1c5649725780cd063db7a437b8559b7f2573469c
* Display suggested word info in debug modeTadashi G. Takaoka2011-06-241-0/+11
| | | | | Bug: 4686782 Change-Id: I0e5bef33aa39c3d6f75edda7818524965aa40b79
* Added support for touch exploration to Latin IME.Alan Viverette2011-06-223-0/+104
| | | | | Bug: 4379983 Change-Id: I97f22e54827c6229054b514801401ffa5b4ed3b8
* Make CandidateView backward compatibleTadashi G. Takaoka2011-06-221-0/+52
| | | | | | | | 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-212-2/+57
|\
| * Use 2 arguments LinearLayout constructorTadashi G. Takaoka2011-06-212-2/+57
| | | | | | | | | | | | | | To maintain backward compatibility back to Froyo, we can't call 3-argument constructor of LinearLayout. Change-Id: I35310704f92812d2748d32f35820a5058fa2bf31
* | Add ArraysCompatUtils.binarySearchTadashi G. Takaoka2011-06-211-0/+50
|/ | | | | | | Until API version 9, java.util.Arrays.binarySearch(int[], int, int, int) doesn't exist. Change-Id: Ife0ed4fbac642eda069e7b6f6b8dd30e0cd5fdee
* Remove unnecessary onRefreshKeyboard call.Tadashi G. Takaoka2011-06-201-3/+3
| | | | | | | | | | | | | | | | | | 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
* Merge "Refactor of SuggestionSpanUtils"satok2011-06-171-10/+11
|\
| * Refactor of SuggestionSpanUtilssatok2011-06-171-10/+11
| | | | | | | | Change-Id: Id266062831e8c28a346e129168b883ee3d5622bf