aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-07-20Make ALPHA_OPAQUE publicKen Wakasa2-2/+1
Change-Id: I904685be07e23292dd95296617a4b64c366f06f2
2012-07-20Implement ResizableIntArray.setLength and .getTadashi G. Takaoka3-32/+165
This change revises ResizableIntArrayTests as well.
2012-07-20Improve incremental gesture tracking.Tom Ouyang2-11/+20
Eliminates need to recreate batch InputPointers on each gesture move event. Fixes issue where batch points from previous tapping input get mixed into next gesture. Change-Id: I9ecac66db88f5a87c6dde2138408906dd3d11139
2012-07-19Import translations. DO NOT MERGEYing Wang1-1/+1
Change-Id: I0122e62e7f9cf50d3987dc80018f2e9e78ed3f87 Auto-generated-cl: translation import
2012-07-19ResearchLogger: make logging more reliable (esp on startup)Kurt Partridge5-107/+197
Bug: 6188932 Change-Id: I692e427ba2e6da7bb15f48208304c4a034392a22
2012-07-19Make ScalableIntArray public as ResizableIntArrayTadashi G. Takaoka3-78/+236
Change-Id: Ibbbc117214912ffa192c694bde5b7d55154f40c4
2012-07-19Update InputPointers unit test commentsTadashi G. Takaoka1-49/+49
2012-07-19Tune the gesture detection logic a bitTadashi G. Takaoka2-25/+45
Change-Id: Ia8e8c15fdbbd49768d57cafd50325e7e45af6251
2012-07-19Add wrapper for incremental decoder.Tom Ouyang3-1/+116
Change-Id: Ie11e2b83c2602c0d5a2739a7d4f4994f80d7e298
2012-07-19Gesture input should be turned off depending on the configurationTadashi G. Takaoka3-6/+50
The gesture input will be disabled when * It is AOSP build. * Accessibility mode is on. * The input field is password mode. Bug: 6844755 Bug: 6844763 Bug: 6845011 Change-Id: I74972cc765d15c08059e0c9014f863ffb2a57c6c
2012-07-19Add default capacity parameter to InputPointers' constructorTadashi G. Takaoka6-31/+43
Change-Id: I02f23096f0682d30effe4dfc1ca57881a1e4aedc
2012-07-18Import translations. DO NOT MERGEYing Wang6-10/+10
Change-Id: I4ba29a164c70eb3db5afbb502a81d32088813ba4 Auto-generated-cl: translation import
2012-07-18Consolidate GestureTracker into PointerTrackerTadashi G. Takaoka3-196/+112
Change-Id: Ib28fae10493a9142ba4dff6cf57f52c59766b209
2012-07-18Change the batch input methods of KeyboardActionListenerTadashi G. Takaoka4-23/+33
This change also removes the reference of SuggestedWords from GestureTracker and KeyboardActionListener. Change-Id: I25ef8756007986abf99a931afd665bbfe6fa387f
2012-07-18Make GestureStroke as top level classTadashi G. Takaoka3-183/+199
And make PointerTracker object has GestureStroke object. Change-Id: Ibf5cfd593c4f13468368e01acb847589b0ab12e7
2012-07-18A gesture should not start from the delete keyTadashi G. Takaoka2-3/+3
Change-Id: I5c8c7665454b7f10f944f307431dfffe20cf3134
2012-07-17Import translations. DO NOT MERGEYing Wang4-9/+9
Change-Id: If1f6cea5414e0033139babda4a8afc459fd656cc Auto-generated-cl: translation import
2012-07-17Increase the config_key_hysteresis_distance value for tablet form factor devicesKen Wakasa1-0/+1
bug: 6745169 Change-Id: I4f0c018748b12d42d5ef587d93df3c5521623b36
2012-07-17Opening punctuations have a priority in Spanish keyboardTadashi G. Takaoka5-118/+98
Bug: 6737535 Change-Id: I87442eb978ac68be3d3df99eed8a92877a6f4ab0
2012-07-16Import translations. DO NOT MERGEYing Wang4-29/+19
Change-Id: I2fcbc5265b155035b804cedc019646a239a4d0ad Auto-generated-cl: translation import
2012-07-13delete old ResearchLog filesKurt Partridge1-0/+24
cleans out the local directory of files that may have persisted accidentally because of system crashes, etc. default lifetime is curently 1 day. Bug: 6188932 Change-Id: I4b51169d6dd0eddb6bf8b661165f88e63782ce7d
2012-07-13researchLog records versionCode, versionNameKurt Partridge1-8/+26
Bug: 6188932 Change-Id: I3d8502a5397035be5287ea720599e3fda4c669d6
2012-07-13Import translations. DO NOT MERGEYing Wang25-194/+132
Change-Id: Ibb5bd0c2753e52dc3526ce859b0c108e189a605d Auto-generated-cl: translation import
2012-07-13Merging minimal gesture inputTom Ouyang7-32/+483
Change-Id: Iee6ae48bb6309c2867b5d2e344fe7d86dfabd654
2012-07-13Fix a bug where the word composer is not correctly resetJean Chalard1-0/+3
...upon commit Change-Id: I1fea87cb4c133a0884329eb9b61bf3053c36cd1b
2012-07-13Fix InputPointers.appendTadashi G. Takaoka2-53/+59
Change-Id: I6995f9b2ed00b9f948e1299e576a5e24725d58f8
2012-07-12Import translations. DO NOT MERGEYing Wang62-351/+292
Change-Id: Ie03bf1e866e2b93cade6f02ce3ce14fa4864097d Auto-generated-cl: translation import
2012-07-12Add values for suggestion types (A120)Jean Chalard4-4/+17
Also, use it in getBigrams. Change-Id: Ia0be9b57d1b7effcd8a936e01e957d1195b39c68
2012-07-12Pass an array to output suggestion types (A119a)Jean Chalard9-21/+26
This needs the matching A119b change to not break the build. The array is passed, but not used yet. Bug: 6166228 Change-Id: Ia91d658461d989ee8c94e9b31bb06f4a36f4c5b6
2012-07-12Increase encapsulation (A118)Jean Chalard1-6/+6
showSuggestions is only ever called by updateSuggestionsOrPredictions. It only feels natural that, when called with a 0-sized or null suggestion list, it clears the suggestions. Change-Id: I5b52bc9151afca1bb6c6f0a7f81e3255add92177
2012-07-12Readability improvement (A117)Jean Chalard1-6/+3
Change-Id: I6f8bb05a23edb40a079da60b7136170ec9043282
2012-07-12Simplification (A116)Jean Chalard2-9/+8
Change-Id: I97cf92a7b0dabc251dd241b24978ea00d1e5f047
2012-07-12Compute variables closer to where they are used (A115)Jean Chalard1-4/+3
This improves locality, it's better for readability/performance Change-Id: Ibb1efaf86e362dd2c9398722d0da2144df96b333
2012-07-12Cleanup (A114)Jean Chalard1-3/+4
Change-Id: I7e24e0aeae7c004cae310ae9f46cf90dac2d4d14
2012-07-12Cleanup (A113)Jean Chalard1-1/+1
If not composing a word, then consideredWord is always the empty string. Hence, it's never whitelisted, but it's also always "NotAWord", so isWhitelistedOrNotAWord returns always true, so allowsToBeAutoCorrected is always true. Which means that isPrediction implies allowsToBeAutoCorrected == true. Thus, !isPrediction && !allowsToBeAutoCorrected is strictly equivalent to !allowsToBeAutocorrected. Change-Id: I4ad7a7c3447851c539646d97cf55ff065e6ee115
2012-07-12Simplification (A112)Jean Chalard1-3/+2
If we are not composing a word, that isFirstCharCapitalized and isAllUpperCase are guaranteed to return false. Change-Id: Ic4a0be9574acf4653c729a9594f963f5bcf0c757
2012-07-12Remove the ultimate code duplication (A111)Jean Chalard1-14/+5
Change-Id: I7c76613df8f148feb02765f187db3ca6dc577977
2012-07-12Resolve a TODO: bury some implementation detail in native (A110)Jean Chalard3-8/+5
The fact that prediction does not accept a null argument is an implementation detail, it should not be visible to Java code. Change-Id: I3a156b323b6db9353de898d33f3f7c81751cecb1
2012-07-12Remove an unused method (A109)Jean Chalard2-21/+0
Change-Id: Ib785b7e8c554d030395e2c0ca92edb44eb2b245f
2012-07-12Stop using a redundant method (A108)Jean Chalard1-14/+9
Change-Id: Iffc0bae0a273419e7c50d69526c0c8e402c6461c
2012-07-12Move an implementation detail to native code (A107)Jean Chalard1-4/+11
Java code does not have to know about this implementation detail: the generic method should do the dispatching, instead of having the caller call either method. Change-Id: Ic13727f0cb18f4ced2c356cce2f8d710588c0421
2012-07-12Remove a useless parameter (A106)Jean Chalard5-12/+9
Change-Id: Ic0ecea22212fd1a098a3a168da460374e446f4a3
2012-07-12Remove a constant parameter (A105)Jean Chalard2-8/+8
Change-Id: I8a09fa2f0649880c943364699a07652e47dede22
2012-07-12Make a constant really constant (A104)Jean Chalard6-16/+19
Change-Id: Ied1f9f96a574b1e6a8ee0a71bfb1604d9c962e1c
2012-07-11Import translations. DO NOT MERGEYing Wang80-24/+1032
Change-Id: I056d8d8d630a2b3576462f7900bc39a7f19f5aa0 Auto-generated-cl: translation import
2012-07-11Cleanup (A103)Jean Chalard1-11/+6
Change-Id: Ib5ebddfdb87ef71a2f8d859fb45d3ac78040e97a
2012-07-11Revert "Workaround to avoid a bug in the batch input bigram dictionary lookup"Tadashi Takaoka1-8/+4
This reverts commit 1250cdeab2da2c7f7d9c732a816dbc36e49fd61a
2012-07-11Workaround to avoid a bug in the batch input bigram dictionary lookupTadashi G. Takaoka1-4/+8
Change-Id: I8a5641c88c45918d6bed81a0b03efdcff0b380c5
2012-07-11Inline a method to be able to factorize code (A102)Jean Chalard1-20/+14
Change-Id: I121071f80c8af3c1053968dc76aaeca3352ca9a8
2012-07-11Inline a wrapper method (A101)Jean Chalard1-14/+4
Change-Id: I6ce856ff49a8f8c696851b2487590704010fc758