Commit Graph

8405 Commits (f18fc03621b70f5a51cf54c4bf40eb213de40652)

Author SHA1 Message Date
Jean Chalard ccd8ed53b3 Support stdin and stdout for compress/uncompress
This will improve flexibility in dictionary generation by
allowing pipelined commands.

Change-Id: Ia07bdc82c8bd740b5dfee6b5fd1a067f4b8b7ba5
2012-08-09 14:25:13 +09:00
Tadashi G. Takaoka 9abea49dd4 Merge "Fix NPE and don't call UI API from non-UI thread" into jb-mr1-dev 2012-08-08 20:00:19 -07:00
Tadashi G. Takaoka 8335c59ea7 Fix NPE and don't call UI API from non-UI thread
This change also reverts I29ec3e9f10484f30288fac76f0c45b3707bc2259

Bug: 6956969
Bug: 6891020
Bug: 6947253
Change-Id: I7901c0f9489b4deb79314c2c903b138611bfd78e
2012-08-09 11:55:41 +09:00
Satoshi Kataoka 60d4961f34 Merge "Pass traverse session" into jb-mr1-dev 2012-08-08 07:50:44 -07:00
Satoshi Kataoka 9127811493 Pass traverse session
Change-Id: I84bfaaa406e3f51421c08a7ee8f9576ebdba54d4
2012-08-08 23:30:31 +09:00
Ken Wakasa bb005f787f Start using JNI's Get<Type>ArrayRegion()
Change-Id: Iaa1014efe639dd79540835b0d5201093dbd8dab8
2012-08-08 21:06:52 +09:00
Satoshi Kataoka 181567f9c7 Merge "Add traverse session" into jb-mr1-dev 2012-08-08 04:40:36 -07:00
Satoshi Kataoka c4e4dfe17d Add traverse session
Bug: 6942265

Change-Id: I384cf701f5ee44c4b1037e5b8ddfa3d570286f55
2012-08-08 20:39:43 +09:00
Jean Chalard 8d7e3a51f0 Merge "Rename dicttool to dicttool_aosp and split commands" into jb-mr1-dev 2012-08-08 02:15:20 -07:00
Jean Chalard 4c573f3c64 Rename dicttool to dicttool_aosp and split commands
Change-Id: I83d948be2db5cd0203e876f019697e1d5e038818
2012-08-08 17:15:58 +09:00
Ken Wakasa 9b392364b7 Cleanup headers.
Change-Id: Ied1bedb8ba5fae590987ea23bed32f4db1a60d77
2012-08-08 17:12:09 +09:00
Tadashi G. Takaoka 732f27984e Merge "Add toString() method to Keyboard" into jb-mr1-dev 2012-08-08 00:08:13 -07:00
Tadashi G. Takaoka 2bcd913e56 Merge "Add SuggestInitializationListener to BinaryDictionary.resetMainDict()" into jb-mr1-dev 2012-08-08 00:07:57 -07:00
Tadashi G. Takaoka 35336cf83a Add toString() method to Keyboard
Change-Id: I74c8f006323ed78ec67414fd17849ab40966968e
2012-08-08 15:59:56 +09:00
Tadashi G. Takaoka a890de4215 Merge "Use ArrayList to implement PointerTrackerQueue" into jb-mr1-dev 2012-08-07 23:56:29 -07:00
Tadashi G. Takaoka 79eefda0d3 Add SuggestInitializationListener to BinaryDictionary.resetMainDict()
Change-Id: I4c01f172ddb2ca60fa6e604384610c90b76e5457
2012-08-08 15:55:26 +09:00
Tadashi G. Takaoka 7ae1fd02d4 Use ArrayList to implement PointerTrackerQueue
Change-Id: Ie386e6c7869df4df940e09fccffc5cd661134557
2012-08-08 14:18:30 +09:00
Satoshi Kataoka 3c058db2b7 Manually revert master only changes
Change-Id: Ia710721774a85ee8ac20ba1f1dc117768e281190
2012-08-08 12:52:45 +09:00
Satoshi Kataoka bb4880c591 Merge remote-tracking branch 'goog/jb-mr1-dev' into mergescriptpackage 2012-08-08 12:50:10 +09:00
Jean Chalard 4ed69eed00 Merge "Move makedict to live under dicttool (A5)" into jb-mr1-dev 2012-08-07 17:03:32 -07:00
Baligh Uddin 6f503f04ab Import translations. DO NOT MERGE
Change-Id: I01cb0570d1332829402892cb5cac874dc4985e37
Auto-generated-cl: translation import
2012-08-07 15:07:18 -07:00
Baligh Uddin 7bf5415bfe Import translations. DO NOT MERGE
Change-Id: I48e2fcef3c0384fb745f6329b8877a8c1a1cd815
Auto-generated-cl: translation import
2012-08-07 15:05:45 -07:00
Tadashi G. Takaoka 0cc425bd9c Add PointerTrackerQueue unit tests
This is a groundwork to elminate LinkedList from PointerTrackerQueue.

Change-Id: Ib77780537ceb0b4273fb8e483977ab76124c5ce7
2012-08-07 16:56:41 +09:00
Tadashi G. Takaoka 27e48447a4 Lingering gesture floating preview text a bit
Bug: 6936095
Change-Id: I873343e9aa6afdf6bdb223795f03232509b012a7
2012-08-07 13:54:42 +09:00
Baligh Uddin 36ce4380a1 Import translations. DO NOT MERGE
Change-Id: I20965b0e6ffff4cfd647bb17bfc19b4da95293c6
Auto-generated-cl: translation import
2012-08-06 13:36:24 -07:00
Baligh Uddin 2a0975be66 Import translations. DO NOT MERGE
Change-Id: I8cb76298b75155a9d2d4726127759ad9542a93fc
Auto-generated-cl: translation import
2012-08-06 13:35:01 -07:00
Tadashi G. Takaoka 7a13975700 Cleanup unused import and dead code
Change-Id: Ife877620561d29a8f25602916420741186104617
2012-08-06 17:28:33 +09:00
Tadashi G. Takaoka dba77186f7 Fix duplicate getSuggestions() call for main dictionary
Change-Id: I092480063452505cdf03dbd83b9c64e535822931
2012-08-06 17:08:38 +09:00
Tadashi G. Takaoka b27959741a Fix Utils.getStackTrace()
Change-Id: Iaf160af32bb77b3ad5929cb5ee8eccd01165bdf6
2012-08-06 16:50:43 +09:00
Satoshi Kataoka 44456dcbf2 Merge remote-tracking branch 'goog/master' into mergescriptpackage
Conflicts:
	java/res/values-af/strings.xml
	java/res/values-cs/strings.xml
	java/res/values-et/strings.xml
	java/res/values-fi/strings.xml
	java/res/values-hi/strings.xml
	java/res/values-hr/strings.xml
	java/res/values-hu/strings.xml
	java/res/values-in/strings.xml
	java/res/values-ja/strings.xml
	java/res/values-ko/strings.xml
	java/res/values-lt/strings.xml
	java/res/values-lv/strings.xml
	java/res/values-ms/strings.xml
	java/res/values-pt/strings.xml
	java/res/values-ro/strings.xml
	java/res/values-ru/strings.xml
	java/res/values-sk/strings.xml
	java/res/values-sl/strings.xml
	java/res/values-sr/strings.xml
	java/res/values-sw/strings.xml
	java/res/values-tr/strings.xml
	java/res/values-vi/strings.xml
	java/res/values-zh-rCN/strings.xml
	java/res/values-zh-rTW/strings.xml

Change-Id: Ib4141aca0b35148d62d22d4f32309f890c84303a
2012-08-06 16:04:07 +09:00
Tadashi G. Takaoka d299bde24b am 76bfe7f7: am 44f12ed9: Merge "Separate updateSuggestionStrip from commitTyped" into jb-mr1-dev
* commit '76bfe7f7b0f6b231e0596e400620cd34265a044f':
  Separate updateSuggestionStrip from commitTyped
2012-08-05 22:49:27 -07:00
Tadashi G. Takaoka 76bfe7f7b0 am 44f12ed9: Merge "Separate updateSuggestionStrip from commitTyped" into jb-mr1-dev
* commit '44f12ed900f57af7318884347d9e1c434422a3ca':
  Separate updateSuggestionStrip from commitTyped
2012-08-05 22:47:49 -07:00
Tadashi G. Takaoka 44f12ed900 Merge "Separate updateSuggestionStrip from commitTyped" into jb-mr1-dev 2012-08-05 22:45:49 -07:00
Tadashi G. Takaoka 0a524de3df Separate updateSuggestionStrip from commitTyped
The commitTyped() called updateSuggestionStrip(), and that led to call
Suggest.getSuggestedWordsForTypingInput() even after a batch input was
started because WordComposer.commitWord() reset the batch input state.

Bug: 6932442
Change-Id: If645b1ef0343aa1e21ca71a9275b40c6c3be13df
2012-08-06 14:31:01 +09:00
Ken Wakasa 56b6c269f2 am b808e970: am e2a6badf: Merge "Show results in the native code." into jb-mr1-dev
* commit 'b808e970f4c6d543ef896c25726e522601a49f83':
  Show results in the native code.
2012-08-05 19:37:10 -07:00
Ken Wakasa b808e970f4 am e2a6badf: Merge "Show results in the native code." into jb-mr1-dev
* commit 'e2a6badf601e7b637a709a11e430bd21bb46f6f9':
  Show results in the native code.
2012-08-05 19:36:19 -07:00
Ken Wakasa e2a6badf60 Merge "Show results in the native code." into jb-mr1-dev 2012-08-05 19:34:23 -07:00
Satoshi Kataoka 586b0ca1a2 Show results in the native code.
Change-Id: I712ba49cf4a89a36836fbf49cd72e7eef218e61f
2012-08-06 11:26:13 +09:00
Tadashi G. Takaoka 6b4cada7b2 am 2687b667: am 4e9e6cd1: Fix IllegalStateException of KeyDetector
* commit '2687b667a7edb889fd2704380fee45f848da6626':
  Fix IllegalStateException of KeyDetector
2012-08-05 19:25:20 -07:00
Tadashi G. Takaoka 2687b667a7 am 4e9e6cd1: Fix IllegalStateException of KeyDetector
* commit '4e9e6cd1544f59be2ae02536af62fe5301e0cebb':
  Fix IllegalStateException of KeyDetector
2012-08-05 19:23:25 -07:00
Tadashi G. Takaoka 4e9e6cd154 Fix IllegalStateException of KeyDetector
A KeyDetector without Keyboard may exist in some rare cases. This
change eliminates throwing IllegalStateException and checks explicitly
against null.

Bug: 6891020
Change-Id: I29ec3e9f10484f30288fac76f0c45b3707bc2259
2012-08-06 11:09:50 +09:00
Kurt Partridge 838e6c1e5b ResearchLogging capture full n-gram data
- Captures complete motion data for all words in an n-gram.
- Also filters n-grams properly; if any word in the n-gram is not
  in the dictionary, it is not included.
- Simplify ResearchLog to not require explicit state
- Added LogBuffer class MainLogBuffer class to allow n-gram-level decisions
  about privacy.
- Moved LogUnit out from ResearchLogger

multi-project change with Id997fb6572daa3ff55591afa1676953bb204f33a

Because of a strange Gerrit interaction, earlier patchsets were recorded
as the following separate changes (to soon be abandoned):

- I59d86ae28123890ddb7aabc7dc9a73a75eecbca4
- I9cc95266fa4500d019e09ec53ec00e5dea7ffd38
- Ie6f23a2035e160f231406df1388a43725380df1d
- Id87909e96fa7fa91174c86395a964404f3490fe1
- I57c5cbde0425c42538d589fa4d1802b3e5688f7c
- Ic1f9d7727e416da1b6c4f1a45b53750cd4088dcf
- I20a72ccc4ba1bc08ed3ee39bff71d2adb376588c
- I417f6f364144b90085f5fef4bd2de1a40b5dfa79

Bug: 6188932
Change-Id: I771e57e3b8c0eb6721c2022e775cb0b528bdff93
2012-08-05 00:55:58 -07:00
Ying Wang 5400f24bed am 99403af5: (-s ours) am 0ef87868: Merge "Import translations. DO NOT MERGE" into jb-mr1-dev
* commit '99403af5bb2b9ae61e0feb0e4aaac0874c1362d1':
  Import translations. DO NOT MERGE
2012-08-03 14:40:39 -07:00
Ying Wang 99403af5bb am 0ef87868: Merge "Import translations. DO NOT MERGE" into jb-mr1-dev
* commit '0ef87868c2a1f0cb0249cfc0e53c357f04ea9366':
  Import translations. DO NOT MERGE
2012-08-03 14:37:57 -07:00
Ying Wang 6f577e16aa Merge "Import translations. DO NOT MERGE" 2012-08-03 14:35:22 -07:00
Ying Wang 0ef87868c2 Merge "Import translations. DO NOT MERGE" into jb-mr1-dev 2012-08-03 14:35:17 -07:00
Ying Wang f06db84d19 Import translations. DO NOT MERGE
Change-Id: I5b3c408ec87801fb3e6475d8cce0336fa7d26872
Auto-generated-cl: translation import
2012-08-03 14:30:57 -07:00
Ying Wang 3d5a0b90f8 Import translations. DO NOT MERGE
Change-Id: I9510061c7ae1f4020cd5c5d24ed75348556ee085
Auto-generated-cl: translation import
2012-08-03 14:25:41 -07:00
Jean Chalard 04cccea295 Move makedict to live under dicttool (A5)
This removes the makedict directory and makes a new target
to replace it. The old command is still working the same
way it used to.

Change-Id: Ie73b12a7ef101dd2b282e0cb4206ac263af1093e
2012-08-04 02:14:13 +09:00
Jean Chalard 7932a0c535 am ff05b219: am 3598053d: Move dicttool tests and make a script to run them (A4)
* commit 'ff05b2192feb7b043d5d4e722bd135208e9232c9':
  Move dicttool tests and make a script to run them (A4)
2012-08-03 10:10:19 -07:00