aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Try to compensate for a race condition."Jean Chalard2011-08-011-1/+2
|\
| * Try to compensate for a race condition.Jean Chalard2011-08-011-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This does not really fix the underlying bug, but it does fix the apparent symptoms. When the user presses space and a letter quick, the onUpdateSelection handler may be called after the letter has been actually committed. The keyboard then happily proceeds to clearing the composition because it thinks space was pressed (or the user moved the cursor, since it can't guess which happened). This change removes this behavior when we are expecting an update event from a keypress. This means the bug still exists if the user presses space twice and a letter, and all events come after the letter, but it is very very hard to reproduce this. There may be other collateral damage when the user moves the cursor in the form of race conditions, but likewise, they should be really hard to reproduce. Bug: 5100521 Change-Id: Ib05328c9b451bf6fe288ae00296fd283a9a4e863
* | Clean up revertLastWord()Ken Wakasa2011-08-012-59/+54
|/ | | | | | | | The "deleteChar" argument of this method is acutally always true in the current code path. Also, in this method, textToTheLeft virtually never has a punctuation letter as its initial character. This change is one of preparatory changes for bug:4983945. Change-Id: I531a32570a35634c21c1d74b2b461e40a1b7f660
* Turn off the Settings key by defaultKen Wakasa2011-07-312-23/+16
| | | | | bug:5094401 Change-Id: Ieb42fdfa79be2afcfa6634e7404c17737ef6927d
* Merge "Modified the test spell checker"satok2011-07-281-2/+18
|\
| * Modified the test spell checkersatok2011-07-281-2/+18
| | | | | | | | Change-Id: Ib64fac8672a4107638cd05a0232d46b49fc4aa8c
* | Merge "Use isFullscreenMode to determine candidate container height"Tadashi G. Takaoka2011-07-281-1/+1
|\ \
| * | Use isFullscreenMode to determine candidate container heightTadashi G. Takaoka2011-07-281-1/+1
| |/ | | | | | | | | Bug: 5081182 Change-Id: I3783d3994e96f8bf466cbc47c9e0aecc2a6bed50
* | Merge "Remove dead area around separators in the suggestion strip"Tadashi G. Takaoka2011-07-281-3/+6
|\ \
| * | Remove dead area around separators in the suggestion stripTadashi G. Takaoka2011-07-281-3/+6
| |/ | | | | | | | | | | | | | | If user touches the separator, the right hand side suggestion will be selected. Bug: 4431485 Change-Id: Ieaa79fe2ac7b15e312829dca847ddb1b25056c09
* | Merge "Remove icon and negative button from dialogs"Tadashi G. Takaoka2011-07-281-4/+0
|\ \
| * | Remove icon and negative button from dialogsTadashi G. Takaoka2011-07-281-4/+0
| |/ | | | | | | | | Bug: 5092028 Change-Id: I25b86c6e74e380e6cee4998bfe494bdafb611f36
* / Fix wrong keyboard width when orientation has changed while IME is not shownTadashi G. Takaoka2011-07-281-1/+1
|/ | | | | Bug: 5084021 Change-Id: Ie42da40b8249eaf9cf29707058906949278eff6a
* Clean up keyboard loading and switchingTadashi G. Takaoka2011-07-271-8/+8
| | | | | Bug: 4311428 Change-Id: Ia72de23634f824d82b7b5f2267d439ce922a3b57
* Merge "Load the binary dictionary asynchronously."Jean Chalard2011-07-261-15/+35
|\
| * Load the binary dictionary asynchronously.Jean Chalard2011-07-271-15/+35
| | | | | | | | | | | | | | | | | | This should help with LatinIME opening performance. It should not be merged before Ia9e4741f (if it is, there is a race condition where the wrong dictionary is opened). Bug: 5023141 Change-Id: I39c52de70a449929a622dddfdd92b38425ad9416
* | Fix a NPE when sent buggy data by an applicationJean Chalard2011-07-271-4/+9
|/ | | | | Bug: 5072247 Change-Id: I7369877072f6bb94dff5b1bcf52c9f8dde4854b7
* Close a multiprocess file handle.Jean Chalard2011-07-261-0/+1
| | | | | Bug: 5034192 Change-Id: I9c3d757cfae313e9b7510e167de797a74c74a351
* Purge quick fixes option.Jean Chalard2011-07-262-25/+10
| | | | | | | | | | This change removes everything related to the quick fixes Latin IME option item. Note that Autotext is still used if the current subtype language is the same as the system language. Bug: 4985058 Change-Id: I51728a2190543ffb9e004470674ef6257b14f6c2
* Take care of bidi-mirrored characters in suggestion strip as wellKen Wakasa2011-07-261-1/+7
| | | | | | | Follow up to I1b884848 bug: 5047217 Change-Id: I18b9962c4943363bae88009354fcc75ab60ad2ba
* Merge "Fix voice key mode default back to "on main keyboard""Tadashi G. Takaoka2011-07-252-8/+12
|\
| * Fix voice key mode default back to "on main keyboard"Tadashi G. Takaoka2011-07-252-8/+12
| | | | | | | | | | Bug: 5074042 Change-Id: I0c4a09b286c7680306741d47a48d5d9783e4a890
* | Merge "[step3] Add spell checker service."satok2011-07-251-0/+34
|\ \ | |/ |/|
| * [step3] Add spell checker service.satok2011-07-251-0/+34
| | | | | | | | Change-Id: Ib13b3a524e0f0b90de40a3e255040b3158d49258
* | Merge "Refactor Keyboard and KeyboardView resizing and drawing code"Tadashi G. Takaoka2011-07-221-6/+78
|\ \ | |/ |/|
| * Refactor Keyboard and KeyboardView resizing and drawing codeTadashi G. Takaoka2011-07-221-6/+78
| | | | | | | | | | Bug: 4311428 Change-Id: Ice4050f92c8f3cec1bec2074fe6a913d04f50524
* | Merge "Disable VoiceInputLogger inside LatinIME"Tadashi G. Takaoka2011-07-222-31/+39
|\ \
| * | Disable VoiceInputLogger inside LatinIMETadashi G. Takaoka2011-07-222-31/+39
| | | | | | | | | | | | | | | Bug: 4985273 Change-Id: I6c70e50a58be0973f78c6a1abc1fb4eac5449c0b
* | | Merge "Check user dictionary is enabled before showing touch-to-save"Tadashi G. Takaoka2011-07-222-6/+24
|\ \ \ | |/ / |/| |
| * | Check user dictionary is enabled before showing touch-to-saveTadashi G. Takaoka2011-07-222-6/+24
| |/ | | | | | | | | Bug: 5024127 Change-Id: If4d691a4a59c43579d1f977e9a0545495f30bafb
* / Do not register null pointers as dictionariesJean Chalard2011-07-221-1/+4
|/ | | | | Bug: 5062425 Change-Id: I025991424de40c2b31b90238f99ef160e7efd92e
* Merge "Set the locale for opening an asset"Jean Chalard2011-07-213-9/+30
|\
| * Set the locale for opening an assetJean Chalard2011-07-213-9/+30
| | | | | | | | | | | | | | | | | | This is necessary because we don't know any more whether the locale of the process is the expected one when the dictionary is loaded asynchronously. Bug: 5023141 Change-Id: Ia9e4741f3b4a04a9f085f5b65ec122471b0c2dff
* | Fix potential NPETadashi G. Takaoka2011-07-211-2/+3
| | | | | | | | Change-Id: I3679d24b6c89e081d24d59c91b136c139dcb3d5c
* | Revert "Guard unused voice functions"Tadashi G. Takaoka2011-07-212-14/+22
| | | | | | | | | | This reverts commit 795a712ecf1847251c2da02351e0812a2b5d4bb9. Bug: 4985273
* | Merge "Guard unused voice functions"satok2011-07-212-22/+14
|\ \ | |/ |/|
| * Guard unused voice functionssatok2011-07-212-22/+14
| | | | | | | | | | Bug: 4985273 Change-Id: I9491b4af24e636cba6362cdde44568d14f7b2b85
* | Merge "Fallback to the included dict if the passed one is invalid"Jean Chalard2011-07-201-3/+15
|\ \ | |/ |/|
| * Fallback to the included dict if the passed one is invalidJean Chalard2011-07-201-3/+15
| | | | | | | | | | | | | | | | | | If all dictionaries returned by the dictionary pack are invalid, then fallback to the dictionary included in the resources for this locale. Bug: 5052486 Change-Id: Id875194ca56a74b2ed6f5b0b4fdd55475f6842c8
* | Remove sliding spacebar language switcherTadashi G. Takaoka2011-07-193-153/+11
| | | | | | | | | | Bug: 4971680 Change-Id: Ia3485ddcf8051bf7b7ba7f7a37fa75c3bc8a4798
* | Merge "Support select input method dialog on pre-HC platform"Tadashi G. Takaoka2011-07-193-31/+16
|\ \ | |/ |/|
| * Support select input method dialog on pre-HC platformTadashi G. Takaoka2011-07-193-31/+16
| | | | | | | | | | Bug: 4971680 Change-Id: I641b336da54813e13409bd7874aa22e51f790729
* | Remove long-press-to-save feature from CandidateViewTadashi G. Takaoka2011-07-191-20/+1
| | | | | | | | | | Bug: 5027059 Change-Id: I884a84e50e810c0c4a8255217b39ea24937c756b
* | Fix an NPE related to absent InputConnectionJean Chalard2011-07-192-8/+25
| | | | | | | | | | Bug: 5035577 Change-Id: I1a11fc475d4a0f692636000d0b0f40bc35427867
* | Add a number of NULL pointer guards.Jean Chalard2011-07-193-7/+23
| | | | | | | | | | | | | | | | | | None of these are expected to actually be null, but those are included for peace of mind and foolproofing against future code changes. Bug: 4580040 Change-Id: Ib112b3e5db5f177aaf61767164b7e78d711f90a0
* | Merge "Deactivate the user unigram dictionary."Jean Chalard2011-07-191-6/+18
|\ \
| * | Deactivate the user unigram dictionary.Jean Chalard2011-07-191-6/+18
| | | | | | | | | | | | | | | Bug: 3459274 Change-Id: I41b7617623b5b2e48c2e460dc7f2d5ff410c8a4c
* | | Allow double-space-period after relevant punctuation signs.Jean Chalard2011-07-191-2/+14
| |/ |/| | | | | | | | | | | | | | | This allows the user to enter a period via double-space after quotes, currency symbols, brackets and other non-sentence-finishing punctuation marks. Bug: 3430389 Change-Id: Ibe40b3902861207eb918e7be6113e8be12216f53
* | Honor EditorType's IME_FLAG_NO_EXTRACT_UI and IME_FLAG_NO_FULLSCREEN flagsTadashi G. Takaoka2011-07-151-0/+8
|/ | | | | Bug: 5030408 Change-Id: I1c5649725780cd063db7a437b8559b7f2573469c
* Rename AutoDictionary to UserUnigramDictionary.Jean Chalard2011-07-153-41/+52
| | | | | | | ...and adjust internal functions, variables and constant names. Bug: 3459274 Change-Id: I1b11c6adfee360ac0fc22d627955688b3dbdcffc