aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/LatinIME.java (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Skip successive InputMethodService callbacks after orientation changedTadashi G. Takaoka2011-09-301-61/+101
| | | | | | | | | | | | | | | | IME is called back four methods for each input field as a IME life cycle. The four methods are onStartInput, onStartInputView, onFinishInputView and onFinishInput. After orientation changed, Those quartet methods will be called back twice. This behavior of the framework might be a bug. In order to restore the previous keyboard layout, we should skip onFinishInputView and onFinishInput of the first quartet and onStartInput and onStartInputView of the second quartet. Bug: 4311428 Change-Id: I450ddc0cce5d00abc971ffd42a507a8a86682548
* Update suggestions when user presses the backspace even when there is not ↵satok2011-09-291-3/+7
| | | | | | | two or more suggestions Bug: 5384445 Change-Id: I419999da8f5745ac114d0173beeadcb365a8c3ac
* add vibration duration settingssatok2011-09-291-10/+1
| | | | Change-Id: I56a1a94df63160f367f866da759d7dd4fc428ed5
* Postpone onDisplayCompletions until onStartInputView has been executedTadashi G. Takaoka2011-09-281-1/+20
| | | | | Bug: 5108267 Change-Id: I42d297ce4e4913e5dab5f5d647b1d13dc860b884
* am b1bc5fd8: Bug 5352720: IME_FLAG_NO_EXTRACT_UI is not enforcedGilles Debunne2011-09-211-2/+11
|\ | | | | | | | | * commit 'b1bc5fd896329a39ad51a8c79e2970750c814ea0': Bug 5352720: IME_FLAG_NO_EXTRACT_UI is not enforced
| * Bug 5352720: IME_FLAG_NO_EXTRACT_UI is not enforcedGilles Debunne2011-09-211-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | CL https://android-git.corp.google.com/g/#/c/136474 refactored the fullscreen test, but ithe IME_FLAG_NO_EXTRACT_UI test was lost in the process. Note that there is still a problem (orthogonal to that change with key_preview_backing, which appears opaque and black sometimes. I'll re-open 5315001. Change-Id: If3a73179d21eaca10bdc948db7bac4b4f7a88d34
| * (DO NOT MERGE) Update fullscreen mode also at onStartInputViewTadashi G. Takaoka2011-09-201-18/+17
| | | | | | | | | | | | | | This is a cherry-pick cheof I190a71f7 from Master. Bug: 5315001 Change-Id: I76c756eeecf21eec4c88dd4558d5c50f10ff3d3c
* | Merge "Remove "autoCorrectInvert" feature from SuggestionsView"Tadashi G. Takaoka2011-09-201-2/+0
|\ \
| * | Remove "autoCorrectInvert" feature from SuggestionsViewTadashi G. Takaoka2011-09-211-2/+0
| | | | | | | | | | | | | | | Bug: 5162005 Change-Id: Iec679f5f05f28cd7e8013d7350ea03372f1cd7b2
* | | Fix key preview backing view heightTadashi G. Takaoka2011-09-211-0/+3
|/ / | | | | | | | | Bug: 5344344 Change-Id: Ied0cda2c4b822b391ece54a6880fae8e349cc0bc
* | Merge "Tweak LatinIME's keypress volume"Ken Wakasa2011-09-201-17/+21
|\ \
| * | Tweak LatinIME's keypress volumeKen Wakasa2011-09-201-17/+21
| | | | | | | | | | | | | | | bug: 5337902 Change-Id: I7f864f158d110aa3e755961303799882f59b7e4c
* | | Merge "Update fullscreen mode also at onStartInputView"Tadashi G. Takaoka2011-09-201-18/+17
|\ \ \ | |/ / |/| |
| * | Update fullscreen mode also at onStartInputViewTadashi G. Takaoka2011-09-201-18/+17
| |/ | | | | | | | | | | | | | | 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-7/+32
|/ | | | | bug: 5337363 Change-Id: If6e6de587cbcddf26710d8f0b237c4bc393589b6
* Make WordComposer aware of capitalized wordTadashi G. Takaoka2011-09-131-4/+0
| | | | Change-Id: If6c0edef2334f018f2e04c6034f8ce747206f150
* Merge "Fix an NPE"Jean Chalard2011-09-091-8/+10
|\
| * Fix an NPEJean Chalard2011-09-091-8/+10
| | | | | | | | | | | | | | | | I think only the monkey can realistically stumble on this one, but still. Bug: 5276917 Change-Id: I0d9f76e4786973d3695fcd46127f0bed46621c33
* | Back button to dismiss the more suggestionsTadashi G. Takaoka2011-09-091-3/+6
|/ | | | | Bug: 5275063 Change-Id: If31e9a25d827f44c8d4ff455a780ec2a6d2d9bef
* Use full screen mode on landscape/phone deviceTadashi G. Takaoka2011-09-081-9/+1
| | | | | Bug: 5262767 Change-Id: I721c18522c972ced9f359f2e5208572d54a4b7a1
* Tune the threshold of fullscreen mode from 2.5in to 500dipTadashi G. Takaoka2011-09-071-5/+5
| | | | | Bug: 5262767 Change-Id: Ie418ab766951a568d0f40822d8e8d719582749ba
* Use separate View for key preview backingTadashi G. Takaoka2011-09-031-4/+9
| | | | | Bug: 5246982 Change-Id: Icec4281cb01771909fcece36647ee42ba179118c
* 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
|\