Keisuke Kuroyanagi
64341927d2
Quit use bigram probability diff for ver4 dict.
...
Change-Id: I2cfcfbcf351877d1dff466a24974dbb05908f14e
2014-05-15 16:02:58 +09:00
Tadashi G. Takaoka
37ec0fe984
Use slightly dimmed text color for functional keys
...
This CL introduces two new key attributes to achieve this.
- KeyboardView.functionalTextColor
- followFunctionalTextColor flag for Key.keyLabelFlags
Bug: 14419121
Change-Id: I45ca433dcc9cc8c6cf891e21d5316ee4048b0cad
2014-05-15 15:39:59 +09:00
Yohei Yukawa
f0fc320b4e
Merge "Simplify StatsUtils"
2014-05-15 06:35:42 +00:00
Baligh Uddin
bdc4b1876a
Import translations. DO NOT MERGE
...
Change-Id: Ied3af9b4df35ee65da5734d910cf45af16d84e9e
Auto-generated-cl: translation import
2014-05-14 22:17:29 -07:00
Tadashi G. Takaoka
34e0fad723
Update L icons
...
This CL must be checked in together with I27755f45fd.
Bug: 14419121
Change-Id: Iaf032f638c9ed36f2d3b924fdd42f0502abf487e
2014-05-15 13:45:02 +09:00
Xiaojun Bi
3686bdfcc1
Fix off-device build
...
This CL fixed the breakage caused by DistracterFilter.
It should be checked in together with I8f53e9481c0f
Bug: 14911612
Bug: 13142176
Change-Id: I33c3526165cea58926d10404552f1fadc385c2e5
2014-05-14 17:39:02 -07:00
Yohei Yukawa
9aa7f66a15
Simplify StatsUtils
...
With this CL, the implementation of StatsUtils no longer
needs to know how to read settings from the system.
Insted, the LatinIME class is now responsible for notifying
StatsUtils whenever the settings is changed.
BUG: 14324207
Change-Id: Ic3d26ec31c8d2c082d3e7487b578b323aad2f960
2014-05-15 00:11:13 +09:00
Keisuke Kuroyanagi
aa7329de15
Merge "Add VERSION4_DEV(402) in Java side and use it for tests."
2014-05-14 13:42:24 +00:00
Keisuke Kuroyanagi
04536f14b0
Add VERSION4_DEV(402) in Java side and use it for tests.
...
Bug: 13406708
Change-Id: I7c9c53bf34d12dced7331a359a83f6444490783a
2014-05-14 22:37:07 +09:00
Keisuke Kuroyanagi
ee59975420
Merge "Fix a NPE in DistracterFilter.isDistracterToWordsInDictionaries()"
2014-05-14 12:20:10 +00:00
Jean Chalard
babde55bf8
Merge "Fix a bug where changing languages kills the composition."
2014-05-14 11:36:43 +00:00
Jean Chalard
5ce39dfa78
Fix a bug where changing languages kills the composition.
...
Bug: 14926896
Change-Id: Id2a06c68a51f833db4d8bbc858a232c2696afb6e
2014-05-14 20:34:32 +09:00
Tadashi G. Takaoka
9f4d62cc42
Create com.android.inputmethod.keyboard.emoji package
...
Change-Id: Idd12c2fa4f5add7bb50bd7349ff9a74fffe82cfd
2014-05-14 19:32:00 +09:00
Tadashi G. Takaoka
71f4c6b8ea
Merge "Fix NPE that happens only in some unit tests"
2014-05-14 10:01:15 +00:00
Tadashi G. Takaoka
268bf2cdfe
Fix NPE that happens only in some unit tests
...
Bug: 14922410
Change-Id: Ica801e102d302e9faa7c24721b37634f1e812af3
2014-05-14 18:55:14 +09:00
Jean Chalard
08476dc107
Merge "Don't send empty composing texts."
2014-05-14 09:50:25 +00:00
Tadashi G. Takaoka
83da26422c
Merge "Rename LMP to LXX just in case"
2014-05-14 09:43:27 +00:00
Tadashi G. Takaoka
3610039723
Rename LMP to LXX just in case
...
This CL must be checked in together with I7e2ba67f31.
Change-Id: I51cb982f9cf0ace173d535a60293bb4be83bbb75
2014-05-14 18:39:39 +09:00
Tadashi G. Takaoka
d7c520bb74
Merge "Make Emoji palette more Quantum light compliant"
2014-05-14 09:33:43 +00:00
Keisuke Kuroyanagi
0a04f8be93
Merge "Output dictionary format version for dump."
2014-05-14 09:07:56 +00:00
Tadashi G. Takaoka
c1094d6913
Make Emoji palette more Quantum light compliant
...
Bug: 14419121
Change-Id: I8a737e2b73a000ad66e7e30a695677fe0bcc66fb
2014-05-14 18:01:24 +09:00
Tadashi G. Takaoka
ae1c53bead
Merge "Separate functional key background from normal one"
2014-05-14 09:00:43 +00:00
Tadashi G. Takaoka
c1e6100bde
Separate functional key background from normal one
...
This CL also moves spacebarBackground attribute from MainKeyboardView
to KeyboardView.
This CL must be checked in together with I48c383ca97.
Bug: 14419121
Change-Id: Id356d0086a8fb21375fb5c66076873258fb3d63e
2014-05-14 17:57:51 +09:00
Jean Chalard
309ab664a8
Don't send empty composing texts.
...
Bug: 13160467
Change-Id: I5e3204ac8aaa18fe9219cc6b564b832ab6cf94fc
2014-05-14 16:55:32 +09:00
Jean Chalard
a1b7f66eb2
Merge "Implement backspace in the current cluster for Myanmar"
2014-05-14 07:18:35 +00:00
Jean Chalard
d23d1970b0
Implement backspace in the current cluster for Myanmar
...
Bug: 13945569
Change-Id: I738b01ede25fd731a2e10c4775f5511ce9bb54c8
2014-05-14 16:09:33 +09:00
Tadashi G. Takaoka
ead058b002
Make EmojiCategory and EmojiPalettesAdapter as top level classes
...
Change-Id: Iea8087a240cb46e410b8de1f6a784b2995e7a6fb
2014-05-14 16:01:00 +09:00
Xiaojun Bi
eb4f8506d6
Fix a NPE in DistracterFilter.isDistracterToWordsInDictionaries()
...
Bug: 14904706
Change-Id: I3b52bb01b9c59cbba2eba0bd1d91dffb4419c019
2014-05-13 21:00:28 -07:00
Tadashi G. Takaoka
83be21a563
Fix emoji category page indicator height
...
Bug: 14419121
Change-Id: I67f2072c67c2c4da0e5ac21a90f5cc7313f70f59
2014-05-14 12:35:40 +09:00
Tadashi G. Takaoka
161fa05d03
Update LMP colors and temporal drawables
...
Bug: 14419121
Change-Id: I84ce3d82636a88f3e63c3858012d1ade44f0cfd2
2014-05-14 12:03:20 +09:00
Keisuke Kuroyanagi
935150795b
Output dictionary format version for dump.
...
Change-Id: I13873727dbb25550a5087c883968a77094d2115d
2014-05-14 11:39:28 +09:00
Tadashi G. Takaoka
7edd345bf2
Remove unused drawables
...
Change-Id: I27612d5a47ea780a9c9b6244e33ab6ff8fc4a37a
2014-05-14 10:54:13 +09:00
Tadashi G. Takaoka
08103a0e07
Show voice key even when important notice is showing
...
Bug: 14822080
Change-Id: I2a55bb630cf544b6dc31a5e0e6b932c6af268c71
2014-05-14 09:11:35 +09:00
Xiaojun Bi
25ec32f635
Merge "Implement the distracter filter"
2014-05-13 23:08:40 +00:00
Xiaojun Bi
ac20253806
Implement the distracter filter
...
Bug: 13142176
Change-Id: I85a048cdcbbad3d6020a25f900250d8d7a0fe3da
2014-05-13 15:52:14 -07:00
Baligh Uddin
f8297dc54d
Merge "Import translations. DO NOT MERGE"
2014-05-13 16:03:45 +00:00
Tadashi G. Takaoka
5fc93fadd6
Merge "Add content description to the voice key"
2014-05-13 07:53:02 +00:00
Tadashi G. Takaoka
cda11fb3a4
Merge "Show icon on action key when it is defined in keyboard theme"
2014-05-13 07:49:37 +00:00
Tadashi G. Takaoka
06d1cdd5dc
Add content description to the voice key
...
Bug: 14849593
Change-Id: I1664b6a4ef54b78a09df65adbffff7861b54c4a9
2014-05-13 16:33:31 +09:00
Tadashi G. Takaoka
aaffc46e82
Fix inconsistent TalkBack descriptions of keyboard modes
...
The previous "symbols shift mode" is renamed as "more symbols
mode". This CL also simplifies the shift key on various keyboard
modes.
Bug: 14461550
Change-Id: I8ed48805eaf95892e0f12f5edcdf97937d5c2bd4
2014-05-13 15:55:32 +09:00
Tadashi G. Takaoka
dcd74ba929
Merge "Optimize drawing key text shadow layer"
2014-05-13 05:21:08 +00:00
Tadashi G. Takaoka
41f9f1ef70
Optimize drawing key text shadow layer
...
Change-Id: Id226fe8042ba0f538d5109459a3615d7e7113d7f
2014-05-13 14:16:33 +09:00
Tadashi G. Takaoka
9e39c603d3
Merge "Add isIconDefined predicate to Keyboard_Case attribute"
2014-05-13 03:37:35 +00:00
Keisuke Kuroyanagi
0f645381ee
Merge "Fix typo wordPreperty -> wordProperty."
2014-05-13 02:58:05 +00:00
Tadashi G. Takaoka
dd68d4e4bf
Show icon on action key when it is defined in keyboard theme
...
This CL also adds the following icons name for an action key.
- Go
- Send
- Next
- Done
- Previous
Bug: 14259323
Change-Id: I48bba708d1f78349270d2ca01aebd8f111685723
2014-05-13 11:03:49 +09:00
Tadashi G. Takaoka
1c8e069d3c
Add isIconDefined predicate to Keyboard_Case attribute
...
Bug: 14259323
Change-Id: I9450a5125b1809b9fada6ee6e6b253cabfa2e2b4
2014-05-13 10:24:32 +09:00
Baligh Uddin
ecac0cdbc9
Import translations. DO NOT MERGE
...
Change-Id: Ic226d55b4c9cdff3fef5e31b411e0825b76cce55
Auto-generated-cl: translation import
2014-05-12 15:55:46 -07:00
Keisuke Kuroyanagi
0befbf8289
Fix typo wordPreperty -> wordProperty.
...
Change-Id: I793f9a42f8dbf48fa15292e74df9edf1cf5d8901
2014-05-13 01:32:27 +09:00
Jean Chalard
61ddac28de
Merge "Add initial reordering rules for Myanmar"
2014-05-12 11:29:53 +00:00
Keisuke Kuroyanagi
490e6846a1
Merge "Add freq=0 words to user history depending on the option."
2014-05-12 11:15:52 +00:00
Keisuke Kuroyanagi
84070cbc74
Merge "Improve multi-word suggestion handling for user history."
2014-05-12 11:11:15 +00:00
Keisuke Kuroyanagi
87343166e5
Add freq=0 words to user history depending on the option.
...
Bug: 14686585
Change-Id: Ia1c3adb1bcc625788016e378e1ac7b0792ea9f4e
2014-05-12 19:48:58 +09:00
Jean Chalard
281dbc3973
Add initial reordering rules for Myanmar
...
Bug: 13945569
Change-Id: Ib546ba110e87bf72afa7f42c878cc5f638bff6c7
2014-05-12 19:17:47 +09:00
Jean Chalard
fac678e13d
Merge "Create the path for specifying combining rules in the subtype"
2014-05-12 09:33:27 +00:00
Keisuke Kuroyanagi
ddacfdeb09
Improve multi-word suggestion handling for user history.
...
Bug: 12902664
Change-Id: I03deed16047f0beaba8932d87c6129ec8061ba9c
2014-05-12 18:04:43 +09:00
Tadashi G. Takaoka
722f5c7966
Remove voice key from keyboard layout
...
Bug: 14419121
Change-Id: I71031f1ed9735a5a05dc584299b56512fb0b6866
2014-05-12 17:07:01 +09:00
Jean Chalard
be99616afa
Create the path for specifying combining rules in the subtype
...
Also add the skeleton of the combining rules for Myanmar
reordering as a pilot.
Bug: 13945569
Change-Id: Iabeb6838f45f1efff482143595ce5b48543e0c43
2014-05-12 15:58:51 +09:00
Tadashi G. Takaoka
c41d261b7e
Add voice key to suggestions strip
...
Bug: 14419121
Change-Id: I3b2bdc3c07bb7e49ea7be53649bd6dd134fea27c
2014-05-12 15:08:14 +09:00
Tadashi G. Takaoka
40f6ea720e
Merge "Activate pseudo LMP theme"
2014-05-12 05:17:09 +00:00
Tadashi G. Takaoka
fe536b2728
Activate pseudo LMP theme
...
Bug: 14419121
Change-Id: I00265315c204de2279250d9ae20f630c2ee5dec6
2014-05-12 14:11:59 +09:00
Keisuke Kuroyanagi
4eb220269b
Remove ContextualDictionary.haveContentsChanged().
...
Change-Id: I7023ba4d9515dcad90e0a226f70936550c5241f4
2014-05-12 13:50:08 +09:00
Keisuke Kuroyanagi
47c76f0a45
Merge "Add contextual dictionary to the dictionary facilitator."
2014-05-12 04:42:33 +00:00
Tadashi G. Takaoka
43e371e513
Merge "Add pseudo LMP theme"
2014-05-12 03:29:30 +00:00
Jean Chalard
2b95bc9b64
Cleanup : remove a useless member
...
Change-Id: I7871c3243c82b5a19acf266033187795a2ea1767
2014-05-12 11:52:45 +09:00
Tadashi G. Takaoka
d5e3f02586
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: I7a37c884e4ee0cac09ad21ff729996c2b9c1b4af
2014-05-12 11:52:41 +09:00
Tadashi G. Takaoka
59c3ef1ff8
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 Id7b3ddd8aa.
Change-Id: I2d55602d026e30b38d8f822d2124f5c5e4a9a812
2014-05-12 10:59:10 +09:00
Ken Wakasa
4f5ea4dfc2
Merge "Revert "Refactor KeyboardTheme""
2014-05-09 11:28:51 +00:00
Ken Wakasa
d47dca429e
Revert "Refactor KeyboardTheme"
...
This reverts commit 19688b584b
.
Build breakage.
Change-Id: I95d4be1578824eaee5a2fb08ec277250727ac668
2014-05-09 11:28:19 +00:00
Ken Wakasa
d9b8eaa229
Merge "Revert "Add pseudo LMP theme""
2014-05-09 10:45:08 +00:00
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
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
c2a49f3006
Merge "Refactor KeyboardTheme"
2014-05-09 08:26:05 +00: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
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
82fa755bac
Fix unit tests by adding @UsedForTesting
...
Change-Id: I9448b1bfa7bf94039de737725851e63a2921a443
2014-05-09 14:44:44 +09:00
Keisuke Kuroyanagi
28ebe2db23
Merge "Check whether contacts have changed using hashCode()."
2014-05-09 03:48:19 +00:00
Keisuke Kuroyanagi
943e28d202
Merge "Periodic GC for personalization dict."
2014-05-09 03:41:43 +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
1a180c155d
Merge "Import translations. DO NOT MERGE"
2014-05-08 15:29:35 +00:00
Keisuke Kuroyanagi
89eaa6701f
Periodic GC for personalization dict.
...
Change-Id: I1ef922684cbf1de10c45c66eb119c2343d194da3
2014-05-08 17:20:43 +09: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
08d12a1be3
Merge "Extend jni interface for dictionary migration."
2014-05-08 05:20:33 +00: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
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
e3e331aebb
Merge "Use margin instead of padding in SuggestionStripView"
2014-05-08 01:14:59 +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
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
35acf309b7
Merge "Fix: mIsUserDictEnabled is never updated."
2014-05-07 07:52:06 +00:00
Keisuke Kuroyanagi
7d52f9b81c
Fix: mIsUserDictEnabled is never updated.
...
Bug: 14602321
Change-Id: Ib98d5648ea2a901393b79c7f300bc6d209ee98d1
2014-05-07 16:45:37 +09:00
Tadashi G. Takaoka
9d99a2edee
Make KeyboardView style as a parent of SuggestionStripView style
...
With this CL, SuggestionStripView can refer an icon asset in a
keyboard theme.
Bug: 14419121
Change-Id: I30d595c08ce02b8c7d3f111e1edab2820c0b602e
2014-05-07 12:13:02 +09:00
Baligh Uddin
04348c3637
Merge "Import translations. DO NOT MERGE"
2014-05-06 15:16:24 +00:00
Baligh Uddin
b313db1f50
Import translations. DO NOT MERGE
...
Change-Id: I507926af8d82abc3ef14e99dde443e6d3068a848
Auto-generated-cl: translation import
2014-05-05 16:49:21 -07:00
Baligh Uddin
ee568ee746
Import translations. DO NOT MERGE
...
Change-Id: I597ed10762a3c2e79e77ef21ef8d7bac4ee7488b
Auto-generated-cl: translation import
2014-05-05 16:48:49 -07:00
Ken Wakasa
0de529b4ca
Fix NPE
...
Follow up to I2b0ec091a11aa8a495794d633efecb6d8b818f42
bug: 14488351
Change-Id: Ic88adbd6775910f35338d798dc0d5493715708e4
2014-05-03 00:33:41 +09:00
Tadashi G. Takaoka
920188c238
Merge "More meaningful Emoji descriptions"
2014-05-02 01:20:22 +00:00
Tadashi G. Takaoka
71c96c079f
Merge "Add Marathi keyboard layout"
2014-05-02 01:20:07 +00:00