Commit Graph

1830 Commits (2b6a1fed767080aaa71acbd591d30b9f436b0499)

Author SHA1 Message Date
Tadashi G. Takaoka 9d0c15d9b4 am da3ba3e2: am 8ec3a42d: Merge "Check duplicated entry of "custom input style"" into jb-dev
* commit 'da3ba3e2549cc69c360fede58b7e170d92e67b0a':
  Check duplicated entry of "custom input style"
2012-05-21 11:52:36 -07:00
Jean Chalard 0fff311150 am b4f0e7a7: am d7515a0b: Merge "Add open-source-able word lists to AOSP." into jb-dev
* commit 'b4f0e7a7a0acaa4678c2b507c3b30c7a2579fa6d':
  Add open-source-able word lists to AOSP.
2012-05-21 11:52:24 -07:00
Jean Chalard 239401745b am 7557d3c6: am bc77adef: Merge "Return the bigram frequency if available." into jb-dev
* commit '7557d3c6f3e7669fa213dbabda0f399e496b56b7':
  Return the bigram frequency if available.
2012-05-21 11:52:23 -07:00
Tadashi G. Takaoka 2164e19c4a am e7c7852c: am 5748a7ce: Merge "Split Portuguese subtype into pt_BR and pt_PT" into jb-dev
* commit 'e7c7852cbf2c72dcac969d4aa88700ee2ea7e3b3':
  Split Portuguese subtype into pt_BR and pt_PT
2012-05-21 11:52:17 -07:00
Jean Chalard 1a47c7b706 am c493cde8: am 892c000b: Merge "Add a whitelisted word" into jb-dev
* commit 'c493cde8ad4f15cad660ff42c993509b35ad91f6':
  Add a whitelisted word
2012-05-21 11:52:16 -07:00
Tadashi G. Takaoka ef674f677c am f579f51b: am a1500959: Merge "Tidy up number password layout" into jb-dev
* commit 'f579f51b0444cfe613c3edefedaae33c629b6860':
  Tidy up number password layout
2012-05-21 11:52:10 -07:00
Tadashi G. Takaoka 3b35e505d0 am 86fc5445: am eca2912a: Fix ".com" key width on 7-inch tablet
* commit '86fc5445ef2a6ef0ff7d9ff4f8bb96ac2457408d':
  Fix ".com" key width on 7-inch tablet
2012-05-21 11:51:41 -07:00
Ken Wakasa aefa7f1ab9 Add entires I forgot to add in Id1c89be1
bug: 6354484
Change-Id: Iea6fa4df99b38d94e517423a7030b4f0440d4f6e
2012-05-19 19:46:53 +09:00
Ken Wakasa 16e7d13475 Remove unnecessary entries in the English whitelist dictionary
bug: 6354484
Change-Id: Id1c89be171f23d2bf8c8289e61f573520b46de14
2012-05-18 20:52:23 +09:00
Jean Chalard 1fc0c71fad Update French/English dictionaries to the latest version
Change-Id: I9c98280f900914d1af22b47019ebc0ad5ab175de
2012-05-18 18:54:37 +09:00
Tadashi G. Takaoka d7b80c4eee Merge "Use large label text size for action label" into jb-dev 2012-05-17 21:30:42 -07:00
Tadashi G. Takaoka 88d378bce9 Use large label text size for action label
The large label text size is used for:
* The enter key's action label on phone/number keyboard layout of
  phone device and 7-inch tablet
* The enter key's action label on alphabet/symbols keyboard of 7-inch
  tablet.

Bug: 6509415
Change-Id: I1c0dc511b3ac87cba00163b8d29c687ad1e86ce8
2012-05-18 13:06:37 +09:00
Tadashi G. Takaoka 515c4e48b0 am 437ee806: am 18ce0731: Update language switch icon
* commit '437ee80628909e8593ca1eb02becc49a69c42f4c':
  Update language switch icon
2012-05-17 20:56:26 -07:00
Tadashi G. Takaoka a26bda7c2f Increase CHAR LIMIT of some string resources
Bug: 6513954
Change-Id: If4aa1032bc7e615c77e3a64c6e8f8dbb0a020d8d
2012-05-18 11:09:39 +09:00
Tadashi G. Takaoka 817a66e7e6 Merge "Support large label text ratio in KeyboardView" into jb-dev 2012-05-17 18:32:24 -07:00
Tadashi G. Takaoka a08759f6b1 Support large label text ratio in KeyboardView
Bug: 6509415
Change-Id: Ide48c36126c23d91612c322a1027257c9b967e6b
2012-05-17 20:38:48 +09:00
Tadashi G. Takaoka 8ec3a42d2b Merge "Check duplicated entry of "custom input style"" into jb-dev 2012-05-17 04:36:16 -07:00
Tadashi G. Takaoka 749b2a388e Check duplicated entry of "custom input style"
Bug: 6495488
Change-Id: Ia6c2421cb0e7c1793d4dfe18acd07fd6f8c5d797
2012-05-17 20:20:41 +09:00
Jean Chalard d7515a0bdf Merge "Add open-source-able word lists to AOSP." into jb-dev 2012-05-17 03:32:29 -07:00
Jean Chalard 8fec807800 Add open-source-able word lists to AOSP.
Bug: 6458744
Change-Id: If28aeb7360ee7ec7408f55934ca2a684f032e338
2012-05-17 19:20:04 +09:00
Jean Chalard bc77adefbb Merge "Return the bigram frequency if available." into jb-dev 2012-05-17 03:15:40 -07:00
Tadashi G. Takaoka 5748a7ce86 Merge "Split Portuguese subtype into pt_BR and pt_PT" into jb-dev 2012-05-17 02:07:13 -07:00
Jean Chalard 892c000b6d Merge "Add a whitelisted word" into jb-dev 2012-05-17 02:05:09 -07:00
Tadashi G. Takaoka 93a1ac2213 Split Portuguese subtype into pt_BR and pt_PT
Bug: 6510103
Change-Id: I91e13e7ecdf4fc9a2f3e3d647b70fb4b672321f5
2012-05-17 18:00:51 +09:00
Jean Chalard fea28ab1ba Add a whitelisted word
Change-Id: Id776b63dfadeba815f619ed0536bb14febc3aee7
2012-05-17 18:00:30 +09:00
Tadashi G. Takaoka a1500959b6 Merge "Tidy up number password layout" into jb-dev 2012-05-17 00:58:15 -07:00
Tadashi G. Takaoka eca2912a99 Fix ".com" key width on 7-inch tablet
Change-Id: I5f843993e819bbc2e84f4d721cf7892d5518d7f6
2012-05-17 13:16:50 +09:00
Tadashi G. Takaoka 6de535c35e Tidy up number password layout
Bug: 6462191
Change-Id: Idd156e2fd651b80a6b5ebb2b10d88e107febbddb
2012-05-17 13:06:26 +09:00
Tadashi G. Takaoka 18ce073119 Update language switch icon
Bug: 6129414
Change-Id: I1232e2bafed47c93f30470537cc334a755cf7a4d
2012-05-17 09:16:53 +09:00
Eric Fischer 4c4fd10d91 Import translations. DO NOT MERGE
Change-Id: Ia9a8ccaa502e31e49abff2392d5ac4971dcf3789
2012-05-16 14:36:12 -07:00
Eric Fischer c01ff687ce Import translations. DO NOT MERGE
Change-Id: I81a628c87810826dc6c2fb31035a8f7ef22d414a
2012-05-16 14:33:14 -07:00
Eric Fischer 09675b89a6 Merge "Import translations. DO NOT MERGE" 2012-05-16 09:49:11 -07:00
Eric Fischer e78218b8e1 Merge "Import translations. DO NOT MERGE" into jb-dev 2012-05-16 09:49:05 -07:00
Ken Wakasa cf74ead3d7 DO NOT MERGE. Hide the usability study mode for the production
Change-Id: Ic0ffe56cd5314a00e81ba99148162dfb3ea1b044
2012-05-16 22:59:03 +09:00
Jean Chalard 9416c81403 Return the bigram frequency if available.
This concludes the work on bug#6313806.
Don't submit it before the dictionaries are suitably amended.

Bug: 6313806
Change-Id: Icfea45bd52bb9d8cc68ba2266f80640e3942bb7f
2012-05-16 21:14:06 +09:00
Tadashi G. Takaoka cfbb9d76e9 Merge "Tweak keypress sound volume default value of Grouper" into jb-dev 2012-05-16 03:25:51 -07:00
Tadashi G. Takaoka 8b791ddd6a Tweak keypress sound volume default value of Grouper
Bug: 6499913
Change-Id: I645e40ad02c14b463854f91ec45c1be9c598e46e
2012-05-16 19:10:10 +09:00
Jean Chalard 1defff313a Merge "Add some whitelist entries." into jb-dev 2012-05-16 02:31:14 -07:00
Jean Chalard 02ec1c91c4 Add some whitelist entries.
Change-Id: I77ddcb7ec26b0295e37c34bb69f358a182f45592
2012-05-16 18:13:43 +09:00
Tadashi G. Takaoka 7566448ddf Show dialog to guide the user to input subtype enabler
Bug: 6370433
Change-Id: Ic5777c1d95fe2ce9f48c72b8cc05c7ac250f4cdf
2012-05-16 16:19:00 +09:00
Tadashi G. Takaoka f91739b41e Merge "Fix 3rd row of bulgarian BDS keyboard" into jb-dev 2012-05-15 20:04:09 -07:00
Tadashi G. Takaoka c880eca7fc Fix 3rd row of bulgarian BDS keyboard
Bug: 6501927
Change-Id: Ia96ee076a5522c0ec1ce40d35ccc54d880fc86ab
2012-05-16 11:56:13 +09:00
Eric Fischer de6da6a6e3 Import translations. DO NOT MERGE
Change-Id: I337505cf96c90c1b695dd19785964655b225ee3f
2012-05-15 19:07:11 -07:00
Eric Fischer e8d5537c5e Import translations. DO NOT MERGE
Change-Id: I5a64ecb9f9bbc09ce466c050a09f5757302dfec8
2012-05-15 19:04:23 -07:00
Tadashi G. Takaoka 140689ddc8 Update voice icon
Bug: 6499541
Change-Id: I18a4173265d4135c50753037adf51aa7b76a40a6
2012-05-16 09:41:47 +09:00
Tadashi G. Takaoka 30236efee1 Remove "fillBoth" enum value from keyWidth attribute of Key
Change-Id: Icc5ffb8286aeda298b46aeba05e44608e342bc57
2012-05-15 12:27:34 +09:00
Tadashi G. Takaoka ea468ee687 Merge "Slightly wider space key for 10-inch tablet layouts" into jb-dev 2012-05-14 20:23:02 -07:00
Tadashi G. Takaoka bfbcbe5a14 Slightly wider space key for 10-inch tablet layouts
This change also removes the usage of "fillBoth" keyWidth from 10-inch
tablet layouts.

Change-Id: Ie6844fc096712daa24e09b3d67dde48d1c03eb46
2012-05-15 12:03:00 +09:00
Eric Fischer 4bc4eb27bc Import translations. DO NOT MERGE
Change-Id: I782170eaa860b92b2a293f629a2118cf22877ff2
2012-05-14 15:17:54 -07:00
Tadashi G. Takaoka 6bec442f01 Merge "Slightly wider keys for 7-inch tablet layouts" into jb-dev 2012-05-14 07:36:46 -07:00
Tadashi G. Takaoka 0d1a193d5a Slightly wider keys for 7-inch tablet layouts
This change also removes the usage of "fillBoth" keyWidth from 7-inch
tablet layouts.

Bug: 6480505
Change-Id: I9ed58e0b49138fa9e1610c2b008798eedb19dd26
2012-05-14 18:34:52 +09:00
Tadashi G. Takaoka f3d9221d99 Fix popular domain key ".com" width
Bug: 6483245
Change-Id: Ie44fd71f848a254ec79c2e061ed050f139ff5aac
2012-05-14 14:02:09 +09:00
Eric Fischer d7889d0fed Import translations. DO NOT MERGE
Change-Id: I6b1e690b678488f38ae84bf862796c32d346371e
2012-05-11 15:49:04 -07:00
Tadashi G. Takaoka a6204bbe2a Fix Spanish keyboard to have easy access to inverted ? and !
Bug: 6480385
Change-Id: Iae7879b5264711962a662f4b3d47a834bda715be
2012-05-11 19:17:53 +09:00
Tadashi G. Takaoka 2de0b52a03 Merge "Reorganize punctuations and diacritics of Arabic and Persian" into jb-dev 2012-05-11 03:06:33 -07:00
Tadashi G. Takaoka ef6dadbe6c Reorganize punctuations and diacritics of Arabic and Persian
Bug: 6029665
Change-Id: Id72d5af2c9c8fff09a366819901c950b87756dea
2012-05-11 15:48:56 +09:00
Tadashi G. Takaoka d995452d2e Merge "Add Bulgarian BDS keyboard" into jb-dev 2012-05-10 22:22:22 -07:00
Tadashi G. Takaoka 3904af7ef1 Add Bulgarian Phonetic keyboard
Bug: 5738545
Change-Id: I4779136e717efd2934acaa68abc469016d08cd37
2012-05-11 14:14:29 +09:00
Tadashi G. Takaoka 286c594dc3 Add Bulgarian BDS keyboard
Bug: 5738545
Change-Id: I20f31c4ff57a06e6df93ce3cfe4d032afd5bacc7
2012-05-11 12:32:25 +09:00
Eric Fischer 79525efec5 Import translations. DO NOT MERGE
Change-Id: I6955e7f746cbe31e27e32aa8d2d33dccf465f571
2012-05-10 15:06:38 -07:00
Tadashi G. Takaoka 0462f4dced Fix 10-inch tablet layout
* Fix missing delete key for greek
* Remove shift keys from farsi
* Move delete and enter key down for farsi
* Tweak 3rd-row key position of nordic

Bug: 6422448
Change-Id: I2066c1927f60660513c89615488520f716a15fa5
2012-05-10 19:20:19 +09:00
Tadashi G. Takaoka 60ece5cba5 Merge "Tidy up Hindi 7-inch layouts" into jb-dev 2012-05-10 02:56:16 -07:00
Tadashi G. Takaoka e6241e2543 Merge "Tidy up Arabic and Farsi 7-inch layouts" into jb-dev 2012-05-10 02:54:20 -07:00
Tadashi G. Takaoka c44a3e07a3 Merge "Tidy up 11-11-{7,8,9} 7-inch tablet layouts" into jb-dev 2012-05-10 02:54:14 -07:00
Tadashi G. Takaoka 3b7d40f464 Merge "Tidy up 10-10-7 7-inch tablet layouts" into jb-dev 2012-05-10 02:54:08 -07:00
Tadashi G. Takaoka 7aa6c030cf Tidy up Hindi 7-inch layouts
* Remove right shift key from hindi (same as east_slavic)

Bug: 6422448
Change-Id: Icea9a027c825f74471425abea261d5499f02c2c6
2012-05-10 18:50:49 +09:00
Tadashi G. Takaoka edde070a90 Tidy up Thai 7-inch layouts
* Remove right shift key from thai
* Add comma and period keys

Bug: 6422448
Change-Id: I40ff445ee763d964860fe6eb46e7168534a98c35
2012-05-10 18:36:44 +09:00
Tadashi G. Takaoka 09d942e0da Tidy up Arabic and Farsi 7-inch layouts
* Tweak key width and positon for arabic.
* Move delete and enter key down for farsi.

Bug: 6422448
Change-Id: I4fce1f4761eb1b53e432900c19e455a023721fc6
2012-05-10 18:28:38 +09:00
Tadashi G. Takaoka 2363d0c931 Tidy up 11-11-{7,8,9} 7-inch tablet layouts
* Add gutters between shift keys and letters for nordic
* Slightly narrower 3rd-row letter keys for bulgarian
* Remove "ъ" key from 1st-row of east_slavic
* Remove right shift for 11-11-9 east_slavic and south_slavic

Bug: 6422448
Change-Id: I2311bd475aabda51080f0be3714fabffa65b2009
2012-05-10 18:27:58 +09:00
Tadashi G. Takaoka 4739b21b41 Tidy up 10-10-7 7-inch tablet layouts
Bug: 6422448
Change-Id: I0c1721462572da7be7850d670c4f86d0c18cb610
2012-05-10 18:26:38 +09:00
Tadashi G. Takaoka 5fc2c22d43 Tidy up 10-9-7 7-inch tablet layouts
* Slightly smaller key width and larger shift key and space key.
* Both left and right shift key has the same width.
* Move the 2nd-row slight right.

Bug: 6422448
Change-Id: If27028eaac20c503c352ba35dd156befc53918c7
2012-05-10 15:26:55 +09:00
Tadashi G. Takaoka bced82709a Merge "Fix calculation of more keys keyboard position based on key preview" into jb-dev 2012-05-09 06:04:47 -07:00
Tadashi G. Takaoka 7ecc1081ab Fix calculation of more keys keyboard position based on key preview
Bug: 6135881
Change-Id: Id1c4e2c13d13b474466cb9b42b425aa9f6f9448b
2012-05-09 21:23:09 +09:00
Tadashi G. Takaoka 465003441f Fix key preview background of GB theme
To match with the requirements of Id1c4e2c1

Bug: 6135881
Change-Id: If877fffb3863101edec2fa96f1fa4ae016c017f1
2012-05-08 17:07:58 +09:00
Tadashi G. Takaoka 47021b7a94 Merge "Preserve enter key's label case" into jb-dev 2012-05-07 21:12:02 -07:00
Tadashi G. Takaoka a10003281d Preserve enter key's label case
Bug: 6449347
Change-Id: I897df3a3c5464eaccf04c8b1cba70ccf313dd0bb
2012-05-08 12:57:34 +09:00
Tadashi G. Takaoka 7b6afb1287 Enable long-press spacebar on 7 inch tablet
This change also eliminate useless attribute longPressSpaceKeyTimeout
of LatinKeyboardView.

Bug: 6449356
Change-Id: Ib4dace4b9510c0eb96bdddacf8e0dbaa14fcfbbf
2012-05-08 12:50:07 +09:00
Eric Fischer 22d196cb17 Import translations. DO NOT MERGE
Change-Id: Ic65c9b1373f39ff3fde9631e516d56b05eae2d1f
2012-05-07 14:39:45 -07:00
Tadashi G. Takaoka 8e50c5d198 Fix subtype name for a custom input style with en_US and en_GB
This change utilizes "UntranslatableReplacementStringInSubtypeName"
subtype extra value to display keyboard layout name dynamically.

Bug: 6449315
Change-Id: I9ef4c3d66ff9a223aa8c89c346d04cb72e4f6263
2012-05-07 03:25:08 +09:00
Tadashi G. Takaoka ee8ac602e8 Preserve label case of to-symbol-key
Bug: 6443192
Change-Id: I66c3c13d43c04fef4731ad2b4edabd8cd32f9437
2012-05-06 15:58:17 +09:00
Eric Fischer a995714184 Import translations. DO NOT MERGE
Change-Id: I5527274e1462dab152b4b3bf907343d22ec0e102
2012-05-03 16:34:22 -07:00
Eric Fischer 558f073311 Import translations. DO NOT MERGE
Change-Id: I4f26fabb1968b81ba8646deb459a2ebd0fc07fe3
2012-05-02 14:50:24 -07:00
Eric Fischer a1c89d9dbf Import translations. DO NOT MERGE
Change-Id: Ia71f1f0df919691792648da0d4b6eb41edcf5747
2012-05-01 14:12:13 -07:00
Tadashi G. Takaoka aec1770ed1 Tune letter text size of 7 inch tablet
Bug: 6422086
Bug: 6411272
Change-Id: Ia3c40206555353b6f0c633a529d546dc2379e9aa
2012-05-01 19:56:40 +09:00
Tadashi G. Takaoka dadcfcf011 Merge "Narrow horizontal gap of 7 inch tablet landscape" into jb-dev 2012-05-01 03:51:20 -07:00
Tadashi G. Takaoka 7995703ded Narrow horizontal gap of 7 inch tablet landscape
Change-Id: I20579d75f5669909efd18a70b47cd44f471fd452
2012-05-01 19:24:48 +09:00
Tadashi G. Takaoka d780963db7 Auto X scale domain key label
Bug: 6411275
Change-Id: I94906adb6936371f5275a1494f6f8b5546633a2b
2012-05-01 19:21:15 +09:00
Tadashi G. Takaoka dd5e6e6559 Remove duplicated functional keys
Bug: 6410931
Change-Id: I07e84729da00d335e3864b9324bb1261df8968f7
2012-05-01 19:10:24 +09:00
Tadashi G. Takaoka d16c838d6e Merge "Remove tab key from alphabet layout of tablet 7" into jb-dev 2012-05-01 03:08:24 -07:00
Tadashi G. Takaoka ad5c0dc8f0 Remove tab key from alphabet layout of tablet 7
Bug: 6410889
Change-Id: If7269aa2aeb1b6af9f0286f96c48b68309d646c5
2012-05-01 18:47:00 +09:00
Tadashi G. Takaoka d44c196ae4 Merge "Override defaultActionKeyStyle to use non-blue action background" into jb-dev 2012-05-01 01:33:24 -07:00
Tadashi G. Takaoka 1ecd46189d Merge "Add keyboard bottom padding for 7 inch tablet" into jb-dev 2012-05-01 01:19:29 -07:00
Tadashi G. Takaoka e02de4b9a9 Override defaultActionKeyStyle to use non-blue action background
Bug: 6412932
Change-Id: I1c7335c53a35fc88694224332511415ea63ac745
2012-05-01 17:19:10 +09:00
Tadashi G. Takaoka 6f953ba202 Add keyboard bottom padding for 7 inch tablet
Bug: 6411451
Change-Id: I183e9dca258aa2b632e486ce1d115d1d7f3d739d
2012-05-01 17:05:21 +09:00
Tadashi G. Takaoka 30ce0c4e64 Merge "Fix CHAR LIMIT of some string resources" into jb-dev 2012-04-30 22:54:23 -07:00
Tadashi G. Takaoka 088350d663 Fix CHAR LIMIT of some string resources
Bug: 6421155
Change-Id: I1e2f1fa419c16dcbf483ace7c1a362b51f0dc7bb
2012-05-01 14:15:41 +09:00
Tadashi G. Takaoka ec06215970 Remove tab key from number/phone layout of 7 inch tablet
Bug: 6411288
Bug: 6411588
Bug: 6411840
Change-Id: I44b358ae9c078779d6b1108281c1458387a32948
2012-05-01 12:58:59 +09:00
Tadashi G. Takaoka 3287067185 Remove tab key from phone layout of 7 inch tablet
Bug: 6411288
Change-Id: Ie3836becf787536b7346150008053a985280f61b
2012-05-01 12:15:06 +09:00
Eric Fischer 3bb419ec18 Import translations. DO NOT MERGE
Change-Id: Ie86b666066f353bd16f3c8564111f8c096c32283
2012-04-30 14:22:58 -07:00
Eric Fischer c0e67ea640 Import translations. DO NOT MERGE
Change-Id: I34b791b8bd756e6e68e6e396e5e02bf8950398a3
2012-04-27 14:16:09 -07:00
Eric Laurent 7570954a18 modifications for new system volume policy.
The new system and UX sound volume policy makes that STREAM_SYSTEM
volume is not fixed anymore. It is tracking STREAM_RING (phones) or
STREAM_MUSIC (tablets) in a constrained range between -24dB and -6dB.

Sound Fx where previously played over STREAM_SYSTEM with a fixed
attenuation of -20dB. The default value of 5% in the keypress sound
volume setting was corresponding to -26dB, meaning 6dB below default.

Modified the default volume value to 50% so that by default, keypress sound
volume varies from -30dB to -12dB which is also 6dB below the other system
sounds.

Change-Id: I146f72275b8e88fdce5ccf8b6dae2903c27f15eb
2012-04-26 18:37:10 -07:00
Eric Fischer 681b7bd8b5 Import translations. DO NOT MERGE
Change-Id: I1df0104d5ec4dac73c45667c621cbb671b44e6df
2012-04-26 16:44:11 -07:00
Tadashi G. Takaoka 18f0d1938a Merge "Show settings key when noMicrophone option is enabled on PC QWERTY" into jb-dev 2012-04-26 01:41:38 -07:00
Tadashi G. Takaoka 6b006b4947 Increase CHAR LIMIT in some string resources
Bug: 6374565
Bug: 6381144
Change-Id: I2fff2323e8f0f79df2b71ed030a1a0953b2854c8
2012-04-26 15:38:41 +09:00
Tadashi G. Takaoka 41398ba265 Show settings key when noMicrophone option is enabled on PC QWERTY
Change-Id: Ib419a597e218af347e5d5da19f5ca8b3db8548c7
2012-04-26 15:20:23 +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 49caddbdab Support PC QWERTY layout
Bug: 4460018
Change-Id: I9a29f6a322af66f6a152fa1883b3686c5f7a3328
2012-04-25 16:34:59 +09:00
Eric Fischer b4f5c9c088 Import translations. DO NOT MERGE
Change-Id: I17745dd7dbabcc6409361e1b2fa0141ff3f13e09
2012-04-24 14:17:36 -07:00
Tadashi G. Takaoka bce2c214d1 Use HTML entity for non-ASCII unicode
Change-Id: If8b605778196a5c0a0205ebd49378759027ee265
2012-04-24 18:06:54 +09:00
Tadashi G. Takaoka 3443f52150 Merge "Move functional keys out from rowkeys_symbols{_shift}3." 2012-04-24 00:49:38 -07:00
Tadashi G. Takaoka ab771b01eb Revert keyHintLetterPadding only to apply horizontally
Partially reverts the Ia3680d84.

Bug: 6356125
Change-Id: I8faa810b833cb98ce6f0f760aa1722e63475cd45
2012-04-24 16:20:47 +09:00
Tadashi G. Takaoka 0b6f6729d2 Move functional keys out from rowkeys_symbols{_shift}3.
Change-Id: Iee5e7e93e5f319551a8ad28c58813c00fc713308
2012-04-24 14:25:27 +09:00
Eric Fischer 7f45ec7bb8 Import translations. DO NOT MERGE
Change-Id: I11d27b3c5c1005bd6679f59804f217640f8d5992
2012-04-23 14:03:26 -07:00
Tadashi G. Takaoka c04075b138 Cleanup <include/> and etc. in keyboard XML
* Remove keyXPos and keyWidth from key_*.xml and make it more generic.
* Add keyXPos and keyWidth to <include/> generalized key_*.xml.
* Remove zero width <Spacer/> and fold into successive <include/>.

Change-Id: I4b5c02a165ba0bc9ef8741be0b4938c1efaf5e27
2012-04-24 01:47:03 +09:00
Tadashi G. Takaoka 9a7cdb2051 Merge "Remove alt-code-while-typing from tablet" 2012-04-23 09:37:15 -07:00
Tadashi G. Takaoka 0b27e788fe Remove alt-code-while-typing from tablet
Change-Id: I4471d10e3f7c681c27805b966869c0b47508329f
2012-04-23 20:25:16 +09:00
Tadashi G. Takaoka 4849634c70 Separate Hebrew row4 on tablet
Change-Id: Iea17aa7cae60e131d4b5bfeb78d287915fd04164
2012-04-23 16:41:36 +09:00
Tadashi G. Takaoka 5f1d71fbc8 Modularize shortcut key on 10 inch tablet
Change-Id: Ie4cace33f8bcffd092bea7ce2da0cee5a1cbd685
2012-04-23 15:33:59 +09:00
Tadashi G. Takaoka b560a6cfee Support Colemak layout
Bug: 4460018
Change-Id: I60c3dfaf205c95b92a54022f0256c33f644c8b10
2012-04-23 15:19:37 +09:00
Eric Fischer 7a83ffa45e Import translations. DO NOT MERGE
Change-Id: I901b68d89ab5f04c79b843aa73ec40caa2c1686c
2012-04-20 14:31:48 -07:00
Tadashi G. Takaoka 1b868393fe Merge "Add language switch key to symbols and symbols shifted layout" 2012-04-20 03:30:53 -07:00
Tadashi G. Takaoka 118762b444 Merge "Predefined keyboard layouts are configurable via XML resource" 2012-04-20 03:24:39 -07:00
Tadashi G. Takaoka 3ce085079f Add language switch key to symbols and symbols shifted layout
Bug: 6370179
Change-Id: I061559ea5d0cb11a059de4b6e741f9c17ee69a27
2012-04-20 19:24:18 +09:00
Tadashi G. Takaoka 38026b4f03 Predefined keyboard layouts are configurable via XML resource
Bug: 4460018
Change-Id: Ia03ec826fb3853ea814d9764686903dbe31a6507
2012-04-20 19:19:24 +09:00
Tadashi G. Takaoka 3ee43dccd0 Add language switch key to 7 inch tablet
Bug: 6370443
Change-Id: I4079c4b06de7abd677376094dab341f34aa2d234
2012-04-20 19:01:23 +09:00
Tadashi G. Takaoka 78173bdf53 Support Dvorak layout
Bug: 4460018
Change-Id: I08a9b556720f6c4f7089a8838c0869c9f88f479c
2012-04-20 17:28:32 +09:00
Tadashi G. Takaoka 9fa0a2e83f Modularize keyboard XML files
* Remove duplicated xml-sw768dp/keys_apostrophe_dash.xml
* Separate keys_apostrophe_dash.xml to key_apostorhe.xml and
  key_dash.ml
* Separate key_space.xml from row_qwerty4.xml
* Separate key_f1.xml from xml{,-sw600dp}/row_qwerty4.xml
* Separate keys_f1f2.xml from xml-sw768dp/row_qwerty4.xml
* Fix incorrectly named rows_symbols{,_shift}4.xml to
  row_symbols{,_shift}4.xml

Change-Id: Id71967a016a348174d1fc265b654dbc233c6562e
2012-04-20 16:27:21 +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
Eric Fischer 9d9b44dc67 Import translations. DO NOT MERGE
Change-Id: I80769f5a263835b74a455905d2789e07c2042f16
2012-04-19 14:26:21 -07:00
Tadashi G. Takaoka c27fe6253c Add custom subtype settings
Bug: 4460018
Change-Id: I4919d79516dcf574be2761bbaf9adcdc381b2ddc
2012-04-19 19:33:51 +09:00
Tadashi G. Takaoka 344af15674 Change predefined additional subtype format in preference
This change also refactor StringUtils class

Change-Id: Ie0b4d169b21c260bf238d6fcc9ab0ee8bfd6b508
2012-04-19 17:11:21 +09:00
Eric Fischer d43f7ec1d7 Import translations. DO NOT MERGE
Change-Id: I0e373f7cd2b577cca91e042b7bb48540d5c09a23
2012-04-18 15:25:32 -07:00
Tadashi G. Takaoka f5a0bd2c28 Make predefined subtype configurable by XML resource
Change-Id: I1f8486a1fb652f1e06789e7bfd2cc57273092234
2012-04-18 22:45:26 +09:00
Jean Chalard bd2897d86e Fix the build
Change-Id: I128224799835bc3c230fed1afce942650e1396e0
2012-04-18 16:29:01 +09:00
Jean Chalard b5365eb8f0 Add interesting corrections to the whitelist
Bug: 6096906
Change-Id: I3b8da88c1547fb94a67a280b60c604041c92e65b
2012-04-18 16:08:49 +09:00
Eric Fischer b9315e9a85 Import translations. DO NOT MERGE
Change-Id: Idd8b8ea44c3b8b5d5dead243fde3189e891f1e9c
2012-04-13 14:40:35 -07:00
Tadashi G. Takaoka c206d04623 Use InputMethodSettingsFragment for IME settings
Change-Id: Id6d9cd0ddf99c0687b6d3ea4b2f868f6cf2a0eaf
2012-04-13 19:56:47 +09:00
Tadashi G. Takaoka f6972561fc Utilize InputMethodSubtype and additional subtype
* Remove de_QY and fr_CH from supported subtypes
* Add de-qwerty and fr-qwertz predefined additional subtypes instead.

Change-Id: I49e8ba0299529302f2b91b4d018b07304cdd6897
2012-04-13 18:36:26 +09:00
Tadashi G. Takaoka 45213ed2a6 Polish fade-in/out animations for the gray-out-while-typing keys
Bug: 6326723
Change-Id: Idb6fa023c497cf1f0f584f496e7e5ae82b1c9f4f
2012-04-12 16:43:24 +09:00
Eric Fischer fad6a2625b Import translations. DO NOT MERGE
Change-Id: Ieadb02a76d86b07b251d3246b3f1355ddfdfc18d
2012-04-11 10:31:56 -07:00
Tadashi G. Takaoka ab0d0d8a02 Add followKeyLabelRatio flag for keyLabelFlags of Key attribute
This change renames largeLetter flag to followKeyLargeLetterRatio as
well.

Change-Id: Ida777aac57e4d885fa051654fe863f493f8e946a
2012-04-11 15:53:38 +09: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
Eric Fischer 7be6ce0fd7 Import translations. DO NOT MERGE
Change-Id: I2d0942b4d3eaf3e62cde5b38034df60c0ac5cd86
2012-04-10 15:16:14 -07: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
Eric Fischer 43822893c9 Import translations. DO NOT MERGE
Change-Id: I3329fe453b8b014ce367e8083ca79bed5b673abb
2012-04-09 15:41:43 -07:00
Tadashi G. Takaoka 264045ef81 Extract keycodes.xml from donottranslate-more-keys.xml
Change-Id: Iaaf47b018b83f3d51dad348a527f17f8d6df21b6
2012-04-09 17:02:40 +09:00
Eric Fischer fba1656352 Import translations. DO NOT MERGE
Change-Id: Iace23e7e6136ae74812aff021d9f7be4abd629d3
2012-04-06 14:42:37 -07:00
Jean Chalard fe4807d52f Remove obsolete resources.
Change-Id: If114306037b23da1c0ef29b7de44ba15de078bb5
2012-04-06 20:01:53 +09:00
Tadashi G. Takaoka fc169c726a Merge "Use keyboardSet extra value of subtype to specify layout type" 2012-04-05 19:17:30 -07:00
Eric Fischer 1cbd8d09dd Import translations. DO NOT MERGE
Change-Id: I9a3d2ce38cab8721064389dd61be6114f6df3f27
2012-04-05 15:59:37 -07:00
Jean Chalard 80f2ccc236 Update the names and default values of bigram options.
Bug: 6293595

Change-Id: I9978a1127c64b7a26a5ccf6f777366f7c4e214db
2012-04-05 21:07:40 +09:00
Tadashi G. Takaoka 11d9ee742f Use keyboardSet extra value of subtype to specify layout type
Change-Id: Ice1f345a08a8d760e3b847c885c4072e3e142c97
2012-04-05 17:25:15 +09:00
Tadashi G. Takaoka b082c95a2b Use no language "zz" to disable shortcut key
Change-Id: Ifba5bbd4298ecf84cc5e0ebdb4fc8494eafff62e
2012-04-04 14:35:55 +09:00
Tadashi G. Takaoka 23bcd664c0 Update Thai keyboard comment
Bug: 6070772
Change-Id: Iae59e3c34ee4ea8878f17b8d775a2a4cb886718c
2012-04-04 14:15:53 +09:00
Tadashi G. Takaoka 3bf57a5624 Use "No language (QWERTY)" for language agnostic QWERTY keyboard name
Bug: 6010147
Change-Id: I401c2e3fcd639c0e1a03e64489a0d792810caa18
2012-04-04 12:58:42 +09:00
Tadashi G. Takaoka 19457316c1 Remove CAN_HANDLE_ON_CURRENT_INPUT_METHOD_SUBTYPE_CHANGED boolean
Bug: 6129704
Change-Id: I7643e656c6e7656eff339cc301dd32f34dee83a4
2012-04-02 23:22:49 +09:00
Tadashi G. Takaoka 79dcd270e5 Tweak keyboard layout size a bit
* Enlarge 3rd row of phone keyboard slightly for nordic and slavic.
* Fixed the width of the first key of each rows on 10 inch tablet.

Change-Id: I5b1936d7f19db30d2f45aff03a255c2a505a2e7f
2012-04-02 17:26:25 +09:00
Tadashi G. Takaoka 850f3a8525 Merge "Remove digit and Thai digit more keys from shifted Thai keyboard" 2012-04-02 00:36:39 -07:00
Tadashi G. Takaoka 9d3626ae0b Remove digit and Thai digit more keys from shifted Thai keyboard
Bug: 6070772
Change-Id: I21bc0ad3687899bdfa580e2c5c34df500fc174ea
2012-04-02 16:18:52 +09:00
Tadashi G. Takaoka d5fcc79e4c Update Hindi keyboard
* Remove "U+090E: DEVANAGARI LETTER SHORT E" from 3rd row
* Remove "U+0946: DEVANAGARI VOWEL SIGN SHORT E" from 3rd row
* Remove digit and Devanagari digit more keys from shifted layout
* Replace digit keys on symbol layout with Devanagari digit keys
* Enlarge 3rd row of phone layout slightly

Bug: 5964777
Change-Id: I2a4f85bf11fbec3820a79a026d95c8f73a9cf604
2012-04-02 16:06:19 +09:00
Eric Fischer 57471f59c4 Import translations. DO NOT MERGE
Change-Id: Id999b394a37669f66c9860aa5a67ac9ef2ae3d32
2012-03-30 14:41:58 -07:00
Tadashi G. Takaoka 3224878351 Merge "Add language agnostic QWERTY subtype" 2012-03-30 03:03:55 -07:00
Tadashi G. Takaoka 7fbc51965a Merge "Remove unused resources" 2012-03-30 03:03:51 -07:00
Tadashi G. Takaoka fb5b4c4fc3 Add language agnostic QWERTY subtype
Bug: 6010147
Change-Id: I705e38ac889172ae8b7c2a68e5c688f2ffc28320
2012-03-30 18:20:52 +09:00
Tadashi G. Takaoka b264de67ea Remove unused resources
Follow up to Ib27f2774
Bug: 6129704

Change-Id: I75b892a5f97270c270441a00f98e6e7ea1abc424
2012-03-30 18:06:09 +09:00
Tadashi G. Takaoka 8d86a47913 Merge "Add "ij" letter to Dutch keyboard" 2012-03-30 01:55:45 -07:00
Tadashi G. Takaoka 8d34d178cb Add "ij" letter to Dutch keyboard
Change-Id: Ie8c2ec66c3e6bd5a95d34b53782cbc45785cd0b7
2012-03-30 17:39:58 +09:00
Ken Wakasa 338ba2a236 Merge "Remove the "deprecated" classes" 2012-03-30 01:36:49 -07:00
Ken Wakasa 911b8f9d19 Remove the "deprecated" classes
bug: 6129704
Change-Id: Ib27f2774444e1f084b19be3fe6f56d25dffa7084
2012-03-30 16:20:56 +09:00
Tadashi G. Takaoka 478d3fa8bf Fix settings key on more keys keyboard
Bug: 6260868
Change-Id: I0b8113d283fa5d03a02115cd71a5af511982145a
2012-03-30 16:05:25 +09:00
Tadashi G. Takaoka 989abb1295 Cleanup Slavic keyboard resources
* Name keylabel_for string based on layout and position
* Move all default resources to individual donottranslate-morekeys.xml
  And empty the default resources. This is much easier to maintain
* Rename scandinavian resource name to nordic

Change-Id: I34c43238d0cc4e9773a6d355f73a1fe11589e23e
2012-03-30 10:32:44 +09:00
Eric Fischer a8ef547d9b Import translations. DO NOT MERGE
Change-Id: Ieca91db4e16672a88d70d2f87d965f5382b18e05
2012-03-29 14:55:22 -07:00
Tadashi G. Takaoka 8acbce1f78 Merge "Separate leftward arrow from "add to dictionary" hint text" 2012-03-29 01:20:07 -07:00
Tadashi G. Takaoka 499c5e8ad8 Merge "Don't send touch coordinates if proximity characters correction is disabled" 2012-03-29 00:18:28 -07:00
Tadashi G. Takaoka 8dcad2ed47 Don't send touch coordinates if proximity characters correction is disabled
Bug: 6225317
Change-Id: I4fa65e020d838f53066d4a071f58fb6f40583e0b
2012-03-29 16:11:54 +09:00
Tadashi G. Takaoka 2eb8781dc2 Separate leftward arrow from "add to dictionary" hint text
Bug: 6008875
Change-Id: I2be1698e485bc6541163771f41b8b82eaa3cee7a
2012-03-29 15:58:26 +09:00
Tadashi G. Takaoka bc30f5c1f7 Merge "Change shifted key of quote on AZERTY phone to question mark" 2012-03-28 15:55:01 -07:00
Eric Fischer fc50a41078 Import translations. DO NOT MERGE
Change-Id: I9efc30a04a541a96ddd068d3aa9af8d65b6d7ace
2012-03-28 14:16:46 -07:00
Tadashi G. Takaoka 2b21d68aa9 Change shifted key of quote on AZERTY phone to question mark
Bug: 6242861
Change-Id: I8d05d68c2211682d20b0f32966b30212da9f28c7
2012-03-28 22:00:13 +09:00
Tadashi G. Takaoka e07db71d26 Remove SupportTouchPositionCorrection from subtype extra value
Change-Id: Ieedff9ec212f5567405ca276b0f2194132ba7b0c
2012-03-28 19:45:28 +09:00
Tadashi G. Takaoka e354dce078 Shorten maximum keyboard height to 46% of display height
Change-Id: Ie71a7c085bfea4d45c078914eace20aa487f5354
2012-03-28 11:25:45 +09:00
Eric Fischer 8d16a0c9a1 Import translations. DO NOT MERGE
Change-Id: I5baced3e7a0d3a8721b20d1198bae403e5f8b71d
2012-03-27 14:03:02 -07:00
Tadashi G. Takaoka 93070d085d Merge "Add Icelandic keyboard" 2012-03-26 23:46:31 -07:00
Tadashi G. Takaoka dd7871b36a More readable more keys definitions for English keyboard
Change-Id: I6fdb818e8dcb1224fa3ae838ab8264fa927fbb50
2012-03-27 14:40:41 +09:00
Tadashi G. Takaoka 5a4f278485 Add Icelandic keyboard
Bug: 6150881
Change-Id: I8dedbea96f1bc9de30f5f13b0f3479dd55a33469
2012-03-27 14:26:20 +09:00
Eric Fischer 1ebebebc44 Import translations. DO NOT MERGE
Change-Id: Icbb05d5cbdfae8509610cd8270198181499e46ab
2012-03-26 14:42:41 -07:00
Tadashi G. Takaoka 82e43549e4 Merge "Fix Farsi keyboard" 2012-03-26 06:01:01 -07:00
Tadashi G. Takaoka 58d28b1ec9 Fix Farsi keyboard
Bug: 5456620
Change-Id: Ia54f084fbc7a238aeda1df234c723d9e675ce62f
2012-03-26 21:44:48 +09:00
Tadashi G. Takaoka 41b33149ea More readable currency symbol representation
Change-Id: Ifc3dc29ba3b827c3a81acf432b04ac02c79207a2
2012-03-26 18:21:48 +09:00
Tadashi G. Takaoka 8574644009 Add missing ZWNJ icon for tablets
Follow up to I7238f41c.

Bug: 5456620
Change-Id: I3492b38102ecc5af7fc8cddedff1f0319672e3fe
2012-03-26 16:04:47 +09:00
Tadashi G. Takaoka 27bb631f4c Merge "Add ZWNJ and ZWJ icons" 2012-03-25 23:46:29 -07:00
Tadashi G. Takaoka 39390d3f94 Add ZWNJ and ZWJ icons
Bug: 5456620
Change-Id: I7238f41c841803746ca2ab6cd332b2be8498a3ee
2012-03-26 13:05:29 +09:00
Tadashi G. Takaoka 99eb2d3404 Merge "Convert dimension unit "in" and "mm" to "dp"" 2012-03-25 20:21:00 -07:00
Tadashi G. Takaoka 8af62c23ee Fix Thai Keyboard
Bug: 6070772
Change-Id: I0bda4032825cb8bac17d9f800346a77f6903fd30
2012-03-26 10:52:40 +09:00
Tadashi G. Takaoka 9c6d9a56ad Merge "Smaller gap for Thai 5 rows keyboard" 2012-03-23 05:23:08 -07:00
Tadashi G. Takaoka 2a04637f60 Convert dimension unit "in" and "mm" to "dp"
Bug: 6183561
Change-Id: I06d74705fd49566684815853b8f2df7b5a9f9d7e
2012-03-23 21:21:26 +09:00
Tadashi G. Takaoka ad29273553 Merge "Override the keyboard height per device" 2012-03-23 05:19:36 -07:00
Tadashi G. Takaoka e49a987c23 Override the keyboard height per device
Bug: 6183561
Change-Id: I7432552fbe41212e8f412962b16877a2af07eb9c
2012-03-23 21:17:05 +09:00
Tadashi G. Takaoka e0c965dbbd Smaller gap for Thai 5 rows keyboard
Change-Id: Ib7239a3d06db7154fb0fb506fcc64805c18a6787
2012-03-23 20:12:47 +09:00
Jean Chalard 85594cb7df Merge "Add processing for French ligatures." 2012-03-23 02:44:35 -07:00
Jean Chalard cc78d03a62 Add processing for French ligatures.
Bug: 5140033
Change-Id: I1c2751fc617e662aad9f67506e28a622f81d0bc9
2012-03-23 16:50:59 +09:00
Tadashi G. Takaoka 5f32a47e45 Support Thai Keyboard
Bug: 6070772
Change-Id: Ib7078d062801e17db500f0cd0b4b53d5433b75d1
2012-03-23 16:29:44 +09:00
Tadashi G. Takaoka 9835808e83 Merge "Use ObjectAnimator" 2012-03-22 01:39:01 -07:00
Tadashi G. Takaoka 9a964ed595 Fix shift locked keyboard layouts of caseless scripts
The scripts/languages such as Georgian, Hndi have no notion of case.
In such scripts/language, shift locked keyboard should be the same of
manually shifted keyboard.

Change-Id: Iadea3a332674a52188de7f1566727e4b56dced8c
2012-03-22 16:46:24 +09:00
Tadashi G. Takaoka 31c94cea82 Use ObjectAnimator
Bug: 6187069
Change-Id: I7df18b470b7e746da601fab3311fb4b086f40d41
2012-03-22 12:44:46 +09:00
Eric Fischer 2e66afcc10 Import translations. DO NOT MERGE
Change-Id: Iea3ffbd477e54bbccd65266ce4e070efb7a8c3fc
2012-03-21 14:05:45 -07:00
Eric Fischer 96b05034d5 Merge "Move locale-specific configuration out of config.xml." 2012-03-21 09:20:16 -07:00
Tadashi G. Takaoka 4cc44f9f77 Merge "Refactor to memorize device dependent override parameters" 2012-03-21 04:26:39 -07:00
Tadashi G. Takaoka 26e7ce1fa8 Merge "Use "dp" instead of "dip"" 2012-03-21 04:05:21 -07:00
Tadashi G. Takaoka 7c38b73ff2 Use "dp" instead of "dip"
Change-Id: Iaab1032a0ce0f97742288e76221433ef400e4b4f
2012-03-21 19:08:58 +09:00
Tadashi G. Takaoka a6dd0c2761 Use "dp" instead of "sp"
Change-Id: I772d117d88eb7361d8695c4d97c051f0c7397df8
2012-03-21 18:56:09 +09:00
Tadashi G. Takaoka 624f1bab39 Refactor to memorize device dependent override parameters
Change-Id: I79482a8ef3846525669979a30dec183ea18138b5
2012-03-21 18:20:18 +09:00
Eric Fischer 4216350a2a Move locale-specific configuration out of config.xml.
Having it in a translatable file would sometimes cause the translation
importer to try to replace the locale-specific configuration file.

Change-Id: Ib450454b63c1a4de8b85905561a59224b9410147
2012-03-19 09:22:37 -07:00
satok 728d1c884e Cleanup proximity related code
Bug: 4343280
Change-Id: I57c0f9e20d9d8911009ea97057251a7f7a81512f
2012-03-19 18:33:59 +09:00
Tadashi G. Takaoka 53eca32f9e Support preliminary Hindi Keyboard
Bug: 5964777
Change-Id: Id12c75966f6302e6f4ebbd4a8f474e05c601c88a
2012-03-16 17:04:58 +09:00
Eric Fischer 40a50ad738 Import translations. DO NOT MERGE
Change-Id: I128134e201273b00478beb3d091952dd5530230c
2012-03-15 15:13:26 -07:00
Eric Fischer 03bcc5faff Import translations. DO NOT MERGE
Change-Id: I792cacc137b1b782c28b258bf91bf475bd0ced89
2012-03-14 14:45:18 -07:00
Tadashi G. Takaoka 6bc9186457 Disabled key should respond if it is in the altCodeWhileTyping state
Bug: 6128215
Change-Id: I81e9980f8ffa5c5eaba30676c8433f542645de1d
2012-03-14 20:17:42 +09:00
Tadashi G. Takaoka 73a46bfeb7 Gray out "alt-code-while-typing" key icon while typing
Bug: 6128215
Change-Id: Ie9c13d9d38aad6e92cc465e22f3ef20c80e0a36a
2012-03-14 19:36:24 +09:00
Tadashi G. Takaoka f147da0436 Merge "Use XML animator definition" 2012-03-13 21:10:08 -07:00
Tadashi G. Takaoka d7c4ba1709 Use XML animator definition
Change-Id: Ic2f6d3f8fdd2c0b0a00f004f49f95b00d474ee4b
2012-03-14 13:08:27 +09:00
Tadashi G. Takaoka f71c2cfb65 ZWNJ key on Persian shouldn't be altCodeWhileTyping key
Change-Id: I69301a2c61c2e465058309337672f983669e7967
2012-03-14 10:27:02 +09:00
Tadashi G. Takaoka 9319e94606 Merge "Support Persian Keyboard" 2012-03-13 17:39:58 -07:00
Eric Fischer c56ef928d5 Import translations. DO NOT MERGE
Change-Id: I23a7371b635d689966afe63c2c1e42032579a193
2012-03-13 15:42:07 -07:00
Tadashi G. Takaoka fe8555536a Support Persian Keyboard
This is a first trial implementation based on Arabic layout.

Bug: 5456620
Change-Id: Ifa21d7fbd408853a44678623c13b9c078283732c
2012-03-13 22:02:40 +09:00
Tadashi G. Takaoka edf5daa8ed Merge "Support invalidating multiple keys in KeyboardView" 2012-03-13 04:00:15 -07:00
Tadashi G. Takaoka 299ac263b3 Support invalidating multiple keys in KeyboardView
Change-Id: I347ccfc2cf60c17f5f0eddec6566662cb3a954ca
2012-03-13 18:55:05 +09:00
Tadashi G. Takaoka aee5f03d6e Use integer alpha value instead of factor for animation
Change-Id: I3099a7625e0176a1d2be42e58d6eb5fa95797bcb
2012-03-13 16:47:45 +09:00
Tadashi G. Takaoka dabf96896e Move language on spacebar parameters to LatinKeyboardView attributes
Change-Id: I06e5d7d158a9b14b00df34e68b12cd012faf17d1
2012-03-13 16:17:13 +09:00
Tadashi G. Takaoka 6fbcd0d219 Merge "Use Animator to draw language name on spacebar" 2012-03-12 22:57:57 -07:00
Tadashi G. Takaoka 4c0c638a18 Use Animator to draw language name on spacebar
Note that Animator class exists in framework only on Honeycomb or
later.

Change-Id: Ie3392dbf8acc1547ebb2d16e04086c911d961aed
2012-03-13 14:25:57 +09:00
Tadashi G. Takaoka 041c3d3841 Merge "Tweak 7 inch layout a bit" 2012-03-12 21:01:56 -07:00
Eric Fischer 8b4148e757 Import translations. DO NOT MERGE
Change-Id: I8546456a3d567b821a5a409a7459f9043fa04315
2012-03-12 15:25:23 -07:00
Tadashi G. Takaoka 9aa13b58d1 Tweak 7 inch layout a bit
* For 10-9-7 (qwerty, qwertz), keys' width are 9.0%-9.0%-9.0%
* For 10-10-7 (azerty, hebrew, spanish), keys' width are 8.5%-8.5%-8.5%
* For 11-11-{7,8} (arabic, bulgarian, nordic), keys' width are 7.6%-7.6%-7.6%
* For {11,12}-11-9 (south_slavic, east_slavic), keys' width are 7.6%-7.6%-7.363%

Change-Id: Ife4ce0ac587bd179afcfce0cb5dffb8d82fee4f1
2012-03-12 19:29:58 +09:00
Tadashi G. Takaoka fe2dc348e5 Add AZERTY compatible symbols/symbols shifted layouts for tablet
This change also adds Spanish compatible symbols/symbols shifted
layouts for tablet.

Bug: 6100832
Change-Id: Ib5ed9856573657b2680e08f9e64fd09b12a0a27d
2012-03-12 17:53:23 +09:00
Tadashi G. Takaoka b03529aa01 Support disableAdditionalMoreKeys and disableKeyLabelHint
Change-Id: Idfa586417acd4a223380d52f044e3a86eb780b21
2012-03-12 17:45:57 +09:00
Tadashi G. Takaoka 47141f7011 Rename keyboard XML files
* Slavic to East Slavic
* Serbian to South Slavic
* Scandinavian to Nordic

Bug: 6150183
Change-Id: I8f5641aa07b83cbb225f5fd73e351a6f8abe0784
2012-03-12 16:39:29 +09:00
Tadashi G. Takaoka 2de0c4b754 Merge "Separate Greek semicolon key from row" 2012-03-11 21:01:53 -07:00
Tadashi G. Takaoka 0acfaa77ac Merge "Breakdown Slavic keyboard into rows" 2012-03-11 21:01:48 -07:00
Tadashi G. Takaoka b30e719286 Separate Greek semicolon key from row
Change-Id: Ie568da868a0bed4f72652cf7475bdeb752be1f5b
2012-03-12 12:30:24 +09:00
Tadashi G. Takaoka df22f71a16 Merge "Breakdown Serbian keyboard into rows" 2012-03-11 20:06:47 -07:00
Tadashi G. Takaoka b577005a36 Breakdown Serbian keyboard into rows
This change also slightly re-design 7-inch and 10-inch tablet layout

Change-Id: Ibfe11386d865f7c3becf4a60286557921f95036d
2012-03-12 11:30:12 +09:00
Tadashi G. Takaoka 2f85034c5d Breakdown Slavic keyboard into rows
Change-Id: Iff2048839a51e14351ba235ef9d7f5ecbef159e3
2012-03-12 11:29:27 +09:00
Tadashi G. Takaoka fd7b510b24 Breakdown Hebrew keyboard into rows
Change-Id: I25c928a3251424280e2ac4f065126c3019734d20
2012-03-12 10:25:13 +09:00
Eric Fischer 1ce5ff63b1 Import translations. DO NOT MERGE
Change-Id: Ie0609f97096ad1e9dfa8f9b778047723dcf9868f
2012-03-09 14:04:54 -08:00
Tadashi G. Takaoka d492e2bf8d Merge "Breakdown Greek keyboard into rows" 2012-03-08 23:37:02 -08:00
Tadashi G. Takaoka b4fba675f9 Merge "Breakdown Georgian keyboard into rows" 2012-03-08 23:36:55 -08:00
Tadashi G. Takaoka df0c7711a7 Merge "Breakdown Bulgarian keyboard into rows" 2012-03-08 23:24:57 -08:00
Tadashi G. Takaoka e955323ae0 Breakdown Greek keyboard into rows
Change-Id: I160c0e26058b3841b3820ec95b91d59b295339ca
2012-03-09 16:24:48 +09:00
Tadashi G. Takaoka d2732d459f Breakdown Georgian keyboard into rows
Change-Id: Id257ea33586e07a91674f654c33003ec2d5aa73d
2012-03-09 16:10:50 +09:00
Tadashi G. Takaoka 258bd90853 Breakdown Bulgarian keyboard into rows
Change-Id: Ie0da26a48b186be081ad61858116e519019d1973
2012-03-09 16:00:57 +09:00
Tadashi G. Takaoka 4e67085a15 Breakdown Arabic keyboard into rows
Change-Id: Ie2215d8baf501dc7dd87c464deb47fe4267171f6
2012-03-09 15:50:54 +09:00
Tadashi G. Takaoka 9a6ccf9bb0 Merge "Breakdown AZERTY keyboard into rows" 2012-03-08 22:32:24 -08:00
Tadashi G. Takaoka 22375e025b Breakdown AZERTY keyboard into rows
Change-Id: Ibd202d7b141209b3e4310499134522cbd1a8c16c
2012-03-09 15:26:16 +09:00
Tadashi G. Takaoka 85d594a80e Breakdown QWERTY keyboard into rows and share
Change-Id: I0b8ad39120a73395ff5a5b1a32e0f3fe681c062b
2012-03-09 15:02:27 +09:00
Tadashi G. Takaoka 1dba7c2d67 Merge "Split tablet symbols and symbols shifted layout into separated rows" 2012-03-08 21:05:53 -08:00
Tadashi G. Takaoka 174d29f468 Split tablet symbols and symbols shifted layout into separated rows
Bug: 6100832
Change-Id: I6771364ceca2c152bd9c55e22159f57c3468cc31
2012-03-09 12:41:56 +09:00
Tadashi G. Takaoka b1de2912b8 Add ":" to ";" key on Greek keyboard
Bug: 5679585
Change-Id: I92d4b4d1eff9561adbb1bae607a1c27b4b5168ba
2012-03-09 12:22:34 +09:00
Eric Fischer ff29b1f8e8 Import translations. DO NOT MERGE
Change-Id: Idab425b956341eb8556df92fb0ac33e4036e5a6e
2012-03-08 14:15:38 -08:00
Tadashi G. Takaoka 9c7db965cd Fix forgotten resource name change
Change-Id: I27ea28c7ea93e50ea8f0d947df95e3ab6d146f11
2012-03-08 21:53:37 +09:00
Tadashi G. Takaoka 7d6d98ecc5 Merge "Cleanup keyboard theme switching code" 2012-03-08 03:24:38 -08:00
Tadashi G. Takaoka 411749a4ba Cleanup keyboard theme switching code
Change-Id: I023769b765d07237b2129d8f1b2a02ffd4c4f09d
2012-03-08 19:17:31 +09:00
Tadashi G. Takaoka bcbaffd9dd Fix centering more suggestions panel on tablet
Bug: 6129726
Change-Id: I8dac3251eec68ad3fb523c632ff39f3cc661c81f
2012-03-08 19:02:22 +09:00
Eric Fischer 77541fc92e Import translations. DO NOT MERGE
Change-Id: Iab45cb6beb91770c53ca6a8c0947f9e7ab838bf4
2012-03-07 14:44:44 -08:00
Tadashi G. Takaoka c648b88779 Merge "Dynamically determine key preview backing view height" 2012-03-07 04:17:52 -08:00
Tadashi G. Takaoka c8b0e5797e Dynamically determine key preview backing view height
Bug: 6023947
Change-Id: I53a5c0eb99100a0dfe3e025808f5dc55747d1287
2012-03-07 20:33:17 +09:00
Tadashi G. Takaoka 898d84190b Merge "Tweak vertical corrections for more keys in the "ICS" theme" 2012-03-07 02:06:46 -08:00
Tadashi G. Takaoka 48f6321630 Tweak vertical corrections for more keys in the "ICS" theme
Bug: 6129435
Change-Id: I3800a7a6926967c456e1b9b0dead94717063039a
2012-03-07 18:34:15 +09:00
Tadashi G. Takaoka e9bfc13bff Add readable unicode point names
Change-Id: I5689711429526a2bad409f235b6825a7ed4c7bc2
2012-03-07 16:35:51 +09:00
Tadashi G. Takaoka 81d4e3cd66 Add language switch key only to the phone layouts
Bug: 5759092
Change-Id: Ic7d7d4812976654c0e85fecabd1128eadfc52c5c
2012-03-07 10:03:21 +09:00
Jean Chalard 00ed3be95c Correct special space handling of punctuation
This fixes two defects:
- One where some separators should promote a phantom space to
a real space. This bug had a unit test but wasn't tracked.
- One where French punctuations would behave incorrectly. Tracked
Bug: 6113693

Change-Id: Ia7f86fc960e00141757632ab2c9bce9168dd6966
2012-03-06 14:00:34 +09:00
Eric Fischer 97b6343a38 Import translations. DO NOT MERGE
Change-Id: If76e0272d3a4b1ec294ce905accf7bd0280b96dd
2012-03-05 15:49:15 -08:00
satok 907371b54f Merge "Change the name of AOSP LatinIME spell checker" 2012-03-04 23:11:46 -08:00
satok e54723d84d Change the name of AOSP LatinIME spell checker
Change-Id: I8b93f66c272d91ba02888da31d56a9811ba2a1f0
2012-03-05 15:39:07 +09:00
Tadashi G. Takaoka e5cbc94d10 Merge "Support embedded more key" 2012-03-04 22:10:22 -08:00
Tadashi G. Takaoka e491be6e86 Support embedded more key
This is a followup change to Ie10b3e0b.

Change-Id: I1f91d96e32357b83bd0546537d561d638b6ff0c6
2012-03-05 14:22:52 +09:00
Tadashi G. Takaoka c7b0105114 Suppress more keys that share the same meaning with the parent key's imeAction
Bug: 6080806
Change-Id: Ifc3145fd79f10b39442b95432a8d19a624c2fdfd
2012-03-05 12:24:28 +09:00
Tadashi G. Takaoka 13057e7c05 Support Greek Keyboard
Bug: 5679585
Change-Id: I540d5ea42a830be8b85440e794cfcee92a23838e
2012-03-02 21:00:38 +09:00
Tadashi G. Takaoka 3a1844c33b Merge "Support dividers in MoreKeysKeyboard" 2012-03-02 03:58:13 -08: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 3790353472 Merge "Support Macedonian Keyboard" 2012-03-02 03:43:46 -08:00
Tadashi G. Takaoka 775d8d8885 Support Macedonian Keyboard
This change also fixes missing Cyrillic DJE key of Seribian keyboard
on 10-inch tablet.

Bug: 5934396
Change-Id: I18ae5f0e54f788b65f649a52bdbbef1813334d96
2012-03-02 20:35:44 +09:00
Tadashi G. Takaoka ede2133cb1 Support time, date, and datetime keyboard
Bug: 6030364
Change-Id: I2bd4daf264757d8f3fa7c946d10a39c36ccf5905
2012-03-02 14:01:07 +09:00
Tadashi G. Takaoka e4c45c6ef9 Explicitly specify that labels might be in more keys
Bug: 6080806
Bug: 6081427
Change-Id: I455a0210e65ea2a7774e0e0071cea5f4a99577bd
2012-03-01 20:03:47 +09:00
Tadashi G. Takaoka 9b764e0cc5 Shift+Smiley can register enter in textMultiLine field
Bug: 2498607
Change-Id: Ied2217c49665394a01c7d3451a93c0bc647d392f
2012-02-29 17:21:55 +09:00
Eric Fischer 5a0661eae8 Import translations. DO NOT MERGE
Change-Id: I6e4e75a7713a683dcb4d9159179103b412ab41be
2012-02-24 14:15:04 -08:00
Eric Fischer e2d43ef528 Import translations. DO NOT MERGE
Change-Id: Ibcf6712652c6faf320cefb3fe408b172adf130e0
2012-02-22 14:58:07 -08:00
Eric Fischer f127fb7960 Merge "Import translations. DO NOT MERGE" 2012-02-22 09:38:51 -08:00
Tadashi G. Takaoka 8fe892945a Merge "Add Georgian keyboard" 2012-02-21 23:27:12 -08:00
Tadashi G. Takaoka 0771671a39 Add Georgian keyboard
Bug: 5002108
Change-Id: Ia5751181bffc96e2e6c5daed3c7de8408078f91b
2012-02-21 23:24:13 -08:00
Tadashi G. Takaoka 1b3c16c183 Merge "Add next/prev navigate action more keys and remove tab key" 2012-02-21 23:09:58 -08:00
Tadashi G. Takaoka 05bfd189a8 Add next/prev navigate action more keys and remove tab key
Bug: 6037537
Bug: 5961814
Change-Id: I9c6dedf953452a180fcd5bce7bfadfd3c821f224
2012-02-21 22:50:50 -08:00
Tadashi G. Takaoka c6993e4947 Merge "Add "#" and "%" to punctuation more keys" 2012-02-21 22:43:38 -08:00
Tadashi G. Takaoka 3710a04740 Add "#" and "%" to punctuation more keys
Bug: 6029665
Change-Id: I976326a900876a0d39067a760459366f52101c96
2012-02-21 19:43:47 -08:00
Jean Chalard b141c9cd3f Rename resources to reflect current usage
Bug: 6010403
Change-Id: Ia02ff31007296fdf6901504f238dfd9e4621f658
2012-02-21 18:54:44 -08:00
Eric Fischer da21000957 Import translations. DO NOT MERGE
Change-Id: Ic09c089b8b42fdd672138d14f52a0ffb21733677
2012-02-21 14:57:14 -08:00
Eric Fischer d1a37520d0 Import translations.
Change-Id: I59fdeb4d9df08e82e56d5545ffaaa66e5a04304e
2012-02-17 16:31:50 -08:00
Tadashi G. Takaoka 97bde43740 Settings key always exists in more keys of shortcut/f1 key
This change also
  * Fix comman/f1 key for Arabic keyboard.
  * Removes "show settings key option" and related stuff.
  * Renames and simplifies F2 key to shortcut key on 7 inch tablet.

Change-Id: Ib1cf99ad00d9780a2f0d170260e756771e161521
2012-02-17 01:04:11 -08: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
Eric Fischer 482e0ef983 Import translations.
Change-Id: I20bcfc0d6296dc3606ab027e9c78f17e960e62dc
2012-02-16 15:29:44 -08:00
Jean Chalard a252e0547f Reactivate the bigram prediction option
Change-Id: Ib4dcd05c4ecf38bdf3d28371fcd9e2259a59ec0c
2012-02-15 19:25:12 -08:00
Eric Fischer 05f09b6d58 Merge "Import translations." 2012-02-14 16:36:51 -08:00
Eric Fischer a476f75209 Import translations.
Change-Id: I9ee2da4706d6847b00f37766f79e73f83ea930d8
2012-02-14 16:32:59 -08:00
Ken Wakasa 95dc18a7c4 Follow up to Ie2416ccd
space &#x0020 got lost in some parsing process

Change-Id: I36f5a9ca7172013ce049041886b9cd98659d38f9
2012-02-15 08:23:34 +09:00
Ken Wakasa a56639613b Use more standard Unicode notations in keyboard layout resource files.
bug: 5988656
Change-Id: Ie2416ccd790f29934a37e9dc77d7525e5113048a
2012-02-15 06:44:09 +09:00
Eric Fischer b396ea9ede Import translations. DO NOT MERGE
Change-Id: I8be564ef6befc36c59caa155f4b9c6c74740d75b
2012-02-13 15:19:16 -08:00
Ken Wakasa f6f40539aa Minor string updates in Android keyboard settings
bug: 5999345
Change-Id: I77560b02c71c3ba0c525572b7062ebbfd66b3b85
2012-02-14 03:32:39 +09:00
Ken Wakasa 09c677f56a Replace UTF-8 string resources with their hex representations
bug: 5988656
Change-Id: Ifc3c3a2eccfc23d75b4066c2c9c02c48dacda55b
2012-02-11 23:05:23 +09:00
Eric Fischer 1bd181fefa Import translations.
Change-Id: I126a880289de548e914ac442740e789e067e5124
2012-02-10 14:14:38 -08:00
Charles Chen 4baf767fac Merge "Improved shift key and symbol/alpha switch key accessibility feedback." 2012-02-09 15:33:40 -08:00
Eric Fischer 0d1a5bad54 Import translations. DO NOT MERGE
Change-Id: I221670b8e4796346d13a44848f8958904e9bac80
2012-02-09 12:46:37 -08:00
Eric Fischer 7ef97ea1f9 Import translations. DO NOT MERGE
Change-Id: I02629c1f8dd311899b3aba89bfb1390150ace7ac
2012-02-08 13:56:30 -08:00
Tadashi G. Takaoka 5962312b07 Custom action label should be a part of keyboard identifier
Change-Id: Ia14cabc3d49fbdcb11dd00225d225fbb91cc4012
2012-02-08 20:09:39 +09:00
Tadashi G. Takaoka 7a39bd4454 Shift+Smiley key will register newline character of textMultiLine
This change also
 * Honors the custom action label in EditorInfo.actionLabel.
 * Invokes InputConnection.performeEditorAction if action is specifed
   at EditorInfo.imeOptions or actionLabel/actionId.
 * Stops using InputMethodService.sendKeyChar. Implements
   sendKeyCodePoint instead.

Bug: 2498607
Bug: 5961809
Bug: 5368408
Change-Id: If4cd5eb3dacfc6b6a7ea434b0617c2438e06e42d
2012-02-08 19:31:35 +09:00
Tadashi G. Takaoka 2affaf91a0 Rename mini keyboard to more keys keyboard
Change-Id: Ie4c85e8ca5a1f41a420aae5c1cd9c1cb07e237e5
2012-02-08 16:12:31 +09:00
alanv 8d4f0d5d1d Improved shift key and symbol/alpha switch key accessibility feedback.
Bug: 5933165
Change-Id: Id71f38874640785b7ad43b7a70e27f40c13be748
2012-02-07 13:14:18 -08:00
Eric Fischer 5b7f50b10b Import translations. DO NOT MERGE
Change-Id: I01b1e6476b50108810eb61ad45a198db2b52b7de
2012-02-07 11:14:31 -08: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
Eric Fischer 3f8fc4de9a Import translations. DO NOT MERGE
Change-Id: I9e403e4199935cbb8f356f78316671373324d452
2012-02-03 13:02:58 -08:00
Tadashi G. Takaoka 909b2940db Merge "Get rid of Key.setIcon(Drawable)" 2012-02-02 21:51:51 -08:00
Tadashi G. Takaoka e7948a8692 Get rid of Key.setIcon(Drawable)
Change-Id: If6ebbdefcbfd0cc14c72858f9bb44861e8abe079
2012-02-03 14:38:17 +09:00
Tadashi G. Takaoka 56d1dc5a58 Shift + smiley key become return key
Bug: 2498607
Change-Id: Iec902d8f0035a81e4e793251006d905025bd81cf
2012-02-03 12:28:57 +09:00
Eric Fischer fbd83a8712 Restore deleted string still referenced from code to fix the build.
Change-Id: Ideb39da09730960f555f2b928d699819c986531b
2012-02-02 13:57:15 -08:00
Eric Fischer 8a0bb00989 Import translations. DO NOT MERGE
Change-Id: I5d9c89dfe2e5667ef004d1e8b9106279bd23f6f5
2012-02-02 13:10:41 -08:00
Tadashi G. Takaoka 5852a2594f Parse escaped sequence strictly in CSV parser
This change alters the CSV parser behavior. The parser only resolves
  * String resource reference. ["@string/res" -> "<content_of_res>"]
  * Other occurrence of escape sequence will be intact. ["\x" -> "\x"]

Before this change, escape sequence in moreKeys string is parsed three
times. At first in parsing string resource, next in CSV parser, and at
last in KeySpecParser. So that representing single escape character
itself is a bit annoying, "\\\\\\\\".

Now we can represent single escape character itself in string resource by "\\\\".

Change-Id: Ib978e17b779cc82585eed8241ac3857508b14bc7
2012-02-02 20:19:26 +09:00
satok e05b3f4b3a Support additional proximity characters
Change-Id: Ifbe0d7e4eafea1926bbce968eae4724dd5769689
2012-02-02 16:07:16 +09:00
Charles Chen 02dd837805 Merge "Removed spoken descriptions for characters supported by TTS or TalkBack." 2012-02-01 10:00:17 -08:00
Tadashi G. Takaoka 71c695da22 Remove BIDI mirroring hack from Key
This change also removes isRtlKeyboard attribute from <Keyboard/>

Bug: 5948247
Change-Id: I85998f17ae146a4c8cd0f419ab820b746cb8974f
2012-02-01 22:58:16 +09:00
Tadashi G. Takaoka ff858c7ff5 Use MoreKeySpecParser to parse puctuations strip resources
This change also
  * Doesn't use Key.getRtlParenthesisCode to get correct parentheses
    code in RTL context. Intead uses the outputText feature of
    moreKeys specification.
  * Move CVS string parser from KeyStyles to Utils.

Bug: 5948247
Change-Id: I45752c7d01b4f7d3f3da900b110a2185b336a1f0
2012-02-01 19:33:26 +09:00
Tadashi G. Takaoka a5c96f376a Move long press shift handling from PointerTracker to KeyboardState
This change also
  * Rename phone shift keyboard to phone symbols keyboard.
    Use CODE_SWITCH_ALPHA_SYMBOL code to switch between phone and phone symbols keyboard.
  * Remove phone symbols keyboard from tablet.
  * Introduces enableLongPress flag of Key.keyActionFlags attribute.
  * Remove clumsy long press code from PointerTracker.
  * Remove CODE_CAPSLOCK handling from LatinIME.
  * Make KeyboardSwitcher to invoke haptic and audio feedback.

Change-Id: I00e1f697a10ab5112aec75e36853b96246ff5054
2012-02-01 19:04:21 +09:00
alanv f3e951b259 Removed spoken descriptions for characters supported by TTS or TalkBack.
Change-Id: Iddef18559bc6af9487e536a33607b0a0b07df282
2012-01-31 13:02:33 -08:00
Tadashi G. Takaoka ca2f051cc1 Auto generate various shift states alphabet keyboard automatically
If any shift state variants of alphabet keyboard layout is not
specified in KeyboardSet.Element, it will be automatically generated
from base alphabet keyboard definition.

This change also
  * Eliminates KeyboardShiftState object from Keyboard.
  * Removes various set shift state methods from Keyboard.
  * Removes KeyboardSet.Element.elementAutoGenerate attribute.
  * Separates "sticky" Key.backgroundType to "stickyOff" and "stickyOn"
  * Add preserveCase flag to smiley, .com, and labeled special keys.
  * Rename KeyboardShiftState class to AlphabetShiftState.
  * Rename some attributes from *UppercaseLetter* to *ShiftedLetterHint*.
  * Introduce shiftedLetterActivated to Key.keyLabelFlags

Change-Id: I01a0a8efeeaa76820ae728a5bdfa8d02b6ce74b7
2012-01-31 12:55:45 +09:00
Tadashi G. Takaoka 15c99e9f1a Support addtionalMoreKeys
This change also removes
  * Unused more_keys_for_q, w, and p.

Change-Id: Idb99e5f6d8c2ad2d28437f42b35b21c282cd181f
2012-01-30 17:04:25 +09:00
Tadashi G. Takaoka 38a3ad3e3c Merge "Rename keyboard XML resource files" 2012-01-29 16:36:22 -08:00
Eric Fischer 49761501db Import translations. DO NOT MERGE
Change-Id: I89dcb839308eadb722f91ccd4327208d8d477dc2
2012-01-27 12:02:20 -08:00
Tadashi G. Takaoka d1630a3add Rename keyboard XML resource files
* <Keyboard> XML file should be kbd_*.xml
 * <Row> XML file should be rows_*.xml or row_*.xml
 * <Key> XML file should be key_*.xml or keys_*.xml
 * <key-style> XML file should be key_styles_*.xml

Change-Id: Ie57d5d78389c13d6c066ace4e3588518d1f25f13
2012-01-28 01:07:29 +09:00
Tadashi G. Takaoka 344a767b33 Share kbd_row3_smiley.xml
Change-Id: Ie5e68f972a739ab151201bd13bb1771e164313e6
2012-01-27 21:48:25 +09:00
Tadashi G. Takaoka 566cded5e7 Merge "Use kbd_row3_comman_period.xml" 2012-01-27 04:21:53 -08:00
Tadashi G. Takaoka ab7cb71b8f Create separate XML for number password keyboard
Change-Id: I1d73a03bfce9180106575e180bfeb422da03b9fb
2012-01-27 21:09:55 +09:00
Tadashi G. Takaoka 3db07d05a3 Use kbd_row3_comman_period.xml
Change-Id: Ie2ce2f4f03e70477d4932072a44fb9aeb7cd7784
2012-01-27 21:07:37 +09:00
Tadashi G. Takaoka 425e1996b8 Add inactivatedLabel and inactivatedUppercaseLetter flags for Key.keyLabelFlags
Change-Id: I6c7dc79cbad360602b278283f4c3a24c54040622
2012-01-27 18:11:43 +09:00
Tadashi G. Takaoka 736d740aa5 Merge "Get rid of Resource reference from KeyboardView, LatinKeyboardView and PointerTracker" 2012-01-26 00:17:56 -08:00
Tadashi G. Takaoka 160f01211d Get rid of Resource reference from KeyboardView, LatinKeyboardView and PointerTracker
This change introduces the following attributes.
 * KeyboardView
   - keyPreviewLingerTimeout
 * LatinKeboardView
   - keyHysteresisDistance
   - touchNoiseThresholdTime
   - touchNoiseThresholdDistance
   - slidingKeyInputEnable
   - keyRepeatStartTimeout
   - keyRepeatInterval
   - longPressKeyTimeout
   - longPressShiftKeyTimeout
   - longPressSpaceKeyTimeout
   - ignoreSpecialKeyTimeout
   - showMiniKeyboardAtTouchedPoint

Change-Id: I25159a87289b12447e20031add173523070e9b03
2012-01-26 16:10:20 +09:00
Tadashi G. Takaoka 09f8b126e5 Add Key preserveCase enum to keyLabelOptions attribute
To support auto generate key depending keyboard element id, the
KeysCache class is introduced to hold whole keys and reuse.

Change-Id: Icb81b5f1c1b3aaa31968dcdb93aa0a856e737f78
2012-01-25 20:16:21 +09:00
Tadashi G. Takaoka 83306b914f Add element predicator to <switch><case> condition of Keyboard
Change-Id: I8f9eb8eb28707d23e421e88f979022d844a3b3ee
2012-01-25 19:09:18 +09:00
Tadashi G. Takaoka 117c124c13 Add autoGenerateFromAlphabet enum to KeyboardSet.Element.elementKeyboard
This is the first step to support separate Keyboard for elementName.
This change is the second attempt of Icef66564.

Change-Id: I78ea6cb9ea3d965ff89e0ff5d896a6b11ba5c670
2012-01-25 13:19:53 +09:00
Tadashi Takaoka 8bb20bc682 Revert "Add autoGenerateFromAlphabet enum to KeyboardSet.Element.elementKeyboard"
This reverts commit b5b92f9b78

Bug: 5908440
2012-01-24 15:20:05 -08:00
Tadashi G. Takaoka b5b92f9b78 Add autoGenerateFromAlphabet enum to KeyboardSet.Element.elementKeyboard
This is the first step to support separate Keyboard for elementName.

Change-Id: Icef66564b6938910fa06ecab664dce4be84c9505
2012-01-24 18:31:11 +09:00
Tadashi G. Takaoka b009a24b83 Support @icon/icon_name for more keys specification
Change-Id: I8842e5ce77f9d27a0969df947de292c1830e36b7
2012-01-20 20:09:02 +09:00
Tadashi G. Takaoka 3fbf9f85a2 Add Bulgarian keyboard
Bug: 5864001
Bug: 5738545
Change-Id: I3aa8a0e531e091680c0e05c55e72edd05e5ebc77
2012-01-19 12:59:59 +09:00
Tadashi G. Takaoka 7dde805745 Enable usability study mode option
Change-Id: Iadd69fbde42b895dd30f98890f59b56cdcdd4007
2012-01-18 20:17:57 +09:00
Jean Chalard cc6ded7a1a Add a whitelist entry
nit → not

Change-Id: I8d0fc6fe4b769cd76c8059848a8ec249bb9fea0d
2012-01-18 15:25:00 +09:00
Tadashi G. Takaoka 06b7c256b1 Add "force non-distinct multitouch" debug option
Change-Id: I9fd6fabf03515011cedb8aaa30fdb7a77f2d4d12
2012-01-17 13:19:01 +09:00
Tadashi G. Takaoka 4015a64a26 Fix SubtypeLocaleTests
Change-Id: Id85814aa3bcd9cacbe446b2dfda3ca2ab9146c13
2012-01-13 14:35:43 +09:00
satok c1da6566dd Change the application name of aosp latin ime
Change-Id: I96281709736bc20d70e63af170bfb48b5df3f18d
2012-01-12 14:27:22 +09:00
satok 6d3b422f97 Add EnabledWhenDefaultIsNotAsciiCapable to English keyboard subtype
Bug: 5806103

Change-Id: Iffdc68565f4a8b5af98247a4dff9dc4e76b4056a
2012-01-11 14:06:06 +09:00
Tadashi G. Takaoka 8cab0b56eb Get rid of Keyboard.CODE_DUMMY
Change-Id: Id2320f4d9b5f22f0ac844ab20ce42b0c4e7c6880
2012-01-10 18:19:36 +09:00
Tadashi G. Takaoka 0723b94ec2 Fix Slavic layout on phone device
Change-Id: I7da35502072e336ba2c32fc78827f5dff1bedddc
2012-01-10 12:52:55 +09:00
Eric Fischer 07af2249bb Import revised translations.
Change-Id: Ie6d481360e801a67f4bc0309a7151b1640bd3c40
2011-12-29 13:37:16 -08:00
Tadashi G. Takaoka 77e7532dab Merge "Make Estonian keyboard Scandinavian variant" 2011-12-25 21:09:49 -08:00
Tadashi G. Takaoka 6aa7fc0984 Make Estonian keyboard Scandinavian variant
This change also fixes Scandinavian keyboard layout around "a" key.

Bug: 5627326
Change-Id: I65da7a56a28d90eabcffcd616164d8e8c1111c96
2011-12-26 12:51:20 +09:00
Ken Wakasa 10862aa4d0 Fix more keys for fr_CA and fr_CH. Also tidy up more keys for de_ZZ as well.
bug: 5800592
Change-Id: I0c9abc807ab0100b3839fc7f0f40c6c1a66e0a6e
2011-12-24 17:29:02 +09:00
Tadashi G. Takaoka 42fcb2de64 Get rid of public reference to KeyboardIconsSet.ICON_* constants
As a consequence,
  * Add Key.iconDisabledKey has been introduced and Key.getIcon honors
    the enabled state of the key.
  * The attribute id of disabled icon for shortcut key,
    Keyboard_iconShortcutKeyDisabled, is renamed to
    Keyboard_iconDisbledShortcutKey
  * KeyboardIconsSet has getIconByIconId and getIconByAttrId methods
    instead of getIcon.

Bug: 5778201
Change-Id: Ica93b073b9a04acd18ead7a33b60e3c6d813e7a1
2011-12-19 01:11:09 +09:00
Tadashi G. Takaoka 4112dc0500 Move spacebar drawing code from LatinKeyboard to LatinKeyboardView
Also this change moves LatinKeyboard attributes,
autoCorrectionSpacebarLedEnabled, autoCorrectionSpacebarLedIcon,
spacebarTextRatio, spacebarTextColor, and spacebarTextShadowColor to
LatinKeyboardView.

Change-Id: I7cc27ce1fc550e9f620a9ed0fbe4b8172902d5a1
2011-12-18 19:07:12 +09:00
Tadashi G. Takaoka 7bd714c086 Add extra key icons to KeyboardIconsSet
* Get rid of Key.keyIconShifted attribute.
    Add Keyboard.iconShiftKeyShifted to KeyboardIconsSet.
  * Get rid of LatinKeyboardView.disabledShortcutIcon attribute.
    Add Keyboard.iconShortcurKeyDisabled to KeyboardIconsSet.
  * Add Keyboard.iconSpaceKeyForNumber to KeyboardIconsSet.
  * Fix misplaced autoCorrectionSpacebarLedIcon resources.

Change-Id: I381bff3789254977ab3cb18f58f95b3c433b1e1a
2011-12-18 18:25:29 +09:00
Tadashi G. Takaoka 5afc3ae2d9 Add LatinKeyboardView style
As a result, this change moves shortcut related update code to
LatinKeyboardView from LatinKeyboard.

Change-Id: I1882672577f61e73c90d6c018b7dbb61f3fe21e4
2011-12-18 16:42:23 +09:00
Tadashi G. Takaoka 7cc2595b6f Add LatinKeyboard.spacebarTextRatio attribute
Bug: 5776979
Change-Id: Ia568d1170ed33a000eb3bb02ecdf611e4b5ff2d5
2011-12-18 01:00:06 +09:00
Tadashi G. Takaoka fd113151fd Add Vietnamese keyboard
Bug: 5738545
Change-Id: I96abf6807e9375e352a505b822dd50b4d1a7a252
2011-12-16 22:39:56 +09:00
Tadashi G. Takaoka 45a0b32941 Add Slovenian keyboard
Bug: 5738545
Change-Id: Id88a30d3fe46988ac2e0ad129b7bea53b8c7ab07
2011-12-16 22:16:48 +09:00
Tadashi G. Takaoka 9fd014ebb7 Add Slovak keyboard
Bug: 5738545
Change-Id: I40178f8fc0be4a9fcfc7496dae262574dd0267f9
2011-12-16 22:12:01 +09:00
Tadashi G. Takaoka 62ac4561eb Add Rumanian keyboard
Bug: 5738545
Change-Id: I88ef1a461cf94f10578b5751d0a2fd6abbfd84d9
2011-12-16 22:01:21 +09:00
Tadashi G. Takaoka 969b4e78ce Add Ukrainian keyboard
Bug: 5738545
Change-Id: I78ff8d1c7aa96f3522989e138334b96c5f2aba02
2011-12-16 21:59:40 +09:00
Tadashi G. Takaoka 26e53b4b7d Add Kyrgyz keyboard
Bug: 5738545
Change-Id: I9fda2c75654ab4bbaaeb9ee2442dda0a73a3e07e
2011-12-16 21:16:39 +09:00
Tadashi G. Takaoka d99d28b764 Add Belarusian keyboard
Bug: 5738545
Change-Id: I60113c248a5a122e71e20273d44406e8199fa0eb
2011-12-16 20:56:53 +09:00
Tadashi G. Takaoka 94a3f8f243 Generalize Russian to Slavic layout
Adding Belarusian, Kyrgyz, and Ukrainian keyboards will follows.

Bug: 5738545
Change-Id: I05055d519fac8c67f728cee693b133c3dfb29047
2011-12-16 20:54:25 +09:00
Tadashi G. Takaoka 702f9fc194 Fix broken suggestions layout
This is follow up change of If4b82376

Change-Id: I9b0d86ba630011372f41f26efb56bb0a80e09505
2011-12-16 16:39:05 +09:00
Tadashi G. Takaoka a44685ab32 Add colorValidTypedWord and alphaValidTypedWord
This change fixes Gingerbread theme.

Change-Id: I142437ac0173df48ab36390f47ed67c6cea24a65
2011-12-16 12:26:19 +09:00
Tadashi G. Takaoka 23d27fefcb Fix auto correction spacebar LED
Change-Id: I4894d188d5612380cc9f8eec7cb72544e37fb2b0
2011-12-15 17:34:14 +09:00
Tadashi G. Takaoka 5a39e527dd Ignore settings key if it isn't adjecent to the space key on phone
Bug: 5759096
Change-Id: I1e1250d917e726e1931de3247ddc782b005ab5c1
2011-12-14 20:17:36 +09:00
Tadashi G. Takaoka 623d0155b6 Just ignore settings/shortcut key while typing on tablet
Bug: 5759096
Change-Id: Ie1f1800d0f32ac0938715c79974e0f382c9c3d27
2011-12-14 17:14:44 +09:00
Tadashi G. Takaoka f86109ca56 Utilize KeyboardSet XML definitions
This change introduces KeyboardSet and SubKeyboard XML definitions to
represent a set of keyboard layouts.

Bug: 5002108
Bug: 5679585
Change-Id: Ib6c8d5936187381bb6725c9fe574e93871c01a86
2011-12-14 16:28:31 +09:00
satok e0dfc54c5b Show usability study mode for research purposes
Bug: 5722703

Change-Id: I27acc374c5d4b52707708b83689dea5d78a573d7
2011-12-09 15:31:06 +09:00
Jean Chalard bb2b30fc7f Add support for Russian spell checking.
Note that this is not enough: we still need to create a
reasonable proximity table for Cyrillic characters, or we
won't be able to show up suggestions.

Bug: 5701241
Change-Id: Idb141f7a230a6e1a46094308c26f43c01ab3b97a
2011-12-05 18:57:03 +09:00
Tadashi G. Takaoka ae7746e580 Merge "Add Key.altCode attribute" 2011-11-30 03:15:44 -08:00
Tadashi G. Takaoka 2013bab89c Add Key.altCode attribute
* Registering alternate code and while key is typing.
  * Showing press/release graphics of the key that has the above altenate code.
  * Showing press/release graphics of all shift keys.
  * Renaming Key.ignoreWhileTyping to Key.altCodeWhileTyping.

Bug: 5639503
Change-Id: I67fb45bae76284a1f0deb6fd12ae5fb781d06cc3
2011-11-30 20:06:47 +09:00
Jean Chalard db5aedb5a5 Add an option to use contacts or not while spell checking
Bug: 5447495
Change-Id: Iffb09895676c3dd1a79d1699b0eac865282508d4
2011-11-30 18:58:10 +09:00
Eric Fischer 97b53f4f42 Merge "Import revised translations." 2011-11-29 11:52:48 -08:00
Eric Fischer 9dda5e408a Import revised translations.
Change-Id: I22f516d922078cf0e26898da7af59ac4fa4b35a8
2011-11-29 11:23:46 -08:00
Tadashi G. Takaoka e2d00ab470 Support Baltic languages
This change supports Estonian, Latvian, and Lithuanian languages
keyboard.

Bug: 5627326
Change-Id: Iaaa966e4164f9593f143e79736c8ec7befc2a5ce
2011-11-29 11:52:31 +09:00
Tadashi G. Takaoka c1f7d39b4a Introduce ignoreWhileTyping flags to Key.keyActionFlags
Bug: 5639503
Change-Id: Ic2afad6766edb2538a58f722209e2daa40aa488d
2011-11-22 18:18:29 -08:00
Tadashi G. Takaoka 13d5f6605b Add Key.keyActionFlags and obsolete Key.isRepeatable
This change also renames Key.keyLabelOption to keyLabelFlags.

Change-Id: Iedd0bfaa420ad382c07ce084416355690e390919
2011-11-21 20:33:03 -08:00
Tadashi G. Takaoka 0e4275730b Tweak number and phone keyboard layout of tablet
Change-Id: Icb2f146becb7f834adba2612c9420a8f2d1e87fc
2011-11-18 17:27:55 -08:00
Tadashi G. Takaoka 0be36ee096 Add left/right padding to phone/number layout of tablet
Change-Id: Ida6b458f3233cd4ea3ae71e07e2a5c80c7750954
2011-11-18 17:19:58 -08:00
Tadashi G. Takaoka b98578ed0b Copy number/phone keyboard layout of tablet
Change-Id: I63e576ea88db313ede89f2517436071f5c391204
2011-11-18 17:16:15 -08:00
Tadashi G. Takaoka 431ce93925 Introduce noKeyPreview Key attribute
This change also removes hacks in LatinKeyboardView by utilizing
noKeyPreview attribute.

Bug: 5638595
Change-Id: Icd8a3af3b7849b941f8f5532e2b432e126a909e6
2011-11-18 14:40:05 -08:00
Tadashi G. Takaoka 18630d5fd6 am 15a01d72: Merge "Do not show key preview of settings and shortcut key" into ics-mr1
* commit '15a01d72724ce7f0a9a5814443a03b907962f3fd':
  Do not show key preview of settings and shortcut key
2011-11-18 09:15:52 -08:00