aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/compat (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Use reflection to get field values of SuggestionSpansatok2011-10-281-7/+23
| | | | | Bug: 5440299 Change-Id: I5e40edf6f790c078c4a05d0d347a89d63f7c042a
* 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
* | Tab key is shown when editor navigation flag is setTadashi G. Takaoka2011-06-171-1/+1
|/ | | | | | | | | | Previously tab key is shown only when the input type variant says that it is web input. In addition to that, this change also shows tab key when the IME option includes editor action (next and/or previous) flag. Bug: 3094312 Change-Id: I3f8841fdbcee918a0f93f3259090f24e70d96471
* Remove the original text from SuggestionSpansatok2011-06-151-8/+16
| | | | Change-Id: If70d32cad980b46ba77f399606d7ab3957c5d096
* Revise hasMultipleEnabledIMEsOrSubtypes()Ken Wakasa2011-06-071-0/+6
| | | | | | bug: 4559308 Change-Id: If831c0827dbf030eaf1d241ebfa60d4e5029ae63
* Fix web input type judgmentTadashi G. Takaoka2011-05-301-2/+6
| | | | | Bug: 4490948 Change-Id: I71efb8f5784970f1d2a94da1d2eb852f7f11885f
* Remove web mode and add webInput booleanTadashi G. Takaoka2011-05-271-3/+22
| | | | | | Bug: 4490948 Change-Id: I6fe23c9ab4918eab6806cc621c4d6821c2e1baf9 Cherry-Pick: I4cd1af0b
* Add SuggestionSpan suggestion picked notification receiversatok2011-05-261-11/+20
| | | | | | Bug: 4443922 Change-Id: I8a9dc5077ae06c6d0c39fd7fdd823fc4f4d05f45
* Disable the legacy recorrection functionalities if the suggestion span is ↵satok2011-05-251-0/+5
| | | | | | | | supported Bug: 4346045 Change-Id: Ib4594a9073b961038564bbcd601f9c290d153d5d
* Put SuggestionSpan at commitTextsatok2011-05-253-39/+88
| | | | | Bug: 4346045 Change-Id: Iaabdb8a148b2601bb9cbc2b08509adac164105a4
* Merge "Fix reflection method invokation"Tadashi G. Takaoka2011-05-231-3/+3
|\
| * Fix reflection method invokationTadashi G. Takaoka2011-05-241-3/+3
| | | | | | | | | | | | | | Either of Method.invoke, Field.get and Field.set can accept null as receiver. Change-Id: I4539dcc95a794f6ee84cf4e7aabf4e8f0206728f
* | Add missing IME_ACTION_NEXTTadashi G. Takaoka2011-05-241-0/+3
|/ | | | Change-Id: I377042c1750dd97b922bcf40bffb4046e023f6bb
* Fix Eclipse warnings.Jean Chalard2011-04-261-3/+3
| | | | | | | This change is only there to fix warning issued by Eclipse. It should have absolutely no impact on the program logic. Change-Id: Ie0e242ac6c167297d33de19902340b0f6ecae9e1
* Fix language selection settingssatok2011-04-211-2/+3
| | | | Change-Id: I99e2039579a5bd606a8e698cdee2739465b998bc
* Tweak voice layout for Dogfoodsatok2011-04-203-7/+16
| | | | Change-Id: Ic51a044901a63c4cec907163e35cd5e458f36dde
* A fix for handling dummy voice subtypessatok2011-04-182-6/+11
| | | | Change-Id: I75d4d1625e0925d01ae84c9577e15087d83e4191
* Fix for language bar switchingsatok2011-04-142-5/+6
| | | | Change-Id: Id3974642b62b012968c537eff7c1a7ee37e2def2
* Merge "Fast key preview"Tadashi G. Takaoka2011-04-131-18/+0
|\
| * Fast key previewTadashi G. Takaoka2011-04-131-18/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously the key preview was implemented by PopupWindow. The key preview popup window would be dismissed and shown each time the key was released and pressed. It turned out that it was taking several milliseconds. This change implements the key preview by a simple TextView which will be layout-ed at absolute coordinates within the screen FrameLayout. And dismissing and showing the key preview is implemented by the TextView's visibility. This implementation needs careful coordination of candidates.xml layout and LatinIME.onComputeInsets to control suggestion strip visibility. Bug: 4179964 Change-Id: Id6347cb35b91eb14ab20dd2f312e58b54b6625a7
* | Support language bar swich for InputMethodSubtypesatok2011-04-132-3/+29
|/ | | | Change-Id: Ie49f0c1c7aea135331dc1d4a635197b3f4a96e93
* Merge "Enable VoiceInput even if there is no shortcut subtype supported"satok2011-04-012-7/+131
|\
| * Enable VoiceInput even if there is no shortcut subtype supportedsatok2011-04-012-7/+131
| | | | | | | | Change-Id: I1d455348f56d73ecb942f22c2bbd03f240b489a6
* | Disable Recorrection when APIs are not supported.satok2011-04-011-0/+33
|/ | | | Change-Id: I3b8fdc149d350215fd4852a50456824fe3fabe0b
* Fix a NPE in InputMethodManagerCompatWrappersatok2011-03-251-0/+3
| | | | Change-Id: Ia7c9b7135ba38a8df29464f7776b51d412f71acb
* Fix some compat bugs and add VoiceInputLoggerCompatUtilssatok2011-03-254-7/+23
| | | | Change-Id: I54ed0853ed4423704a300977d7880678e066a6fb