aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
|\
| * Disable invoking VoiceIME using swipe right actionTadashi G. Takaoka2010-09-231-31/+11
| | | | | | | | | | Bug: 3028268 Change-Id: I4bcf35051d5e82b60bb6a346a80ad6c3c03c31cb
* | Merge "Fix ArrayIndexOutOfBoundsException in WordComposer" into gingerbreadTadashi G. Takaoka2010-09-221-16/+10
|\ \
| * | Fix ArrayIndexOutOfBoundsException in WordComposerTadashi G. Takaoka2010-09-231-16/+10
| |/ | | | | | | | | Bug: 3028277 Change-Id: I1c4d8dca4db8a70f851589d1fbd45a16ea1bfc1b
* / Use SystemClock.uptimeMillis() for event timeTadashi G. Takaoka2010-09-231-1/+2
|/ | | | Change-Id: If20f289992f829ae3a0a2a1eb60a4fc9b35c308a
* Use constant for keycode.Tadashi G. Takaoka2010-09-221-2/+2
| | | | | | This is follow up change of Idb3adcb6fac1a23836510912d35312fa11b4f259 Change-Id: I130e381b0d5ac01176a746a4a915e2fc9d54587b
* Choose smaller or shorter language name for space barTadashi G. Takaoka2010-09-222-86/+126
| | | | | | | | | | | | | | To fit a language name to the space bar or the language switcher, this change chooses smaller text size or shorter language name appropriately. This change also tunes the vertical position of a language name in the space bar by parameter SPACEBAR_LANGUAGE_BASELINE. Bug: 3004640 Bug: 3001021 Change-Id: Idb3adcb6fac1a23836510912d35312fa11b4f259
* Fix issue space key preview remains on screen and would not dismissTadashi G. Takaoka2010-09-225-30/+48
| | | | | | | | | | | | | | The space key preview should be displayed one of the following case. - Popup preview is enabled - Language switcher is in action, whether popup preview is enabled or not. For phone number keyboard, popup preview is never displayed even if popup preview is enabled. Bug: 3006612 Bug: 3021091 Change-Id: I5385c776d0e8e3981fc8d8851db9140d92599ce5
* Add lightweight visual indication for numbers.Ken Wakasa2010-09-223-13/+97
| | | | | | | | | This change adds lightweight visual hints of alternate numeric characters on the top row - e.g. having a light gray '1' on the upper right corner of letter 'q' Note that MDPI resources are tentative (the same as HDPI for now, until we get fixed MDPI visual assets). bug: 3004632 Change-Id: I7a25cf90b702433a844c88f5c47bf914706af9bc
* Merge "Draw language label on space key of symbol+alt mode" into gingerbreadTadashi G. Takaoka2010-09-211-14/+8
|\
| * Draw language label on space key of symbol+alt modeTadashi G. Takaoka2010-09-211-14/+8
| | | | | | | | | | Bug: 3003888 Change-Id: I0bafcd13f3e5e5c69c65ed72580d108f2745e004
* | Fix mini keyboard display position when preview is disabledTadashi G. Takaoka2010-09-211-1/+1
|/ | | | | Bug: 3021082 Change-Id: I2cfb462c89b222449ee2ba5559462a9f5d2306ed
* Merge "Space key will no longer auto-repeat" into gingerbreadTadashi G. Takaoka2010-09-201-2/+0
|\