aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Implement ResizableIntArray.setLength and .getTadashi G. Takaoka2012-07-201-9/+19
| |/ | | | | | | This change revises ResizableIntArrayTests as well.
* | Make ALPHA_OPAQUE publicKen Wakasa2012-07-202-2/+1
| | | | | | | | Change-Id: I904685be07e23292dd95296617a4b64c366f06f2
* | Improve incremental gesture tracking.Tom Ouyang2012-07-202-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
* Make ScalableIntArray public as ResizableIntArrayTadashi G. Takaoka2012-07-192-78/+103
| | | | Change-Id: Ibbbc117214912ffa192c694bde5b7d55154f40c4
* Tune the gesture detection logic a bitTadashi G. Takaoka2012-07-192-25/+45
| | | | Change-Id: Ia8e8c15fdbbd49768d57cafd50325e7e45af6251
* Gesture input should be turned off depending on the configurationTadashi G. Takaoka2012-07-192-6/+28
| | | | | | | | | | | | 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
* Add default capacity parameter to InputPointers' constructorTadashi G. Takaoka2012-07-195-20/+30
| | | | Change-Id: I02f23096f0682d30effe4dfc1ca57881a1e4aedc
* Consolidate GestureTracker into PointerTrackerTadashi G. Takaoka2012-07-183-196/+112
| | | | Change-Id: Ib28fae10493a9142ba4dff6cf57f52c59766b209
* Change the batch input methods of KeyboardActionListenerTadashi G. Takaoka2012-07-184-23/+33
| | | | | | | This change also removes the reference of SuggestedWords from GestureTracker and KeyboardActionListener. Change-Id: I25ef8756007986abf99a931afd665bbfe6fa387f
* Make GestureStroke as top level classTadashi G. Takaoka2012-07-183-183/+199
| | | | | | And make PointerTracker object has GestureStroke object. Change-Id: Ibf5cfd593c4f13468368e01acb847589b0ab12e7
* A gesture should not start from the delete keyTadashi G. Takaoka2012-07-182-3/+3
| | | | Change-Id: I5c8c7665454b7f10f944f307431dfffe20cf3134
* Opening punctuations have a priority in Spanish keyboardTadashi G. Takaoka2012-07-171-106/+93
| | | | | Bug: 6737535 Change-Id: I87442eb978ac68be3d3df99eed8a92877a6f4ab0
* Merge "delete old ResearchLog files"Kurt Partridge2012-07-161-0/+24
|\
| * delete old ResearchLog filesKurt Partridge2012-07-131-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
* | researchLog records versionCode, versionNameKurt Partridge2012-07-131-8/+26
|/ | | | | Bug: 6188932 Change-Id: I3d8502a5397035be5287ea720599e3fda4c669d6
* Merging minimal gesture inputTom Ouyang2012-07-137-32/+483
| | | | Change-Id: Iee6ae48bb6309c2867b5d2e344fe7d86dfabd654
* Fix a bug where the word composer is not correctly resetJean Chalard2012-07-131-0/+3
| | | | | | ...upon commit Change-Id: I1fea87cb4c133a0884329eb9b61bf3053c36cd1b
* Fix InputPointers.appendTadashi G. Takaoka2012-07-131-22/+25
| | | | Change-Id: I6995f9b2ed00b9f948e1299e576a5e24725d58f8
* Add values for suggestion types (A120)Jean Chalard2012-07-121-0/+1
| | | | | | Also, use it in getBigrams. Change-Id: Ia0be9b57d1b7effcd8a936e01e957d1195b39c68
* Pass an array to output suggestion types (A119a)Jean Chalard2012-07-121-3/+4
| | | | | | | | This needs the matching A119b change to not break the build. The array is passed, but not used yet. Bug: 6166228 Change-Id: Ia91d658461d989ee8c94e9b31bb06f4a36f4c5b6
* Increase encapsulation (A118)Jean Chalard2012-07-121-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
* Readability improvement (A117)Jean Chalard2012-07-121-6/+3
| | | | Change-Id: I6f8bb05a23edb40a079da60b7136170ec9043282
* Simplification (A116)Jean Chalard2012-07-122-9/+8
| | | | Change-Id: I97cf92a7b0dabc251dd241b24978ea00d1e5f047
* Compute variables closer to where they are used (A115)Jean Chalard2012-07-121-4/+3
| | | | | | This improves locality, it's better for readability/performance Change-Id: Ibb1efaf86e362dd2c9398722d0da2144df96b333
* Cleanup (A114)Jean Chalard2012-07-121-3/+4
| | | | Change-Id: I7e24e0aeae7c004cae310ae9f46cf90dac2d4d14
* Cleanup (A113)Jean Chalard2012-07-121-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
* Simplification (A112)Jean Chalard2012-07-121-3/+2
| | | | | | | If we are not composing a word, that isFirstCharCapitalized and isAllUpperCase are guaranteed to return false. Change-Id: Ic4a0be9574acf4653c729a9594f963f5bcf0c757
* Remove the ultimate code duplication (A111)Jean Chalard2012-07-121-14/+5
| | | | Change-Id: I7c76613df8f148feb02765f187db3ca6dc577977
* Resolve a TODO: bury some implementation detail in native (A110)Jean Chalard2012-07-122-8/+4
| | | | | | | 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
* Remove an unused method (A109)Jean Chalard2012-07-121-2/+0
| | | | Change-Id: Ib785b7e8c554d030395e2c0ca92edb44eb2b245f
* Stop using a redundant method (A108)Jean Chalard2012-07-121-14/+9
| | | | Change-Id: Iffc0bae0a273419e7c50d69526c0c8e402c6461c
* Remove a useless parameter (A106)Jean Chalard2012-07-121-3/+2
| | | | Change-Id: Ic0ecea22212fd1a098a3a168da460374e446f4a3
* Make a constant really constant (A104)Jean Chalard2012-07-121-7/+8
| | | | Change-Id: Ied1f9f96a574b1e6a8ee0a71bfb1604d9c962e1c
* Cleanup (A103)Jean Chalard2012-07-111-11/+6
| | | | Change-Id: Ib5ebddfdb87ef71a2f8d859fb45d3ac78040e97a
* Revert "Workaround to avoid a bug in the batch input bigram dictionary lookup"Tadashi Takaoka2012-07-111-8/+4
| | | This reverts commit 1250cdeab2da2c7f7d9c732a816dbc36e49fd61a
* Workaround to avoid a bug in the batch input bigram dictionary lookupTadashi G. Takaoka2012-07-111-4/+8
| | | | Change-Id: I8a5641c88c45918d6bed81a0b03efdcff0b380c5
* Inline a method to be able to factorize code (A102)Jean Chalard2012-07-111-20/+14
| | | | Change-Id: I121071f80c8af3c1053968dc76aaeca3352ca9a8
* Inline a wrapper method (A101)Jean Chalard2012-07-111-14/+4
| | | | Change-Id: I6ce856ff49a8f8c696851b2487590704010fc758
* Support batch inputTadashi G. Takaoka2012-07-111-1/+1
| | | | Change-Id: Ibe63212fe71cdebb5b897bc5018ae75b2a87555a
* Merge "Small readability improvement (A100)"Jean Chalard2012-07-101-2/+2
|\
| * Small readability improvement (A100)Jean Chalard2012-07-111-2/+2
| | | | | | | | Change-Id: I6340748654a95d203ed43ceb9a7e6468b5b8ab1c
* | Merge "Pull up some common code again (A99)"Jean Chalard2012-07-101-8/+9
|\|
| * Pull up some common code again (A99)Jean Chalard2012-07-111-8/+9
| | | | | | | | Change-Id: I9e9f5664bb12bb25d74c8a076a6ee1024c708145
* | Merge "Pull up some identical code (A98)"Jean Chalard2012-07-101-39/+23
|\|
| * Pull up some identical code (A98)Jean Chalard2012-07-111-39/+23
| | | | | | | | Change-Id: I6c265956394cf49e74b0256dfa5af06fe6b30467
* | Merge "Inline a method to avoid confusion (A97)"Jean Chalard2012-07-101-25/+18
|\|
| * Inline a method to avoid confusion (A97)Jean Chalard2012-07-111-25/+18
| | | | | | | | Change-Id: I3c3ffcd3d40493f4bfa0f6596f923b3430e605aa
* | Merge "Remove parameters for easier inlining (A96)"Jean Chalard2012-07-101-5/+3
|\|
| * Remove parameters for easier inlining (A96)Jean Chalard2012-07-111-5/+3
| | | | | | | | Change-Id: Ied2e291393609300173681e26e82b7dd36b41bd0
* | Merge "Pull up some more common code (A95)"Jean Chalard2012-07-101-15/+13
|\|