Commit graph

8469 commits

Author SHA1 Message Date
Jean Chalard
e6af6c2f08 Merge "Support a syntax to add whitelist entries in shortcuts" into jb-mr1-dev 2012-08-09 22:28:13 -07:00
Satoshi Kataoka
e9f3e182e4 Add arguments for dic traverse session
Change-Id: I8776ad528eeea9a5fc4dcf394ca13bb80c04fb6d
2012-08-10 12:34:00 +09:00
Jean Chalard
31b90a368f Support a syntax to add whitelist entries in shortcuts
Bug: 6906525
Change-Id: Ie33586c07973bf76e38390766175ba424d72d655
2012-08-10 11:26:40 +09:00
Tadashi G. Takaoka
1b6829b0e0 Remove conservative MainKeyboardView.draw
Change-Id: I52f58d1e013dfe1f1b0f8320cba903d3dbb4eabd
2012-08-10 11:02:41 +09:00
Ken Wakasa
5bb4206275 Use more JNI Region calls
Change-Id: I371db517ff4749c0b7e5bdb4362e6310c91a24dc
2012-08-10 00:46:20 +09:00
Ken Wakasa
04a89132e9 Use GetStringUTFRegion for filename
Change-Id: I2e9ad092ccf4c23c1c6b71916c962994314d37b6
2012-08-09 23:27:58 +09:00
Ken Wakasa
9e0c711a62 Stop using STL string in additional_proximity_chars
Change-Id: Ic016fd5983b8855b0fd9506a17b205db86af3a2f
2012-08-09 22:28:57 +09:00
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