Ken Wakasa
805ac949d2
Fix string.compare() logic. It happens to be working luckily.
...
Change-Id: I262c6d5779124e5b09ad1a66ca3c9ddb2fc6d7d5
2012-08-09 19:36:58 +09:00
Ken Wakasa
71b379df51
Merge "Use GetStringUTFRegion" into jb-mr1-dev
2012-08-09 02:54:38 -07:00
Satoshi Kataoka
9d29871605
Add reset method for dic travserse session
...
Change-Id: Ia3dd924f92549da2cf8302ef77c629902d4f275b
2012-08-09 17:49:19 +09:00
Tadashi G. Takaoka
877157e1f5
Optimize keyboard drawing code a bit
...
* Remove useless boolean flag.
* Use invalidate(int,int,int,int).
* Don't draw background when hardware acceleration is enabled.
Change-Id: Id560ac84f33b5151437a42a4ff22736284d71e2d
2012-08-09 16:44:11 +09:00
Tadashi G. Takaoka
f40a666902
Merge "Update dictionary availability at onStartInputView" into jb-mr1-dev
2012-08-09 00:12:48 -07:00
Tadashi G. Takaoka
2be2d77664
Update dictionary availability at onStartInputView
...
This is a follow up of I7901c0f9489b4deb79314c2c903b138611bfd78e
Change-Id: I38c22e886db247c402a964e3ddd10b09a461151c
2012-08-09 16:09:54 +09:00
Ken Wakasa
0151145924
Use GetStringUTFRegion
...
Change-Id: I56ad66af4ee42ed32a6fd909a9a34d601874783a
2012-08-09 16:05:54 +09:00
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