aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
* | Make CandidateView aware of themeTadashi G. Takaoka2011-06-152-24/+41
|/ | | | | | | This change is needed to introduce new theme easily. Bug: 4436327 Change-Id: Idc368b66d892d9c888ba7a26bfa3527c21678292
* Fix NPE in CandidateView.offsetMarginTadashi G. Takaoka2011-06-151-0/+2
| | | | | Bug: 4609124 Change-Id: I14913afba80732e6beb8458b404001798a221a79
* Implement expandable candidates paneTadashi G. Takaoka2011-06-143-22/+158
| | | | | | | | | | This change removes horizontal scroll from candidates strip. Instead of that this change introduces "fixed 3 items candidates strip" and "expandable candidates pane". Bug: 4175031 Change-Id: Ia367d9074436fdea76d3b653d81798ce2749170e
* Merge "Add an option to use or not the contacts dictionary."Jean Chalard2011-06-133-4/+20
|\
| * Add an option to use or not the contacts dictionary.Jean Chalard2011-06-133-4/+20
| | | | | | | | | | Bug: 4586840 Change-Id: If62cd57e5ab661e6a51a5442d09bf0af8f08f263
* | Clean up candidate strip view hierarchyTadashi G. Takaoka2011-06-131-2/+2
| | | | | | | | | | Bug: 4175031 Change-Id: I8073739ac7624d2c0a111c5ef7043d8766162a83
* | am bdbefac0: am 263749f2: am 37deb112: Fix IndexOutOfBoundsExceptionTadashi G. Takaoka2011-06-101-4/+8
|\ \ | | | | | | | | | | | | * commit 'bdbefac0b471e8a70c5d4958b8d1a345777d6bdb': Fix IndexOutOfBoundsException
| * | Fix IndexOutOfBoundsExceptionTadashi G. Takaoka2011-06-101-4/+8
| | | | | | | | | | | | | | | Bug: 4586181 Change-Id: I10a2d1486c9a0d11aa42cf7c6a33ecd70b6918d7
| * | Remove web mode and add webInput boolean (DO NOT MERGE)Tadashi G. Takaoka2011-05-271-10/+14
| | | | | | | | | | | | | | | Bug: 4490948 Change-Id: I4cd1af0b48d7ebcf8f4bd939e0e363e34dbfe8b7
| * | Introduce web and email mode (DO NOT MERGE)Tadashi G. Takaoka2011-05-262-14/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change introduces new keyboard mode "webEmail" to honor InputType.TYPE_TEXT_VARIATION_WEB_EMAIL_ADDRESS. In this mode, both '@' key and TAB key appear on the keyboard. The keyboard layouts will be modified with other change. Bug: 4490948 Change-Id: I66f9bda4907da448db097e9c900199dfa700b16a
| * | Replace large device keyboard with phone style keyboard (DO NOT MERGE)Tadashi G. Takaoka2011-05-205-5/+5
| | | | | | | | | | | | | | | | | | | | | This change also fixes copyright comments. Bug: 4442045 Change-Id: I297a2c64e709fb0d613404e5f1de45d810f9de15
* | | Merge "Stop using raw e-mail addresses as names in contacts dict."Jean Chalard2011-06-101-3/+1
|\ \ \
| * | | Stop using raw e-mail addresses as names in contacts dict.Jean Chalard2011-06-101-3/+1
| | |/ | |/| | | | | | | | | | Bug: 4590281 Change-Id: I37016dd066efa1463077c67e05218148cbb67df4
* / | Demote contacts frequency.Jean Chalard2011-06-101-1/+1
|/ / | | | | | | | | Bug: 4586840 Change-Id: I6dbef2d973174fc49c3955547dde923d6fa48ae1
* | Merge "Enable reverting the auto-conversion of double space."Jean Chalard2011-06-081-9/+52
|\ \
| * | Enable reverting the auto-conversion of double space.Jean Chalard2011-06-091-9/+52
| | | | | | | | | | | | | | | Bug: 3376923 Change-Id: If3fcfd208ad4a2b8a1452a21b07694d8d512c6ae
* | | Merge "Introduce CandidateView.Listener"Tadashi G. Takaoka2011-06-082-8/+16
|\ \ \
| * | | Introduce CandidateView.ListenerTadashi G. Takaoka2011-06-092-8/+16
| | | | | | | | | | | | | | | | | | | | Bug: 4175031 Change-Id: Ie84d1c86ff099350b786c71e7081d9ea9ee0d81f
* | | | Fix duplicate action nextTadashi G. Takaoka2011-06-091-1/+0
| |/ / |/| | | | | | | | Change-Id: I986528131a1dbe5926b8b6b2a6ffa75f48c5151a
* | | Merge "Separate debug information display from candidate view"Tadashi G. Takaoka2011-06-081-68/+78
|\ \ \ | |/ / |/| |
| * | Separate debug information display from candidate viewTadashi G. Takaoka2011-06-081-68/+78
| | | | | | | | | | | | | | | | | | | | | This change is one of the preparations for suggestion strip redesign. Bug: 4175031 Change-Id: I82675936773ed6cf132a52486909ff21af828256
* | | Revise hasMultipleEnabledIMEsOrSubtypes()Ken Wakasa2011-06-071-1/+31
|/ / | | | | | | | | | | bug: 4559308 Change-Id: If831c0827dbf030eaf1d241ebfa60d4e5029ae63
* | Fix NPE introduced by Ia0dc487cTadashi G. Takaoka2011-06-071-2/+2
| | | | | | | | | | Bug: 4553273 Change-Id: Iaf7a969b2c96750070a296791108d67887d613e4
* | Separate candidate divider from candidate viewTadashi G. Takaoka2011-06-061-6/+9
| | | | | | | | | | | | | | This change is one of the preparations for suggestion strip redesign. Bug: 4175031 Change-Id: Ia0dc487c11c3005ef19b87ec0efcc18e48411f76
* | Add spell checking core methods.Jean Chalard2011-06-031-0/+114
| | | | | | | | | | Bug: 4176026 Change-Id: Ic6ea3e084b3ebacfc5fd998d2c7b0130f7b0ec48
* | Allow reading a binary dictionary even without proximity info.Jean Chalard2011-06-021-1/+2
| | | | | | | | | | | | | | | | This prepares the way for spell checking, which is to be done without context so without proximity info. Bug: 4176026 Change-Id: I1b4bfaefe2611e1b484acdf3c33598cb80f81ff4
* | Merge "Enable choosing a bigram prediction several times in a row."Jean Chalard2011-05-301-6/+8
|\ \
| * | Enable choosing a bigram prediction several times in a row.Jean Chalard2011-05-301-6/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change fixes a bug that prevented to choose a prediction several times in a row because the predictions would be replaced right away by punctuations. Please note several things about this change: - Recorrection is pretty much in the middle of being refactored. This change has no effect on recorrection itself, but may make existing strange behavior more obvious when moving the cursor for example. - The part of this change in Recorrection.java is not used in master at the moment because ongoing changes on recorrection result in the control never landing there, but would have been needed in the past and may be needed in the future. - This change may have adverse effects on performance which need to be evaluated. A comment in the code has also been written to this effect. - This does not fix bug 4466199, only addresses a pinpoint case of it to help evaluating the bigram predictions feature. Bug: 4466199 Change-Id: I7219e5aeb74dff9251d12b2a72f94448dbb3e63f
* | | Merge "Remove web mode and add webInput boolean"Tadashi G. Takaoka2011-05-272-4/+4
|\ \ \
| * | | Remove web mode and add webInput booleanTadashi G. Takaoka2011-05-272-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | Bug: 4490948 Change-Id: I6fe23c9ab4918eab6806cc621c4d6821c2e1baf9 Cherry-Pick: I4cd1af0b
* | | | Merge "Stop promoting auto dictionary words to the user dict."Jean Chalard2011-05-272-17/+0
|\ \ \ \
| * | | | Stop promoting auto dictionary words to the user dict.Jean Chalard2011-05-252-17/+0
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | Also see change I5a57ecc8 which is another fix for the same problem. Bug: 3459274 Change-Id: Ica2bb5b5aa4362d538df3765559d676c1aab4a85