Commit graph

33212 commits

Author SHA1 Message Date
Ken Wakasa
159071fd19 Revert "Add pseudo LMP theme"
This reverts commit dd9ed45c63.

Unit test breakage.

https://sponge.corp.google.com/target?id=f7fd85a6-8e3b-4fda-8c84-d4e1b342e839&target=com.google.android.inputmethod.latin.tests&searchFor=&show=FAILED&sortBy=STATUS

Change-Id: Ia971834b368890c344a06602473a56887709bbca
2014-05-09 10:44:33 +00:00
Keisuke Kuroyanagi
9e9b019042 am b7f71cdf: Merge "Avoid copying bigram list if possible."
* commit 'b7f71cdf8ce4b7e308a85eefdc6827ef3065a2f8':
  Avoid copying bigram list if possible.
2014-05-09 10:13:01 +00:00
Keisuke Kuroyanagi
b7f71cdf8c Merge "Avoid copying bigram list if possible." 2014-05-09 10:09:54 +00:00
Tadashi G. Takaoka
63699dac8f am 418df4a6: Merge "Add pseudo LMP theme"
* commit '418df4a62e506da58158afb689a31168e8a2bb17':
  Add pseudo LMP theme
2014-05-09 08:57:13 +00:00
Tadashi G. Takaoka
418df4a62e Merge "Add pseudo LMP theme" 2014-05-09 08:53:28 +00:00
Tadashi G. Takaoka
dd9ed45c63 Add pseudo LMP theme
This CL introduce pseudo LMP theme. This keyboard theme is a
placeholder and not final. The drawables and colors that this CL
introduces should be replaced with the final assets.

Bug: 14419121
Change-Id: Iba4751c525775fc12763c0a55309410e0d82ce9b
2014-05-09 17:48:25 +09:00
Tadashi G. Takaoka
c0c0d9ae70 am c2a49f30: Merge "Refactor KeyboardTheme"
* commit 'c2a49f300676e0b688669b9d80015e8731bc2bad':
  Refactor KeyboardTheme
2014-05-09 08:45:18 +00:00
Tadashi G. Takaoka
c2a49f3006 Merge "Refactor KeyboardTheme" 2014-05-09 08:26:05 +00:00
Keisuke Kuroyanagi
b636e25e95 Refactoring: Use UnigramProperty to add/update unigram.
Bug: 13406708
Change-Id: I26fd541fb465d3543faa5f155becc455ddbb6c9c
2014-05-09 17:22:17 +09:00
Tadashi G. Takaoka
19688b584b Refactor KeyboardTheme
This CL introduces two preference keys in addition to the existing one.

- pref_keyboard_theme: The new preference key that is used only in the
  preference settings.

- pref_keyboard_layout_20110916: The previous preference key that
  holds keyboard color scheme settings. This is superseded by the next
  key.

- pref_keyboard_theme_20140509: The new preference key that holds
  keyboard theme settings. This value is forcibly reset to LMP theme
  on a LMP device. On a KitKat and previous device, the settings of
  the pref_keyboard_layout_20110916 is carried on into this
  preference.

This CL must be checked in together with Ifcedeabbec.

Change-Id: Ibe75146e2c1c7eebf964ca86550baf244fedb79a
2014-05-09 16:21:02 +09:00
Keisuke Kuroyanagi
c7073b2172 am eaa347bc: Merge "Add VERSION4_TEST for testing."
* commit 'eaa347bc1a166ee6cfbf6cc49399c43085422581':
  Add VERSION4_TEST for testing.
2014-05-09 07:10:23 +00:00
Keisuke Kuroyanagi
eaa347bc1a Merge "Add VERSION4_TEST for testing." 2014-05-09 07:06:06 +00:00
Keisuke Kuroyanagi
455dc84cf2 Add VERSION4_TEST for testing.
Bug: 13406708
Change-Id: I0b434717ea3edbb131650af634c53cfbfe113c3e
2014-05-09 15:17:01 +09:00
Keisuke Kuroyanagi
66bbcbcccd am 82fa755b: Fix unit tests by adding @UsedForTesting
* commit '82fa755bac1effec15bc50517c50d12de99d0fd6':
  Fix unit tests by adding @UsedForTesting
2014-05-09 06:05:39 +00:00
Keisuke Kuroyanagi
82fa755bac Fix unit tests by adding @UsedForTesting
Change-Id: I9448b1bfa7bf94039de737725851e63a2921a443
2014-05-09 14:44:44 +09:00
Keisuke Kuroyanagi
a73bcfac39 am 28ebe2db: Merge "Check whether contacts have changed using hashCode()."
* commit '28ebe2db237b5e0b5989ebcca644f469ecda66e3':
  Check whether contacts have changed using hashCode().
2014-05-09 03:51:47 +00:00
Keisuke Kuroyanagi
28ebe2db23 Merge "Check whether contacts have changed using hashCode()." 2014-05-09 03:48:19 +00:00
Keisuke Kuroyanagi
377f4903fa am 943e28d2: Merge "Periodic GC for personalization dict."
* commit '943e28d202787c15c49c00f98267ca6cc1be7a3f':
  Periodic GC for personalization dict.
2014-05-09 03:45:19 +00:00
Keisuke Kuroyanagi
943e28d202 Merge "Periodic GC for personalization dict." 2014-05-09 03:41:43 +00:00
Tadashi G. Takaoka
6006c4edc8 am ebac0aa2: Reorder accented letters of English
* commit 'ebac0aa28fd71ec58067939cb1e9c87cca720dd5':
  Reorder accented letters of English
2014-05-09 03:23:52 +00:00
Tadashi G. Takaoka
ebac0aa28f Reorder accented letters of English
This is a follow up change of Idff0b6d08e.

Bug: 13177865
Change-Id: I00ea7cda954efbd248d2abc2fa6d4995d6acbf19
2014-05-09 12:06:42 +09:00
Baligh Uddin
6bb65a6eed am 1a180c15: (-s ours) Merge "Import translations. DO NOT MERGE"
* commit '1a180c155d6eda9d8f36cf1c333e3f7532768e65':
  Import translations. DO NOT MERGE
2014-05-08 15:32:56 +00:00
Baligh Uddin
a1e8a901ea Merge "Import translations. DO NOT MERGE" into jb-ub-latinimegoogle 2014-05-08 15:29:36 +00:00
Baligh Uddin
1a180c155d Merge "Import translations. DO NOT MERGE" 2014-05-08 15:29:35 +00:00
The Android Automerger
e82f0cc28d merge in master-release history after reset to bf09cb2390 2014-05-08 05:50:56 -07:00
Keisuke Kuroyanagi
89eaa6701f Periodic GC for personalization dict.
Change-Id: I1ef922684cbf1de10c45c66eb119c2343d194da3
2014-05-08 17:20:43 +09:00
Tadashi G. Takaoka
4892004ec8 am bf09cb23: Reorder accented letters of English
* commit 'bf09cb2390962b18f6014320290431f79ec77dc1':
  Reorder accented letters of English
2014-05-08 07:46:18 +00:00
Tadashi G. Takaoka
bf09cb2390 Reorder accented letters of English
Bug: 13177865
Change-Id: Idff0b6d08e6dd0ec1eb39072ba4f99e6ec7df802
2014-05-08 16:20:13 +09:00
Keisuke Kuroyanagi
7a14c69701 am 08ea74eb: Merge "Implement migrateNative()."
* commit '08ea74eb2cec7e48e2a0a21ea569c765d493db20':
  Implement migrateNative().
2014-05-08 05:24:58 +00:00
Keisuke Kuroyanagi
1d43340f89 am 08d12a1b: Merge "Extend jni interface for dictionary migration."
* commit '08d12a1be31ad1708262d7181d7b8bb2da4025df':
  Extend jni interface for dictionary migration.
2014-05-08 05:24:56 +00:00
Keisuke Kuroyanagi
08ea74eb2c Merge "Implement migrateNative()." 2014-05-08 05:21:06 +00:00
Keisuke Kuroyanagi
08d12a1be3 Merge "Extend jni interface for dictionary migration." 2014-05-08 05:20:33 +00:00
Keisuke Kuroyanagi
ad518d9a5b Avoid copying bigram list if possible.
Constructing en_US main dict using dicttool:
Before:
real    1m8.699s
user    1m10.600s
sys     0m2.390s
After:
real    0m17.204s
user    0m20.560s
sys     0m0.720s


Bug: 13406708
Change-Id: I3b0476be57e5cb93c6497025b3ffa7064ac326c6
2014-05-08 14:19:33 +09:00
Baligh Uddin
650023991d Import translations. DO NOT MERGE
Change-Id: I7fab17fff5b54a5c409ac5c469db00dc95d1fb7a
Auto-generated-cl: translation import
2014-05-07 21:40:21 -07:00
Baligh Uddin
7bec9d2989 Import translations. DO NOT MERGE
Change-Id: I90879f4a2431a09d450a7c049c9f5d4105de9b53
Auto-generated-cl: translation import
2014-05-07 21:38:40 -07:00
Keisuke Kuroyanagi
8a9d9de72a Implement migrateNative().
Bug: 13406708
Change-Id: Ie786a68e780baa298fedf82d21390ba45d871a52
2014-05-08 12:31:32 +09:00
Keisuke Kuroyanagi
1471fbad66 Extend jni interface for dictionary migration.
Bug: 13406708

Change-Id: Iadad6df296467d0e5b631fba4a409d53c8a5a6f2
2014-05-08 12:31:04 +09:00
Keisuke Kuroyanagi
9898ee6267 Check whether contacts have changed using hashCode().
Bug: 13755213
Change-Id: Ie2f7b7f9dc8bd3fce395618877d9f234287dcb21
2014-05-08 12:25:32 +09:00
Tadashi G. Takaoka
0cca28f5e7 am e3e331ae: Merge "Use margin instead of padding in SuggestionStripView"
* commit 'e3e331aebbb493699563892e9d747102a96dffdb':
  Use margin instead of padding in SuggestionStripView
2014-05-08 01:17:38 +00:00
Tadashi G. Takaoka
e3e331aebb Merge "Use margin instead of padding in SuggestionStripView" 2014-05-08 01:14:59 +00:00
Xiaojun Bi
4983c9440a am 50b5295d: Merge "Use DistracterFilter when getting Language Model Param of a word"
* commit '50b5295d5df9ade819c47717b8d411e3e0880058':
  Use DistracterFilter when getting Language Model Param of a word
2014-05-08 01:13:16 +00:00
Xiaojun Bi
50b5295d5d Merge "Use DistracterFilter when getting Language Model Param of a word" 2014-05-08 01:10:33 +00:00
Xiaojun Bi
17284659ce Use DistracterFilter when getting Language Model Param of a word
A preparation for implementing Distracter Filter.

This CL should be checked in together with Icfefa0463180

Bug: 13142176

Change-Id: If9e5ca840c4a81cb0339ab70f146b42fbfa7af5d
2014-05-07 10:10:18 -07:00
The Android Automerger
55a59b34df merge in master-release history after reset to 35acf309b7 2014-05-07 09:11:35 -07:00
Ken Wakasa
b9f8a2e138 am e53a3825: Merge "Make initial additional buffer size 0."
* commit 'e53a3825c30bbe2e6ee378edef7c3761472665fe':
  Make initial additional buffer size 0.
2014-05-07 16:06:20 +00:00
Ken Wakasa
e53a3825c3 Merge "Make initial additional buffer size 0." 2014-05-07 16:03:36 +00:00
Keisuke Kuroyanagi
ad8f2201e2 Make initial additional buffer size 0.
Bug: 14113369
Change-Id: I3b7b3a452544725577101dc3b9bcb85b3e08afe9
2014-05-07 23:44:32 +09:00
The Android Automerger
616a4ad39c merge in master-release history after reset to 04348c3637 2014-05-07 05:51:07 -07:00
Tadashi G. Takaoka
2b479cccae Use margin instead of padding in SuggestionStripView
This CL also tunes the width of suggestions strip to be able to
display 15~16 letters without x-scaling at the center slot.

Bug: 14419121
Change-Id: Ia5766cee043899533e24e2ebc621e8dc279370b3
2014-05-07 19:12:28 +09:00
Keisuke Kuroyanagi
b454d44101 am 35acf309: Merge "Fix: mIsUserDictEnabled is never updated."
* commit '35acf309b7ecbe6741782ee635d6048b10dd4308':
  Fix: mIsUserDictEnabled is never updated.
2014-05-07 07:55:42 +00:00