Commit Graph

12645 Commits (b4d4bcc1cf98e9a7b90d445dc12dc915b706e494)

Author SHA1 Message Date
Keisuke Kuroyanagi 87af779f84 am b3bae2e8: Merge "Update v4 format version from 402 to 403."
* commit 'b3bae2e89bdd6046ff6cc1fd0fe4be889e66ec17':
  Update v4 format version from 402 to 403.
2014-10-31 14:22:32 +00:00
Keisuke Kuroyanagi b3bae2e89b Merge "Update v4 format version from 402 to 403." 2014-10-31 14:19:44 +00:00
Tadashi G. Takaoka 8c980ff45d am ef8068f9: Merge "Add helper methods to convert flags to readable text"
* commit 'ef8068f9a85af5c402588662b3a7e98076e4c0dd':
  Add helper methods to convert flags to readable text
2014-10-31 10:16:32 +00:00
Tadashi G. Takaoka ef8068f9a8 Merge "Add helper methods to convert flags to readable text" 2014-10-31 10:12:37 +00:00
Keisuke Kuroyanagi ea468cc9de Update v4 format version from 402 to 403.
Without personalization:
Total words: 1134774, Success Num: 899230, Success Percentage: 79.243%
Bad Failures, with auto-correction (typed word == expected word, output word != expected word): 1871, Bad Failure Percentage: 0.165%
Failures, with auto-correction (F-C): 29084, F-C Percentage: 2.563%
Max Keystrokes: 6072959, Min Keystrokes: 4436090, Keystroke Saving Percentage:26.953%

Before:
Total words: 1134646, Success Num: 925194, Success Percentage: 81.540%
Bad Failures, with auto-correction (typed word == expected word, output word != expected word): 1316, Bad Failure Percentage: 0.116%
Failures, with auto-correction (F-C): 28288, F-C Percentage: 2.493%
Max Keystrokes: 6072831, Min Keystrokes: 3946188, Keystroke Saving Percentage:35.019%

After
Total words: 1134659, Success Num: 944746, Success Percentage: 83.263%
Bad Failures, with auto-correction (typed word == expected word, output word != expected word): 1258, Bad Failure Percentage: 0.111%
Failures, with auto-correction (F-C): 28016, F-C Percentage: 2.469%
Max Keystrokes: 6072844, Min Keystrokes: 3387333, Keystroke Saving Percentage:44.222%

Change-Id: I3af42ec37a11847c0429c28616e726f6a339247f
2014-10-31 17:23:39 +09:00
Jean Chalard a7281a766c am 5840a7c6: Merge "Remove Dict dependency on WordComposer and ProximityInfo"
* commit '5840a7c6e7c6b5eea3269457affaf063fe712944':
  Remove Dict dependency on WordComposer and ProximityInfo
2014-10-31 08:03:38 +00:00
Jean Chalard 5840a7c6e7 Merge "Remove Dict dependency on WordComposer and ProximityInfo" 2014-10-31 07:59:12 +00:00
Tadashi G. Takaoka 9dc3ae84ee Add helper methods to convert flags to readable text
Change-Id: I23608927cef8a897ff4ad8c938560cc78093ddac
2014-10-31 16:20:20 +09:00
Ken Wakasa ae9bfdc061 am ed575b62: Merge "Add documentation for CollectionUtils#arrayAsList"
* commit 'ed575b62da197e81ace23eeb1af09fd776fa0b41':
  Add documentation for CollectionUtils#arrayAsList
2014-10-31 07:09:52 +00:00
Ken Wakasa ed575b62da Merge "Add documentation for CollectionUtils#arrayAsList" 2014-10-31 07:07:07 +00:00
Adrian Velicu dca729bd21 am 61d43e5c: Merge "Update unit tests for new static dict version."
* commit '61d43e5c941e7a76d614ffbe756137c02a34cdc1':
  Update unit tests for new static dict version.
2014-10-31 06:55:23 +00:00
Adrian Velicu b524aa768c am f59c3b62: Merge "Update dictionaries (possibly_offensive flag)"
* commit 'f59c3b62383711a58366bb77caefb62dced3f116':
  Update dictionaries (possibly_offensive flag)
2014-10-31 06:55:21 +00:00
Adrian Velicu 93a9b836f9 am aa20342d: Merge "Using "blacklist" flag as "possibly offensive""
* commit 'aa20342d7ee40fb13483fc2a663493de185a33cd':
  Using "blacklist" flag as "possibly offensive"
2014-10-31 06:55:19 +00:00
David Faden d443146c34 Add documentation for CollectionUtils#arrayAsList
(This is a cherrypick of http://ag/576739)

Also, modify the IllegalArgumentException to capture the
values passed for start, end, and array.length to make
debugging easier in the unlikely event that it is thrown.
Add corresponding tests for the exceptions.

Tested:
tapas LatinImeGoogle LatinImeGoogleTests userdebug
make -j30 && \
adb install -r \
out/target/product/generic/data/app/LatinImeGoogleTests/LatinImeGoogleTests.apk && \
adb install -r \
out/target/product/generic/system/app/LatinImeGoogle/LatinImeGoogle.apk && \
adb shell am instrument -w -e class \
com.android.inputmethod.latin.utils.CollectionUtilsTests \
com.google.android.inputmethod.latin.tests/android.support.test.runner.AndroidJUnitRunner

Change-Id: I0c579ca4f4f2a9b2575aa6f8fa75e3ee4a21cf8a
2014-10-31 06:18:35 +00:00
Adrian Velicu 88480f39f6 Update unit tests for new static dict version.
Bug: 11031090
Change-Id: Ifd7b241f1a0a30678ca7de97cc6e96927a9b5c8f
2014-10-31 14:50:18 +09:00
Adrian Velicu 8dd31a28ae Update dictionaries (possibly_offensive flag)
Correctly encoding possibly offensive words with their correct
frequency and the possibly_offensive flag set.

Continuing to encode with zero frequency only distracters or
words that should never come up.

https://paste.googleplex.com/5167060875214848

Bug: 11031090
Change-Id: Ia394b1827f292ff8d4791cc2f3e6e50b5aff4cbe
2014-10-31 14:49:24 +09:00
Adrian Velicu 7c87859d4c Using "blacklist" flag as "possibly offensive"
Bug: 11031090
Change-Id: I5cc0d006ab003656498eb82b0875eb9c051d331e
2014-10-31 14:33:05 +09:00
Tadashi G. Takaoka aa14f63418 am 77947c9c: Merge "Consolidate TimerHandler.Callbacks with PointerTracker.DrawingProxy"
* commit '77947c9c96c88fd4a7082c46a479ec145d1d278a':
  Consolidate TimerHandler.Callbacks with PointerTracker.DrawingProxy
2014-10-30 09:59:39 +00:00
Tadashi G. Takaoka 77947c9c96 Merge "Consolidate TimerHandler.Callbacks with PointerTracker.DrawingProxy" 2014-10-30 09:55:51 +00:00
Tadashi G. Takaoka be708c4e59 Consolidate TimerHandler.Callbacks with PointerTracker.DrawingProxy
Change-Id: I654f7483d1c013ac2685a45af4eb2af15fa219ad
2014-10-30 18:28:40 +09:00
Andy Wang 8f58f71029 am 0ca400c8: Merge "Add a preference to resize the keyboard height."
* commit '0ca400c8279b17a5e37a95d53a4f445d3d583e44':
  Add a preference to resize the keyboard height.
2014-10-30 03:41:26 +00:00
Andy Wang 0ca400c827 Merge "Add a preference to resize the keyboard height." 2014-10-30 03:37:26 +00:00
Tadashi G. Takaoka 3dcb5d3462 am d9b1327c: Merge "Consolidate similar methods"
* commit 'd9b1327c218c813e5556d5894621c82bd0a99297':
  Consolidate similar methods
2014-10-30 03:00:34 +00:00
Tadashi G. Takaoka 2f7dced0fc am d2c00f55: Fix dismiss key preview bug introduced by I658a5b16cc
* commit 'd2c00f550d6b4f2452fe38cee7c1d2222a4b4b3d':
  Fix dismiss key preview bug introduced by I658a5b16cc
2014-10-30 03:00:32 +00:00
Tadashi G. Takaoka d9b1327c21 Merge "Consolidate similar methods" 2014-10-30 02:54:38 +00:00
Andy Wang bb9400aebc Add a preference to resize the keyboard height.
The keyboard height is controlled by a slider in the debug preferences.
Without access to debug preferences, this change is a no-op.

Bug: 6867494
Change-Id: I984064ed1cab752876615f5ed582818474d6041b
2014-10-30 11:45:41 +09:00
Tadashi G. Takaoka d2c00f550d Fix dismiss key preview bug introduced by I658a5b16cc
Change-Id: I5248374dfe0504f6e64cc5d994e275d80364ec9d
2014-10-30 11:43:53 +09:00
Tadashi G. Takaoka 051f8b1442 Consolidate similar methods
This CL consolidates similar methods in MainKeyboardView.
- startWhileTypingFadeinAnimation and startWhileTypingFadeoutAnimation
- showSlidingKeyInputPreview and dismissSlidingKeyInputPreview

Change-Id: I607ab74683820de2456af3e75663cf8cf358ab38
2014-10-30 11:15:59 +09:00
Geoff Mendal c96bb3e9a7 Merge "Import translations. DO NOT MERGE" 2014-10-29 19:14:14 +00:00
Geoff Mendal 02a4840cec Merge "Import translations. DO NOT MERGE" into jb-ub-latinimegoogle 2014-10-29 19:13:39 +00:00
Geoff Mendal 4caa03c839 Import translations. DO NOT MERGE
Change-Id: I3643a631ae94f295bdcd4cf4427fd4bcfef00a17
Auto-generated-cl: translation import
2014-10-29 12:02:07 -07:00
Geoff Mendal 1c4bd2898f Import translations. DO NOT MERGE
Change-Id: I7754ea73920159f7e5b57886eb5064eaec3ad004
Auto-generated-cl: translation import
2014-10-29 12:01:04 -07:00
Tadashi G. Takaoka 9b8822defb am 4e0149c2: Merge "Remove DrawingHandler"
* commit '4e0149c22a78673f3ec7e0903f945587e12cc3b1':
  Remove DrawingHandler
2014-10-29 13:46:33 +00:00
Tadashi G. Takaoka 4e0149c22a Merge "Remove DrawingHandler" 2014-10-29 13:42:44 +00:00
Jean Chalard a6500fb9c5 am 93e5cdea: Merge "[CS8] Add explanations"
* commit '93e5cdea71266d0fa1e9c456c42407d7aea1e7cc':
  [CS8] Add explanations
2014-10-29 12:28:22 +00:00
Jean Chalard 93e5cdea71 Merge "[CS8] Add explanations" 2014-10-29 12:26:23 +00:00
Tadashi G. Takaoka 68fbe04873 am ca6e5dfe: Remove DrawingHandler.Callbacks.dismissAllKeyPreviews()
* commit 'ca6e5dfedbb57f6ec31880f2799b40a6b2adadbc':
  Remove DrawingHandler.Callbacks.dismissAllKeyPreviews()
2014-10-29 11:02:55 +00:00
Tadashi G. Takaoka 2ad6d9cda3 Remove DrawingHandler
Change-Id: I658a5b16cca1e56f0b944009b8aef09e0a97a0db
2014-10-29 18:51:41 +09:00
Tadashi G. Takaoka ca6e5dfedb Remove DrawingHandler.Callbacks.dismissAllKeyPreviews()
Change-Id: I2b11ca0dec0f3522648557a9a909f305cc4170fb
2014-10-29 15:25:09 +09:00
Jean Chalard ecab6aff59 Remove Dict dependency on WordComposer and ProximityInfo
Bug: 18108776
Change-Id: I9b399a44241e05a7add9bb8094263aa76de37880
2014-10-29 12:27:24 +09:00
Jean Chalard 84a7e9e029 am 36799b2a: Move InputPointers and ResizableIntArray to common
* commit '36799b2aa2982ec17341cd2c5ed81e608bcee8c6':
  Move InputPointers and ResizableIntArray to common
2014-10-29 03:23:42 +00:00
Jean Chalard 36799b2aa2 Move InputPointers and ResizableIntArray to common
Bug: 18108776
Change-Id: Ie5c0430aa41a8d6c58bf510a10173223d7dfe9fe
2014-10-29 12:09:11 +09:00
Tadashi G. Takaoka cc8ef00754 am 48ee473c: Merge "Clean up UserDictionaryCompatUtils"
* commit '48ee473c1e4d6eb1c76eeadce4a1fa3e101867a1':
  Clean up UserDictionaryCompatUtils
2014-10-29 00:42:27 +00:00
Tadashi G. Takaoka 48ee473c1e Merge "Clean up UserDictionaryCompatUtils" 2014-10-29 00:37:43 +00:00
Jean Chalard f5a1b7cb04 am 4beeb925: Move StringUtils under common.
* commit '4beeb9253a06482299e0c67467531d30436a02fc':
  Move StringUtils under common.
2014-10-28 13:57:22 +00:00
Jean Chalard 4beeb9253a Move StringUtils under common.
Bug: 18108776
Change-Id: Ia46a4102a0e86e71118ca5e641f9f531998e166b
2014-10-28 22:44:30 +09:00
Jean Chalard da555ca164 am ca724ef7: Reduce StringUtils dependency on the Android libs
* commit 'ca724ef71f70044f48e2360e2627922be8ca24d5':
  Reduce StringUtils dependency on the Android libs
2014-10-28 13:11:20 +00:00
Jean Chalard ca724ef71f Reduce StringUtils dependency on the Android libs
Bug: 18108776
Change-Id: I43feb25d79f89276d44462ba71788a14c4583277
2014-10-28 22:03:18 +09:00
Tadashi G. Takaoka 2c966bcd4d am 12903991: Merge "Fix Serbian Latin subtype handling"
* commit '1290399123e515d0068e0d8604e87972890178c0':
  Fix Serbian Latin subtype handling
2014-10-28 09:42:40 +00:00
Tadashi G. Takaoka fec5219974 Fix Serbian Latin subtype handling
This CL also adds unit tests for Hinglish and Serbian Latin.

Bug: 9687668
Bug: 17169632
Change-Id: Ib9aa1bcdf5b390a9d8c61f07165beacf850e2692
2014-10-28 18:36:16 +09:00