Commit Graph

404 Commits (407f8a3216ad1ec403ed1c3aeb7c46192eae3cd8)

Author SHA1 Message Date
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
Tadashi G. Takaoka 9eec53a2c2 Merge "Reorder German umlaut letters" 2014-04-10 06:26:21 +00:00
Tadashi G. Takaoka 0ce38865d7 Merge "Reorder Greek accented vowels" 2014-04-10 06:25:25 +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 d1cc4e0beb Reorder Greek accented vowels
Bug: 13941339
Change-Id: I501e69d8f28526e3791ee8a338345926ff1b9a4c
2014-04-10 15:20:17 +09:00
Tadashi G. Takaoka 043d9bc2c9 Separate ItalianCustomizer as a top level class
This is a follow up of I57df8ca12b

Change-Id: I6a73de1ddecaf39ba42e03956e022cf7a398c864
2014-04-10 15:06:23 +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
Tadashi G. Takaoka 9a924d7b00 Add Spanish (Latin America) subtype (es_419)
Bug: 7531804
Change-Id: I183443779f8d9d472ac5e528e1d905366bd83c90
2014-04-09 19:09:17 +09:00
Tadashi G. Takaoka daf75d275e Add en_IN subtype
Bug: 13914988
Change-Id: Ifd497a6a1d2686490e388e10e391475e97e9c166
2014-04-09 12:48:43 +09:00
Tadashi G. Takaoka cafc8de2b2 Fix subtype count unit test due to Ic7c17d9656
Change-Id: Id708752e0d97a78ce02623956e32b990bc2a1cfd
2014-04-04 00:09:08 +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 8e3c585265 Make NeedsToDisplayLanguage as a top level class
Change-Id: Ia05e0494a9dccebfb5c1316479e52f04cf2ae444
2014-03-28 17:59:57 +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
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
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
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
Tadashi G. Takaoka 8c6b34e51d Filter Spacer before keyboard layout test
Bug: 13017434
Change-Id: I836d2f79a839ee77325535c08d7a59bb02b83c28
2014-03-07 19:18:51 +09: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
Tadashi G. Takaoka c39c912a33 Add ExpectedKey for testing keyboard layouts
Bug: 13017434
Change-Id: I1c3b2c9cd1b86bdd782fc522b83380ec112f863b
2014-03-06 18:13:28 +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
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
Tadashi G. Takaoka 7ae6721ffa Remove RTL aware !code and add corresponding !text
Change-Id: I9021c8fa1cf2d4ac07579237a939c15551509a0b
2014-02-13 17:32:09 +09:00
Tadashi G. Takaoka a9e1db6636 Merge "Decimal number is treated as outputText" 2014-02-07 09:26:04 +00:00
Tadashi G. Takaoka 3bbd50c36b Use SubtypeLocaleUtils.isRtlLanguage
Change-Id: Ic0208412cd9c02975641cb5c448d092f28786746
2014-02-06 18:15:32 +09:00
Tadashi G. Takaoka 4a64ad9538 Decimal number is treated as outputText
Change-Id: I9d4a8ac5dd26a7c41fcfbe1842a40f347a2f2aab
2014-02-06 16:30:12 +09:00
Tadashi G. Takaoka f7d8b8fcbc Treat a sole "|" as a special case of key label
Change-Id: Ia72c31d15c891fa522935ba9792e88fd5d8ce7f7
2014-02-05 17:57:44 +09:00
Tadashi G. Takaoka d9c6b33209 Add null check to KeySpecParser
Change-Id: Ic37db8cbf8f83f753d7381e1edba8eac1ef1ceb1
2014-02-05 17:49:26 +09:00
Tadashi G. Takaoka 2151216c09 Rename base test class KeySpecParserTestsBase
Change-Id: I41e1ccb3f0cfde4e5ae311a763e5659e5ff71d3c
2014-02-05 14:55:36 +09:00
Tadashi G. Takaoka 853e8d8869 Add KeySpecParser unit test
Change-Id: Ie1c32daecefc2909e58056f515631cbd7de687f7
2014-02-04 19:01:45 +09:00
Tadashi G. Takaoka e855093f55 Move some methods to MoreKeySpec class
Change-Id: I025ed15e36ac3113db6a5fccefa0c87f016703fa
2014-01-31 20:19:48 +09:00
Tadashi G. Takaoka 0bae2ab460 Refactor KeyboardTextsSet class
Change-Id: I0b48c85aa2c291e1e7ee25d61c558700fc677e29
2014-01-31 16:31:07 +09:00
Ken Wakasa 2fa3693c26 Reset to 9bd6dac470
The bulk merge from -bayo to klp-dev should not have been merged to master.

Change-Id: I527a03a76f5247e4939a672f27c314dc11cbb854
2013-12-13 17:13:32 +09:00
Satoshi Kataoka e3150664ae Revert "Remove symbols shifted layout related code"
This reverts commit 1cd027850b.

Bug: 9059539

Change-Id: I1880b799e2d0f148ae913f13cffa1b8cac48be60
2013-09-04 16:27:34 +09:00
Satoshi Kataoka 5169937dd4 Revert "Revert "Support Emoji keyboard""
Window resizing junkiness is addressed in I605e657c9468

This reverts commit aabc972338.

Change-Id: I0bc0f1ad9a90799e643fe9ec35f5b4bbe94eee0d
2013-08-30 19:46:10 +09:00
Ken Wakasa aabc972338 Revert "Support Emoji keyboard"
This reverts commit d7791a93b0.

Change-Id: I5ca4c0227f97540e8a22b487b5056dfa3611082b
2013-08-30 07:23:42 +00:00
Tadashi G. Takaoka d7791a93b0 Support Emoji keyboard
Bug: 6370846
Change-Id: I33ce8f952799c89929996a226ac17731a953ec2a
2013-08-29 19:48:34 +09:00
Tadashi G. Takaoka 1cd027850b Remove symbols shifted layout related code
This is a follow up of I7fe6520e4e.

Bug: 9059539
Change-Id: Idb39906ddb1e2234a0d1c7c4d5e6fc728090e79e
2013-08-24 00:07:23 +09:00
Tadashi G. Takaoka 0c3a9b549c Make RunInLocale as top-level class
Change-Id: I07ed606b7aba098a5be85533e5baff300b21fb44
2013-07-24 16:00:25 +09:00
Tadashi G. Takaoka b80cc628ff Fix KeySpecParserSplitTests
Change-Id: Icf4525c735cda0330a3bd0f9628165ec722b64a8
2013-07-23 19:29:33 +09:00
Tadashi G. Takaoka e6c5184742 Fix NPE in SubtypeLocale.getSubtypeDisplayName
This change moves the methods that create the subtype display name for
spacebar from MainKeyboardView to SubtypeLocale class, and
consolidates SpacebarTextTests with SubtypeLocaleTests.

Bug: 9962955
Change-Id: Ifa0a08ff80bc30753a213c2feb471599ca63fa66
2013-07-23 13:00:04 +09:00
Tadashi G. Takaoka b0e76724ed Fix IllegalArgumentException in MoreKeysKeyboard
It seems that MainKeyboardView.getMeasuredWidth() returns weird
value. Using KeyboardId.mWidth as main keyboard width may resolve the
issue.

Bug: 9684622
Change-Id: I975bfb934b8d2448e72555a3ccae0123341186b9
2013-07-19 11:43:50 +09:00
Tadashi G. Takaoka f87e8f7ec1 Handling key repeat by emulating key press and code input
This change also eliminates a reference of
AudioAndHapticFeedbackManager from KeyboardSwitcher and MainKeyboard.

Bug: 6522943
Change-Id: Iac42ec8ff00c66deb76a660ffc07477923a58959
2013-07-02 19:50:34 +09:00
Ken Wakasa e28eba5074 Move util classes to the latin/utils directory
Change-Id: I1c5b27c8edf231680edb8d96f63b9d04cfc6a6fa
2013-06-24 17:04:40 +09:00
Tadashi G. Takaoka 9552badf3c Add CODE_CAPSLOCK for long press shift key
This change utilizes the no panel auto more key feature to implement
long press shift key for shift lock.

Change-Id: I3995d25dc35aea3c67b5aa29299815462eff9cad
2013-06-04 18:20:06 +09:00
Tadashi G. Takaoka 2a9882a433 Rename methods for readability
Change-Id: I8fc2c90cf8d3dce11740f8e61edf6dfde9b1c116
2013-06-03 17:52:21 +09:00
Tadashi G. Takaoka 94af6d9e7f Merge "Make unit test independent from test device locale" 2013-05-28 11:48:09 +00:00
Tadashi G. Takaoka 35091716e7 Fix unit test assert helper method
Change-Id: Id03bf0910708d07b45286dccf8f2bfc97a362ba0
2013-05-28 20:39:39 +09:00
Tadashi G. Takaoka 8586a43424 Make unit test independent from test device locale
Bug: 9112465
Change-Id: I4fe39bebf130799397485dbe6d23199a29a8641e
2013-05-28 20:24:15 +09:00
Tadashi G. Takaoka dbed20ad8d Rename StringUtils.parseCsvString to KeySpecParser.splitKeySpecs
Change-Id: I16e3f3ebc43772cfd96c824afeddfd225404b857
2013-05-28 20:23:37 +09:00
Satoshi Kataoka c92e87faf3 Add smoothing utils / matrix libs
Bug: 8556775
Change-Id: I7e0516b344937b84b7d57cc4e5009b7f88e7dc98
2013-05-27 18:08:49 -07:00
Tadashi G. Takaoka 94027c7201 Use Locale.ROOT for locale neutral operations
Bug: 9112465
Change-Id: I6cd63007287b5a1a57cfbabff35d53f66fc5620e
2013-05-24 12:07:30 -07:00
Tadashi G. Takaoka 6f9105383a Remove unnecessary methods of KeyboardSwitcher
Change-Id: Idd3647bb1a1d40df8bb89eda715d45427a58d0cd
2013-05-22 10:49:53 -07:00
Tadashi G. Takaoka 41016acacf Back to previous keyboard layout by canceling sliding input
Bug: 8915171
Change-Id: Iabdeb7920f67f89246087c3ee06240406ecfbc3d
2013-05-14 20:28:03 +09:00
Tadashi G. Takaoka 979fb7415b Fix PointerTrackerQueue.releaseAllPointerOlderThan
Change-Id: If353869720895ee5355079c15c724132762dd70c
2013-05-14 15:32:21 +09:00
Tadashi G. Takaoka 7f8dd50b8f Save automatic shift state while orientation changing
Bug: 8734294
Change-Id: Ib2bc262aacedf786a318c2fe1bd4420a21e7d847
2013-05-02 15:48:56 +09:00
Tadashi G. Takaoka 307f49b8c1 Mark some unit tests as @MediumTest
Change-Id: Iaa0a691903526f57510a0305c02cc42cf8d90f9e
2013-05-02 11:25:35 +09:00
Tadashi G. Takaoka 13d5da8b88 Don't triger onPress and startLongPressTimer when gesture is canceled
Bug: 8650846
Change-Id: Ice5ef07d6833422906b0b756206e097f75d1f2db
2013-04-22 19:36:08 +09:00
Jean Chalard 8094bf45d7 Match the keyboard state to the recapitalize state.
Bug: 7657025
Change-Id: I2f8fe7fc4596a498322ba5ccabbd0c18a2bc36cf
2013-04-16 14:25:03 +09:00
Tadashi G. Takaoka b12c2af32e Tighten unit test condition of MoreKeysKeyboardBuilder
Bug: 8601979
Change-Id: Icf584f3b35adce69cc3dfc46f3aacfef05e5dd2a
2013-04-15 09:58:18 +09:00
Jean Chalard 99b93d17d5 Fix a bug where autocorrection status would be wrong.
Change-Id: Ic220129dc59f585164dbf63591cd1c96de17fe6f
2013-04-10 17:49:19 +09:00
Tadashi G. Takaoka d20c5a78e2 Separate StringUtils.capitalizeFirstCharacter
Bug: 8582061
Change-Id: Iac8f65defdd92d7df533bdf0e2937ad897d96363
2013-04-10 14:55:23 +09:00
Tadashi G. Takaoka 75028af28c Interpolate gesture preview trails
There is the boolean flag to kill interpolation.

Bug: 7167303
Change-Id: Iac7e4cb88cf437c2ee77c003c9cddb92416025c7
2013-04-01 19:15:36 +09:00
Tadashi G. Takaoka 9f3774c194 Remove reference to string.english_ime_name
Bug: 6789579
Change-Id: I062c076f0ca16cc39274e20955aa83d667b7380d
2013-03-22 14:08:23 +09:00
Tadashi G. Takaoka ce6bcdd1a5 Separate caps mode related utils to CapsModeUtils
Change-Id: I32700c434b296bb3fd39e040c2dda1fe90667daf
2013-02-12 18:15:42 +09:00
Tadashi G. Takaoka b3fd701181 Move parseCsvString to StringUtils
Change-Id: I602f33991ca57b6057ec2defe01573552b322857
2013-02-12 16:18:19 +09:00
Tadashi G. Takaoka b4598f7d05 Add unit tests tags
Bug: 8131968
Change-Id: Ibca5a0d63a492134b8af401a62ca3a5748e003cf
2013-02-04 17:21:30 -08:00
Tadashi G. Takaoka 8630cd9d17 Remove keyboard layout description on the spacebar
Bug: 8056376
Change-Id: I33f07e7a044c2b5fc20de40c7a9777dab493e41c
2013-01-28 11:49:44 +09:00
Tadashi G. Takaoka 4b3cae9b0c Refactor SubtypeLocale to hold Resources
Change-Id: Ia667bc2d406d66c87215dd3b9569f36f4642cfe0
2013-01-23 16:23:11 +09:00
Tadashi G. Takaoka cc2636b4e1 Remove automatic switch back to alphabet feature
Change-Id: I4600c808f2ec31c18d3698a43afa7f4be9407e3e
2013-01-18 18:44:27 +09:00
Tadashi G. Takaoka f90fc105ab Simplify singleton class initialization
Change-Id: I16a27f2ed6ea66184bfdc9903180372cd7ea2fd1
2013-01-07 19:05:31 +09:00
Tadashi G. Takaoka 85e397cd10 Set additional subtypes before getting current subtype
Bug: 7594188
Change-Id: I1977acb7189f8eb186b9b20a3e5b64b4aaabf191
2012-11-28 14:49:38 +09:00
Tadashi G. Takaoka 0567d144a3 am 7ba02315: am b172725c: am 7d045829: Request update shift state after shift-chording input
* commit '7ba02315abf3f6fe2e40fcb248ccf1cab8dee179':
  Request update shift state after shift-chording input
2012-11-27 11:36:53 -08:00
Tadashi G. Takaoka b3f789799a Cancel gesture typing by sliding out from keyboard
Bug: 7594165
Change-Id: I7849d763e49b57716e8418fb8b6f90eca3a5d2ec
2012-11-22 17:49:56 +09:00
Tadashi G. Takaoka 7d045829b8 Request update shift state after shift-chording input
Bug: 7529860
Change-Id: Iec82459348722be358ae2ded15deafac21749dcd
2012-11-21 16:12:40 +09:00
Tadashi G. Takaoka 6fbbab3b84 Enhance ImfUtils to InputMethodManagerWrapper class
Change-Id: I6ff86ee819a446dd3ed5f9c3400d23564027b020
2012-11-12 15:23:43 +09:00
Tadashi G. Takaoka 240871ecaf Move code point constants from Keyboard to Constants class
Change-Id: Iee01d4d2b916d0b584531104ac865ae6e6370a3d
2012-10-29 16:04:20 +09:00
Tadashi G. Takaoka 35ff94547c Separate inner classes of keyboard package out under internal package
Change-Id: Ia3969bd5ddec5aa5d81d05ad4cf676d818587922
2012-08-30 15:37:55 +09:00
Tadashi G. Takaoka 5f282ea9e4 Add CollectionUtils class to create generic collection easily
Change-Id: I6b4de9187e122298e5e9cd8ddc9070d062df6a89
2012-08-22 10:21:38 +09:00
Tadashi G. Takaoka 7ae1fd02d4 Use ArrayList to implement PointerTrackerQueue
Change-Id: Ie386e6c7869df4df940e09fccffc5cd661134557
2012-08-08 14:18:30 +09:00
Tadashi G. Takaoka 0cc425bd9c Add PointerTrackerQueue unit tests
This is a groundwork to elminate LinkedList from PointerTrackerQueue.

Change-Id: Ib77780537ceb0b4273fb8e483977ab76124c5ce7
2012-08-07 16:56:41 +09:00
Tadashi G. Takaoka c8e45ddb03 Rename LatinKeyboardView to MainKeyboardView
Change-Id: I8f3123b8d727c7beb72e226f80c17794f89c8b60
2012-07-23 12:11:43 +09:00
Tadashi G. Takaoka 9a5bf1d12e Use InstrumentationTestCase and get rid of AndroidTestCase.getTestContext call
Bug: 6202480

Change-Id: I19e04f17614e70867f8383d08667e350d753cde9
2012-06-12 11:23:56 -07:00
Tadashi G. Takaoka 9a3211802b Add unit tests for double tap shift key
Bug: 6568746
Change-Id: I84db31ce86e3e043ac9f9bb971663a629fa3d3c7
2012-05-29 19:23:45 +09:00
Tadashi G. Takaoka 2959fc0f13 Delay shift lock transient until long pressed shift key is released
Bug: 5424586
Change-Id: Ib602af1b38b1b109bdac9cb0c53132169556db2f
2012-05-29 18:14:11 +09:00
Tadashi G. Takaoka fb0a4ba8fd Add unit tests for long press shift key
Bug: 5424586
Change-Id: I8465b7e2cebb07a135e24ea33eb7b7fb6752f7a2
2012-05-29 18:11:07 +09:00
Tadashi G. Takaoka 0d6d4c20ce More precise KeyboardState unit test
Bug: 5424586
Change-Id: I838c82e3fe4629929cbd6e21111d139e7becab55
2012-05-29 16:42:43 +09:00
Tadashi G. Takaoka 0a3362d264 Make KeySpecParser case sensitive again
Partially revert I76c3e917.

Bug: 6561272
Change-Id: I5649a8ecb44bd11c67785ea97ddbb67b0a019ccc
2012-05-28 19:07:51 +09:00
Tadashi G. Takaoka 7ab7f66c2d Fix adjusting key's label/code case
With this fix, we may probably be able to revert I76c3e917 (Make
KeySpecParser case insensitive).

Bug: 6561272
Change-Id: Ic7571560d7b422ffc9a07f0acecd388e0b330d50
2012-05-28 12:34:49 +09:00
Tadashi G. Takaoka 16950d65c3 Reset automatic upper case when chroding key is pressed
Bug: 6501446
Change-Id: Idc3b88b5370c0d7968cc388885e9066f922cfcf3
2012-05-21 19:24:43 +09:00
Tadashi G. Takaoka 2972ccb851 Add multi touch and shift chording unit tests
Bug: 6501446
Change-Id: Iac423d152702241adae77fe1c343541d70608269
2012-05-21 15:01:41 +09:00
Tadashi G. Takaoka 553e2f19c1 Change auto caps mode argument to int type
Bug: 6501446
Change-Id: I3f7bc0fc39edd29ebf96107c3d43b9ccc9b8022e
2012-05-18 17:46:05 +09:00
Tadashi G. Takaoka 757c12556b Get subtype name string resource from its own locale
Bug: 6443655
Change-Id: Ib9ee55178f0d0f885aa0640b9cba4a179cf0c566
2012-05-07 00:44:54 +09:00
Tadashi G. Takaoka 27b42ced86 Fix "no language" subtype name (DO NOT MERGE)
* Move SubtypeLocale.get{Full,Middle,Short}DisplayName() to
  LatinLeyboardView and add unit tests (SpacebarTextTests).
* Add SubtypeLocale.getSubtypeDisplayName()

This is a cherry-pick of I57420c6a from Master.

Bug: 6393865
Change-Id: I68748189c17c73984ac4ae05a5a40fb54bf46453
2012-04-26 11:50:28 +09:00
Tadashi G. Takaoka 6bfd5f6319 Fix confusable "label" usage, use "text" instead
* Rename makelabel tool to maketext
* Rename KeyboardLablesSet class to KeyboardTextsSet
* Rename "!label/name" to "!text/name"

Change-Id: Ia9494a89fe56f20ca8e8fedb253adbcf8b771bd3
2012-04-20 15:48:30 +09:00
Tadashi G. Takaoka cf41aff251 Use string attribute for icon name
Change-Id: I336acf33c7e6bc993b9da9b17ec689975fa8127d
2012-04-20 15:31:42 +09:00
Tadashi G. Takaoka 2f16fd40fa Make KeySpecParser case insensitive
Change-Id: I76c3e9179dd8777d3cf3138ad76513d83672debf
2012-04-20 13:20:08 +09:00
Tadashi G. Takaoka a58ebc73ae Fix typo of some methods' name
Also changes some methods' argument type from Locale to String.

Change-Id: Ib68b528a450dc68a01546483403230f76500bee4
2012-04-18 16:40:50 +09:00
Brett Chabot 5abbf24eb0 Remove format method from tests.
Will be added to superclass.

Bug 5826326

Change-Id: I61478661b822823112f774745a6642a6185366d3
2012-04-11 19:03:19 -07:00
Tadashi G. Takaoka 2be51f4fd0 Generate KeyboardLabelsSet from donottranslate-more-keys.xml
This change introduces makelabel tool that reads all languages'
donottranslate-more-keys and generate KeyboardLabelsSet.java source
file. The makelabel command must be invoked prior to compile LatinIME.

Change-Id: I7515c7919c535e30f9c80a37bdc831d0f682cd43
2012-04-11 11:23:47 +09:00
Tadashi G. Takaoka 8834e3dbce Fix KeyboardCodesSet code mapping
This is a follow up for Icfd6d06f.

Change-Id: I9a11c6f1c8d9654e3fb004940791055c2bcf9f17
2012-04-10 15:09:26 +09:00
Tadashi G. Takaoka 7f0c503afc Use !icon/<icon_name> notation for more keys spec
Change-Id: I616e6c1ac603d2eb7a5c99ec70d5411371d15f3e
2012-04-10 12:01:07 +09:00
Tadashi G. Takaoka ed3bac91f2 Introduce KeyboardCodesSet.java and remove keycodes.xml
Change-Id: Icfd6d06f47425aa037682d22c895548ba6f047d8
2012-04-10 11:53:58 +09:00
Tadashi G. Takaoka 5ef4fccbb9 Support dividers in MoreKeysKeyboard
Bug: 6080806
Change-Id: Iacd78c6aab6abf948717d34da7489a79c41316d2
2012-03-02 20:52:25 +09:00
Tadashi G. Takaoka 42fd1d2d72 Refactor more keys spec handling
Change-Id: Ibd95eff0725724ea35ad58e1d1ec7ec3d02a6e90
2012-03-01 16:07:02 +09:00
Tadashi G. Takaoka 4ba2216219 Reset previous symbols shifted state when auto switch backed
Bug: 6072517
Change-Id: I00337b3ed5c85df4627e8f5a02465d406c4d9178
2012-03-01 01:01:09 +09:00
Tadashi G. Takaoka fed72d6038 Merge "Support fixed order more keys" 2012-02-17 01:01:28 -08:00
Tadashi G. Takaoka aeeed75848 Support fixed order more keys
Change-Id: I979f54e8b54243da4d23cfbe08198d2aa495f870
2012-02-17 00:49:18 -08:00
Tadashi G. Takaoka beb08b398f Remove unnecessary and harmful KeyboardState.onUpdateShiftState call
This change also cancels double tap and long press timers if other
letter key is pressed after shift key.

Bug: 5693999
Bug: 6017610
Change-Id: I3b5f3debfb8915fa73a93b409a38afadf24132e9
2012-02-16 18:02:17 -08:00
Tadashi G. Takaoka 6213983fa1 Refactor MoreKeysKeyboard.Builder
Change-Id: Ib5f58b1143be60c748b81299ccc3b237d2587846
2012-02-10 18:53:54 +09:00
Tadashi G. Takaoka 2affaf91a0 Rename mini keyboard to more keys keyboard
Change-Id: Ie4c85e8ca5a1f41a420aae5c1cd9c1cb07e237e5
2012-02-08 16:12:31 +09:00
Tadashi G. Takaoka c217dc9237 Convert one letter Key.outputText to Key.code
This change also uses Key.code instead of Key.outputText for the
variety of parentheses keys taht introduced by I85998f17.

Bug: 5975484
Change-Id: I86879c9942d264edc71e5893325a2f582763d12f
2012-02-07 22:34:20 +09:00
Tadashi G. Takaoka aca8870128 Recursively resolve @string/resource reference in key key spec parsing
Change-Id: I9d172605e90e828e00f7c4c8d49548498aa3b50d
2012-02-03 20:03:23 +09:00
Tadashi G. Takaoka 9f491e34ac Merge "Filter out empty entry from more keys CSV" 2012-02-03 01:54:49 -08:00
Tadashi G. Takaoka 24cd2617f5 Filter out empty entry from more keys CSV
Change-Id: I9a26aaa58f0f502b3bfef9de422370d2b0add8d8
2012-02-03 18:48:01 +09:00