Commit graph

5069 commits

Author SHA1 Message Date
Ken Wakasa
aa9063a1f4 am 7b4531a1: am bcec82de: Clean up constructors
* commit '7b4531a16f0d7f237822e94f3e962257ee9d0c16':
  Clean up constructors
2012-08-12 19:09:24 -07:00
Ken Wakasa
bcec82de66 Clean up constructors
And, use C++ style casts and use float math functions rather than double ones to save memory space.

Also, stop using FloatMath and NativeUtils as standard Math methods are faster now.
See http://code.google.com/p/android/issues/detail?id=36199 and https://android-review.googlesource.com/40700

multi-project commit with I4259fb5ab8a15ac5760a7f04fc8f4c860529f04a

Change-Id: I0b81cff8c91769f7559a59b9528c75a5aabb4211
2012-08-13 10:48:37 +09:00
satok
078a0028d6 am f9b2841f: am 81451030: Merge "Fix JNI" into jb-mr1-dev
* commit 'f9b2841fb592778ad34b5181e1c0bcbf551e3632':
  Fix JNI
2012-08-12 18:32:43 -07:00
satok
814510305c Merge "Fix JNI" into jb-mr1-dev 2012-08-12 18:29:16 -07:00
satok
847c8dfe17 Fix JNI
Change-Id: If134baf52e78fbe18b78611a23870f5d10c80955
2012-08-11 13:54:01 +09:00
Baligh Uddin
88257b367d Import translations. DO NOT MERGE
Change-Id: Ieadaecf909a0f3902ab07711f4bc9fd645719417
Auto-generated-cl: translation import
2012-08-10 11:54:24 -07:00
Baligh Uddin
9b6b279807 Import translations. DO NOT MERGE
Change-Id: I22eacc83a5aaa0f4e50e02e84ebf2b176dd08fe6
Auto-generated-cl: translation import
2012-08-10 11:50:11 -07:00
Ken Wakasa
be03370d1e am caa197d7: am f3850e55: Use JNI Region calls also in getSuggestions()
* commit 'caa197d76f8eb27dbb4fa400bace4db625b930bd':
  Use JNI Region calls also in getSuggestions()
2012-08-10 05:17:45 -07:00
Satoshi Kataoka
0914ba8a53 am f85ec408: am f6c22008: Workaround to stop init dict traverse session
* commit 'f85ec4082f60d4b7a06d907505938d91b3dfcee5':
  Workaround to stop init dict traverse session
2012-08-10 05:09:48 -07:00
Ken Wakasa
f3850e5543 Use JNI Region calls also in getSuggestions()
Change-Id: I9cc0208397c202aeb6f7b5bb5ad59e00c5afbd80
2012-08-10 21:09:23 +09:00
Satoshi Kataoka
f6c2200890 Workaround to stop init dict traverse session
Change-Id: I3d46c54a96a9fc0359ef75b9d2f8590b44164a8b
2012-08-10 21:07:53 +09:00
Jean Chalard
9e49160687 am 407d23ad: am a5e57d67: Merge "Accept whitelisted entries from any source." into jb-mr1-dev
* commit '407d23ad246cb55e8e6a0138ca39d4d105c5b0a0':
  Accept whitelisted entries from any source.
2012-08-10 03:21:12 -07:00
Jean Chalard
225659a7ec am b5cb4447: am 58040e7d: Merge "Optimization & Simplification" into jb-mr1-dev
* commit 'b5cb4447cfbc7d397f4da7d3753431bc97ee445e':
  Optimization & Simplification
2012-08-10 03:21:11 -07:00
Jean Chalard
7b258e512d Accept whitelisted entries from any source.
...not only the WhitelistDictionary.

Bug: 6906525
Change-Id: I7f181eb6936ec17bbccdc4e736fd09292af24e9c
2012-08-10 19:02:19 +09:00
Jean Chalard
caed149b67 Optimization & Simplification
It's useless to do the whitelist lookup twice. Also, putting
this test out of this method will allow whitelist entries to
come from other sources.

Bug: 6906525
Change-Id: I4afe678cae6556d16642d155ce770fbf4e61ad49
2012-08-10 19:02:15 +09:00
Jean Chalard
fdbc75e5d4 am 1599feda: am dc2fb6bc: Merge "Pass the type from native code all the way to Java." into jb-mr1-dev
* commit '1599feda42e0f0881368b948222a0667a09de728':
  Pass the type from native code all the way to Java.
2012-08-10 01:30:01 -07:00
Jean Chalard
dc2fb6bc6d Merge "Pass the type from native code all the way to Java." into jb-mr1-dev 2012-08-10 01:26:59 -07:00
Jean Chalard
926ef06a1e Pass the type from native code all the way to Java.
Bug: 6906525
Change-Id: I057390d47a223450e22d8338509e22c28fc0d5f6
2012-08-10 15:51:55 +09:00
Tadashi G. Takaoka
d66ed30b0b am 7a9695e4: am ce38c62a: Merge "Remove conservative MainKeyboardView.draw" into jb-mr1-dev
* commit '7a9695e455d4cd5eeb509452eb58c06e5000cc03':
  Remove conservative MainKeyboardView.draw
2012-08-09 23:35:50 -07:00
Tadashi G. Takaoka
ce38c62aef Merge "Remove conservative MainKeyboardView.draw" into jb-mr1-dev 2012-08-09 23:31:53 -07:00
Satoshi Kataoka
f775fcfba3 am ab45cc6e: am e9f3e182: Add arguments for dic traverse session
* commit 'ab45cc6e5c96bee7d020135639c66ba0322e3649':
  Add arguments for dic traverse session
2012-08-09 20:56:43 -07:00
Satoshi Kataoka
e9f3e182e4 Add arguments for dic traverse session
Change-Id: I8776ad528eeea9a5fc4dcf394ca13bb80c04fb6d
2012-08-10 12:34:00 +09:00
Tadashi G. Takaoka
1b6829b0e0 Remove conservative MainKeyboardView.draw
Change-Id: I52f58d1e013dfe1f1b0f8320cba903d3dbb4eabd
2012-08-10 11:02:41 +09:00
Ken Wakasa
7b03580340 am eab16a4a: am 5bb42062: Use more JNI Region calls
* commit 'eab16a4a4b7fd91072e5764d68b80455b981de54':
  Use more JNI Region calls
2012-08-09 09:10:23 -07:00
Ken Wakasa
5bb4206275 Use more JNI Region calls
Change-Id: I371db517ff4749c0b7e5bdb4362e6310c91a24dc
2012-08-10 00:46:20 +09:00
Satoshi Kataoka
b481b045f3 am 73fc766e: am 9d298716: Add reset method for dic travserse session
* commit '73fc766e8c03a84cad5a049d7c9a93a476097277':
  Add reset method for dic travserse session
2012-08-09 02:21:10 -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
9643c1c02c am 03c580e8: am 877157e1: Optimize keyboard drawing code a bit
* commit '03c580e801b66404b8edd8b99b7321d67ac70915':
  Optimize keyboard drawing code a bit
2012-08-09 01:01:18 -07: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
e30f346263 am 80d63d22: am f40a6669: Merge "Update dictionary availability at onStartInputView" into jb-mr1-dev
* commit '80d63d226308f70752634425e1cdd748429a1b83':
  Update dictionary availability at onStartInputView
2012-08-09 00:16:01 -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
Tadashi G. Takaoka
73ea4dfe52 am b2c57991: am 9abea49d: Merge "Fix NPE and don\'t call UI API from non-UI thread" into jb-mr1-dev
* commit 'b2c579910e44f3b768053ec4cc946fcb47491aa8':
  Fix NPE and don't call UI API from non-UI thread
2012-08-08 20:04:19 -07: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
Kurt Partridge
630a1c8032 Merge "ResearchLogging upload via service" 2012-08-08 09:27:03 -07:00
Satoshi Kataoka
dc0f8abf18 am da31bde5: am 60d4961f: Merge "Pass traverse session" into jb-mr1-dev
* commit 'da31bde599077608f5da595150626a32229b418f':
  Pass traverse session
2012-08-08 07:53:42 -07:00
Satoshi Kataoka
60d4961f34 Merge "Pass traverse session" into jb-mr1-dev 2012-08-08 07:50:44 -07:00
Satoshi Kataoka
5597df9838 am 8c5b13f4: am 181567f9: Merge "Add traverse session" into jb-mr1-dev
* commit '8c5b13f49e47ff25c73f01a7ff9c46a2b4619866':
  Add traverse session
2012-08-08 07:45:04 -07:00
Satoshi Kataoka
9127811493 Pass traverse session
Change-Id: I84bfaaa406e3f51421c08a7ee8f9576ebdba54d4
2012-08-08 23:30:31 +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
Tadashi G. Takaoka
a81cba58ff am debc7ffd: am 732f2798: Merge "Add toString() method to Keyboard" into jb-mr1-dev
* commit 'debc7ffd692884f22904bd519124f9657170ec7e':
  Add toString() method to Keyboard
2012-08-08 00:12:03 -07:00
Tadashi G. Takaoka
260250fb80 am 72cbfdcd: am 2bcd913e: Merge "Add SuggestInitializationListener to BinaryDictionary.resetMainDict()" into jb-mr1-dev
* commit '72cbfdcd80210dc412b8094df1060b0685b356df':
  Add SuggestInitializationListener to BinaryDictionary.resetMainDict()
2012-08-08 00:12:01 -07: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
f18996a772 am 8d0d7415: am a890de42: Merge "Use ArrayList to implement PointerTrackerQueue" into jb-mr1-dev
* commit '8d0d7415f8d634f88ce4f391441f65960a1be0f4':
  Use ArrayList to implement PointerTrackerQueue
2012-08-07 23:59:48 -07: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