Commit Graph

1365 Commits (8cd0acba6d3fbde8034b3ef5d26344003a40fa11)

Author SHA1 Message Date
Tadashi G. Takaoka 8cd0acba6d Merge "Don't show spacebar preview if key preview is disabled" 2011-04-15 07:24:19 -07:00
Tadashi G. Takaoka 6fb97bf71c Don't show spacebar preview if key preview is disabled
This change also introduces soft reference cache of spacebar Drawable.

Bug: 4307333
Change-Id: I4d2c500bb47d794aa4f8dfa6ec415dbcb9ab0b74
2011-04-15 23:22:48 +09:00
satok 4f6e646352 Merge "Add a value for the screen metrics" 2011-04-15 04:06:22 -07:00
Tadashi G. Takaoka dc90d0a15f Refactoring keyboard drawing code and KeyDetector
Change-Id: I55009bf38b1422301223bd90463f837562559dc5
2011-04-15 18:35:08 +09:00
Tadashi G. Takaoka ffca763050 Merge "Fix French mini keyboard keys precedence" 2011-04-15 02:21:07 -07:00
Tadashi G. Takaoka 5d542c2492 Auto mini keyboard layout
Bug: 4280617
Change-Id: I34c344cbf350fe125589aa14ad69e4bd1f4e6f66
2011-04-15 18:19:31 +09:00
satok 16e9edfb14 Add a value for the screen metrics
Change-Id: I4d221e19b495e865a6714854c4addfaeddeb4e18
2011-04-15 16:55:07 +09:00
Tadashi G. Takaoka 72a82d7ee8 Count up horizontal gap as part of key width
Change-Id: Ic9a070a9b6a461f4c8330d1cc3e2c33fd7369f73
2011-04-15 09:54:39 +09:00
Jean Chalard 646d950ed8 Receive a broadcast that the dictionary has been updated.
Change-Id: I9751cc627a835a4061f144c48ff51e9d81b2c93b
2011-04-14 20:52:25 +09:00
Tadashi G. Takaoka 7c83293686 Merge "Fix 1st suggestion text alignment" 2011-04-14 02:13:19 -07:00
Tadashi G. Takaoka d4f14d07fa Fix 1st suggestion text alignment
Change-Id: I530de62b7cf088cff01c98a8a47d75393e8725b2
2011-04-14 17:59:25 +09:00
Tadashi G. Takaoka e4b2d22636 Merge "Make showing key preview compatible with pre-Honeycomb" 2011-04-14 01:56:15 -07:00
Tadashi G. Takaoka 37cfacbae6 Make showing key preview compatible with pre-Honeycomb
Bug: 4179964
Change-Id: Ide0a9c75983b45f8e829f0d64f41557d42fc11e7
2011-04-14 17:43:25 +09:00
satok 6d9021527a Fix for language bar switching
Change-Id: Id3974642b62b012968c537eff7c1a7ee37e2def2
2011-04-14 12:34:48 +09:00
Tadashi G. Takaoka dc3d4e8c06 Merge "Fast key preview" 2011-04-13 03:12:06 -07:00
Tadashi G. Takaoka 7a3d3ae17f Fast key preview
Previously the key preview was implemented by PopupWindow.  The key
preview popup window would be dismissed and shown each time the key
was released and pressed.  It turned out that it was taking several
milliseconds.

This change implements the key preview by a simple TextView which will
be layout-ed at absolute coordinates within the screen FrameLayout.
And dismissing and showing the key preview is implemented by the
TextView's visibility.

This implementation needs careful coordination of candidates.xml
layout and LatinIME.onComputeInsets to control suggestion strip
visibility.

Bug: 4179964
Change-Id: Id6347cb35b91eb14ab20dd2f312e58b54b6625a7
2011-04-13 18:59:33 +09:00
Tadashi G. Takaoka 772eef03e7 Fix French mini keyboard keys precedence
Bug: 4280617
Change-Id: Ic4af5260a9fb8b2bf83ad6135069079266a96aa9
2011-04-13 17:56:48 +09:00
satok a6abb1f87c Merge "Support language bar swich for InputMethodSubtype" 2011-04-13 01:39:47 -07:00
satok 88fc9d4418 Support language bar swich for InputMethodSubtype
Change-Id: Ie49f0c1c7aea135331dc1d4a635197b3f4a96e93
2011-04-13 17:05:24 +09:00
Tadashi G. Takaoka 740be4493a Fix Arabic mini keyboard precedence
Change-Id: I73e9e8bb243ae89944bf346885529fc3dd6df226
2011-04-13 15:04:29 +09:00
satok 09df2a5bf4 Merge "Remove voice subtypes" 2011-04-12 20:16:46 -07:00
satok b435a6ddca Remove voice subtypes
Bug: 4176028

Change-Id: Icbd699370051c377da281016df3c363f8544a788
2011-04-13 10:41:50 +09:00
Ken Wakasa 33fa046fe3 Additional tweak of gaps for delete/shift keys
bug: 4269094
Change-Id: I62c5b80276d743f86dcf2f3eb5cdc6d7aa519024
2011-04-12 19:07:14 +09:00
Eric Fischer b73ab9f2df Import revised translations.
Change-Id: Id2c4aac29ce82298a3c3d64540592932767f1e45
2011-04-11 14:30:01 -07:00
Tadashi G. Takaoka 689e7e907b Add Arabic keyboard to phone
Change-Id: I60c312fe9dc383a8048b46d9b54eee535c515aaa
2011-04-11 14:16:02 +09:00
Tadashi G. Takaoka 56abeabced Add visualInsetsLeft and Right as Key attribute
Bug: 4269094
Change-Id: Ic38d326a8e9ef802453c909f3a81d556863acc9b
2011-04-11 12:13:38 +09:00
Tadashi G. Takaoka a8c163f262 Fix suggestion strip layout
This change also removes unused drawable and xml resources.

Bug: 4181825
Change-Id: Ia723376bc5d40900a513df62e89cdfe35b2c859f
2011-04-08 20:03:57 +09:00
Tadashi G. Takaoka 82730b0e09 Merge "Remove redandant key from popup mini keyboard which has settings key" 2011-04-08 02:43:26 -07:00
Jean Chalard a944574967 Merge "Reinforce user-history based bigram use." 2011-04-08 02:14:06 -07:00
Tadashi G. Takaoka 1844ee7cf8 Remove redandant key from popup mini keyboard which has settings key
Bug: 4196879
Change-Id: If0ed5cace2d4d0c1f0e225e1003d54c055690387
2011-04-08 18:03:23 +09:00
Tadashi G. Takaoka 2c389c5b9e Merge "Increase the horizontal gap between shift/delete and normal keys" 2011-04-08 02:00:59 -07:00
Tadashi G. Takaoka b428e8cc9e Merge "Disable popup preview and long press on disabled key" 2011-04-08 02:00:09 -07:00
Tadashi G. Takaoka 967d6073bf Disable popup preview and long press on disabled key
Bug: 4268147
Change-Id: Ibcb54791ef78737dd09d8a594b5a53b0909609d6
2011-04-08 17:14:12 +09:00
Tadashi G. Takaoka 6d81e2b79b Increase the horizontal gap between shift/delete and normal keys
This change also adds capability to add horizontal padding to the
keyboard.

Bug: 4269094
Change-Id: I805e76b253a497079517c01bd2a976f8702f7e56
2011-04-08 16:43:01 +09:00
satok 299e366bcf Shrink sym_keyboard_voice_off_holo for phone
Bug: 4225070

Change-Id: Ic61c3c0263158ed3429553b134f13e8e94f5f5b7
2011-04-08 16:39:25 +09:00
satok b5d17e52fc Add logOnSeparator
This is a supplement for  I9abb8141f23100d

Change-Id: I529d2a78f4fe630611db4cba830d933370c8c34f
2011-04-08 15:24:55 +09:00
Tadashi G. Takaoka 50cce07f59 Merge "Remove "settings" key popup from "slash" and "atmark" key" 2011-04-07 21:43:28 -07:00
Tadashi G. Takaoka cf4eff3f59 Remove "settings" key popup from "slash" and "atmark" key
Removing "settings" key popup from these keys when there's a dedicated
"settings" key in the layout.

This is followup chnage of I119528c0.

Bug: 4196879
Change-Id: I742cc6d1d890c095610f1e8b9ac91a044ec540b7
2011-04-08 10:27:51 +09:00
Eric Fischer 2e4a15bf60 Merge "Import revised translations." 2011-04-07 14:07:55 -07:00
Eric Fischer 85427b3d8e Import revised translations.
Change-Id: I8c2fb2177e47ad50cf0ae1a191d2b8b4186c0700
2011-04-07 13:59:50 -07:00
Tadashi G. Takaoka e7c0e73a19 Simplify the Key's on state transition
Because handling shift locked state of alphabet keyboard is done by
KeyboardSwitcher, there is no need to change the "on" state of Key
when releasing the key. On the other hand, symbol and symbol shifted
keyboard has fixed "on" state "ALT/MORE" key.

This change also renames the attribute "isModifier" to "isFunctional".

Change-Id: I082885bd2376ae26bdfc378c14add2b5d6be1d4e
2011-04-07 20:28:46 +09:00
Tadashi G. Takaoka 73edb40154 Merge "Disable successive modifier key while sliding input" 2011-04-07 04:26:14 -07:00
Tadashi G. Takaoka 996db15d3c Disable successive modifier key while sliding input
When user starts sliding key input, sliding through successive
modifier key will be ignored.

Bug: 4181843
Depends: I082885bd2376ae26bdfc378c14add2b5d6be1d4e

Change-Id: Ibe890b9cc1183dbe9f68a421650fcd97e7ff221c
2011-04-07 20:17:27 +09:00
Tadashi G. Takaoka 494926fc2b Remove "settings key" popup from "comma key"
Bug: 4196879
Change-Id: I119528c03526b47a1398d9efc2aa307eb0c07ffe
2011-04-07 17:49:49 +09:00
Tadashi G. Takaoka da4bfbbbb3 Fix popup key preview on tablet
This change temporally enable popup key preview option on
tablet. (config_enable_show_popup_on_keypress_option).

Bug: 3286117
Change-Id: Iabbac5a333460e1ed2f8d05ba82f4bae81854b85
2011-04-07 15:56:16 +09:00
Jean Chalard 3e23682862 Reinforce user-history based bigram use.
- Have user-history based bigrams used as soon as they are entered,
  not after 6 times.
- Limit bigram frequency to 255 (this limits the multiplier to 1.8, and
  has no effect on main dict bigrams which already have this limit)
- Some TODO resolving

bug: 4192129

Change-Id: I4777f1a58c43dd55381c4b01252d722ab3a70547
2011-04-06 12:26:01 +09:00
satok fd58877d4f Merge "Add settings for theme, userfeedback and other settings (temporary)" 2011-04-01 03:53:26 -07:00
satok 8f9b86fec5 Add settings for theme, userfeedback and other settings (temporary)
Change-Id: I063c48dbf021f5608c241a3543aa2628b5faaa40
2011-04-01 19:48:17 +09:00
satok bbd377628a Merge "Revert all hdpi assets to gingerbread" 2011-04-01 01:45:24 -07:00
satok eee03627ce Revert all hdpi assets to gingerbread
Bug: 4196962

- all hdpi assets are blurred.

Change-Id: I4a589f99ead2b8db96f03c19771f083306276e61
2011-04-01 17:44:48 +09:00