aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/compat (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Use whether it's exact match to detect distracters.Keisuke Kuroyanagi2014-05-261-1/+1
| | | | | Bug: 13142176 Change-Id: Id5b7286d28897931f7bfe571be45d46ffeef4adf
* Use ViewCompat support library and delete ViewCompatUtilsTadashi G. Takaoka2014-05-241-19/+2
| | | | Change-Id: I57d60cacd86e83894294c3f64402aba8c1829872
* Revert "Use ViewCompat support library and delete ViewCompatUtils"Tadashi G. Takaoka2014-05-231-0/+71
| | | | | | | This reverts commit db21267b788592ce99b9fb052801c6ec90bfe7b6. The reverting change breaks build in unbundled jb-ub-latinimegoole branch. Change-Id: Ia61424f5321eb97f981d22c4b08e9ea8d348f6c1
* Use ViewCompat support library and delete ViewCompatUtilsTadashi G. Takaoka2014-05-241-71/+0
| | | | Change-Id: Ifee496ff7ecaf361898444ff4127f16748d96422
* Use Java 7 diamond operatorTadashi G. Takaoka2014-05-241-2/+1
| | | | Change-Id: If16ef50ae73147594615d0f49d6a22621eaf1aef
* Merge "Handle user dict as an ExpandableBinaryDictionary."Keisuke Kuroyanagi2014-04-301-2/+2
|\
| * Handle user dict as an ExpandableBinaryDictionary.Keisuke Kuroyanagi2014-04-301-2/+2
| | | | | | | | | | Bug: 13755213 Change-Id: I2d242a3332e9633d4e41e08c0bbfafcefd814ecd
* | Use shouldOfferSwitchingToNextInputMethod when availableYohei Yukawa2014-04-281-0/+11
|/ | | | | | | | | | | | | | | | With this CL, LatinIME starts using InputMethodManager#shouldOfferSwitchingToNextInputMethod when available and API level is higher than 19 (KitKat). Note that relevant settings of LatinIME will be ignored if InputMethodManager#shouldOfferSwitchingToNextInputMethod is considered to be available at the moment. We will revisit here to reorganize the user visible settings before the new global IME switching mechanism becomes publicly available. BUG: 12965588 Change-Id: I0188fa56cba8e983c61cef3ae3400a0e3821f718
* Merge "Plumbing for ProductionFlag.USES_CURSOR_ANCHOR_MONITOR"Yohei Yukawa2014-04-131-1/+28
|\
| * Plumbing for ProductionFlag.USES_CURSOR_ANCHOR_MONITORYohei Yukawa2014-04-111-1/+28
| | | | | | | | | | | | | | | | | | | | With this CL, LatinIME starts calling InputMethodService#setCursorAnchorMonitorMode in #onStartInput() when ProductionFlag.USES_CURSOR_ANCHOR_MONITOR flag is explicitly set to true. BUG: 13891796 Change-Id: Ib2fb0c3521b61859d4cc530155ccaaee7ee16cbc
* | Fix some flaky tests.Jean Chalard2014-04-101-0/+42
|/ | | | | | | | | | In tests, we create many instances of LatinIME, but we never destroy them. That means we never close the dictionaries nor the handlers. This change calls onDestroy, which closes all dictionaries, and adds some code to finish the handlers. Change-Id: I942517a2a940c54256b08763f6b38f5b55809f55
* Add InputMethodSubtypeCompatUtils.isAsciiCapable()Tadashi G. Takaoka2014-02-171-0/+14
| | | | Change-Id: I8145f090486f6fe30ef1e992db374cfba0c31012
* Add PunctuationSuggestions classTadashi G. Takaoka2014-02-141-2/+1
| | | | | | | This change must be checked in together with I366c477516. Bug: 12640318 Change-Id: I8d3864b9d9649c9e3306e82b01a6327b11281b1f
* Revert "Use ViewCompat support library"Tadashi G. Takaoka2014-01-271-0/+71
| | | | | | This reverts commit e7ee4fa862e9d7986c292c2e3a0d6b392100540a. Change-Id: I56fab60ac859289d3ed51f691cd7e2a15da01856
* Use ViewCompat support libraryTadashi G. Takaoka2014-01-271-68/+0
| | | | Change-Id: I4ba261752750f5087cba810045669512b430b5e0
* [IL57] Don't require a main dict suggestion.Jean Chalard2014-01-161-12/+0
| | | | | | | | | | This is bad for recorrection (it will ignore recorrection suggestions). But if you think about it well, if you didn't have a main dict, then you probably will compute the same stuff anyway. It's not useful to make this check at all. Bug: 12297051 Change-Id: I6d6cf4d9353b7c668c5413c67701563b243e585c
* [IL21] Move the workaround utils to a better place.Jean Chalard2013-12-201-3/+3
| | | | | Bug: 8636060 Change-Id: I566f9e109ebcabe3a6a778118434ce79d02d1113
* [IL16] Improve getTextWithSuggestionSpanJean Chalard2013-12-201-6/+20
| | | | | | | | | | | | Dynamically test for the presence of main dict suggestions. This is much more potent and more accurate than the vaguely defined boolean. Also, resolve a TODO and avoid creating an object uselessly. Not directly related, but helpful with: Bug: 8636060 Change-Id: Ib1745f77ee6d9ec7cd8bbfa5a548652ec84ec902
* Fix crash in AdditionalSubtypeUtilsSatoshi Kataoka2013-10-091-0/+56
| | | | | | Bug: 11136982 Change-Id: I9d022a178c47bad3566be4c0bd8ffbce0b14896d
* Add a utility of isLowRamDeviceSatoshi Kataoka2013-09-241-0/+46
| | | | | | Bug: 8967766 Change-Id: Id7132d1155bb3489bdab72d613289335945808e8
* Fix some warningsJean Chalard2013-07-311-3/+1
| | | | Change-Id: I7290cd1fb675a1b85b9b6ac2d464c932b5bca1dd
* Move util classes to the latin/utils directoryKen Wakasa2013-06-241-1/+1
| | | | Change-Id: I1c5b27c8edf231680edb8d96f63b9d04cfc6a6fa
* Clean up IntentCompatUtils a bitTadashi G. Takaoka2013-05-211-5/+4
| | | | Change-Id: I803aa6c2160bfa1ffe992b28e7eb6e8a320c9762
* Add a method to work around apps broken by recorrectionJean Chalard2013-05-212-0/+36
| | | | | Bug: 8944307 Change-Id: I8986622554f30aaf4f595099c4ab5652b75c972c
* Extract a new class for app-specific workarounds.Jean Chalard2013-05-211-0/+53
| | | | | Bug: 8944307 Change-Id: Iaff9dd03d3d856a6bdaa2b16c4e71e95cd2b6349
* Support ICS on the user dictionary settingsSatoshi Kataoka2013-04-261-2/+8
| | | | | Bug: 8600958 Change-Id: I50e9228afc7b04147eb7c4734d3145abe8859a30
* Update setup wizard iconsTadashi G. Takaoka2013-04-181-9/+9
| | | | | Bug: 8159728 Change-Id: Ia5a14a35292b43dc1eaa2d4edd65134040355149
* Remove the dialog to insert words to the dictionary.Jean Chalard2013-04-121-0/+51
| | | | | Bug: 8562529 Change-Id: Ibd853f0cb995e7fb35f8730eafcef73ead58c869
* Merge the dictionary pack in Latin IME.Jean Chalard2013-03-192-0/+74
| | | | | Bug: 8161354 Change-Id: I17c23f56dd3bc2f27726556bf2c5a9d5520bd172
* Small cleanup in CompatUtilsKen Wakasa2013-03-021-4/+4
| | | | Change-Id: I9b4a8d7eae744ba6252a6475b75240248c70a3c0
* Add setup wizard launcher iconTadashi G. Takaoka2013-03-011-0/+36
| | | | | | | | The setup wizard icon will be hidden if the Android Keyboard is in system image. Bug: 8239067 Change-Id: Ib0c0c9e3a0954512c3e03e42a661cdf86eff0dca
* Add preliminary setup wizardTadashi G. Takaoka2013-02-212-0/+112
| | | | | Bug: 8159728 Change-Id: I30d9cd637fb1d2e64588550e0aa4387bc1f7e6e5
* Separate IntentUtils from CompatUtilsTadashi G. Takaoka2013-02-041-17/+2
| | | | Change-Id: I373ae7ad26eee44cc8e9720314f6a53b811d0021
* Small code cleanupsKen Wakasa2013-01-077-38/+52
| | | | | | Multi-project commit with I249d5fbe Change-Id: Ia28c4e970992aa1299a30e604eaa5d096655c3a5
* Merge "Remove AudioManagerCompatWrapper.java"Ken Wakasa2012-12-171-54/+0
|\
| * Remove AudioManagerCompatWrapper.javaKen Wakasa2012-12-171-54/+0
| | | | | | | | | | | | It is actually no longer needed for API 14+ Change-Id: I379809eae881351fdf210dd8eaa5e0b5662fb59f
* | Clean up SuggestionSpanUtils for API level 14+Ken Wakasa2012-12-171-62/+17
|/ | | | Change-Id: Iadc235524341b48e7618e9ce05907c786409e004
* Enhance ImfUtils to InputMethodManagerWrapper classTadashi G. Takaoka2012-11-121-36/+4
| | | | Change-Id: I6ff86ee819a446dd3ed5f9c3400d23564027b020
* Replace useless CharSequence to StringTadashi G. Takaoka2012-10-221-12/+7
| | | | Change-Id: Idc478f901185ee1b4912acc82d0cbc54fee4e991
* Add SuggestedWords.isEmpty() methodTadashi G. Takaoka2012-10-031-2/+2
| | | | Change-Id: I0fcb104a6a81aee4b99f5ee848eba7495630dc7d
* Cleanup: Make some classes as finalTadashi G. Takaoka2012-09-272-2/+2
| | | | Change-Id: I6009b3c1950ba32b7f1e205a3db2307fe0cd688e
* Make utility classes finalTadashi G. Takaoka2012-08-296-6/+6
| | | | Change-Id: Ic4f69b4c8da33c9fca50d6829724179310c2f875
* Add CollectionUtils class to create generic collection easilyTadashi G. Takaoka2012-08-221-5/+6
| | | | Change-Id: I6b4de9187e122298e5e9cd8ddc9070d062df6a89
* Cleanup unused import and dead codeTadashi G. Takaoka2012-08-061-3/+0
| | | | Change-Id: Ife877620561d29a8f25602916420741186104617
* Enable hardware accelerated drawing for SoftInputWindow of LatinIMEKen Wakasa2012-08-021-0/+34
| | | | | | | Taking advantage of Ib6a8bda46223ce1153f32834daf02a820d16136e bug: 6872994 Change-Id: I799b25b6509980dd9f039bead9bc926b42cbb040
* Do not set "SuggestionSpan"s for suggestions from the next word predicitionsatok2012-05-151-0/+1
| | | | | Bug: 6294817 Change-Id: I5010eafa5ba7e947743706adf7e722f4f0cfb415
* Cleanup InputMethodManagerCompatWrapperTadashi G. Takaoka2012-04-181-40/+6
| | | | Change-Id: Id3b84ee19bb504ed8fbb398e260cc663a5b5ae0d
* Do not pass misspelled flags to TextViewsatok2012-04-171-6/+1
| | | | | | | Bug: 6310268 Original CL: I2f7a54ae0d63235a0b94e039109ab8 Change-Id: I28f64a4d0bb262db819f5f8c0ffc58a259c8e62d
* Utilize InputMethodSubtype and additional subtypeTadashi G. Takaoka2012-04-131-0/+4
| | | | | | | * Remove de_QY and fr_CH from supported subtypes * Add de-qwerty and fr-qwertz predefined additional subtypes instead. Change-Id: I49e8ba0299529302f2b91b4d018b07304cdd6897
* Refatcor InputMethodSubtype related stuff a bitTadashi G. Takaoka2012-04-131-4/+7
| | | | Change-Id: Iaded72331660afbaeddda085f2b633b681d4b6df