aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/LatinIME.java (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add an option to prevent insertion of suggestion spansJean Chalard2011-09-021-3/+7
| | | | | | | This is to help debug of Bug: 5250788 Change-Id: I961321aff3776c4912eaf7a1fa4de0c01d715f24
* Rename CandidateView to SuggestionsViewTadashi G. Takaoka2011-09-011-53/+54
| | | | Change-Id: I6480cdf025f065130e1969899b259a243e7a11be
* Implement KeyboardLocale InputMethodSubtype extra keyTadashi G. Takaoka2011-09-011-0/+6
| | | | | | | | 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
* Add Key constructor for suggestions paneTadashi G. Takaoka2011-08-301-2/+2
| | | | | Bug: 5023981 Change-Id: I737bacb1a6bb40f70be65d6eff85614afe6c79ed
* Move locale-related utility methods to LocaleUtils.Jean Chalard2011-08-291-4/+4
| | | | Change-Id: I7e9e6e5bc4486d8618d0213b112308c3d305c15e
* Implement "forceAscii" private IME optionTadashi G. Takaoka2011-08-241-0/+12
| | | | | | | | | | | | | This change also introduces "AsciiCapable" extra value for subtype that indicates the subtype can input any ASCII code point from its keyboard layout. Only if the input field has "forceAscii" private IME option and the current subtype doesn't have "AsciiCapable" extra value, the en_US keyboard layout will be used for the input field. Bug: 3384942 Change-Id: I25e2553e37ecb5002df1164e45f6273845fe463b
* Rename LatinKeyboardBaseView to LatinKeyboardViewTadashi G. Takaoka2011-08-231-6/+6
| | | | | Bug: 5182291 Change-Id: I5089a14902b9f4ff1ab4f34e3f7a42aca5040d3e
* Merge "Extract sudden jumping touch event hack into separate class"Tadashi G. Takaoka2011-08-231-6/+6
|\
| * Extract sudden jumping touch event hack into separate classTadashi G. Takaoka2011-08-231-6/+6
| | | | | | | | | | Bug: 5182291 Change-Id: I6a88ed4df3ec98e31ea4966d82da56f7fca342ac
* | Remove screen orientation confirmation hackTadashi G. Takaoka2011-08-231-56/+10
|/ | | | | Bug: 4311428 Change-Id: Ie7e094ded9c7c1fe811b7eb97bc33ffecb29a73c
* Remove hacks related to determine window widthTadashi G. Takaoka2011-08-221-1/+0
| | | | | Bug: 4311428 Change-Id: Ic93f264101d13963503fcd447a69bbffd06e69f3
* Key click sound volume fixKen Wakasa2011-08-121-8/+16
| | | | | bug: 5145886 Change-Id: Ic599373ee17423ef9c61b3dd5177c3763aa31015
* Ellipsis for "Space" key for triggering the IME switcherKen Wakasa2011-08-101-4/+2
| | | | | bug:5136497 Change-Id: Iab7c68135500e9fed212521484090b52943550ca
* Stop reloading contacts when not appropriate.Jean Chalard2011-08-091-7/+36
| | | | | | | | | | A recent change had the contacts reloaded every time a new field is touched. This change not only fixes the problem, but also removes reloading contacts when changing language, which should make language switch within LatinIME lighter. Bug: 5125034 Change-Id: Ia61c4f75a8617113cdce88a2e2c6fdf073146a2d
* Correction mode should not rely on the existence of the main dicKen Wakasa2011-08-081-9/+6
| | | | | bug: 5114094 Change-Id: I2088918ec2c9ad6f8db13b55e58d3e73e180aef8
* Partially revert I531a3257 as it mistakenly broke some logic -- ↵Ken Wakasa2011-08-061-3/+4
| | | | | | textToTheLeft was required. Change-Id: I24f55cec05fea68836d6b3413b69f1e1b9c68ba2
* Fix issues with long-pressing the spacebarKen Wakasa2011-08-061-16/+21
| | | | | bug: 5114433 Change-Id: I18f2147724a08965147bafe93e11fc86c7c59d33
* Merge "Create a way to pass the proximity info to the dictionary"Jean Chalard2011-08-041-2/+4
|\
| * Create a way to pass the proximity info to the dictionaryJean Chalard2011-08-041-2/+4
| | | | | | | | | | | | This is a preparative change for inserting the spell checker. Change-Id: Ie441879cac4f67078ec27a95f1fcbbf3ef373df7
* | Additional hack for bug:4311428, a follow up for Ieade33d7.Ken Wakasa2011-08-041-1/+1
|/ | | | Change-Id: If1799a6fa3b2f45c98c9f3aeb88845f1fb08f09b
* Handle non word separators correctly even for the initial letter of a wordKen Wakasa2011-08-041-1/+2
| | | | | bug: 5101114 Change-Id: I0d804c9a500ff000dc06cadad46a2c6c6b8088b2
* Fix saving keyboard state while rotatingTadashi G. Takaoka2011-08-031-1/+1
| | | | | | | This change also uses longer timeout for restoring keyboard state. Bug: 4311428 Change-Id: Ieade33d7c69f1dee727b2b8c26f0112eca44b336
* Retain keyboard layout while orientation changeTadashi G. Takaoka2011-08-031-8/+34
| | | | | | | | This change also changes the timimng that the window width is registered. Bug: 4311428 Change-Id: Ied6b1b43bfa16a85f0e05cd308ce919d5d65677e
* Make Keyboard object immutable except shift stateTadashi G. Takaoka2011-08-011-1/+1
| | | | | | | This is the first step to implement suggestions pane as mini keyboard. Bug: 5023981 Change-Id: I90ffbde0fda19b4be68add449310997b56bf6904
* 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-011-59/+42
|/ | | | | | | | 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
* 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 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
* Purge quick fixes option.Jean Chalard2011-07-261-5/+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 "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-221-6/+2
|\ \
| * | Disable VoiceInputLogger inside LatinIMETadashi G. Takaoka2011-07-221-6/+2
| |/ | | | | | | | | Bug: 4985273 Change-Id: I6c70e50a58be0973f78c6a1abc1fb4eac5449c0b
* / Check user dictionary is enabled before showing touch-to-saveTadashi G. Takaoka2011-07-221-1/+7
|/ | | | | Bug: 5024127 Change-Id: If4d691a4a59c43579d1f977e9a0545495f30bafb
* Fix potential NPETadashi G. Takaoka2011-07-211-2/+3
| | | | Change-Id: I3679d24b6c89e081d24d59c91b136c139dcb3d5c
* Revert "Guard unused voice functions"Tadashi G. Takaoka2011-07-211-12/+9
| | | | | This reverts commit 795a712ecf1847251c2da02351e0812a2b5d4bb9. Bug: 4985273
* Guard unused voice functionssatok2011-07-211-9/+12
| | | | | Bug: 4985273 Change-Id: I9491b4af24e636cba6362cdde44568d14f7b2b85
* Remove sliding spacebar language switcherTadashi G. Takaoka2011-07-191-18/+1
| | | | | Bug: 4971680 Change-Id: Ia3485ddcf8051bf7b7ba7f7a37fa75c3bc8a4798
* Merge "Support select input method dialog on pre-HC platform"Tadashi G. Takaoka2011-07-191-29/+14
|\
| * Support select input method dialog on pre-HC platformTadashi G. Takaoka2011-07-191-29/+14
| | | | | | | | | | Bug: 4971680 Change-Id: I641b336da54813e13409bd7874aa22e51f790729
* | Fix an NPE related to absent InputConnectionJean Chalard2011-07-191-7/+16
| | | | | | | | | | Bug: 5035577 Change-Id: I1a11fc475d4a0f692636000d0b0f40bc35427867
* | 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-151-17/+22
| | | | | | | ...and adjust internal functions, variables and constant names. Bug: 3459274 Change-Id: I1b11c6adfee360ac0fc22d627955688b3dbdcffc
* Fix build breakageKen Wakasa2011-07-131-1/+1
| | | | Change-Id: Id2c2d152f54d00842ef9e200ccdce1e13cc128cb