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
Keisuke Kuroyanagi
935150795b
Output dictionary format version for dump.
...
Change-Id: I13873727dbb25550a5087c883968a77094d2115d
2014-05-14 11:39:28 +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
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
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
Keisuke Kuroyanagi
ddacfdeb09
Improve multi-word suggestion handling for user history.
...
Bug: 12902664
Change-Id: I03deed16047f0beaba8932d87c6129ec8061ba9c
2014-05-12 18:04:43 +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
Jean Chalard
2b95bc9b64
Cleanup : remove a useless member
...
Change-Id: I7871c3243c82b5a19acf266033187795a2ea1767
2014-05-12 11:52:45 +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
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
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
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
7d52f9b81c
Fix: mIsUserDictEnabled is never updated.
...
Bug: 14602321
Change-Id: Ib98d5648ea2a901393b79c7f300bc6d209ee98d1
2014-05-07 16:45:37 +09: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
71c96c079f
Merge "Add Marathi keyboard layout"
2014-05-02 01:20:07 +00:00
Keisuke Kuroyanagi
8a7f670ec3
Merge "Remove Dictionaries.mDictMap."
2014-05-01 11:17:28 +00:00
Keisuke Kuroyanagi
c005c1dc56
Merge "Use dictType to class map to create sub dicts."
2014-05-01 10:16:58 +00:00
Keisuke Kuroyanagi
61fe28831d
Merge "Create factory methods for sub dicts."
2014-05-01 10:07:24 +00:00
Keisuke Kuroyanagi
fb87c250cb
Add contextual dictionary to the dictionary facilitator.
...
Bug: 14161647
Change-Id: I0e706b2abd0cb9f351e28681e275cd7f2fdbfd9c
2014-05-01 18:45:01 +09:00
Keisuke Kuroyanagi
d46855da72
Remove Dictionaries.mDictMap.
...
Bug: 13755213
Change-Id: I9ded695c31d3db05f561956c61d56ebd16d34703
2014-05-01 18:45:01 +09:00
Keisuke Kuroyanagi
99f2664871
Use dictType to class map to create sub dicts.
...
Bug: 13755213
Change-Id: I4dcd5684bc65f13361bf9c4f9d50b07b1e33c62d
2014-05-01 18:44:57 +09:00
Tadashi G. Takaoka
a5ab5d830c
Add Marathi keyboard layout
...
Bug: 10028772
Change-Id: I7bca05bbbfdb2e5f61d5db611dff62ace3b71e31
2014-05-01 18:25:56 +09:00
Keisuke Kuroyanagi
c3b151957c
Move dict version check to proper place.
...
Change-Id: I89a5b4fa93153081b4f7a9183619cbe7c9ea01fa
2014-05-01 17:28:24 +09:00
Keisuke Kuroyanagi
98e358a936
Create factory methods for sub dicts.
...
Bug: 13755213
Change-Id: I046af54b4860d2839328f2089ea785d81d04cf43
2014-05-01 17:22:23 +09:00
Tadashi G. Takaoka
20770f4ba0
Merge "Guard accessibility function calls"
2014-05-01 08:08:48 +00:00
Tadashi G. Takaoka
1ead609e6f
Guard accessibility function calls
...
This is a follow up of I2b0ec091a1.
Change-Id: I2801bd1530556cfa6cc176efac9d9f09f2405892
2014-05-01 17:06:40 +09:00
Keisuke Kuroyanagi
765cbb81ba
Merge "Simplify DictionaryFacilitatorForSuggest."
2014-05-01 07:55:31 +00:00
Jean Chalard
bedef0b4f0
Merge "Introduce clustering punctuation"
2014-05-01 07:01:04 +00:00
Keisuke Kuroyanagi
1ab6bfdc60
Simplify DictionaryFacilitatorForSuggest.
...
Bug: 13755213
Change-Id: I9663d1d60fccd8deb1a22683fb06fe64dee06b45
2014-05-01 15:51:03 +09:00
Jean Chalard
29c00ff538
Introduce clustering punctuation
...
Bug: 10081730
Change-Id: If198fa3df68ecb267da0a278da41fd509d6165f1
2014-05-01 15:45:24 +09:00
Tadashi G. Takaoka
3903e0d6e8
Merge "Make AccessibleKeyboardViewProxy not singleton"
2014-05-01 03:29:30 +00:00
Tadashi G. Takaoka
bca7e4e9a2
Make AccessibleKeyboardViewProxy not singleton
...
This CL also renames AccessibleKeyboardViewProxy and
AccessibilityEntityProvider to MainKeyboardAccessibilityDelegate and
MainKeyboardAccessibilityNodeProvider.
Change-Id: I2b0ec091a11aa8a495794d633efecb6d8b818f42
2014-05-01 12:24:54 +09:00
Jean Chalard
ec29147375
Merge "Some cleanup and reinforcement"
2014-05-01 03:04:29 +00:00
Jean Chalard
49d7871290
Some cleanup and reinforcement
...
Bug: 9520584
Change-Id: I1c0f9e1b530d4d5bf5f52c2905c20f5ab7c26442
2014-05-01 12:00:20 +09:00
Keisuke Kuroyanagi
a9f0a96377
Merge "Handle user dict as an ExpandableBinaryDictionary."
2014-04-30 12:44:25 +00:00
Keisuke Kuroyanagi
9ed7e47539
Handle user dict as an ExpandableBinaryDictionary.
...
Bug: 13755213
Change-Id: I2d242a3332e9633d4e41e08c0bbfafcefd814ecd
2014-04-30 20:35:08 +09:00
Yohei Yukawa
6d54f9f53c
Merge "Fix the unintentional behavior change"
2014-04-30 11:33:11 +00:00
Yohei Yukawa
60003d5114
Fix the unintentional behavior change
...
I0188fa56cba8e introduced an unintentional behavior change
regarding the condition when the globe key is displayed
if LatinIME is running on KitKat or prior version.
With this CL, the previous behavior is back.
BUG: 12965588
BUG: 14426646
Change-Id: I112a327dce6ad2e40beb9a60d587e77b3954da82
2014-04-30 20:30:39 +09:00
Tadashi G. Takaoka
412ac4c573
Merge "TalkBack correct shift state"
2014-04-30 09:51:07 +00:00
Tadashi G. Takaoka
24536580bf
TalkBack correct shift state
...
Change-Id: I3097805c6c8b4a4ac19fbe062f763e2639eb5cbf
2014-04-30 18:46:46 +09:00
Yohei Yukawa
1690992d1b
Check OS codename for shouldOfferSwitchingToNextInputMethod
...
Make sure if Build.VERSION.CODENAME is "REL" or not when
Build.VERSION.SDK_INT is 19 (KitKat). This is a tentative
workaround until Build.VERSION.SDK_INT is bumped to 20 or
greater.
BUG: 12965588
Change-Id: I0f6a8ef92af221240d247997ce65bd5e351b2d5e
2014-04-30 17:08:04 +09:00
Keisuke Kuroyanagi
c0d754397e
Fix unit tests by adding @UsedFortesting.
...
Change-Id: I8f66632a32b9e9ddc1b771e8ee74492c7baf9338
2014-04-29 00:00:57 +09:00
Keisuke Kuroyanagi
4426cbc59e
Fix: contacts/user dicts are too frequently regenerated.
...
Change-Id: I6b04a58c543fda6df7a2c016b8b8a5300f137d73
2014-04-28 23:11:25 +09:00
Keisuke Kuroyanagi
f614de62aa
Merge "Cleanup ExpandableBinaryDictionary."
2014-04-28 12:08:01 +00:00
Keisuke Kuroyanagi
b451f270f3
Cleanup ExpandableBinaryDictionary.
...
Bug: 8187060
Change-Id: I9103462412e727b0160b218b1bb301ce43621c46
2014-04-28 21:02:00 +09:00
Keisuke Kuroyanagi
c207955d4f
Merge "Use ReentrantReadWriteLock in ExpandableBinaryDictionary."
2014-04-28 12:01:14 +00:00
Keisuke Kuroyanagi
1737b7ff5c
Use ReentrantReadWriteLock in ExpandableBinaryDictionary.
...
Bug: 8187060
Change-Id: Ic665f0a5e940708aa9addedac068a64900b307e7
2014-04-28 20:56:01 +09:00
Keisuke Kuroyanagi
2367f8f602
Merge "Simplify asyncFlushBinaryDictionary."
2014-04-28 08:44:52 +00:00
Keisuke Kuroyanagi
570602a088
Simplify asyncFlushBinaryDictionary.
...
We no longer write files when the dict has not been updated.
Bug: 8187060
Change-Id: I8aa23a93d5deafb3a7f16f5466a5e0e84fbbf095
2014-04-28 17:30:36 +09:00
Keisuke Kuroyanagi
5c1416e426
Merge "Remove DictionaryUpdateController."
2014-04-28 08:29:02 +00:00
Keisuke Kuroyanagi
dff7153820
Merge "Use different user dict name for spell checker."
2014-04-28 08:12:17 +00:00
Keisuke Kuroyanagi
a5202c7143
Merge "Use different contacts dict name for spell checker."
2014-04-28 07:58:41 +00:00
Keisuke Kuroyanagi
07c5b307d6
Remove DictionaryUpdateController.
...
Bug: 8187060
Change-Id: I3e1fa4060d8a5c12d8d609be3357d56051fb5815
2014-04-28 16:58:27 +09:00
Keisuke Kuroyanagi
c5de887fd2
Merge "Move dicts for spellchecker to under spellcheck."
2014-04-28 07:51:29 +00:00
Keisuke Kuroyanagi
6256ec0587
Merge "Fix: Typed word is not included in more suggestions."
2014-04-28 07:46:21 +00:00
Keisuke Kuroyanagi
817cd9a0d5
Use different user dict name for spell checker.
...
Bug: 13630847
Change-Id: Icabd08c674dcf086250b9e594328a43286d1d203
2014-04-28 16:31:20 +09:00
Keisuke Kuroyanagi
60763a06e8
Use different contacts dict name for spell checker.
...
Bug: 13630847
Change-Id: I016a464890d5e63794fb1288b4ce7b09adffc453
2014-04-28 16:25:10 +09:00
Keisuke Kuroyanagi
24ec8bd91b
Move dicts for spellchecker to under spellcheck.
...
Bug: 13630847
Change-Id: Iadcf5b31f66fb73efc5c640e96e8c2106a0224dd
2014-04-28 16:24:35 +09:00
Keisuke Kuroyanagi
a8c4731eab
Fix: Typed word is not included in more suggestions.
...
Happened when top suggestion is long and auto-corrected.
Bug: 13738879
Change-Id: I47c2dfb34cfc92b54cfe54c432ee2f646fe454e5
2014-04-28 16:21:27 +09:00
Yohei Yukawa
91db602b83
Merge "Use shouldOfferSwitchingToNextInputMethod when available"
2014-04-28 06:58:02 +00:00
Yohei Yukawa
8ba4f33709
Use shouldOfferSwitchingToNextInputMethod when available
...
With this CL, LatinIME starts using
InputMethodManager#shouldOfferSwitchingToNextInputMethod when
available and API level is higher than 19 (KitKat).
Note that relevant settings of LatinIME will be ignored if
InputMethodManager#shouldOfferSwitchingToNextInputMethod is
considered to be available at the moment. We will revisit
here to reorganize the user visible settings before the
new global IME switching mechanism becomes publicly
available.
BUG: 12965588
Change-Id: I0188fa56cba8e983c61cef3ae3400a0e3821f718
2014-04-28 15:11:19 +09:00
Tadashi G. Takaoka
0b42851eed
Merge "Move some advanced settings to debug settings"
2014-04-28 05:30:28 +00:00
Tadashi G. Takaoka
2cc7c3321d
Merge "Remove unnecessary reference to LatinIME"
2014-04-25 22:20:58 +00:00
Tadashi G. Takaoka
7a78127a56
Remove unnecessary reference to LatinIME
...
Change-Id: Idbb45c504499d39bbf272fae84ea71a83bf4dd69
2014-04-25 15:09:39 -07:00
Keisuke Kuroyanagi
169acbf9f0
Add null check in createDistracterFilter().
...
Change-Id: Iff2b73081d48f32b1d3a5d5b32c9734979362c23
2014-04-25 13:36:46 -07:00
Tadashi G. Takaoka
a3920c7e6a
Move some advanced settings to debug settings
...
This CL moves "Show slide indicator" and "Key long press delay"
advanced options to the debug settings.
Bug: 11866784
Change-Id: Iec16e09ba6e7c9f82ce0fa73a0d75766b843b44b
2014-04-25 12:03:47 -07:00
Xiaojun Bi
516c884b11
Merge "Prepare to implement distracter filter"
2014-04-25 17:15:53 +00:00
Xiaojun Bi
281dd99346
Prepare to implement distracter filter
...
It was implemented according to the Plan B in the
design doc:
http://go/ime-misspelling-filter
This CL is to create a DistracterFilter instance
and pass it to PersonalizationDictionarySessionRegistrar.
This patch should be checked in together with
Id633b4fd45693
Bug: 13142176
Change-Id: Ia4957e64218c9619fcf9bb91795a187617c72a2e
2014-04-25 09:13:22 -07:00
Keisuke Kuroyanagi
e581d8f8ab
Merge "Fix: contains() is wrongly used in hasDict()."
2014-04-25 07:58:19 +00:00
Keisuke Kuroyanagi
bdf31fb75e
Fix: contains() is wrongly used in hasDict().
...
Change-Id: I4699b1b75fed9dd479f5135f0a7a2dd098e6f798
2014-04-25 00:56:27 -07:00
Keisuke Kuroyanagi
1ed248dc2f
Merge "Fix: Wrong null check for user history dict."
2014-04-25 06:48:16 +00:00
Keisuke Kuroyanagi
93f4aec07c
Fix: Wrong null check for user history dict.
...
Change-Id: Idf0bcc44247e35cd95f9482d2a8017329fc977bb
2014-04-24 23:08:48 -07:00
Keisuke Kuroyanagi
a9861ac814
Merge "Handle personalization dictionary as an ExpandableBinaryDictionary."
2014-04-25 04:56:14 +00:00
Keisuke Kuroyanagi
194d64fa58
Merge "Handle contacts dictionary as an ExpandableBinaryDictionary."
2014-04-25 04:54:09 +00:00
Keisuke Kuroyanagi
56e4848ead
Handle personalization dictionary as an ExpandableBinaryDictionary.
...
Bug: 13755213
Change-Id: I26e070e89e09b37e9dcc200d597c74c591467a66
2014-04-24 21:37:49 -07:00
Keisuke Kuroyanagi
98e276a0ec
Merge "Quit creating empty dictionary file in ExpandableBinaryDictionary."
2014-04-25 04:36:55 +00:00
Keisuke Kuroyanagi
62c110a4c0
Handle contacts dictionary as an ExpandableBinaryDictionary.
...
Bug: 13755213
Change-Id: I0eb5055f9cdf5e1df337cdace9bf0919d4d365d3
2014-04-24 21:36:30 -07:00
Keisuke Kuroyanagi
3d2a9af20a
Merge "Handle user history dictionary as an ExpandableBinaryDictionary."
2014-04-25 04:30:39 +00:00
Keisuke Kuroyanagi
a933776bf1
Merge "Simplify DictionaryFacilitatorForSuggest to be flexible."
2014-04-25 04:29:50 +00:00
Keisuke Kuroyanagi
67c0ed8f8c
Handle user history dictionary as an ExpandableBinaryDictionary.
...
Bug: 13755213
Change-Id: I1ea8a6df007af7153852f2d32bf5e8ec669c432b
2014-04-24 14:48:01 -07:00
Tadashi G. Takaoka
e2651aa450
Merge "Announce keyboard language when TalkBack is on"
2014-04-24 20:40:31 +00:00
Keisuke Kuroyanagi
3d658a63ca
Merge "Remove clearAndFlushDictionary() and use clear()."
2014-04-24 18:29:05 +00:00
Keisuke Kuroyanagi
978958a41f
Simplify DictionaryFacilitatorForSuggest to be flexible.
...
Bug: 13755213
Change-Id: I151269a7038b72a33b436da4c7596e09949e6d00
2014-04-24 11:25:50 -07:00
Keisuke Kuroyanagi
2dcb5c1b4d
Remove clearAndFlushDictionary() and use clear().
...
clearAndFlushDictionary() was needed when dictionaries are constructed
in java side. All expandable dictionaries now use native code; thus,
this method is same to clear() and no longer needed.
Bug: 13755213
Change-Id: Ifd836e64f8ff807930f7cd2319b103b65e8fce70
2014-04-24 11:25:47 -07:00
Tadashi G. Takaoka
b9e0b99765
Merge "Fix handling shift + enter"
2014-04-24 02:38:46 +00:00
Tadashi G. Takaoka
393da03c8e
Fix handling shift + enter
...
Bug: 14278758
Change-Id: Id77c99b83cc69855972b27c9cebd482c8cbd3539
2014-04-23 19:22:00 -07:00
Tadashi G. Takaoka
f7edc6582a
Move simulateKeyPress method to AccessibleKeyboardViewProxy
...
Change-Id: Ic14ff70c7c8475983cf02dc1ba4d5a5f7769aa16
2014-04-23 17:48:27 -07:00
Tadashi G. Takaoka
3cf759074a
Announce keyboard language when TalkBack is on
...
Bug: 13013501
Change-Id: I0595abafbc177f776676cb3560f3990da9328db2
2014-04-23 13:53:06 -07:00
Keisuke Kuroyanagi
7de3d0eed7
Merge "Fix: Reporting wrong main dictionary availability."
2014-04-22 23:32:50 +00:00
Keisuke Kuroyanagi
de4d401038
Fix: Reporting wrong main dictionary availability.
...
Bug: 13965806
Change-Id: Ida2234ab8cb7785ec5efd433a58949bf21c44351
2014-04-22 16:24:22 -07:00
Tadashi G. Takaoka
5179608e19
Merge "Use ArrayList constructor directly"
2014-04-22 21:54:00 +00:00
Tadashi G. Takaoka
965621574d
Use ArrayList constructor directly
...
This is a follow up of I85a0b18d2d.
Change-Id: Ia7a642bb6e0015242d6e046019b3973226a0add2
2014-04-22 14:36:38 -07:00
Tadashi G. Takaoka
9d84d67b44
Fix typo of local variable name
...
Change-Id: I09c0aeee979e883af199f5c533d526a089064987
2014-04-22 14:25:53 -07:00
Tadashi G. Takaoka
616b84c93e
Merge "Use sorted keys index as virtual view id"
2014-04-22 20:58:24 +00:00
Keisuke Kuroyanagi
d437df0ab0
Quit creating empty dictionary file in ExpandableBinaryDictionary.
...
Bug: 14166482
Change-Id: I7b7a25141851d7bb14744567639d8e5d8f04a036
2014-04-22 13:18:36 -07:00
Keisuke Kuroyanagi
3b7984752c
Support creating BinaryDictionary without creating dict file.
...
Bug: 14166482
Change-Id: Ic8c78ec2c8f39358a1f085a041b608972a380eef
2014-04-22 13:18:34 -07:00
Keisuke Kuroyanagi
ce76821dce
Revert "Support creating BinaryDictionary without creating dict file."
...
This reverts commit 89939b8708
.
Change-Id: I8ca1b55609ad305a93178063bd88bd1cede872af
2014-04-22 19:34:44 +00:00
Tadashi G. Takaoka
9289260822
Use sorted keys index as virtual view id
...
Change-Id: Id3f81de1edaacc06362b65aa7b68e9317e6596bd
2014-04-22 12:15:52 -07:00
Keisuke Kuroyanagi
89939b8708
Support creating BinaryDictionary without creating dict file.
...
Bug: 14166482
Change-Id: Ib065279f96e227ab0fee7c8141560c4ada744d3b
2014-04-22 12:01:33 -07:00
Keisuke Kuroyanagi
68b4f2ada9
Merge "Add jni interface to use on memory dictionary."
2014-04-22 17:07:16 +00:00
Tadashi G. Takaoka
543d3d24bd
Stop using Configuration.setLocale
...
The call for method Configuration.setLocale that is introduce by
If60877b29b should be remove to be compatible with API 14 and later.
Bug: 14239862
Change-Id: I3815c2b56bd9c655b8bde6f93143adf3ff08c35d
2014-04-22 09:22:46 -07:00
Keisuke Kuroyanagi
61cb852d33
Add jni interface to use on memory dictionary.
...
Bug; 14166482
Change-Id: I33ab08dad1e39aa7617d391f7eb2561d6f2504bb
2014-04-21 19:59:09 -07:00
Tadashi G. Takaoka
a685fc1792
Merge "Remove unnecessarily getKeyFromOutputText method from Keyboard"
2014-04-22 01:57:32 +00:00
Tadashi G. Takaoka
543d25d786
Merge "Sort keys from top-left to bottom-right order"
2014-04-22 01:52:00 +00:00
Tadashi G. Takaoka
0ea82be889
Remove unnecessarily getKeyFromOutputText method from Keyboard
...
Change-Id: I61986ed65ce6696a8b0d885bdeb9668e6087bc47
2014-04-21 18:48:53 -07:00
Tadashi G. Takaoka
c13c1adfa7
Sort keys from top-left to bottom-right order
...
Change-Id: I228748824de62e9e46fa43db200d23f41eb6d2ce
2014-04-21 18:36:11 -07:00
Keisuke Kuroyanagi
3acbf7d00c
Merge "Add BinaryDictionary.flushWithGCIfHasUpdated()."
2014-04-22 00:10:42 +00:00
Keisuke Kuroyanagi
c6704dbe51
Add BinaryDictionary.flushWithGCIfHasUpdated().
...
Bug: 14166482
Bug: 14161647
Change-Id: I98b0a8b86897b1486491a3aea91729bc9e4cc03c
2014-04-21 15:21:55 -07:00
Tadashi G. Takaoka
5326dcfb7d
Use unmodifiable list to return keys from Keyboard
...
Change-Id: I85a0b18d2d78632e9a9f074eda1de9225001f876
2014-04-21 14:31:27 -07:00
Tadashi G. Takaoka
58d4e610ac
Use unmodifiable list to return the nearest keys
...
Change-Id: Ic9084b08fa9a1f25b7f4b98c627350583c401c12
2014-04-21 14:30:59 -07:00
Tadashi G. Takaoka
064af5c0fc
Stop using modifiable Key array
...
Change-Id: I0f3e96672da4261ae5628d2d5ea39d60e6287ac0
2014-04-21 13:52:00 -07:00
Xiaojun Bi
11b7076168
Fix a bug for counting code points in WordComposer.java
...
This bug threw an ArrayIndexOutOfBoundsException when the word length
is 49 (maxSize + 1) when calling StringUtils.copyCodePointsAndReturnCodePointCount(...)
in the same function. This bug is discovered by running SKETCH.
The intent is to count the code points from index 0 to index i (included).
The original code only counted the code points from index 0 to index (i-1).
Bug: 13969542
Change-Id: Idbf596aba2379ba552dbe580c83c42044d505aaf
2014-04-18 14:56:35 -07:00
Tadashi G. Takaoka
a980fb39a5
Merge "Refactor RunInLocale a bit"
2014-04-17 08:59:25 +00:00
Tadashi G. Takaoka
8180b02bed
Merge "Add contentDescription to Emoji palette"
2014-04-17 08:56:22 +00:00
Tadashi G. Takaoka
bfc998096b
Add contentDescription to Emoji palette
...
This CL adds content descriptions of:
- Emoji Category icon/label.
- Delete key
- Space key
Bug: 11452158
Change-Id: Ic00592c560b6265c880cd25f2e18cfd349b4620b
2014-04-17 17:43:34 +09:00
Tadashi G. Takaoka
5c490e5da5
Refactor RunInLocale a bit
...
Change-Id: If60877b29bb1263161ec85c99320ad07b7dd4245
2014-04-17 17:39:19 +09:00
Jean Chalard
20b0c3c5a9
Merge "Avoid lower-case version of capitalized words in user hist"
2014-04-17 08:22:42 +00:00
Jean Chalard
649dcba5a8
Avoid lower-case version of capitalized words in user hist
...
Bug: 14096825
Change-Id: Ib6cc8fc31e90862e0b05f5a06757a73069726b74
2014-04-17 16:41:26 +09:00
Jean Chalard
86ff9d6dda
Merge "Fix a wrong parameter passed."
2014-04-17 07:39:52 +00:00
Jean Chalard
26611120c9
Fix a wrong parameter passed.
...
Bug: 14120001
Change-Id: I8258304bc500fe28870fb8a5c11c15d97795423c
2014-04-17 15:44:55 +09:00
Keisuke Kuroyanagi
b21edc4402
Shuwdown executors after executing all tasks.
...
Bug: 14113276
Change-Id: Ie42ef30ffe5767ca434db4669efad2027b474e74
2014-04-17 09:28:52 +09:00
Jean Chalard
ba635ad30d
Merge "Restart suggestions when restarting input"
2014-04-16 10:43:28 +00:00
Tadashi G. Takaoka
166fd799d4
Merge "Dismiss more suggestions before showing important notice"
2014-04-16 09:43:39 +00:00
Jean Chalard
3aba6263f0
Restart suggestions when restarting input
...
Bug: 6851364
Change-Id: I3052924053f37f56c9c3953051aa1b22224a2b2e
2014-04-16 17:02:08 +09:00
Tadashi G. Takaoka
c8abd13c77
Dismiss more suggestions before showing important notice
...
Bug: 14078601
Change-Id: I029cadd8f2f170b5a3e70df170e306c9be109a70
2014-04-16 15:40:39 +09:00
Jean Chalard
66e509b1d4
Fix some failing tests
...
Bug: 13968927
Change-Id: I7e5e075535e38bf0fa24af98ed6e2cdfd6de6556
2014-04-15 21:44:46 +09:00
Jean Chalard
1ee443d848
Merge "[IL135] Make getCurrentAutoCapsState private"
2014-04-15 02:27:52 +00:00
Jean Chalard
82d3a56b09
Merge "[IL134] Add an alternative path to getCurrentAutoCapsState"
2014-04-15 02:24:41 +00:00
Jean Chalard
751dc070bf
Merge "Fix updating the shift state upon backspace"
2014-04-14 12:31:22 +00:00
Jean Chalard
2282e8520a
Fix updating the shift state upon backspace
...
Bug: 13514349
Change-Id: If4c9db12b0ab5be676f7a2f72715f469066ee537
2014-04-14 21:28:24 +09:00
Jean Chalard
f091c491ea
[IL135] Make getCurrentAutoCapsState private
...
Bug: 8636060
Change-Id: I800aefe6fee4c14df6fe5abe21b2387c69abb8f5
2014-04-14 21:09:32 +09:00
Jean Chalard
ddc163988a
[IL134] Add an alternative path to getCurrentAutoCapsState
...
Bug: 8636060
Change-Id: I959e13d34910adad028ed6174f92029ff690eeeb
2014-04-14 21:09:32 +09:00
Tadashi G. Takaoka
c3a19a5249
Remove GingerBread keyboard theme
...
This CL must be checked in together with I6a9ac172a5.
Bug: 14042743
Change-Id: Ic3f01f5d10097d743325df847bd7cd2959992487
2014-04-14 19:05:21 +09:00
Tadashi G. Takaoka
21eafd7910
Use KeyboardTheme id insteand of index
...
This CL must be checked in together with I771216f8bd.
Bug: 14042743
Change-Id: I45c3acf9242985fb03721a9a6d377fbccc8e2019
2014-04-14 18:59:54 +09:00
Tadashi G. Takaoka
3568fca95f
Merge "Refactor KeyboardTheme as top-level class"
2014-04-14 09:57:36 +00:00
Tadashi G. Takaoka
d6aa94e6b5
Refactor KeyboardTheme as top-level class
...
This CL should be checked in together with I63e33388f9.
Bug: 14042743
Change-Id: I13f0a45bac6f19e006bf1280a36173e52d6d7160
2014-04-14 17:10:11 +09:00
Tadashi G. Takaoka
30d5ed67d6
Keep ImportantNoticeDialog showing after orientation changed
...
Bug: 13951402
Change-Id: Ia6340d48843abca68ebadd299827cbe43516cc39
2014-04-14 15:48:19 +09:00
Yohei Yukawa
da498229f4
Merge "Plumbing for ProductionFlag.USES_CURSOR_ANCHOR_MONITOR"
2014-04-13 12:56:43 +00:00
Jean Chalard
4f4770cbf0
Merge "[CB26] Remove useless variables."
2014-04-11 10:00:57 +00:00
Tadashi G. Takaoka
977d052f8c
Revise myanmar keyboard layout
...
Note that this keyboard layout is still a preliminary.
Bug: 7963632
Change-Id: I4c53b3359ea2c0dd8e2ce7db8ec916ab9340eec5
2014-04-11 15:29:30 +09:00
Yohei Yukawa
fab4ce43f8
Plumbing for ProductionFlag.USES_CURSOR_ANCHOR_MONITOR
...
With this CL, LatinIME starts calling
InputMethodService#setCursorAnchorMonitorMode in #onStartInput()
when ProductionFlag.USES_CURSOR_ANCHOR_MONITOR flag is explicitly
set to true.
BUG: 13891796
Change-Id: Ib2fb0c3521b61859d4cc530155ccaaee7ee16cbc
2014-04-11 12:26:33 +09:00
Jean Chalard
cb05dc1d1b
Merge "[IL133] Avoid calling a dangerous method from outside."
2014-04-10 09:15:13 +00:00
Jean Chalard
1ef9d5938e
[CB26] Remove useless variables.
...
This is nice for code simplicity, but it has a small adverse impact on
performance.
Bug: 13406701
Change-Id: I9316b3fe8d79b940fbd83cf1187c8c0d10b26c71
2014-04-10 18:13:35 +09:00
Tadashi G. Takaoka
cc729b6df5
Merge "Refactor SubtypeLocaleUtils a bit"
2014-04-10 08:51:03 +00:00
Jean Chalard
2e967f6607
Merge "Fix some flaky tests."
2014-04-10 08:47:20 +00:00
Jean Chalard
4370ff0998
Fix some flaky tests.
...
In tests, we create many instances of LatinIME, but we never
destroy them. That means we never close the dictionaries nor
the handlers.
This change calls onDestroy, which closes all dictionaries, and
adds some code to finish the handlers.
Change-Id: I942517a2a940c54256b08763f6b38f5b55809f55
2014-04-10 17:32:05 +09:00
Tadashi G. Takaoka
58e830ec19
Refactor SubtypeLocaleUtils a bit
...
Change-Id: If8b7fd5ef0b4ff3791deeacc12abb256a10176bf
2014-04-10 17:24:58 +09:00
Tadashi G. Takaoka
9eec53a2c2
Merge "Reorder German umlaut letters"
2014-04-10 06:26:21 +00:00
Tadashi G. Takaoka
784a4429ea
Reorder German umlaut letters
...
Bug: 13940739
Change-Id: I2e377b56e4a74d36c7e0cea4ad4e8d9341eb7feb
2014-04-10 15:24:45 +09:00
Tadashi G. Takaoka
ac5e6ddd97
Add Italian (Switzerland) it_CH layout
...
Bug: 13920900
Change-Id: I57df8ca12b0d8cc4bbca2372c0470dcae5b5cbfb
2014-04-10 11:56:44 +09:00
Yohei Yukawa
a4ac18551f
Merge "Add a new production flag for Cursor/Anchor monitor"
2014-04-09 12:36:28 +00:00