Commit Graph

9784 Commits

Author SHA1 Message Date
Ken Wakasa
2a6f58d902 Prep for GCC 4.7
On Galaxy Nexus (./vendor/google/apps/LatinImeGoogle/tests/etc/run-profile.sh -g)

Before
==== test finished, terminate logcat =====
(0)  2506.11 (10.48%)
(1)  21289.22 (89.01%)
(2)  108.29 (0.45%)
(3)  0.00 (0.00%)
(4)  0.00 (0.00%)
(5)  0.00 (0.00%)
(6)  0.00 (0.00%)
(20) 0.00 (0.00%)
Total 23917.44 (sum of others 23903.62)

After
==== test finished, terminate logcat =====
(0)  2499.58 (10.98%)
(1)  20145.66 (88.51%)
(2)  103.17 (0.45%)
(3)  0.00 (0.00%)
(4)  0.00 (0.00%)
(5)  0.00 (0.00%)
(6)  0.00 (0.00%)
(20) 0.00 (0.00%)
Total 22761.98 (sum of others 22748.42)

Change-Id: I662cb361ff9205ef87d640c458b8473df7d54659
2012-11-27 20:11:29 +09:00
Tadashi G. Takaoka
a15ee70d43 Merge "Fix Gingerbread theme color for gesture typing" 2012-11-26 21:23:21 -08:00
Ken Wakasa
b543c9c1bc Fix liblog declaration in Makefile to make it more NDK-build friendly
Change-Id: I1459124b84e1db9df13700514f8029851bc21c97
2012-11-27 12:28:11 +09:00
Tadashi G. Takaoka
ebbb586693 Fix Gingerbread theme color for gesture typing
Change-Id: I96a660ce8ee35fe90dc29e6d7f52528c0b34b7cb
2012-11-27 12:17:25 +09:00
Ken Wakasa
11bb2ffd4a Tidy up SORTED_CHAR_MAP a bit more for obvious Latin chars
Change-Id: Ia18eacf4ad3ea882e4ec3cdfebc7f662503660d9
2012-11-26 19:31:09 +09:00
Ken Wakasa
2d27ca6ce3 Update SORTED_CHAR_MAP[] in char_utils.cpp
Change-Id: I683793a0fd0ccf41f5a378275ef11def4e70ce76
2012-11-26 17:17:16 +09:00
Jean Chalard
71e1496ab0 Merge "Update RU dictionary header." 2012-11-25 19:31:16 -08:00
Tadashi G. Takaoka
d4b6cbfd94 Merge "Cancel gesture typing by sliding out from keyboard" 2012-11-22 00:50:26 -08:00
Tadashi G. Takaoka
b3f789799a Cancel gesture typing by sliding out from keyboard
Bug: 7594165
Change-Id: I7849d763e49b57716e8418fb8b6f90eca3a5d2ec
2012-11-22 17:49:56 +09:00
Satoshi Kataoka
3b0fd7a721 Merge "Calculate point to point duration" 2012-11-22 00:20:43 -08:00
Satoshi Kataoka
9af533538e Calculate point to point duration
Change-Id: I4e0cabdbc628658619b7a71dc66aa3bf8a5030b2
2012-11-22 17:03:09 +09:00
Jean Chalard
b40a1ce50b Update RU dictionary header.
>>> dictionaries/ru_wordlist.combined.gz
>>> java/res/raw/main_ru.dict
Header :
  date : 1353500945 <=> 1353567943
  MULTIPLE_WORDS_DEMOTION_RATE : null <=> 0
Body :
  No differences

Bug: 7540132
Change-Id: I837831b1e214da64962cf1bb68c840a3d4e6bf76
2012-11-22 16:21:10 +09:00
Jean Chalard
9380e64188 Merge "Update dictionaries and fix mistakes" 2012-11-21 21:49:25 -08:00
Tadashi G. Takaoka
befc1a05c9 Fix keyboard theme initializing bug
Change-Id: If7037f3e0606ee34d1a6739cc39da23de18cc35c
2012-11-22 11:41:53 +09:00
Jean Chalard
d5f53710c5 Update dictionaries and fix mistakes
- Combined de dict :
  Remove digraph shortcuts that were in by mistake.
- Combined en dict :
  Set freq of "baton" "batons" "mace" "puff"
  "puffs" and "tasers" to zero. They are offensive
  in en_GB.
- Combined en_GB dict :
  Change freq of "il" to 0 and flag it "not a word". Still
  in the dict as a whitelist entry for "I'll"; for some
  reason it had freq 99.
  Add "milk:122" and "practice:143"
- Combined fr dict :
  Add missing words : "Nostradamus:40" "défendais:30"
  "gmail:50" "générale:140" "hm:0" "hmm:0" "y'en:130"
  "l'apocalypse:31" "m'épuise:30" "recontacter:80"
  "t'annonce:30"
  Set freq of non-word shortcuts for digraphs to 1 instead
  of 0, allowing to gesture them.
- Combined ru dict :
  Remove a lot of two-character non-words.

- Binary de dict :
  Remove the obsolete "options" header, and add the "dictionary"
  header.
- Binary en dict :
  Flag "hoe" "hoes" "il" "shel" as non-words.
  Also drop freq of "il" and "shel" to 0
  Add the "locale" header that was missing.
- Binary es dict :
  Add the "dictionary" header.
- Binary fr dict :
  Add the same words as above. Non-word shortcuts were already
  set to 1.
- Binary it dict :
  Add a "dictionary" header. Also change freq of
  "Šarapova" from 50 to 37; not sure why it was 50.
- Binary pt_BR dict :
  Add a "dictionary" header.
- Binary ru dict :
  Add a "dictionary" header and remove the same words as above.

For all dictionaries : bump the version to 27.

Change-Id: I94fe7f8f42b31fdad223085c00a94115e14d2276
2012-11-21 22:03:24 +09:00
Jean Chalard
40f7b43b3f am 82cc7349: am b9385ff9: am cdbf6fb5: Merge "Correctly add double quote to the space strippers" into jb-mr1.1-dev
* commit '82cc7349254e1ca3722ead1f108b6c53820432d5':
  Correctly add double quote to the space strippers
2012-11-20 20:14:13 -08:00
Jean Chalard
e36af707c8 resolved conflicts for merge of b7e6bbae to master
Change-Id: Ic02809190721472d138532d2189328519117e042
2012-11-21 13:07:31 +09:00
Jean Chalard
82cc734925 am b9385ff9: am cdbf6fb5: Merge "Correctly add double quote to the space strippers" into jb-mr1.1-dev
* commit 'b9385ff9be484487a523c1eb6db4eba33ef2359d':
  Correctly add double quote to the space strippers
2012-11-20 19:42:18 -08:00
Jean Chalard
41a77f9e6e am 37fbcb0d: am 6d471258: am c9349db1: Merge "Add a constant for S_INT_MIN" into jb-mr1.1-dev
* commit '37fbcb0ddf2bf61f0e432534b671596b1b6f897e':
  Add a constant for S_INT_MIN
2012-11-20 19:41:28 -08:00
Jean Chalard
b9385ff9be am cdbf6fb5: Merge "Correctly add double quote to the space strippers" into jb-mr1.1-dev
* commit 'cdbf6fb541aac9d57f4d27630ad0ef73814be54f':
  Correctly add double quote to the space strippers
2012-11-20 19:40:09 -08:00
Jean Chalard
b7e6bbaebc am 3acd0c7a: am f732f4dd: Merge "Only add spaces automatically when appropriate." into jb-mr1.1-dev
* commit '3acd0c7a9f4a5f17897a4fe51b023d6f14ba7ef0':
  Only add spaces automatically when appropriate.
2012-11-20 19:38:47 -08:00
Jean Chalard
37fbcb0ddf am 6d471258: am c9349db1: Merge "Add a constant for S_INT_MIN" into jb-mr1.1-dev
* commit '6d471258b2eb15cb10b5eec04854a76881ebac5d':
  Add a constant for S_INT_MIN
2012-11-20 19:38:46 -08:00
Jean Chalard
cdbf6fb541 Merge "Correctly add double quote to the space strippers" into jb-mr1.1-dev 2012-11-20 19:37:54 -08:00
Jean Chalard
3acd0c7a9f am f732f4dd: Merge "Only add spaces automatically when appropriate." into jb-mr1.1-dev
* commit 'f732f4ddccb679369b2fd2e43582b3b15aecfa1d':
  Only add spaces automatically when appropriate.
2012-11-20 19:37:40 -08:00
Jean Chalard
6d471258b2 am c9349db1: Merge "Add a constant for S_INT_MIN" into jb-mr1.1-dev
* commit 'c9349db1d2244a74c4d34025f7e0dd4922555706':
  Add a constant for S_INT_MIN
2012-11-20 19:37:39 -08:00
Jean Chalard
f732f4ddcc Merge "Only add spaces automatically when appropriate." into jb-mr1.1-dev 2012-11-20 19:36:50 -08:00
Jean Chalard
c9349db1d2 Merge "Add a constant for S_INT_MIN" into jb-mr1.1-dev 2012-11-20 19:36:25 -08:00
Tadashi G. Takaoka
6cc4bcedd5 am e44ce053: (-s ours) am 8a5b176f: am fd1267e3: Add Spanish United States keyboard (DO NOT MERGE)
* commit 'e44ce053e724e74effc52cb2343082ce1c595073':
  Add Spanish United States keyboard (DO NOT MERGE)
2012-11-20 19:00:02 -08:00
Tadashi G. Takaoka
e44ce053e7 am 8a5b176f: am fd1267e3: Add Spanish United States keyboard (DO NOT MERGE)
* commit '8a5b176f655a46f1c575886a7d3a3c1120c91b29':
  Add Spanish United States keyboard (DO NOT MERGE)
2012-11-20 18:58:29 -08:00
Tadashi G. Takaoka
8a5b176f65 am fd1267e3: Add Spanish United States keyboard (DO NOT MERGE)
* commit 'fd1267e396d62694958569e35d0edfbc6b6ac7d3':
  Add Spanish United States keyboard (DO NOT MERGE)
2012-11-20 18:56:48 -08:00
Jean Chalard
592f2b315f Add a constant for S_INT_MIN
This is necessary for I807ae4bd

Bug: 7491364
Change-Id: I46ee92a76eb65e80b64538d0300b718eac6a3ddb
2012-11-20 21:25:46 +09:00
Tadashi G. Takaoka
d2266d22c9 Merge "Reorganize currency keys" 2012-11-20 02:29:37 -08:00
Tadashi G. Takaoka
c27e899dbe Reorganize currency keys
Add Rial(ar), Indian Rupee(hi), Tugrik(mn), Baht(th), Hryvnia(uk),
Dong(vi) currency sign keys to symbol layout.

Bug: 7455289
Change-Id: I0f819631ff05c4a31d3a6868dea5e18a1797f103
2012-11-20 18:04:55 +09:00
Jean Chalard
c82c0d0ef2 Merge "Fix variation dumping." 2012-11-19 23:56:47 -08:00
Jean Chalard
4d0fa31779 Fix variation dumping.
Variations are not flags - they should not be OR'd in this way.
Only one variation may be active at a time.

Change-Id: I9d3d4c8fc04af56c914c65f9c55f1e7b9517fc68
2012-11-20 16:55:16 +09:00
Ken Wakasa
249a614ab7 Tentatively suppress -Winline for gcc 4.7
bug: 7584718
Change-Id: Ifcb7b6dbb5f0025fa3c44ef6023a95bd91452bc8
2012-11-20 10:27:36 +09:00
Jean Chalard
ec60d60078 Only add spaces automatically when appropriate.
Correctly check the variations to determine if we should
add automatic spaces (in manual picks and gestures) or not.

Bug: 7164981
Change-Id: I19e25af839b4062c217113cd804b1473912f22a5
2012-11-19 19:47:40 +09:00
Jean Chalard
c5653daf72 Correctly add double quote to the space strippers
...without removing space, this time.
Also add a test to make sure it is working.

Bug: 7531719
Change-Id: I3afcc433c6cdc2774e7deeb6d358356db5035d35
2012-11-19 17:48:19 +09:00
Tadashi G. Takaoka
120b64f617 Merge "Add Spanish United States keyboard" 2012-11-18 22:50:53 -08:00
Tadashi G. Takaoka
76d4ffeebf Add Spanish United States keyboard
The subtype locale name on the spacebar will be suppressed when only
one subtype is enabled and
 - Subtype locale is equal to the system locale.
or
 - Subtype language is equal to the system language but the subtype is
   implicitly enabled.

Thus the "es_ES" system locale chooses "es" subtype keyboard
implicitly but the keyboard doesn't have the subtype name on its
spacebar.

This change also removes Spanish Latin America keyboard.

Bug: 7531804
Change-Id: Ib929e8235d643c0ba039eb010e18ab721a734e15
2012-11-19 15:39:44 +09:00
Tadashi G. Takaoka
fd1267e396 Add Spanish United States keyboard (DO NOT MERGE)
Bug: 7531804
Change-Id: Idd66ee30e5228260540308a97c930185b48e775f
2012-11-19 11:27:07 +09:00
Ken Wakasa
97ff1714e2 Tidy up the base char map
Change-Id: I1c3119c5db35faaf73180f17a0888224e301c121
2012-11-19 00:24:45 +09:00
Ken Wakasa
9904c9ebbd am 333881c4: am 1f256e94: am 66cee1f9: Merge "Revert "Correctly add double quote to the space strippers"" into jb-mr1.1-dev
* commit '333881c434f3905763dd92a585b17f9c515dd8a8':
  Revert "Correctly add double quote to the space strippers"
2012-11-16 18:38:02 -08:00
Ken Wakasa
41a2c10e72 resolved conflicts for merge of 4ad92578 to master
Change-Id: I29ad9f0ba357e39889e30c9ebfcf61f9d08ee4ef
2012-11-17 11:33:48 +09:00
Ken Wakasa
333881c434 am 1f256e94: am 66cee1f9: Merge "Revert "Correctly add double quote to the space strippers"" into jb-mr1.1-dev
* commit '1f256e941b746a3ccfbd0b60d5e6ccd09d3a3af1':
  Revert "Correctly add double quote to the space strippers"
2012-11-16 18:25:57 -08:00
Ken Wakasa
1f256e941b am 66cee1f9: Merge "Revert "Correctly add double quote to the space strippers"" into jb-mr1.1-dev
* commit '66cee1f92de0413756b8f306275d3508cd2b040f':
  Revert "Correctly add double quote to the space strippers"
2012-11-16 18:23:53 -08:00
Ken Wakasa
66cee1f92d Merge "Revert "Correctly add double quote to the space strippers"" into jb-mr1.1-dev 2012-11-16 18:20:49 -08:00
Ken Wakasa
86e554739f Revert "Correctly add double quote to the space strippers"
This reverts commit af7264abb7

Change-Id: I5673103c4a0e9c48df563187d2188ca6e2f15877
bug: 7561815
2012-11-16 18:17:10 -08:00
Ken Wakasa
4ad92578dd am 7acd310d: am f9ff4fb5: Merge "Revert "Only add spaces automatically when appropriate."" into jb-mr1.1-dev
* commit '7acd310d02f060f3e3e29000db902dffb6b0df9c':
  Revert "Only add spaces automatically when appropriate."
2012-11-16 18:05:42 -08:00
Ken Wakasa
7acd310d02 am f9ff4fb5: Merge "Revert "Only add spaces automatically when appropriate."" into jb-mr1.1-dev
* commit 'f9ff4fb5da5971bd02eec491a497006540e1438a':
  Revert "Only add spaces automatically when appropriate."
2012-11-16 18:03:47 -08:00