aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Reset old keyboard state before switching to new keyboard (DO NOT MERGE)Tadashi G. Takaoka2011-01-122-8/+14
| | | | | Bug: 3322158 Change-Id: I8030202f9b1b491bd9b7acf5ce14b6d8f14db978
* Automaticaly snap back to the previous mode from sliding input (DO NOT MERGE)Tadashi G. Takaoka2011-01-014-68/+213
| | | | | | | | | | | | | | This change is back porting of the following changes from Honeycomb. - I48ea1346: Automaticaly snap back to the previous mode from sliding symbol input - I9507a98c: Suppress haptic feedback while sliding key input - Ia06e1abc: Cancel long press timer when sliding key input is not allowed - I15127929: Fix checking of sliding off from key - I2518dd1d: Fix potential keyboard layout change bug - Iffaad1eb: Snap back to the previous keyboard when sliding input is canceled - Id74bddef: Longer long-press timeout in sliding input Bug: 3280151 Change-Id: If20b34e8773ebf081c2274d136be4f8ad07ca4fa
* Merge "DO NOT MERGE: Logging for the VoiceSearch alternates" into gingerbreadMaryam Garrett2010-12-173-19/+22
|\
| * DO NOT MERGE: Logging for the VoiceSearch alternatesMaryam Garrett2010-12-063-19/+22
| | | | | | | | | | | | | | | | | | | | Log which voice-based alternates were selected, and what word in the recognition results were replaced. This change was commited in master, but was never merged into GB. Bug: 3243768 Change-Id: I8f624517990cc77c5cd714bd68ce32ac1b64489f
* | Merge "Key release event should be sent when finger sliding (DO NOT MERGE)" ↵Tadashi G. Takaoka2010-12-051-4/+9
|\ \ | |/ |/| | | into gingerbread
| * Key release event should be sent when finger sliding (DO NOT MERGE)Tadashi G. Takaoka2010-12-011-4/+9
| | | | | | | | | | Bug: 3132881 Change-Id: I1a020e3df42a0868366bc251fa7238df757b2b5a
* | Disable gesture detector on mini-keyboard (DO NOT MERGE)Tadashi G. Takaoka2010-12-011-3/+6
|/ | | | | | | | | | | This is cherry-pick I548501f7 from Honeycomb. Gesture detector, for closing keyboard by swiping down, must be disabled not only when mini-keyboard is on the screen, but also in the mini-keyboard itself. Bug: 3105595 Change-Id: Ic4603637208794a1bf6cfeb0d22dadd9a1e49e81
* Make the buttons work for edge pixels of the keyboardKen Wakasa2010-10-292-2/+4
| | | | | | | Follow-up change to If7630b89 bug: 3142416 Change-Id: I2660e3d688eb0490363e460d5b4944c89b8ca35c
* Bugfix: IME gives haptic feedback when button wasn't pressedKen Wakasa2010-10-291-5/+6
| | | | | bug: 3142416 Change-Id: If7630b89d6c2a8ec38e191c263c03f8f11d3c498
* DO NOT MERGE. Add '...' (hint) to period/smiley keys which triggers mini ↵Ken Wakasa2010-10-192-19/+25
| | | | | | | popup by long-press. bug: 3105185 Change-Id: I901e36aa12dad5968ba1a420fff6a2f2efb16da5
* DO NOT MERGE. Revise the setting hint visual and its handling code.Ken Wakasa2010-10-172-25/+30
| | | | | | | This is a follow up change to I8b38e280. bug: 3084022 Change-Id: I1062763d87b4498e19598b4e7d99bb91c510c6d2
* DO NOT MERGE. Follow up change to I8b38e280Ken Wakasa2010-10-162-24/+68
| | | | | | | Add visual indicator that long press / or @ on F1 key will bring up Settings bug: 3084022 Change-Id: If925b546829ca8e8806e1f8f89eaf72fc8c220da
* Fix an issue of adding extra character.Ken Wakasa2010-10-151-1/+6
| | | | | | | LatinKeyboardBaseView should have removed "long pressed" pointer tracker from the multi-touch pointer queue. bug: 3099130 Change-Id: I3d358a373b0de07558a204e9ff5a95e9ece38bcc
* Follow up change of I8b38e280 (DO NOT MERGE)Tadashi G. Takaoka2010-10-153-24/+28
| | | | | | | | | | | | This is follow up change of I8b38e2803eb32469653484701882af35108eb69a This change fixes the following when "Voice input on symbols keyboard" option is selected. - LatinIME.onCreateInputView fails to show "123mic" icon. - Email and URL variation keyboard fails to show "123mic" icon. Bug: 3084022 Change-Id: Ia3929bb0cc5c5c8651af816718c21d1f20e8f016
* DO NOT MERGE. Add visual indicator that long press , or mic key will bring ↵Ken Wakasa2010-10-142-4/+42
| | | | | | | up Settings bug:3084022 Change-Id: I8b38e2803eb32469653484701882af35108eb69a
* Specify keyboard metrics with physical unit "inch" (DO NOT MERGE)Tadashi G. Takaoka2010-10-142-38/+83
| | | | | | | | | | | | This change also introduces the key background drawables which has no fixed bottom padding. Instead of relying on bottom padding in drawable, this change also specifies Keyboard.verticalGap with physical unit. Other keyboard related length, distance and size are also specified by physical unit. Bug: 3066107 Change-Id: I44f3b2eef8086d6e0b0db53d38f08487549060c6
* Fix the over-calling of VoiceSearch LoggingMaryam Garrett2010-10-111-6/+64
| | | | | | | | | | | | bug: 3035228 This change will reduce the number of times VoiceSearch app is called to log IME events. This is because it 1) only flushes the logs when there is relevant logging information available and 2) sets a flag in UserHappinessSignals so that other apps (eg: gmail/sms) can know if there is relevant logging information before sending the logging intent to voice search. Change-Id: I708fea5a38f854091f1101e4f6a3db46296f3e92
* Tweak key width for 'o'-popup chars.Ken Wakasa2010-10-111-6/+16
| | | | | | | We'll merge this to master for now, but we should have new attr (such as popupCharWidth) to handle this reasonably in the newly created BaseKeyboard class. bug: 3082178 Change-Id: I024b946aafbbeb07b865a09f489dacb56f0478d0
* Fix - "Touch again to save" not working for manually picked suggestion when ↵Ken Wakasa2010-10-111-2/+5
| | | | | | | re-correction is enabled. bug: 3082806 Change-Id: I64e652b0ad1d496e102a7cc2cf9a5615df423192
* Make sure to set symbol keyboard shiftedTadashi G. Takaoka2010-10-093-23/+27
| | | | | | | | | | | To avoid a corner case of bug#3070963, in toggleShift() method of KeyboardSwitcher, the shifted symbol keyboard will be set if current keyboard is symbol keyboard or is not shifted symbol keyboard. This change also implements mini keyboard cache with WeakHashMap. Bug: 3070963 Change-Id: I868fc072e2f21bddded1622b800a53b9a6a43e91
* Reduce delay before mini popup keyboard is shownTadashi G. Takaoka2010-10-082-15/+19
| | | | | | | | | Before this change, the delay was 500 ms that came from ViewConfiguration.getLongPressTimeout(). This change reduces the delay to 400 ms. Bug: 3074984 Change-Id: Ia5af5e877a3c4bb29211ef4040c728ac09a9fe85
* Follow-up to I36faf679 Cancel pending messages related to suggestion updates.Ken Wakasa2010-10-061-0/+8
| | | | | bug: 3058217 Change-Id: I54e29bf051b76ad27e6d653adbf14892083ad7eb
* Addressed bug: 3058217 "-" key not working at beginning of lineKen Wakasa2010-10-061-8/+17
| | | | | | | | Also fixed related issues below: * Punc suggestions list was sometimes not displayed after cursor move which follows re-correction * Punc suggestions list was disappearing with words which contains certain punc chars (but not word separator) such as ' and - Change-Id: I36faf679321782fa8eaf318411308a4a6b89cc25
* Long press mic/comma key bring mini keyboard with settingsTadashi G. Takaoka2010-10-012-10/+2
| | | | | | Bug: 3050703 Change-Id: I090b2bfebfb48e5ec461615d4c911024ea6d130a
* Dismiss orange highlight after suggestion has been selectedTadashi G. Takaoka2010-10-011-7/+9
| | | | | Bug: 3051311 Change-Id: Ia32cd8748a0afade07a9896ad77400cf42aed0f5
* Merge "Long pressing mic/comma key will show settings menue" into gingerbreadTadashi G. Takaoka2010-09-301-10/+20
|\
| * Long pressing mic/comma key will show settings menueTadashi G. Takaoka2010-09-301-10/+20
| | | | | | | | | | Bug: 3050703 Change-Id: I62773c10f435d13174f6ff6574912cb99303e83c
* | Display feedback popup for saving word while the word is pressing.Tadashi G. Takaoka2010-09-301-37/+3
|/ | | | | Bug: 3004696 Change-Id: Icc5bdd6945f3bf79f7234a0227d8036d6f6d4c1d
* Disable suggestion bar before invoke Voice inputTadashi G. Takaoka2010-09-301-0/+3
| | | | | Bug: 3002817 Change-Id: I099dd63e58d5159a609c1d934dbb6f5aab914305
* Merge "Eliminate compiler warning" into gingerbreadTadashi G. Takaoka2010-09-291-2/+1
|\
| * Eliminate compiler warningTadashi G. Takaoka2010-09-301-2/+1
| | | | | | | | Change-Id: Ib3effaa6f4e8cfc3951ab5d5d099335fd3856a2f
* | Merge "Disable suggestion selection preview popup" into gingerbreadTadashi G. Takaoka2010-09-291-49/+56
|\ \ | |/ |/|
| * Disable suggestion selection preview popupTadashi G. Takaoka2010-09-301-49/+56
| | | | | | | | | | | | Bug: 3048642 Bug: 3004920 Change-Id: Ibfb495a246c9e2da6ebf3c03d10ed8acff00f54b
* | Merge "Check recorrection on focusing into a text field that has text ↵Amith Yamasani2010-09-291-0/+23
|\ \ | |/ |/| | | already." into gingerbread
| * Check recorrection on focusing into a text field that has text already.Amith Yamasani2010-09-291-0/+23
| | | | | | | | | | Bug: 3004827 Change-Id: I00e9d925fcf17fa9f7a9aefe6572a648e023be11
* | Refactor CandidateView touch event handlingTadashi G. Takaoka2010-09-291-110/+76
| | | | | | | | | | | | | | | | This change also fixes tha the touch slop value is applyed only for initial movement of scrolling suggestion bar. Bug: 3004920 Change-Id: I62afdedc210156e41e8c84c48cade442f9d5a1aa
* | Mini keyboard works even while shift is being pressedTadashi G. Takaoka2010-09-292-5/+14
|/ | | | | Bug: 3038861 Change-Id: I94011ca80710ff6eb24e940104f7d9d3bb86840a
* Fixed key code and key coordinates when move debounce has been in actionTadashi G. Takaoka2010-09-281-119/+129
| | | | | | | | | This change refactors a key index and pointer position variables into a separate static inner class KeyState . This change also disables time debouncing. Bug: 3033737 Change-Id: Ie4fc37316c260330d8f0861e0771ea903a99cfce
* Fix Null pointer exception on closing and update assetssatok2010-09-282-3/+8
| | | | Change-Id: I30fdac74685beae06b5c61140452b26b29ae4c39
* Capitalize the displayed text in the suggestion bar when all of the user ↵Ken Wakasa2010-09-283-15/+29
| | | | | | | typed chars are upper case bug:3014227 Change-Id: Ic453e2fde57ce51be00f3a506e1c9328103ca99a
* Merge "Add Debug Settings Activity" into gingerbreadsatok2010-09-263-36/+81
|\
| * Add Debug Settings Activitysatok2010-09-273-36/+81
| | | | | | | | | | | | Bug:3033472 Change-Id: I311c66ac3c612a30d7da3be8ee35a352f49016ac
* | Merge "Keep addWordToDictionary from doing disk I/O on main thread" into ↵Ken Wakasa2010-09-241-2/+8
|\ \ | | | | | | | | | gingerbread
| * | Keep addWordToDictionary from doing disk I/O on main threadKen Wakasa2010-09-251-2/+8
| |/ | | | | | | | | | | bug: 2999524 Change-Id: Id8b04d38079cfa1dadd5955eb7f83085e60eb8e2
* | Merge "Add enter/exit animation style to prevew and mini keyboard" into ↵Tadashi G. Takaoka2010-09-241-13/+14
|\ \ | |/ |/| | | gingerbread
| * Add enter/exit animation style to prevew and mini keyboardTadashi G. Takaoka2010-09-241-13/+14
| | | | | | | | | | | | | | | | | | | | TODO This animation style API of PopupWindow can be called only in Gingrebread or later. We should refactor this using reflection to be able to be compatible with Froyo. Bug: 3004787 Bug: 2973989 Change-Id: I2abfcc853b1a0af2bccee7bdf5fbd723456b7d34
* | Move RingCharBuffer as a singleton in Utilsatok2010-09-243-2/+92
|/ | | | Change-Id: I08d09555a99a64038374e62019777d331c48319b
* Fixed popup mini-keyboard positionTadashi G. Takaoka2010-09-231-1/+1
| | | | | | | This change reverts I28bf3e4deb46a428dc8422a3a165183e00608604 partly Bug: 3029284 Change-Id: I0701ab9dfa1cfddbecbef3d32e525c0a143fc297
* Tune left and right padding of popup mini keyboardTadashi G. Takaoka2010-09-231-1/+1
| | | | | | | This change also fix popup window display position calculation. Bug: 3029284 Change-Id: I28bf3e4deb46a428dc8422a3a165183e00608604
* Merge "Disable invoking VoiceIME using swipe right action" into gingerbreadTadashi G. Takaoka2010-09-221-31/+11
|\