aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-04-19Make setup wizard step number highlighted when activatedTadashi G. Takaoka2-20/+31
Bug: 8159728 Change-Id: I62ccbebaae0a0c4a93ad7c155fc3020a7f357f3c
2013-04-18Fix an infinite loopJean Chalard1-1/+0
What do you mean "Can't happen"? It happens all the time - the empty string is the default ID, and it needs to be updated like everyone else. Bug: 8651858 Change-Id: I5a2f2ebb5b2ef08b27f26be8fb2c3d2f231ebcfc
2013-04-18Update dictionariesJean Chalard8-0/+0
>>> dictionaries/en_GB_wordlist.combined.gz Header : date : 1366021966 <=> 1366272052 Body : Added: yt 0 >>> dictionaries/en_US_wordlist.combined.gz Header : date : 1366021978 <=> 1366272093 Body : Added: yt 0 >>> dictionaries/en_wordlist.combined.gz Header : date : 1366021987 <=> 1366272977 Body : Added: yt 0 >>> dictionaries/fr_wordlist.combined.gz Header : date : 1366003217 <=> 1366272255 Body : Freq changed: cash 80 -> 20 >>> dictionaries/ru_wordlist.combined.gz Header : date : 1366003693 <=> 1366277083 Body : Deleted: толщ 76 >>> java/res/raw/main_en.dict Header : date : 1366021987 <=> 1366272977 Body : Added: yt 0 >>> java/res/raw/main_fr.dict Header : date : 1366003217 <=> 1366272255 Body : Freq changed: cash 80 -> 20 >>> java/res/raw/main_ru.dict Header : date : 1366003693 <=> 1366277083 Body : Deleted: толщ 76 Bug: 8635822 Change-Id: I44dc73bd010b125c994387894847a008276d69f7
2013-04-18Initialize dictionaries at onStartInputViewJean Chalard2-5/+11
Bug: 8344402 Change-Id: I41b8440f0d72a66fde3f6feb0db8239c9bb10ea3
2013-04-18Update setup wizard iconsTadashi G. Takaoka26-13/+11
Bug: 8159728 Change-Id: Ia5a14a35292b43dc1eaa2d4edd65134040355149
2013-04-17Remove duplicate new-word bigram cost (part 1)Tom Ouyang4-31/+6
Removes a duplicate application of the new word bigram cost and updates only the related parameters (those associated with multi-word suggestions). Note: test results will improve after full optimization. [Category diff] +1 357 -1 485 +2 16 -2 20 +3 20 -3 16 +4 198 -4 226 +5 510 -5 443 +6 518 -6 368 +7 394 -7 455 [Weighted category diff] +1 482 -1 532 +2 22 -2 22 +3 22 -3 22 +4 233 -4 381 +5 578 -5 500 +6 617 -6 498 +7 522 -7 521 Bug: 8633962 Change-Id: I3c3ecc9460e8e03e44925e11b2d4b037a6c3b99e
2013-04-17Import translations. DO NOT MERGEBaligh Uddin51-124/+1342
Change-Id: Ie233160cd947ed29aca47db50b67ebb7dfd92337 Auto-generated-cl: translation import
2013-04-17Import translations. DO NOT MERGEBaligh Uddin7-14/+14
Change-Id: I923a171d7af715859605f79c35ea37239dcf0a3e Auto-generated-cl: translation import
2013-04-17Fix bug in counting words between samplesKurt Partridge2-20/+23
Previously MainLogBuffer#shiftOutWords() assumed it wouldn't be called if mNumWordsUntilSafeToSample was 0. This relaxes this assumption (which is in fact false in the current code). Change-Id: I8723248095e84a0d9d6f4639b4742cc7dda9716b
2013-04-17Fix user recording dialogKurt Partridge1-28/+9
Clicking the "include recording" checkbox in the user feedback dialog did nothing. The code was relying on the state of the checkbox, rather than keeping its own state. Fixing this addresses the bug. Change-Id: I559d57a4e11f869f6e6f5e5de7878f765531a203
2013-04-17Fix alarm bugKurt Partridge1-19/+6
The AlarmManager takes absolute times as an argument, not durations. Change-Id: I419434ba5908c5f4070608070bbecf753088ecc8
2013-04-17Fix bug to update last interpolated index of GestureStrokeTadashi G. Takaoka1-5/+5
Bug: 8556775 Change-Id: Ie12e0dc9bfeae45f6883580801e07d44be1d1d33
2013-04-17Add user feedback to setup action labels and iconsTadashi G. Takaoka17-9/+186
Bug: 8159728 Change-Id: I46c77c31973ae492c2a12291f2e0b154f64d26c9
2013-04-17Finalize setup wizard strings and mark as translatableTadashi G. Takaoka2-17/+26
Bug: 8159728 Change-Id: I9f6f04b09b2cefdb7ece76a4f3c39ab56d0c8fab
2013-04-17Fix JsonWriter bugKurt Partridge1-3/+13
JsonWriter requires that data be written to it, else close() will throw an exception. Change-Id: I596c5363e063cc75bcda55e0a506eefb3f17bd67
2013-04-17Label logUnits after LatinImeOnEndBatchInputKurt Partridge1-0/+3
Previously only a commitText would cause a LogUnit to be labeled with the word that the data generates. In the case of gestured text, this information is available when LatinIME#onEndBatchInput is called. Labeling the LogUnit at this time means that the Log will have labeled words even if stop() is called before commit. Change-Id: Idb2f99a9c159a1b1aa00448a2ecddeca6c351c3e
2013-04-17Avoid duplicate MotionEventsKurt Partridge1-4/+6
Change-Id: I9c3b352b738698f262f254e581bde34b060e258f
2013-04-17Fix singleton/utility classes initialization in SettingsFragmentTadashi G. Takaoka2-7/+12
This is a follow up of Ide3cd3acba. Bug: 8632344 Change-Id: Iafe51798a1a74eff5d8fcd6f0117d16b419d447d
2013-04-17Fix missing AudioAndHapticFeedbackManager initializationTadashi G. Takaoka1-0/+2
Bug: 8632344 Change-Id: Ide3cd3acba3987317cff709fa591eadaa71834e8
2013-04-16Fix NPEKurt Partridge1-1/+1
Change-Id: I8a091fb63dab12a0d2ba69e2fe393249bc68d103
2013-04-16Clean up unnecessary log messagesKurt Partridge1-2/+0
Change-Id: I6c3252f3b31c5874ea2f909f636f58b579c06b8d
2013-04-16Fix logic errorKurt Partridge1-1/+1
Change-Id: Ia36660c66504ba2fbb7f125704926a08726df87a
2013-04-16Small dot in corner was not visibleKurt Partridge1-1/+1
Framework change perhaps? Even if not, this makes it more visible Change-Id: Ib6d36b5a30136c4516adac666bdff36d1cd9b337
2013-04-16Include nanoTime in filenameKurt Partridge2-9/+11
System is fast enough that sometimes SystemClock.currentTimeMillis() is duplicated when used to make a unique filename. Change-Id: I9454fbb5e10265d36b8e17cba183a1591d52cc7b
2013-04-17Fix bug to update last interpolated index of GestureStrokeTadashi G. Takaoka1-5/+5
Bug: 8556775 Change-Id: Ie12e0dc9bfeae45f6883580801e07d44be1d1d33
2013-04-16Make digraph lookups case insensitiveTom Ouyang1-1/+3
Example: Be able to gesture dictionary words that start with an upper-case German umlaut (e.g., Übermensch). Bug: 8493920 Change-Id: I3253bcd236d34c0af60116e5b41e359f2715bf97
2013-04-16Update SORTED_CHAR_MAPKen Wakasa2-10/+183
bug: 7873416 bug: 8493920 Change-Id: Ifddb04cad90da71df5d34dd7076850dbcf51fba4
2013-04-16Don't insert automatic spaces when text looks like a URLJean Chalard9-7/+113
This is about as ad-hoc as it gets, but then again, what we want is probably as ad-hoc as it gets. All URL boxes I know of double as search bars, and not adding automatic spaces there sucks (e.g. in Chrome URL bar). And in other boxes actually you don't want to add a space if it looks like a URL. QSB isn't even a search box, and it behaves like this. So I think this is actually the right answer to the problem. Bug: 7062925 Change-Id: Ib09472b34644fd5bf2dc84bb97cedeeba28bcd02
2013-04-16Add shadow to gesture preview trailTadashi G. Takaoka6-8/+53
Bug: 7167303 Change-Id: I8f76fe0aec6cb32388e7c85d04516d1dd7d28c29
2013-04-16Use additional multi-word cost per language (for Russian)Satoshi Kataoka11-65/+69
Bug: 7540133 Change-Id: I7eb7b8399746c15452ed2ed5069955e88fb546d3
2013-04-16Small cleanupJean Chalard1-3/+3
Change-Id: Iafdbe305712c8a571f0f5abc2032df086d7ac015
2013-04-16Don't recapitalize on shift while on symbol layoutJean Chalard1-1/+6
Change-Id: Ibf2cdedf510c296561bb5eeb6ff18c3414d6d6f4
2013-04-16Match the keyboard state to the recapitalize state.Jean Chalard5-10/+62
Bug: 7657025 Change-Id: I2f8fe7fc4596a498322ba5ccabbd0c18a2bc36cf
2013-04-16Clean up RecapitalizeStatusJean Chalard3-56/+59
Change-Id: Ib4d002f90cd3a0e9ad4c04b883b0c1f05ada3ccf
2013-04-16Fix an NPEJean Chalard1-0/+1
Bug: 8620678 Change-Id: Ia91761f33518a010b2844d34523cadece261c67e
2013-04-16Fix an NPEJean Chalard1-2/+2
Bug: 8620758 Change-Id: I39f07939ebb6148a48aae5b915ee807002a5b02d
2013-04-15Import translations. DO NOT MERGEBaligh Uddin8-14/+14
Change-Id: I865e5c110e5a31e209fad2e909deb8589347657d Auto-generated-cl: translation import
2013-04-15Import translations. DO NOT MERGEBaligh Uddin8-14/+14
Change-Id: I90a62b7aced2e050837ac63b897c6179f4f46218 Auto-generated-cl: translation import
2013-04-15Import translations. DO NOT MERGEBaligh Uddin8-14/+14
Change-Id: I9d8f338ec80b897fc730913daabad86f2cc5ecac Auto-generated-cl: translation import
2013-04-15Import translations. DO NOT MERGEBaligh Uddin8-14/+14
Change-Id: I5f6f7233c46f7a5faaac5f959c93329ace4c70f4 Auto-generated-cl: translation import
2013-04-15Adjust CHAR_LIMITsKen Wakasa1-3/+3
bug: 8589156 bug: 8588538 bug: 8588746 Change-Id: I14050dc3542946c1bae2e1dc8b63b99758d5f9aa
2013-04-15Remove a useless functionJean Chalard2-29/+0
Bug: 8583091 Change-Id: I9195d68e44e9a282e25ccd2978d7b4088f600170
2013-04-15Small performance improvement / minor bugfixJean Chalard1-3/+3
The only place where it's used is checked for nullity. Also, it's possible, also difficult, to match a different recapitalize with the old code, triggering a bug that this fixes. Change-Id: I717d6df489025c75d1caca290a9086c3b39a9306
2013-04-15Remove gesture suggestions with an INT_MIN scoreJean Chalard1-0/+12
Bug: 7980115 Change-Id: I8de31068992aec712eaad132857d9dc61f28e30a
2013-04-15Update dictionariesJean Chalard4-0/+0
>>> dictionaries/en_GB_wordlist.combined.gz Header : date : 1366003032 <=> 1366021966 Body : Deleted: FTP 88 Deleted: HTTPS 66 Added: www 72 >>> dictionaries/en_US_wordlist.combined.gz Header : date : 1366003070 <=> 1366021978 Body : Deleted: FTP 88 Deleted: HTTPS 66 Added: http 95 Added: www 71 >>> dictionaries/en_wordlist.combined.gz Header : date : 1366003861 <=> 1366021987 Body : Deleted: FTP 88 Deleted: HTTPS 66 Freq changed: http 120 -> 95 Added: www 71 >>> java/res/raw/main_en.dict Header : date : 1366003861 <=> 1366021987 Body : Deleted: FTP 88 Deleted: HTTPS 66 Freq changed: http 120 -> 95 Added: www 71 Bug: 8233807 Change-Id: Id55f6e0dcc9ddff26902c0857edcbb9b10d42328
2013-04-15Have Latin IME re-capitalize a selected stringJean Chalard5-1/+420
Upon pressing Shift, if there is currently a selected string, have Latin IME change its capitalization. This does not yet have the keyboard mode follow the mode - the change is complicated enough as is. Bug: 7657025 Change-Id: I54fe8485f44e04efd72c71ac9feee5ce21ba06f2
2013-04-15If there are no suggestion span, recompute suggestions.Jean Chalard4-16/+148
Bug: 8084810 Change-Id: I1743c09c43ca6835bb2f607684b037bf17d36335
2013-04-15Enable touch coordinate correction for new algorithmSatoshi Kataoka8-48/+94
Bug: 8505668 Change-Id: I07eb785c74c446777524104a3d2b61f0f591a498
2013-04-15Reject a previously user-refused suggestion.Jean Chalard3-0/+27
If the user gestures a word, then hits backspace in disapproval, and gestures about the same thing again, make sure that we don't suggest the same thing again. Bug: 7549311 Change-Id: I793bc4df7c3841fa8f2f4146707c26e873f374c1
2013-04-15Remove unnecessary harmful finish() from SettingsActivityTadashi G. Takaoka1-7/+2
Bug: 8560722 Change-Id: I825b135bd13aca17e712330660978b834648dbc3