aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2011-04-22Narrower the language switch threshold to key width x 1.25Tadashi G. Takaoka1-2/+2
Change-Id: I4ea9553bce34bc3783f03d1615c34b6abb153077
2011-04-22Release the previous key if multi touch input is startedTadashi G. Takaoka1-1/+1
Change-Id: Ib1205e67e900353976150e5ad58abfc92c3dfc21
2011-04-22Fix repeat key behaviorTadashi G. Takaoka3-20/+38
Change-Id: Ia7e5b2e9579aa0e5050857cdb14f16fa05a33621
2011-04-22Fix arabic layout for phonesatok1-2/+2
Change-Id: I2b71f44e27f95ba3949e2e2c150696045f3c28b3
2011-04-22Fix the spacebar language switchersatok1-0/+1
Change-Id: I54711ff2014facefe3afd22e536045cd0ffe4955
2011-04-22Clear spacebar sliding language switch diffTadashi G. Takaoka1-0/+1
Change-Id: If82540b6632476e049fa9c4b3122e9c053227d6e
2011-04-22Fix language switch previewTadashi G. Takaoka4-9/+14
This change also makes the delay after key preview longer to 60ms. Change-Id: If7cf3b493824bb12e0bf44aa0bc3c186b15b51f6
2011-04-22Fix NPE on non-distict multitouch deviceTadashi G. Takaoka1-2/+4
Change-Id: I6d8a05bf62e510d0556fa4831b3d510041cca63a
2011-04-22Move sliding language switch code to PointerTrackerTadashi G. Takaoka6-122/+95
This change is hack and temporal. Big: 4328445 Change-Id: I0b8851e9f05390db20ddaa10f35cff1cc9f016da
2011-04-22Actually use the bigram prediction option.Jean Chalard1-16/+21
This change also rename methods that should have been renamed in a previous commit (namely, the *SetBigramSuggestions family -> *UpdateBigramSuggestions) Change-Id: I18cac17ba2b93fcc011ea133324f2c7f3532946c
2011-04-22Add an debug option to use spacebar switchersatok4-3/+24
Change-Id: Icc483f097696a1c5a2a7ab037afce19c9cfe837f
2011-04-22Add an option for using bigram prediction.Jean Chalard5-26/+78
This change adds the option for bigram prediction under the option for bigram suggestion. The "prediction" option depends on the "suggestion" option. This change also reorders a tad bit the settings screen. Namely, it sticks both bigram options under a "bigram" category, and groups the options that did not have a group under a "other options", or misc, category. Finally this change also renames the internal name of the "text corrections" option category to "correction_category" instead of "prediction_category" which was misleading. Change-Id: I2d8787c8a391fd8202ed3a686c613494b7260a1e
2011-04-22Use user-history bigrams when no input if available.Jean Chalard6-37/+235
This also fixes a small inconsistency upon clicking on whitespace twice in a row. Also add some unit tests for an introduced and an existing method. Change-Id: I1be2fb53c9624f4d0f5299009632cb4384fdfc15
2011-04-21Fix language selection settingssatok5-16/+26
Change-Id: I84e51ce2b80a21650e309e5e6c9ee5f1739170c9
2011-04-21Rename and reorganize key codeTadashi G. Takaoka7-22/+20
Change-Id: I13d6fef7af1c4356a22b0e8aebc9e613b1693ece
2011-04-21Fix language selection settingssatok3-15/+5
Change-Id: I99e2039579a5bd606a8e698cdee2739465b998bc
2011-04-21Disable key preview of space, return and deleteTadashi G. Takaoka4-15/+20
This change also re-orders punctuation mini keyboard. Change-Id: I987ef14fe5956d13439a0a76de367feed825314c
2011-04-21Optimize InputLanguageSelectionsatok1-32/+23
Change-Id: I49117a1e5f7766fcfa0140ff602ff1e19ba1e3d2
2011-04-21Check the availability of layouts for showing the input languages in the ↵satok23-51/+101
settings Bug: 4316889 Change-Id: I746b3ff79c2a6cd4925fca1817d5b209623b5108
2011-04-21Compute content and visible insets even in voice modeTadashi G. Takaoka1-5/+7
Bug: 4317779 Change-Id: If54d15466db9d0362b4470a2ba4618377bdffc2a
2011-04-21Display spacebar language switcher even when key preview is offTadashi G. Takaoka2-8/+17
Bug: 4313884 Change-Id: I9d4a474302dadbfc610324799f8768b803705e52
2011-04-20Remove a useless import.Jean Chalard1-1/+0
Change-Id: I911e3e928a45bbca352a87e6b0616a2ba9bd9e9c
2011-04-20Tweak the normalized score for the words with spacessatok1-1/+10
Change-Id: Icc0c4fd0474ed5094fb274a6ea745ca583ba524d
2011-04-20Move language-specific keyboard setting to resources.Jean Chalard7-30/+103
Some flag settings used to be stored in a keyboard layout extravalue setting. This change: - Introduces the capability of setting such specific flags in values/config.xml - Retains the ability to use extravalues (for layout-specific settings), though there is no more any such setting at the moment. - Fixes a bug where loading a dictionary from outside does not initialize the flags. - Moves Flag to another class. Note: this needs I705ec68c to avoid breaking the build Change-Id: Ia7703aae3215b06c0b3cb792821649806e8998c1
2011-04-20Fix a bug that 2 length words were demoted.satok1-2/+5
Change-Id: I4a3558d0f1f1b0a9d6a36c3f75db3089b0566d7f
2011-04-20Tweak edit distancesatok1-5/+22
- The edit distance of transposed characters will be changed to 1 from 2 Change-Id: I369e2f94278b3b290957eef43d23cb7048166a99
2011-04-20Add mini keyboard fo tab key in web layoutTadashi G. Takaoka3-23/+25
This change also re-orders punctuation mini keyboard. Bug: 4315046 Change-Id: I567ea417fc8d3cb23dceac6965fa279e6beca970
2011-04-20Tweak voice layout for Dogfoodsatok5-20/+131
Change-Id: Ic51a044901a63c4cec907163e35cd5e458f36dde
2011-04-20Fix a typo.Jean Chalard1-4/+4
Change-Id: I245deb5af6b504ff20617929c0510036d0c930d5
2011-04-20Change the default value of logging to truesatok1-3/+3
Change-Id: I52198ebca929f02e8b04db77a474ee5a7e79cdea
2011-04-20Remove debug mode from the settings preferencesatok1-2/+2
Change-Id: I2b3f973f8d59687fe5b95b841449bff5c4b1a2ba
2011-04-19Promote a word with a missing space because the formula was changed by ↵satok1-1/+1
Ifa4338c5f4 Change-Id: Id4bc965aef387800facb64164d8c36a3bdd2fa07
2011-04-19Demote a word with mistyped space and missing space according to the length ↵satok1-5/+50
of each word Change-Id: Ifa4338c5f43b37e6bcd0700767ef2178189de3af
2011-04-19Refactor key preview codeTadashi G. Takaoka6-150/+158
This change removes mOldPreviewKeyIndex from KeyboardView. Bug: 4298393 Change-Id: I832eb6deab7e078609973bf0b8be09f73db204d7
2011-04-19Shrink tab key width on web mode layoutTadashi G. Takaoka1-13/+10
Bug: 4315046 Change-Id: I468ddf14d1f486d2c24cef56ed211ac9228cae43
2011-04-19Remove mPreviousKey in PointerTrackerTadashi G. Takaoka4-59/+63
This change also introduces PointerTracker.onLongPressed. Change-Id: I079eb52175d8fe8b88ce3f13e31493d34d00ad5e
2011-04-18Show all languages supported in LatinImeGoogle in InputLanguageSelectionsatok1-24/+30
Bug: 4311203 Change-Id: I7a94e9697758cb79743c026e7f1c023f618a9aa1
2011-04-18A fix for handling dummy voice subtypessatok3-7/+16
Change-Id: I75d4d1625e0925d01ae84c9577e15087d83e4191
2011-04-18Refactor key preview related code in KeyboardViewTadashi G. Takaoka1-11/+25
Change-Id: Ib8f08cb4f5e03d0c32c32a0ea0363ce3d72fc050
2011-04-18Promote the correction of words with a missing space charactersatok2-2/+8
Change-Id: I37ba618b54f7115163a3e9c6c555485e7024dc92
2011-04-18Fix issues with single-char word. Some refactorings as well.Ken Wakasa1-116/+118
Change-Id: If20a15324d7704361dd61e0e431b665552567ea3
2011-04-15Import revised translations.Eric Fischer4-4/+4
Change-Id: Icdf10a328353d201b5751ac7f21f2fb7a64b3daa
2011-04-15Don't show spacebar preview if key preview is disabledTadashi G. Takaoka4-51/+97
This change also introduces soft reference cache of spacebar Drawable. Bug: 4307333 Change-Id: I4d2c500bb47d794aa4f8dfa6ec415dbcb9ab0b74
2011-04-15Refactoring keyboard drawing code and KeyDetectorTadashi G. Takaoka6-324/+287
Change-Id: I55009bf38b1422301223bd90463f837562559dc5
2011-04-15Auto mini keyboard layoutTadashi G. Takaoka7-257/+1397
Bug: 4280617 Change-Id: I34c344cbf350fe125589aa14ad69e4bd1f4e6f66
2011-04-15Allow use of assets for data in the dictionary content provider.Jean Chalard1-3/+6
This update is necessary to allow dictionary content providers to use assets, which are part of their apk, as data to pass to the keyboard. Using plain file descriptors doesn't allow for sections of files to be correctly used. Change-Id: Ia94c26d6387bce61c73d38f5c2821f20e50e54d4
2011-04-15Add a value for the screen metricssatok3-0/+28
Change-Id: I4d221e19b495e865a6714854c4addfaeddeb4e18
2011-04-15Count up horizontal gap as part of key widthTadashi G. Takaoka1-1/+1
Change-Id: Ic9a070a9b6a461f4c8330d1cc3e2c33fd7369f73
2011-04-14Import revised translations. DO NOT MERGEEric Fischer6-8/+8
Change-Id: I683ff5dde869ecfe1d0a20ee69ae55d53a91feb2
2011-04-14Receive a broadcast that the dictionary has been updated.Jean Chalard2-0/+12
Change-Id: I9751cc627a835a4061f144c48ff51e9d81b2c93b