aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2011-08-01Try to compensate for a race condition.Jean Chalard1-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
2011-08-01Remove the systematic bias to the top.Jean Chalard1-1/+1
The keyboard used to introduce a systematic bias to the top. This may have been to compensate an old driver flaw, but it seems that it is now in the way and causes a lot of mistyped spaces and backspaces. This change removes the systematic bias. Change-Id: Ib65ffba99cbd053d1085d3e6eeaf10a815289fc0
2011-08-01Remove '(' from the label of "to symbol" on phone layoutTadashi G. Takaoka1-1/+1
Change-Id: I9261cbba9a04fc25b67dfd5ce4188b7e32f5d8e0
2011-08-01Filter non-ascii popup charcters from password keyboardTadashi G. Takaoka2-34/+60
Change-Id: I10885efd317770f892165b6bb059313abf241436
2011-08-01Add orientation to regression testsTadashi G. Takaoka4-10/+25
Change-Id: Iaf2cb7841c4622eedeb4bf880d55988bfa61e823
2011-08-01Clean up revertLastWord()Ken Wakasa2-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
2011-08-01Remove old dictionary format codesatok3-265/+0
Change-Id: Ic4b9e069c9bd5c088769519f44d0a9ea45acb833
2011-08-01Add correction statesatok7-97/+166
Change-Id: I0d281cede1590893bd1def005cf83c9431d12750
2011-07-31Merge smiley key style into return key style for phoneTadashi G. Takaoka4-41/+22
Bug: 4340933 Change-Id: If2b586e5fade1610489e4a53cddafb89834bba07
2011-07-31Show settings and tab key accordinglyTadashi G. Takaoka10-135/+145
Instead of showing a tab key at the position of "period" key, this change places a tab key on the left side of the space key or on the mini popup keyboard of the mic/comma key accordingly. Bug: 4340933 Change-Id: If3cbc6d0b36f74fbc9320d6f433c65c66051dc09
2011-07-31Rename settingsPopupStyle to f1PopupStyleTadashi G. Takaoka2-12/+12
Bug: 4340933 Change-Id: Ic026089123988940dca58a0aaac07f613ad45aff
2011-07-31Rename key label and alternates string resource namesTadashi G. Takaoka7-17/+17
Bug: 4340933 Change-Id: I7c80c0b6a8a9082c52b57a858e2b6740c05366ec
2011-07-31Replace the notion of "voice" with "shortcut" as many as possibleTadashi G. Takaoka14-45/+48
Bug: 4340933 Change-Id: I98b4eca5167cc3767a0868fae8f6436164adbe4d
2011-07-31Fix exception messageTadashi G. Takaoka1-3/+3
Bug: 4340933 Change-Id: I81e7b0c72116b5bb56b0fdcd02386288aebd73e7
2011-07-31Rename popupSettingsStyle to f2PopupStyleTadashi G. Takaoka1-3/+3
Bug: 4340933 Change-Id: I4fbd8f7a4175e0e3fde326f40fd1b84312d81b89
2011-07-31Eliminate "..." from the key that has no popup mini keyboard automaticallyTadashi G. Takaoka1-1/+1
Bug: 4340933 Change-Id: I08bbdee71f4bc2285fd0c1233d284150be61748e
2011-07-31Be aware of "nm" and "noMicrophoneKey" private IME optionTadashi G. Takaoka1-1/+6
Bug: 4340933 Change-Id: I787108a73d4450963d644bc7070ae1672ebb4455
2011-07-31Turn off the Settings key by defaultKen Wakasa6-120/+50
bug:5094401 Change-Id: Ieb42fdfa79be2afcfa6634e7404c17737ef6927d
2011-07-29Dismiss key preview regardless of key preview settingsTadashi G. Takaoka1-4/+2
Bug: 5099213 Change-Id: Id6c5cb0ae4a07897b34153d4b350b1b45a06aa1a
2011-07-29Add WindowWidthCacheTadashi G. Takaoka1-17/+96
Bug: 4311428 Change-Id: I9f006525c0932d9d49bb8655caf58523135366d7
2011-07-29Cleanup KeyboardSwitcher internal a bitTadashi G. Takaoka1-42/+34
Bug: 4311428 Change-Id: Ibe933d0351f750a3a41a08f09befd833d677961b
2011-07-29Match the new name of the dictionary settings activity.Jean Chalard1-1/+1
Bug: 5094660 Change-Id: I13c734791265ed25eac3c9b4861dd0cffdb12c52
2011-07-28Remove enableShiftLock attribute from KeyboardIdTadashi G. Takaoka6-64/+45
This change is a follow up of Ia72de236. Bug: 4311428 Change-Id: I0ad0f1fb93545ceb40df8dffe377240b020c2602
2011-07-28Remove unused methodTadashi G. Takaoka1-13/+5
Bug: 4521802 Change-Id: Iae649f8b77b3bb144ee7eedbb6545e237fa79a17
2011-07-28Use isFullscreenMode to determine candidate container heightTadashi G. Takaoka1-1/+1
Bug: 5081182 Change-Id: I3783d3994e96f8bf466cbc47c9e0aecc2a6bed50
2011-07-28Remove dead area around separators in the suggestion stripTadashi G. Takaoka1-3/+6
If user touches the separator, the right hand side suggestion will be selected. Bug: 4431485 Change-Id: Ieaa79fe2ac7b15e312829dca847ddb1b25056c09
2011-07-28Remove icon and negative button from dialogsTadashi G. Takaoka1-4/+0
Bug: 5092028 Change-Id: I25b86c6e74e380e6cee4998bfe494bdafb611f36
2011-07-28Fix that long pressing shift on symbol keyboard registers caps lock codeTadashi G. Takaoka2-30/+32
Bug: 5088376 Change-Id: I586a9fb685f3443aa22fd877df52b36247c4f858
2011-07-28Simplifying accessibility code in keyboard's dispatchTouchEvent()Alan Viverette2-11/+2
Change-Id: Ie33cf93ee2d7eadad38ca170aa8ad988bb0ae9a9
2011-07-28Fix wrong keyboard width when orientation has changed while IME is not shownTadashi G. Takaoka3-9/+10
Bug: 5084021 Change-Id: Ie42da40b8249eaf9cf29707058906949278eff6a
2011-07-28Modified the test spell checkersatok1-2/+18
Change-Id: Ib64fac8672a4107638cd05a0232d46b49fc4aa8c
2011-07-27Fix NPETadashi G. Takaoka1-0/+1
Bug: 5086698 Change-Id: Iaa3082649344722bd643c49c9d151df754d6e337
2011-07-27Clean up keyboard loading and switchingTadashi G. Takaoka8-106/+72
Bug: 4311428 Change-Id: Ia72de23634f824d82b7b5f2267d439ce922a3b57
2011-07-27Load the binary dictionary asynchronously.Jean Chalard1-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
2011-07-27Fix a NPE when sent buggy data by an applicationJean Chalard1-4/+9
Bug: 5072247 Change-Id: I7369877072f6bb94dff5b1bcf52c9f8dde4854b7
2011-07-26Update tab key icon imageTadashi G. Takaoka3-0/+0
Bug: 4948171 Change-Id: Id7dcebc4f1174cabfe872bc36edbe294ddaf081d
2011-07-26Tweak long press timeout of language switcherTadashi G. Takaoka1-1/+1
Previously 1200ms, down to 400ms that is the same value of system default. Change-Id: Ia94c6b729893d528ec3f2b961bf2ad22b47fdbb1
2011-07-26Support multiple key previewTadashi G. Takaoka2-14/+31
Bug: 4298393 Change-Id: Ibd3681f7255c85e3602e1af4ace8f8e7fce3fb06
2011-07-26Fixed duplicate call to dispatchOnPopulateAccessibilityEvent()Alan Viverette2-8/+15
Bug: 5060194 Change-Id: I585ae52204a045fa3941e846b4f9bdd7d541bea6
2011-07-26Import revised translations.Eric Fischer46-2146/+438
Change-Id: I6686b5c714afab6b4ca2534b1bbd24205005220a
2011-07-26Make PointerTracker aware of that popup panel is showingTadashi G. Takaoka5-12/+37
Bug: 5070598 Change-Id: I0604287b8c373e4763b4ccf88c0bd7235af907d5
2011-07-26Close a multiprocess file handle.Jean Chalard1-0/+1
Bug: 5034192 Change-Id: I9c3d757cfae313e9b7510e167de797a74c74a351
2011-07-26Purge quick fixes option.Jean Chalard53-133/+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
2011-07-26Small native refactoring.Jean Chalard3-82/+74
Move a purely dictionary-format-related function that is needed both by unigrams and bigrams to the binary format handling file. Also remove the empty UnigramDictionary::getBigrams placeholder function, on grounds that it should be in the BigramDictionary class. Bug: 5046459 Change-Id: I8a67a25f72122e2fa0b19ae1d936db25eb0b20ba
2011-07-26Some refactoringJean Chalard1-5/+6
Getting the frequency of a terminal is not very useful, however getting its position will be very useful for retrieving bigrams later. Moreover, from the position it's easy to find out the frequency. Bug: 5046459 Change-Id: Ica53472c2038c7e407dbd1399d336511c731087f
2011-07-26Add the rtl attribute to Arabic/Hebrew keyboardsKen Wakasa2-0/+2
A follow up to I18b9962c bug: 5047217 Change-Id: Iea72182a80e69b2a631f23b825430ebfbfc2f560
2011-07-26Take care of bidi-mirrored characters in suggestion strip as wellKen Wakasa2-2/+8
Follow up to I1b884848 bug: 5047217 Change-Id: I18b9962c4943363bae88009354fcc75ab60ad2ba
2011-07-25Add Bidi-Mirrored letter list link as commentTadashi G. Takaoka1-0/+2
Bug: 5047217 Change-Id: I29449892803c5150726aebfe97ecef6d481e1e97
2011-07-25Fix voice key mode default back to "on main keyboard"Tadashi G. Takaoka2-8/+12
Bug: 5074042 Change-Id: I0c4a09b286c7680306741d47a48d5d9783e4a890
2011-07-25[step3] Add spell checker service.satok2-0/+37
Change-Id: Ib13b3a524e0f0b90de40a3e255040b3158d49258