Commit graph

27825 commits

Author SHA1 Message Date
Keisuke Kuroyanagi
8ac3c65b00 Add version check to open binary dictionary.
Bug: 11073222
Change-Id: Iabae12b8f14a9da3cdc804dcc6af443cedeb3f99
2013-11-28 20:40:26 +09:00
Jean Chalard
6b8239983f Merge "Add parameter descriptions" 2013-11-28 10:36:20 +00:00
Jean Chalard
02b2b3fdd8 Add parameter descriptions
Change-Id: Ib4b883abbf7828cf042329523933190d05447564
2013-11-28 19:33:28 +09:00
Tadashi G. Takaoka
2e2af0e1e1 Merge "Move MainKeyboardView.KeyTimerHandler to top level class" 2013-11-28 10:21:41 +00:00
Tadashi G. Takaoka
3fd16cbaa8 Merge "Move MainKeyboardView.DrawingHandler to top level class" 2013-11-28 10:21:34 +00:00
Tadashi G. Takaoka
3c764b2e96 Move MainKeyboardView.KeyTimerHandler to top level class
Change-Id: Iec310b7fc6127a8a5491dbb9f8f073e455e7ba29
2013-11-28 19:03:37 +09:00
Jean Chalard
33e777fe08 Merge "Change the timing of reading the previous word." 2013-11-28 09:57:22 +00:00
Tadashi G. Takaoka
c82e99caa0 Move MainKeyboardView.DrawingHandler to top level class
Change-Id: I7a785725d5eb0b594485ceb25695a89c017cc60f
2013-11-28 18:56:15 +09:00
Jean Chalard
4866a3e918 Change the timing of reading the previous word.
Bug: 11328842
Change-Id: I08229e895fc34403932648b9b931583d965f0e01
2013-11-28 18:51:03 +09:00
Keisuke Kuroyanagi
c7dd2eb7ad Merge "Refactoring to extend probability field." 2013-11-28 09:17:33 +00:00
Jean Chalard
177a86d394 Merge "Fix getNthPreviousWord." 2013-11-28 09:02:46 +00:00
Keisuke Kuroyanagi
8d1daac5a9 Refactoring to extend probability field.
Bug: 11073222
Change-Id: I147c3ea32834c3c5b9709df502a7dcb5b0180fef
2013-11-28 18:00:32 +09:00
Tadashi G. Takaoka
b1d87850ec Fix updating list preference summary for unknown value
Change-Id: I86d3162a90e0068e787a906c0d3d64102487620a
2013-11-28 14:12:29 +09:00
Jean Chalard
da459787e2 Fix getNthPreviousWord.
This should take into accounts word connectors.

Change-Id: Ic7fa5c837cd65a43ba43d7ae9d299b8d20019892
2013-11-28 11:41:23 +09:00
Keisuke Kuroyanagi
3c7b603c46 Merge "Start using Ver4 dictionary format." 2013-11-27 10:02:21 +00:00
Tadashi G. Takaoka
169d76cc5c Merge "Disable mic key on more keys when voice IME is disabled" 2013-11-27 09:56:42 +00:00
Tadashi G. Takaoka
b70a419a9e Disable mic key on more keys when voice IME is disabled
Bug: 11883501
Change-Id: Ie3f496935f9600e2bde51cbebed2b4f8c90c25b2
2013-11-27 18:36:08 +09:00
Jean Chalard
4735e1d32a Merge "Fix messages in tests" 2013-11-27 08:44:31 +00:00
Jean Chalard
dfc5aade2d Fix messages in tests
They are not failing because of this right now, but future
tests would fail without this.
Concretely, since the Handler for any given main thread is
a singleton managed by the framework, the messages won't
be removed automatically. In particular, messages posted
with a delay have a large destructive potential, because
they will go through before the startInputViewInternal
method is called, because it's called with a message too (in
turn, this is because of working around framework bugs).

Bug: 11142685
Change-Id: If81a168efcfd7d93806ddc4ea432d438c45a3e1d
2013-11-27 17:37:57 +09:00
Tadashi G. Takaoka
05e099d77d Remove voice-on-main related code and resources
Change-Id: I3a1b06fa028dbf130c7aa2c83e9ec1a180aa1f5c
2013-11-27 16:48:47 +09:00
Tadashi G. Takaoka
c144299f70 Merge "Remove compiler warnings from emoji related code" 2013-11-27 03:44:34 +00:00
Ken Wakasa
ccac553182 Merge "Small optimizations for single code point strings" 2013-11-27 03:43:46 +00:00
Ken Wakasa
c01dba872c Small optimizations for single code point strings
Change-Id: I299c7622db291ea411e2b48dfdb622b407912ea6
2013-11-27 12:40:13 +09:00
Keisuke Kuroyanagi
63b7392b8d Merge "Have ver4 support decaying dictionary" 2013-11-27 03:38:21 +00:00
Keisuke Kuroyanagi
02fd1a78a3 Start using Ver4 dictionary format.
Bug: 11073222

Change-Id: Idd836ee15501e2f8c57c8eebc1fef7f103b01d18
2013-11-27 12:14:03 +09:00
Keisuke Kuroyanagi
24af6ed692 Have ver4 support decaying dictionary
Bug: 11073222

Change-Id: I7f0002c4743ab3bb1ebaac1bca6e367e6b220010
2013-11-27 12:14:00 +09:00
Tadashi G. Takaoka
6bd28dfa99 Remove compiler warnings from emoji related code
Change-Id: I88ed0d25bee87c4dabcbc425589215b901345908
2013-11-27 11:51:05 +09:00
Keisuke Kuroyanagi
fd15afae46 Merge "Extend jni interface to support time stamp and shortcut." 2013-11-27 02:17:51 +00:00
Keisuke Kuroyanagi
9cdca3255b Extend jni interface to support time stamp and shortcut.
Bug: 11073222

Change-Id: I19e0501850917a13ddc756d3e78fc6f6cf3f33c4
2013-11-26 21:31:26 +09:00
Tadashi G. Takaoka
091865a266 Merge "Cleanup SettingsFragment" 2013-11-26 09:38:41 +00:00
Tadashi G. Takaoka
98dd81ab80 Cleanup SettingsFragment
Change-Id: Ic7dac203c17b34e1555ba2c91e3f8c057e85a4b5
2013-11-26 18:36:21 +09:00
Jean Chalard
2d8a2aa337 Fix a settings dependency in tests
Bug: 11142685
Change-Id: I1db3488cee153358fa391817b3c03cad16eefdb7
2013-11-26 17:17:10 +09:00
Jean Chalard
a6fef7dcae Merge "Fix caps mode upon gesture-after-type-period." 2013-11-26 07:34:59 +00:00
Keisuke Kuroyanagi
581ca435cf Merge "Implement addMultipleDictionaryEntries as a jni method." 2013-11-26 07:32:23 +00:00
Jean Chalard
045fb2de64 Fix caps mode upon gesture-after-type-period.
Bug: 11630231
Change-Id: Id5626a2f5b7294e4fda0bf9b82ff85537500a104
2013-11-26 16:25:09 +09:00
Keisuke Kuroyanagi
ca16be7552 Implement addMultipleDictionaryEntries as a jni method.
Bug: 11757169

Change-Id: Ie1569e0b3c0503588ebfe5d09c7ca06116f54485
2013-11-26 16:03:10 +09:00
Tadashi G. Takaoka
ad4216becd Use InputMethodSubtypeCompatUtils to create subtypes
This change adds fixed subtypeId to dummy NO_LANGUAGE and EMOJI
subtypes.

Bug: 11142698
Change-Id: Ie633b5dea77f17a9981bd999df6e1957bde740ee
2013-11-26 15:32:14 +09:00
Tadashi G. Takaoka
0e8dbe0284 Merge "Fix extraValue of DUMMY_NO_LANGUAGE_SUBTYPE" 2013-11-26 04:37:22 +00:00
Tadashi G. Takaoka
6f490fb200 Fix extraValue of DUMMY_NO_LANGUAGE_SUBTYPE
This is a follow up of I9cf3d94825.

Change-Id: I2646a045d21f2a7a3bb89c76d431be844e739af3
2013-11-26 13:31:18 +09:00
Keisuke Kuroyanagi
0058ae8449 Fix build.
Change-Id: I28bd3d737def01e62100b86d8c837853da696aef
2013-11-26 13:00:34 +09:00
Keisuke Kuroyanagi
99ddbe717c Fix offdevice build.
Bug: 11859139
Change-Id: I2fdad2d1166fba0141db3377c247e1c548c956d3
2013-11-26 12:31:05 +09:00
Geoff Mendal
79842aa208 Import translations. DO NOT MERGE
Change-Id: Id9ad9ed8c1d148569d7d0079a3b7ec5282280aa6
Auto-generated-cl: translation import
2013-11-25 14:31:12 -08:00
Keisuke Kuroyanagi
251fba54fc Merge "BinaryDictionaryTests uses ver4 dictionary, too." 2013-11-25 09:06:49 +00:00
Jean Chalard
b68e613016 Merge "Fix a flaky test." 2013-11-25 08:53:47 +00:00
Keisuke Kuroyanagi
e74b01191f BinaryDictionaryTests uses ver4 dictionary, too.
Bug: 11073222

Change-Id: Ib6a6cca7f5835f18405c5e81a1afa9b5bb931aa6
2013-11-25 17:48:35 +09:00
Keisuke Kuroyanagi
7fe1244f31 Merge "Implement Ver4PatriciaTriePolicy::getProperty." 2013-11-25 08:45:24 +00:00
Jean Chalard
e629f860d1 Fix a flaky test.
Corrections depend on the proximity info, which depends
on the layout, which in turn depends on the subtype and
not only the language. Thus, we need to force the whole
subtype for meaningful tests.

Bug: 11142685
Change-Id: I9cf3d948259e0236061454a93ffc2e28c7e0768f
2013-11-25 17:22:15 +09:00
Keisuke Kuroyanagi
007672f285 Implement Ver4PatriciaTriePolicy::getProperty.
Bug: 11073222

Change-Id: I49ecb406113e9ce09550056cdcbed51729531f23
2013-11-25 14:57:41 +09:00
Jean Chalard
3e4c520dcf Merge "Fix a failing test" 2013-11-25 04:01:28 +00:00
Keisuke Kuroyanagi
0e4a113c64 Merge "Implement GC for ver4 dict contents." 2013-11-25 03:59:33 +00:00