Jean Chalard
77dd17ad36
Merge "[CB25] Refactor some array copying"
2014-04-09 09:57:00 +00:00
Jean Chalard
5f430e0189
[CB25] Refactor some array copying
...
Bug: 13406701
Change-Id: I09edd822f5cc2446b324d41c76d835bcff1191e6
2014-04-09 18:38:29 +09:00
Tadashi G. Takaoka
daf75d275e
Add en_IN subtype
...
Bug: 13914988
Change-Id: Ifd497a6a1d2686490e388e10e391475e97e9c166
2014-04-09 12:48:43 +09:00
Jean Chalard
90608190ec
Add shift mode tests
...
Change-Id: I067e91a1f899c1f83fd60adeae66495606812a95
2014-04-08 22:24:25 +09:00
Tadashi G. Takaoka
eb88f03f97
Merge "Fix subtype count unit test due to Ic7c17d9656"
2014-04-03 15:44:14 +00:00
Tadashi G. Takaoka
cafc8de2b2
Fix subtype count unit test due to Ic7c17d9656
...
Change-Id: Id708752e0d97a78ce02623956e32b990bc2a1cfd
2014-04-04 00:09:08 +09:00
Jean Chalard
28a59dd049
Fix a bug with double-space-to-period
...
Bug: 13778001
Change-Id: I3ebd57950cdfacbbcdc64ed214c0590519a0665c
2014-04-03 22:07:57 +09:00
Tadashi G. Takaoka
a3804e5e10
Add hindi_compact keyboard
...
Bug: 13779052
Change-Id: Ic7c17d96560501422a63340d7ce6bd8720e6c3c9
2014-04-03 19:47:31 +09:00
Tadashi G. Takaoka
303f440311
Refactor Devanagari key-styles
...
Change-Id: I799b04317d5b7daff4bb230294b2de474e5585eb
2014-04-03 17:59:29 +09:00
Tadashi G. Takaoka
b6ca5763aa
Add keyboard layout test for API 14 and 15
...
Bug: 13017434
Change-Id: Iaa995ba0b6ba4caabc7c77f084f376bebc5b766e
2014-04-03 17:49:43 +09:00
Tadashi G. Takaoka
7dd32dfc06
Remove country name from space bar text when appropriate
...
Remove country name from space bar text when there no other subtype
that is a same language and a same keyboard layout.
Bug: 8084704
Change-Id: I7c785a925ff7a0a61e5d009f138e1df52b3aeb3a
2014-04-02 12:50:52 +09:00
Tadashi G. Takaoka
9364d46ac3
Add SpacebarLanguageUtils class
...
The SpacebarLanguageUtils class is separated from SubtypeLocaleUtils
and handles the language name on the spacebar.
Bug: 8084704
Change-Id: I82f79a061d4f0cc2895263298c3ebf8ee444c61d
2014-04-01 12:17:06 +09:00
Tadashi G. Takaoka
03f9c4820a
Merge "Make NeedsToDisplayLanguage as a top level class"
2014-03-28 09:15:25 +00:00
Tadashi G. Takaoka
8e3c585265
Make NeedsToDisplayLanguage as a top level class
...
Change-Id: Ia05e0494a9dccebfb5c1316479e52f04cf2ae444
2014-03-28 17:59:57 +09:00
Keisuke Kuroyanagi
781e3df73b
Merge "Dictionary migration in Java side."
2014-03-28 08:07:26 +00:00
Jean Chalard
35645ac39a
Merge "[CB14.5] Stop copying WordComposers."
2014-03-28 06:51:17 +00:00
Jean Chalard
8e829c37df
[CB14.5] Stop copying WordComposers.
...
This is an overdue refactoring that I have been wanted to
do forever, and that we can at last do now that suggestions
come only from instances of BinaryDictionary instances.
With this, all unit tests and regression tests are
passing again.
Bug: 13667648
Bug: 13665487
Bug: 8636060
Change-Id: Ie23a19f9b7e692edf2ee0b107ddaff2d7db564b6
2014-03-28 15:26:27 +09:00
Tadashi G. Takaoka
2202d47386
Stop displaying locale string on short space bar
...
Bug: 12070355
Change-Id: I2d6fa20431bc56d5139caeac33e396b73906d075
2014-03-28 13:05:13 +09:00
Keisuke Kuroyanagi
a785fa8edd
Dictionary migration in Java side.
...
Bug: 13406708
Change-Id: If83938e4b4810d2e8353c70cdd8ef3ea97a29571
2014-03-27 17:46:35 +09:00
Keisuke Kuroyanagi
6008898b99
Merge "Move code only used for dicttool and tests under tests."
2014-03-27 06:37:10 +00:00
Keisuke Kuroyanagi
93cda5bb39
Move code only used for dicttool and tests under tests.
...
Bug: 13035567
Change-Id: I13c6df013ef2b67c9bf67455d9c32d283bf9ea2e
2014-03-27 15:30:32 +09:00
Tadashi G. Takaoka
c4b558d375
Merge "Rename text resources consistently"
2014-03-26 10:06:34 +00:00
Jean Chalard
1079665c3c
[CB14] Implement backspace in the combiner chain
...
Bug: 13622107
Bug: 13406701
Change-Id: I0023b398c4451253f9f717e2bd990b8a054004bc
2014-03-25 17:57:03 +09:00
Tadashi G. Takaoka
393efd94e5
Rename text resources consistently
...
- keylabel_<key>, the key label text of the <key>
- keyspec_<key>, the key specification of the <key>
- keyhintlabel_<key>, the hint label text of the <key>
- morekeys_<key>, the more keys specifications of the <key>
- additional_morekeys_<key>, the additional more keys specification of
the <key>
Change-Id: Ib2127f21fa33a2568e8a6eba65cfdb2cf78b480e
2014-03-25 13:02:09 +09:00
Jean Chalard
1dda9107ca
Merge "Rework the logic that tells if the cursor touches words"
2014-03-20 14:35:19 +00:00
Jean Chalard
72b67f6541
Rework the logic that tells if the cursor touches words
...
Bug: 13312942
Change-Id: I6be6a558bbc6c88508150f9c25cadbd0240ff88e
2014-03-20 23:16:53 +09:00
Tadashi G. Takaoka
df39eb6961
Consolidate KeyboardTextsSet.setLocale and loadStringResoucres
...
Change-Id: Idaf8f0d80fdeef4f1430f11d4083366e8ab7f6e0
2014-03-20 18:55:03 +09:00
Tadashi G. Takaoka
0c268b08b6
Merge "Refactor KeyboardTextsSet class"
2014-03-20 09:52:02 +00:00
Tadashi G. Takaoka
58b19655d8
Merge "Add pcqwerty layout test"
2014-03-20 09:40:47 +00:00
Tadashi G. Takaoka
6007a1b7a9
Refactor KeyboardTextsSet class
...
Change-Id: Ibb59a9d4902db9ec0e00244304be9ab35b215a50
2014-03-20 18:38:59 +09:00
Tadashi G. Takaoka
f64a9d8fd6
Fix subtype count test
...
This is a follow up of I6cce26c4fc.
Because we implement Basque, Galician, and preliminary Myanmar
keyboard.
Change-Id: I055fe4f453cf454bbd65bc8542733411e9d3556c
2014-03-20 17:09:08 +09:00
Tadashi G. Takaoka
e7420f6bd1
Merge "Utilize autoColumnOrder for punctuation more keys"
2014-03-20 08:01:18 +00:00
Tadashi G. Takaoka
844205ca2e
Utilize autoColumnOrder for punctuation more keys
...
Change-Id: I1f8f5013f0bdf93cf590b8bd00d680b31e03d8b0
2014-03-20 16:38:38 +09:00
Tadashi G. Takaoka
7e9e20b7bc
Fix subtype count test
...
Because we implement Basque and Galician keyboard.
Change-Id: I6cce26c4fc17100b8f0511cb38243b1235a2375f
2014-03-20 16:36:21 +09:00
Tadashi G. Takaoka
e884fde8d2
Merge "Fix Armenian punctuation order"
2014-03-20 06:43:50 +00:00
Tadashi G. Takaoka
e4e6e739e8
Merge "Add armenian_phonetic layout tests"
2014-03-20 04:55:58 +00:00
Tadashi G. Takaoka
d51aebd328
Fix Armenian punctuation order
...
Bug: 12623502
Change-Id: I6cc026132922e103d212b663664e7e0aa2404b35
2014-03-20 13:17:38 +09:00
Tadashi G. Takaoka
36c89e7e00
Add armenian_phonetic layout tests
...
This CL adds Armenian (AM) Phonetic keyboard test.
Bug: 13017434
Change-Id: I3b93ef2094b8a9d82ca0e1b88f93136271166ddb
2014-03-20 13:01:17 +09:00
Tadashi G. Takaoka
270bd39af4
Remove Latin comma from Arabic/Persian keyboard
...
Bug: 12807701
Change-Id: Icca63586d561a57b2c15cbfbae0de98dfcc137a3
2014-03-20 11:45:53 +09:00
Tadashi G. Takaoka
b2b01f9125
Add pcqwerty layout test
...
This CL adds No language PC Qwerty keyboard test.
Bug: 13017434
Change-Id: I64df493b884ff0a5d30fe9e66a8c5efffacb71aa
2014-03-19 21:20:33 +09:00
Tadashi G. Takaoka
110e9f9e88
Add Galician keyboard
...
Bug: 13169021
Bug: 13017434
Change-Id: I5d44dc4c2387644028a5cf594954795e014f357a
2014-03-19 19:41:18 +09:00
Tadashi G. Takaoka
0c797e8867
Add Basque keyboard
...
Bug: 13169021
Bug: 13017434
Change-Id: I46c738e833a9f287586a03bda9ab0230f8b9eac1
2014-03-19 19:40:34 +09:00
Tadashi G. Takaoka
9ab9f281f9
Merge "Add cloemak keyboard test"
2014-03-19 10:38:42 +00:00
Tadashi G. Takaoka
4640e7c989
Fix French accented letters order
...
Bug: 13497958
Change-Id: I062a0e2e75b2f6c2606b1309808cbaa83cc91018
2014-03-19 17:43:53 +09:00
Tadashi G. Takaoka
5b2c686885
Add cloemak keyboard test
...
This CL adds No language Colemak keyboard test.
Bug: 13017434
Change-Id: Ifa3480ce874013e0ae6ed62dd842e37f00d7d882
2014-03-19 17:41:21 +09:00
Tadashi G. Takaoka
e40a52cc62
Add dvorak layout tests
...
This CL adds, English Dvorak, French Dvorak, German Dvorak, and No
language Dvorak keyboard tests.
Bug: 13017434
Change-Id: Ie87cee896c687eec279141389a1feda8951fddad
2014-03-19 17:40:18 +09:00
Tadashi G. Takaoka
0dabae720a
Support additional more keys for keyboard layout test
...
Bug: 13017434
Change-Id: I44c31dce3391d9638979539bb5e58c0525186fb4
2014-03-19 17:27:48 +09:00
Tadashi G. Takaoka
54d74ff74a
Fix unit test message
...
Change-Id: I7f98cb5784ebd7a04cd2951f0b62fa4afdcf085c
2014-03-19 15:25:27 +09:00
Tadashi G. Takaoka
b58b529c9a
Merge "Clean up keyboard layout test harness a bit"
2014-03-18 08:48:23 +00:00
Tadashi G. Takaoka
6d44cb5122
Clean up keyboard layout test harness a bit
...
Bug: 13017434
Change-Id: I66e5da53b9afbe44f43b8c398c2821e7a72ec4b4
2014-03-18 17:11:43 +09:00
Tadashi G. Takaoka
1325ddbae3
Merge "Guard possible NumberFormatException"
2014-03-18 07:26:18 +00:00
Tadashi G. Takaoka
d2c6151d4d
Guard possible NumberFormatException
...
Bug: 13472379
Change-Id: Ib7640b3d8816d8d7fb4747d2288eedd94bc49b06
2014-03-18 15:40:43 +09:00
Tadashi G. Takaoka
f4f4ae8fee
Merge "Add hebrew keyboard test"
2014-03-17 10:22:06 +00:00
Tadashi G. Takaoka
7961d3bb02
Add hebrew keyboard test
...
This CL adds Hebrew keyboard test.
Bug: 13017434
Change-Id: I4b200e9d1e70919d671281bf52f671240ddbe63a
2014-03-17 18:31:41 +09:00
Tadashi G. Takaoka
e8facf4559
Fix cosmetic comment typo
...
Change-Id: I9772daaa2f742556b4f63ed8c08693dbce5f7534
2014-03-17 18:05:28 +09:00
Tadashi G. Takaoka
b8f8d2ceb8
Add farsi keyboard test
...
This CL adds Persian keyboard test.
Bug: 13017434
Change-Id: I8c73b0940d78642fa17ac17c88ed5f5d7d7b0fa8
2014-03-17 12:42:46 +09:00
Tadashi G. Takaoka
d28ac52033
Merge "Add lao keyboard test"
2014-03-17 03:25:59 +00:00
Tadashi G. Takaoka
082e033ea2
Merge "Add mongolian keyboard test"
2014-03-17 03:25:51 +00:00
Tadashi G. Takaoka
a8b3748b9a
Merge "Add georgian keyboard test"
2014-03-17 03:25:42 +00:00
Tadashi G. Takaoka
4b94d09444
Merge "Fix Arabic keyboard text and test comments"
2014-03-17 03:25:34 +00:00
Tadashi G. Takaoka
538abc27dc
Fix Arabic keyboard text and test comments
...
Bug: 13017434
Change-Id: Iec2ddab719e0c68a70bcf56a90eb4522c5fd7978
2014-03-17 11:56:13 +09:00
Tadashi G. Takaoka
1234c7c4c6
Add georgian keyboard test
...
This CL adds Georgian (Georgia) keyboard test.
Bug: 13017434
Change-Id: I8499bda89365a15cfb417bdfc0bf07cf51ab232b
2014-03-17 11:37:18 +09:00
Tadashi G. Takaoka
a62906126a
Add mongolian keyboard test
...
This CL adds Mongolian (Mongolia) keyboard test.
Bug: 13017434
Change-Id: I9241ef442c97a6120e97af97bbd189442e5f35fe
2014-03-17 11:36:48 +09:00
Tadashi G. Takaoka
4a00627fcc
Add lao keyboard test
...
This CL adds Lao (Laos) keyboard test.
Bug: 13017434
Change-Id: I4ae63099d260b14df9663f1bc938cce7c384b9fd
2014-03-17 11:35:26 +09:00
Tadashi G. Takaoka
7db6162622
Add khmer keyboard test
...
This CL adds Khmer (Cambodia) keyboard test.
Bug: 13017434
Change-Id: I610da333950ccada2bf20ae5ea49073292141e86
2014-03-17 10:57:45 +09:00
Tadashi G. Takaoka
bef6a4e209
Cleanup key definitions a bit
...
Bug: 13017434
Change-Id: I0d0cfa2eb62b5030ff3c67fa40d203255e63258c
2014-03-17 10:37:58 +09:00
Tadashi G. Takaoka
e8dd8b99e6
Merge "Add nepali_(romanized|traditional) keyboard layout tests"
2014-03-14 11:05:33 +00:00
Tadashi G. Takaoka
b76cebee18
Merge "Add hindi keyboard test"
2014-03-14 11:04:13 +00:00
Tadashi G. Takaoka
1d6855eecc
Add nepali_(romanized|traditional) keyboard layout tests
...
This CL adds Nepali Romanized, Nepali Traditional keyboard tests.
Bug: Bug: 13017434
Change-Id: Icc00aa8c34e333331a459f8d488621308dfb572b
2014-03-14 20:03:25 +09:00
Tadashi G. Takaoka
e5c0e90221
Merge "Cleanup qwerty expected layout definition a bit"
2014-03-14 11:02:05 +00:00
Tadashi G. Takaoka
d6e561552c
Add hindi keyboard test
...
This CL adds Hindi keyboard test.
Bug: Bug: 13017434
Change-Id: Ie9a4af5b758923474840748e190b1450d958012a
2014-03-14 20:01:48 +09:00
Tadashi G. Takaoka
5c126f81ee
Merge "Add south_slavic keyboard layout tests"
2014-03-14 10:55:51 +00:00
Tadashi G. Takaoka
815690273f
Merge "Add swiss keyboard layout tests"
2014-03-14 10:55:36 +00:00
Tadashi G. Takaoka
a558cbaf69
Merge "Add spanish keyboard layout tests"
2014-03-14 10:55:25 +00:00
Tadashi G. Takaoka
832e075167
Merge "Add qwertz keyboard layout tests"
2014-03-14 10:55:12 +00:00
Tadashi G. Takaoka
e4b742cce8
Add spanish keyboard layout tests
...
This CL adds, Catalan, Esperanto, Spanish, Spanish (US), and Tagalog
keyboard tests.
Bug: 13017434
Change-Id: I0f33bfeb05300e9dd525faac982c5f08e12f1847
2014-03-14 19:48:44 +09:00
Tadashi G. Takaoka
cc7ce4ea9b
Cleanup qwerty expected layout definition a bit
...
Bug: 13017434
Change-Id: I21152679986924fa56966f5476c6e797d92da57c
2014-03-14 19:41:14 +09:00
Tadashi G. Takaoka
ffd7db77c3
Add swiss keyboard layout tests
...
This CL adds French (CH) and German (CH) keyboards tests.
Bug: 13017434
Change-Id: Ic8a1849cb49c4f72a9a7cd9b3f2ce3a848e0334a
2014-03-14 19:37:06 +09:00
Tadashi G. Takaoka
9cd2729c88
Merge "Add greek keyboard layout test"
2014-03-14 10:36:56 +00:00
Tadashi G. Takaoka
38df3a9072
Merge "Add nordic layout keyboard tests"
2014-03-14 10:36:45 +00:00
Tadashi G. Takaoka
3eb267cc46
Merge "Add bulgarian and bulgarian_bds keyboard layout tests"
2014-03-14 10:36:35 +00:00
Tadashi G. Takaoka
e6674070a5
Add bulgarian and bulgarian_bds keyboard layout tests
...
Bug: 13017434
Change-Id: I271476d06941864a44890321231b1f0ad570c05b
2014-03-14 19:31:06 +09:00
Tadashi G. Takaoka
4e3fa63891
Add south_slavic keyboard layout tests
...
This CL adds, Macedonian and Serbian keyboard tests.
Bug: 13017434
Change-Id: I6336a700b42dc886c7b1ccb32da83a5dbf9bd767
2014-03-14 19:30:02 +09:00
Tadashi G. Takaoka
2f23ad940a
Add qwertz keyboard layout tests
...
This CL adds Croatian, Czech, French (QWERTY), German, Hungarian
keyboard tests.
Bug: 13017434
Change-Id: If567f86335d9f4a2985cc73544fe85dee32c9844
2014-03-14 19:25:13 +09:00
Tadashi G. Takaoka
c132390b58
Add nordic layout keyboard tests
...
This CL adds Danish, Estonian, Finnish, Norwegian, and Swedish tests.
Bug: 13017434
Change-Id: I26fa2c42b78f708c0ffa2c3b4e7d340a4306f74b
2014-03-14 19:22:51 +09:00
Tadashi G. Takaoka
a394a62d0b
Add greek keyboard layout test
...
This CL adds Greek keyboard tests.
Bug: 13017434
Change-Id: Iab02d0582d71ebb37a3b96efc258781ed65db203
2014-03-14 19:18:33 +09:00
Tadashi G. Takaoka
be1c44c688
Merge "Add east_slavic keyboard layout tests"
2014-03-14 10:17:51 +00:00
Tadashi G. Takaoka
391eaaeed5
Merge "Add azerty layout keyboard tests"
2014-03-14 10:17:39 +00:00
Tadashi G. Takaoka
240fb4b3ff
Add east_slavic keyboard layout tests
...
This CL adds, Belarusian, Kazakh, Kyrgyz, Russian, and Ukrainian
keyboard tests.
Bug: 13017434
Change-Id: I0c53c66dd062e549485075398ed80e7836b50566
2014-03-14 19:10:52 +09:00
Tadashi G. Takaoka
a56681c9cd
Add azerty layout keyboard tests
...
This CL adds French and Dutch (Belgium) keyboard tests.
Bug: 13017434
Change-Id: I06dc20c86493ef67dda141b49523bb3ce7960d94
2014-03-14 19:04:36 +09:00
Tadashi G. Takaoka
8e63a8eaa0
Add arabic keyboard layout test
...
Bug: 13017434
Change-Id: If22733ceff08ac8568943ec461e018ea586afc23
2014-03-14 19:02:32 +09:00
Tadashi G. Takaoka
598c311ce0
Add thai layout test
...
This CL adds Thai keyboard test.
Bug: 13017434
Change-Id: Ic0d7a0807e03ac93509ef9f48b97eebe5456ea71
2014-03-14 18:43:37 +09:00
Tadashi G. Takaoka
cd15cfdaab
No need to specify dimensions for AbstractKeyboardBuilder
...
Bug: 13017434
Change-Id: I1cce6d9f072dff8ce2a53b8089f09105ba812a2b
2014-03-14 18:37:40 +09:00
Tadashi G. Takaoka
746f94c671
Add ZWNJ_ZWJ_KEY for keyboard layout test
...
This CL also refactors Symbols and SymbolsShifted class a bit.
Bug: 13017434
Change-Id: I42bfe96553ea8447fc834d29c09ce1ce7794650d
2014-03-14 16:32:09 +09:00
Tadashi G. Takaoka
74f259a74e
Add moreKeys helper method for unit test
...
Bug: 13017434
Change-Id: Icfaa4093686e2d8dec00d5acce894bfc6a2474b7
2014-03-14 15:54:25 +09:00
Keisuke Kuroyanagi
599e61d70c
Merge "Change default decaying parameters."
2014-03-14 06:16:02 +00:00
Keisuke Kuroyanagi
4ba6eec9fd
Merge "Fix unit tests."
2014-03-14 05:12:51 +00:00
Keisuke Kuroyanagi
98705b6bf5
Fix unit tests.
...
Change-Id: I2a85763358e1eef0f76ef827413afffeb4cb8058
2014-03-14 12:27:23 +09:00
Keisuke Kuroyanagi
73a2426d45
Change default decaying parameters.
...
Bug: 13458617
Change-Id: I4942af4a48881fb6ca866c74140b262e6d323f4a
2014-03-14 12:23:24 +09:00
Tadashi G. Takaoka
1912609a9e
Add qwerty keyboard layout tests
...
This CL adds Afrikaans, Azerbaijani (AZ), Dutch, English (UK), French
(CA), German (QWERTY), Icelandic, Indonesian, Italian, Latvian,
Lithuanian, Malay (NY), Polish, Portuguese (BR/PT), Romanian, Slovak,
Slovenian, Swahili, Turkish, Vietnamese, Zulu, and No Language
keyboards tests.
Bug: 13017434
Change-Id: I2343dc8e74172ac551ef86f82453ae796b6f19dc
2014-03-14 10:42:27 +09:00
Tadashi G. Takaoka
15a6b66dda
Refactor keyboard layout test more customizable
...
Bug: 13017434
Change-Id: I804b4cb9f56684d425e83a20cb3f71d947a87f98
2014-03-13 20:55:22 +09:00
Keisuke Kuroyanagi
61467744e7
Unit test update for I7ed95a54344d8b.
...
Change-Id: Ic8af56b8741ee7c231d73ce6a660fd32c9f5a3b3
2014-03-12 15:41:20 +09:00
Tadashi G. Takaoka
8542c48c30
Cleanup private method names
...
This is a follow up of Ib0ded6f98a.
Change-Id: I91ad3504d301113680194ad5b10913fc86006150
2014-03-11 19:04:57 +09:00
Tadashi G. Takaoka
8c1965ba04
Add keyboard layout name constant
...
Change-Id: I6cdc3efdb58e7a1efb3e352d80d0aa41e333a150
2014-03-11 18:41:55 +09:00
Tadashi G. Takaoka
bab437fb3b
Another small cleanup for test code
...
Change-Id: Ib0ded6f98a6ce9197c8af79778af59d894ee54a6
2014-03-11 17:55:11 +09:00
Tadashi G. Takaoka
0722e6b3df
Small cleanup for test code
...
Change-Id: I5106c8c52bdd11bfd23aa2e09f7ea53504083679
2014-03-11 17:28:19 +09:00
Tadashi G. Takaoka
f247b171ce
Refactor currency and quotes keys tests
...
Bug: 13017434
Change-Id: I38dff3c8b9b28eff4397c7cdbad623fb43cbc312
2014-03-11 16:11:31 +09:00
Keisuke Kuroyanagi
32326a9d7a
Merge "Move DictionaryOptions from FusionDictionary to FormatSpec."
2014-03-07 10:42:18 +00:00
Tadashi G. Takaoka
a0a8d96c49
Merge "Filter Spacer before keyboard layout test"
2014-03-07 10:33:37 +00:00
Tadashi G. Takaoka
8c6b34e51d
Filter Spacer before keyboard layout test
...
Bug: 13017434
Change-Id: I836d2f79a839ee77325535c08d7a59bb02b83c28
2014-03-07 19:18:51 +09:00
Keisuke Kuroyanagi
a103e29d00
Merge "Separate WeightedString from FusionDictionary."
2014-03-07 09:07:26 +00:00
Tadashi G. Takaoka
0dc53b0699
Add en_US keyboard layout test
...
Bug: 13017434
Change-Id: I3fb343721221ecae210bffcb3e83ce4f2df0d0ff
2014-03-07 17:44:36 +09:00
Tadashi G. Takaoka
238e9898cd
Add QWERTY expected keyboard layouts
...
Bug: 13017434
Change-Id: Ia8a65b692521f0050f003e20712a5873a0b236b4
2014-03-07 17:39:54 +09:00
Tadashi G. Takaoka
ff8405cdfb
Add ActualKeyboardBuilder for testing keyboard layouts
...
Bug: 13017434
Change-Id: I38b1f5c261ea1f3ff312c780d7d9b5fe3fba8aaf
2014-03-07 17:29:58 +09:00
Tadashi G. Takaoka
f7c84f35c7
Add ExpectedKeyboardBuilder for testing keyboard layouts
...
Bug: 13017434
Change-Id: I77ea2a60b1f3adf061689c68971d136ea5cf595e
2014-03-06 19:32:43 +09:00
Keisuke Kuroyanagi
3ad4af2354
Move DictionaryOptions from FusionDictionary to FormatSpec.
...
Bug: 8187060
Bug:13035567
Change-Id: Id4f45e589521ae98c926a4c0607be10ce1a983f2
2014-03-06 18:53:09 +09:00
Keisuke Kuroyanagi
516f86815d
Separate WeightedString from FusionDictionary.
...
Bug: 8187060
Change-Id: I40c1dafca3eb52244c64fdb4c1db30a56385d678
2014-03-06 18:53:06 +09:00
Tadashi G. Takaoka
c39c912a33
Add ExpectedKey for testing keyboard layouts
...
Bug: 13017434
Change-Id: I1c3b2c9cd1b86bdd782fc522b83380ec112f863b
2014-03-06 18:13:28 +09:00
Keisuke Kuroyanagi
274eae95ba
Merge "Separate utility methods from BinaryDictionary."
2014-03-05 10:07:33 +00:00
Keisuke Kuroyanagi
e784148ae6
Separate utility methods from BinaryDictionary.
...
Bug: 8187060
Change-Id: Ice2984e332b7bd3bb17174aefc80b5635b72fc50
2014-03-05 18:19:34 +09:00
Tadashi G. Takaoka
3da9e4ade0
Add action key label/icon tests
...
Bug: 13017434
Change-Id: Ib04b377f4f4f9081573ef341f15b4b444ce7260c
2014-03-04 15:42:59 +09:00
Tadashi G. Takaoka
73b3b81149
Separate flaky unit test from KeyboardLayoutSetTestsBase
...
Move the flaky unit test to KeyboardLayoutSetSubtypesCountTests.
Bug: 13291370
Bug: 13017434
Change-Id: I2144be4cc6b8215b895c45f47a5190fdeaa806f9
2014-03-04 15:40:40 +09:00
Tadashi G. Takaoka
3f91acdc96
Add additional subtypes test
...
Change-Id: I2994fd72bc284c84757f5a2bfa8045aa574a8fbc
2014-03-03 17:16:02 +09:00
Tadashi G. Takaoka
d648d066ea
Fix unit test message to use 0-based index
...
Change-Id: I2c91628d21dc96712f6cbea996f28f5d39fb402e
2014-03-03 12:39:53 +09:00
Keisuke Kuroyanagi
684f5f18b1
Merge "Added a method and run GC for testing."
2014-02-28 09:33:51 +00:00
Keisuke Kuroyanagi
d302b98ce6
Added a method and run GC for testing.
...
Bug: 13231889
Change-Id: If64b7422967c3e4107c845072b64a7bb26a35f7e
2014-02-28 18:17:09 +09:00
Tadashi G. Takaoka
5c7c538f16
Add unit test message for KeyboardLayoutSetTests
...
Change-Id: Ia92e4b410ca966d2dc1c5f29a340d366aa066838
2014-02-28 13:15:27 +09:00
Tadashi G. Takaoka
b24dc822bc
Name constants of the number of subtypes.
...
This is a follow up CL of Ief028e8ab5.
Bug: 13017434
Change-Id: Idf0a47300c208b9904ffcc8b64d97a43b4d708ae
2014-02-27 12:37:20 +09:00
Tadashi G. Takaoka
997ba1b41e
Merge "Add keyboard layout set tests"
2014-02-27 03:08:42 +00:00
Tadashi G. Takaoka
dd01a0bb1d
Add keyboard layout set tests
...
This CL is a ground work to add keyboard layout labels and more keys
tests.
Bug: 13017434
Change-Id: Ief028e8ab563d79bc0b0f9c06f1fe1d645a6469d
2014-02-26 16:10:52 +09:00
Tadashi G. Takaoka
53b62fe7d0
Add KeyboardTextsSetTests
...
- Text "label_to_alpha_key" needed to implement Emoji keyboard exists.
- Test the text from resources are loaded correctly.
Bug: 13017434
Change-Id: Idfb9ac87c1556c535ebc10eaef78d8166799a657
2014-02-25 12:24:55 +09:00
Jean Chalard
890b44e537
Correctly read the header of APK-embedded dicts
...
Bug: 13164518
Change-Id: I8768ad887af8b89ad9f29637f606c3c68629c7ca
2014-02-24 22:54:01 +09:00
Tadashi G. Takaoka
8e2951f299
Merge "Fix punctuation test for tablet"
2014-02-21 11:54:28 +00:00
Tadashi G. Takaoka
d28a58c25d
Fix punctuation test for tablet
...
It seems that some test devices are tablet and some are phone. The
unit test should aware of which device the test is running.
Change-Id: I8651a540993de29aa1cd9f40919dffe7a8df9512
2014-02-21 17:50:07 +09:00
Keisuke Kuroyanagi
239256b156
Merge "Add an auto-correction by user history test."
2014-02-21 07:59:05 +00:00
Keisuke Kuroyanagi
4cc582f3ba
Add an auto-correction by user history test.
...
Bug: 11122480
Change-Id: I830bb3399f9839a80c6d86fbf582299bce424871
2014-02-21 13:12:26 +09:00
Keisuke Kuroyanagi
e03e4257f1
Merge "Add test only methods to test personalized dicts."
2014-02-20 13:25:59 +00:00
Keisuke Kuroyanagi
d36328cecf
Add test only methods to test personalized dicts.
...
Bug: 11122480
Change-Id: I79a4a73ff09a2d34d4ca094d705e901fb4bc855c
2014-02-20 22:20:43 +09:00
Keisuke Kuroyanagi
21f9482999
Fix: UserHistoryDictionaryTests.testDecaying().
...
Bug: 13106697
Change-Id: If81f77c3cefdefae94cb9145aa9f700494f8237a
2014-02-20 21:23:57 +09:00
Keisuke Kuroyanagi
0bc66daae3
Add user history dictionary decaying test.
...
Bug: 10667710
Change-Id: Ib2be57d8c4cbbb34f64555d84ea6fd571cfdd247
2014-02-20 18:36:46 +09:00
Jean Chalard
fbb8cb5a82
Fix build
...
This is a forgotten rebase
Change-Id: I7c7c381775488ed9239dc284bd9c31247a86a972
2014-02-18 20:08:53 +09:00
Jean Chalard
28e0b24965
Merge "Fix a bug where the cache would be out of sync"
2014-02-18 10:58:50 +00:00
Jean Chalard
fe92c174ea
Fix a bug where the cache would be out of sync
...
During recorrection, the cursor position when calling
commitText is not necessarily at the end of the
composing text.
Besides, RichInputConnection assumes the cursor is
always after any composing text. This is not correct,
but in the practice, it seems all code paths work.
We should fix this in the future.
Bug: 13060691
Change-Id: I15f71fff62d36e80cf6e4a022c5e78af634b199d
2014-02-18 19:55:54 +09:00
Jean Chalard
63be066544
Cleanup.
...
Less code, less chance of stuff escaping, and a bit of a clarification.
Yay.
Change-Id: I3193fd8ad7ac28195260cbc231c4e498a63a460c
2014-02-18 17:07:46 +09:00
Yohei Yukawa
6d43124215
Stop using deprecated InputMethodSubtype constructor
...
The constructors of InputMethodSubtype were deprecated in API level 19.
However we cannot yet switch to a new InputMethodSubtypeBuilder style
due to our minimum support API level.
As an intermediate solution, this patch replaces the these API calls
with InputMethodSubtypeCompatUtils.newInputMethodSubtype so that
these legacy API call can be consolidated at the same place.
BUG: 13030512
Change-Id: I561a585f5dbea56c337680b645be5ef07015a0b1
2014-02-17 15:32:33 +09:00
Keisuke Kuroyanagi
95d16561e0
Remove unused code.
...
Bug: 12810574
Change-Id: I9c7fff60ae0e94d52f3bd19c3e88de5a53b917d7
2014-02-15 17:39:24 +09:00
Keisuke Kuroyanagi
0fc93fe445
Implement PatriciaTriePolicy::getNextWordAndNextToken().
...
Bug: 12810574
Change-Id: Id1d44f90de9455d9cbe7b6e0a161cae91d6d422c
2014-02-15 17:39:20 +09:00
Keisuke Kuroyanagi
85fe06e759
Merge "Remove unused argument from readDictionaryBinary."
2014-02-14 10:37:56 +00:00
Keisuke Kuroyanagi
8e3a1d0f89
Remove unused argument from readDictionaryBinary.
...
Bug: 12810574
Change-Id: Ice415ebd8d11162facca3fe8927ef8a616b11424
2014-02-14 19:02:15 +09:00
Keisuke Kuroyanagi
8fa7a09f1e
Merge "Implement PatriciaTriePolicy::getWordProperty()."
2014-02-14 09:08:09 +00:00