Commit graph

8932 commits

Author SHA1 Message Date
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
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
0ef87868c2 Merge "Import translations. DO NOT MERGE" into jb-mr1-dev 2012-08-03 14:35:17 -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
ff05b2192f am 3598053d: Move dicttool tests and make a script to run them (A4)
* commit '3598053d41d1becf7b6d6b5d35bc6a4ec95f9884':
  Move dicttool tests and make a script to run them (A4)
2012-08-03 10:01:18 -07:00
Jean Chalard
3213133c33 am 5284a1e3: Fix the build
* commit '5284a1e3d3472e7ec91802409eae5de3d2860919':
  Fix the build
2012-08-03 09:56:34 -07:00
Jean Chalard
3598053d41 Move dicttool tests and make a script to run them (A4)
Change-Id: If582e81741c5edaf345dcb55517dcad0baa64c9e
2012-08-04 01:55:33 +09:00
Jean Chalard
5284a1e3d3 Fix the build
Change-Id: I0d6570332bcf569d8c43b3edd8b3ab52263ef179
2012-08-04 01:48:17 +09:00
Jean Chalard
2fb40ef301 am 15b28432: Merge "Cleanup unused code" into jb-mr1-dev
* commit '15b28432bab6b530d82ba01e0ef6a19cd1a4c698':
  Cleanup unused code
2012-08-03 09:35:06 -07:00
Jean Chalard
15b28432ba Merge "Cleanup unused code" into jb-mr1-dev 2012-08-03 09:32:27 -07:00
Jean Chalard
900910c02b am 54e84a00: Make a makedict command for dicttool (A3)
* commit '54e84a00fc032ba566cbda41feafa71de77e1c43':
  Make a makedict command for dicttool (A3)
2012-08-03 09:28:42 -07:00
Jean Chalard
8ee4b35c70 Cleanup unused code
The Italian dictionary has been amended to contain words that
include apostrophes, and accordingly the apostrophe is now
excluded from word separators in Italian.
This code was only used for Italian, and in the general case
it does the wrong thing; it was only needed by limitations of
the old dictionary.

Bug: 6929108
Change-Id: I7ff4615e01899a1cebed2c4c51679cd0746740fe
2012-08-04 01:15:04 +09:00
Jean Chalard
54e84a00fc Make a makedict command for dicttool (A3)
This behaves exactly as the old makedict command. Further
changes will redirect the calls to makedict to this, so as
to consolidate similar code.

Groundwork for
Bug: 6429606

Change-Id: Ibeadbf48bec70f988a15ca36ebf5d1ce3b5b54ea
2012-08-04 01:11:46 +09:00
Jean Chalard
9a0e1df25c am 1644a3c7: Merge "Update French and Italian separators." into jb-mr1-dev
* commit '1644a3c7323ae33063774d32ce2e0f8698ff712d':
  Update French and Italian separators.
2012-08-03 08:09:11 -07:00
Jean Chalard
1644a3c732 Merge "Update French and Italian separators." into jb-mr1-dev 2012-08-03 08:07:58 -07:00
Jean Chalard
beccb6e573 Update French and Italian separators.
French and Italian separators used to be decided this way
because of how the old dictionaries were made.
However, the new dictionaries actually do include the
composite words, and in both French and Italian, apostrophes
and dashes shouldn't be treated as separators any more.

Change-Id: If11c42625c819e223502a76749dbe797163d3c18
2012-08-04 00:04:13 +09:00
Jean Chalard
53f4acf86f am 3f805418: Merge "Fix an OOB exception" into jb-mr1-dev
* commit '3f80541844672a7625eb298adc6141ecf14bb883':
  Fix an OOB exception
2012-08-03 07:20:03 -07:00
Jean Chalard
288caf33cb am a777a86f: Merge "Simplification (A2)" into jb-mr1-dev
* commit 'a777a86f4b311ccdf1443faf0d1759e445ef138e':
  Simplification (A2)
2012-08-03 07:18:22 -07:00
Jean Chalard
3f80541844 Merge "Fix an OOB exception" into jb-mr1-dev 2012-08-03 07:17:37 -07:00
Jean Chalard
36fe324184 am 68966c7e: Merge "Remove arity from dicttool commands (A1)" into jb-mr1-dev
* commit '68966c7e0ec89ccb0d2e1f285917163ea9e7b5ee':
  Remove arity from dicttool commands (A1)
2012-08-03 07:16:41 -07:00
Jean Chalard
a777a86f4b Merge "Simplification (A2)" into jb-mr1-dev 2012-08-03 07:15:47 -07:00
Jean Chalard
68966c7e0e Merge "Remove arity from dicttool commands (A1)" into jb-mr1-dev 2012-08-03 07:14:23 -07:00
Jean Chalard
4c976aceee Fix an OOB exception
Not sure exactly how this can happen, but at least this should
prevent us from crashing.

Bug: 6920884
Change-Id: I451864756b48c5cb5e98b06edee917d88766d77f
2012-08-03 23:10:47 +09:00
Jean Chalard
82cd20ee98 Simplification (A2)
A single command at a time and no arity gives opportunity to simplify
the argument parsing code.

Change-Id: Iff7bab78ede7448a662092f221c590a9eedae2a5
2012-08-03 23:02:39 +09:00
Jean Chalard
77c8c73837 Remove arity from dicttool commands (A1)
This unnecessarily complicates and limits commands.
It's simpler to just have one command by invocation.

Groundwork for
Bug: 6429606

Change-Id: I24cf267a9cbc937a5ba53942b29e28e7095d2fd2
2012-08-03 23:02:06 +09:00
Tadashi G. Takaoka
be7897a04a am 6242564c: Merge "Using hardware accelerated drawing" into jb-mr1-dev
* commit '6242564c91d47885075bf2bd1e1bb0760de76c10':
  Using hardware accelerated drawing
2012-08-03 04:55:54 -07:00
Tadashi G. Takaoka
6242564c91 Merge "Using hardware accelerated drawing" into jb-mr1-dev 2012-08-03 04:47:33 -07:00
Tadashi G. Takaoka
622d6a5b1b Using hardware accelerated drawing
When Canvas has been hardware accelerated, don't use offscreen bitmap.

Bug: 6872994
Change-Id: I1121f76377991692bc29ebeedbfbfa1b2a12dbb7
2012-08-03 20:46:10 +09:00
Ken Wakasa
b43a1713c5 am 1d8a246e: Header cleanup
* commit '1d8a246e392e0ab4b1e7c8a60e67c00fca05c93c':
  Header cleanup
2012-08-03 02:47:12 -07:00
Ken Wakasa
1d8a246e39 Header cleanup
Change-Id: I1aa91708d0de01ca3e84e69ec8d3a3832c386ca8
2012-08-03 18:37:58 +09:00
The Android Open Source Project
3666f42b45 Reconcile with jb-mr1-release - do not merge
Change-Id: Ia6cd9f9da1393801f6aeca58eafb6740bae275ca
2012-08-02 11:27:30 -07:00
The Android Automerger
d4afbf9b98 merge in jb-mr1-release history after reset to jb-mr1-dev 2012-08-02 08:18:20 -07:00
Ken Wakasa
6c465d9d26 am 77e8e81a: Header cleanup. Moved a couple of functions from .h to .cpp.
* commit '77e8e81ad95cfc1eb8f8407fc872674b8d08bbe9':
  Header cleanup.  Moved a couple of functions from .h to .cpp.
2012-08-02 05:07:43 -07:00
Ken Wakasa
77e8e81ad9 Header cleanup. Moved a couple of functions from .h to .cpp.
Change-Id: Ifd12a7632f75395bd0ef5e394d5c2abd6cbe28c6
2012-08-02 20:19:39 +09:00
Tadashi G. Takaoka
2af1b1241b am ffe36cdc: Merge "Small cleanup for keyboard drawing code" into jb-mr1-dev
* commit 'ffe36cdc6d41d0ad1031e7d9f8acf6b6f1008970':
  Small cleanup for keyboard drawing code
2012-08-02 01:13:52 -07:00
Tadashi G. Takaoka
ffe36cdc6d Merge "Small cleanup for keyboard drawing code" into jb-mr1-dev 2012-08-02 01:04:05 -07:00
Tadashi G. Takaoka
8344259fc9 Small cleanup for keyboard drawing code
Change-Id: I8b562e03b30f82dddae311b49d316402e867cd31
2012-08-02 16:50:31 +09:00
Tadashi G. Takaoka
ab4d177a0e am 76c242a1: Merge "Fix multi-touch input in auto-caps field" into jb-mr1-dev
* commit '76c242a1f6ac2f4d50f23214dd8652e398194da9':
  Fix multi-touch input in auto-caps field
2012-08-01 23:53:03 -07:00
Tadashi G. Takaoka
76c242a1f6 Merge "Fix multi-touch input in auto-caps field" into jb-mr1-dev 2012-08-01 23:45:24 -07:00
Ken Wakasa
9081700172 am fb955693: Enable hardware accelerated drawing for SoftInputWindow of LatinIME
* commit 'fb955693d4bb0c8d39092250a4208e385b8a31a7':
  Enable hardware accelerated drawing for SoftInputWindow of LatinIME
2012-08-01 23:36:14 -07:00
Ken Wakasa
fb955693d4 Enable hardware accelerated drawing for SoftInputWindow of LatinIME
Taking advantage of Ib6a8bda46223ce1153f32834daf02a820d16136e

bug: 6872994
Change-Id: I799b25b6509980dd9f039bead9bc926b42cbb040
2012-08-02 15:11:31 +09:00
Ying Wang
1b562db5c9 am 2ca0f262: Import translations. DO NOT MERGE
* commit '2ca0f2623751cb12c6b9a94af1a73e6a04db0b08':
  Import translations. DO NOT MERGE
2012-08-01 15:34:01 -07:00
Ying Wang
2ca0f26237 Import translations. DO NOT MERGE
Change-Id: Ifdbe0c41f5e01c4afc155ea68c05d50d483e5749
Auto-generated-cl: translation import
2012-08-01 14:58:52 -07:00
The Android Open Source Project
2afdd4c427 Reconcile with jb-mr1-release - do not merge
Change-Id: I916d5d2df8ba081a431b8eb5a999e3e07f789e96
2012-08-01 13:12:27 -07:00
The Android Automerger
8e660c9cac merge in jb-mr1-release history after reset to jb-mr1-dev 2012-08-01 07:18:38 -07:00
Tadashi G. Takaoka
44972bcdb6 Fix multi-touch input in auto-caps field
Bug: 6905194
Change-Id: I7f9f61f36b7f3aa2b40c126a68232a947976aad2
2012-08-01 18:56:11 +09:00
Ken Wakasa
bc8924467e am 74fb957e: Header cleanup
* commit '74fb957e49e7d9ff5af47f35d062aa7c7f97a8fc':
  Header cleanup
2012-08-01 02:50:36 -07:00
Ken Wakasa
74fb957e49 Header cleanup
Change-Id: Idaf19de3dc75367d49bc01e84e5a9f057c1f8dba
2012-08-01 18:46:07 +09:00
The Android Open Source Project
c2300d841a Reconcile with jb-mr1-release - do not merge
Change-Id: I759cbab32b17e45dd3d3e97ccf5e6039cfdff691
2012-07-31 15:04:08 -07:00