Commit Graph

1399 Commits (9ee51db95bdfec4a99bbbc5c78af00b06b426979)

Author SHA1 Message Date
satok 9ee51db95b Optimize InputLanguageSelection
Change-Id: I49117a1e5f7766fcfa0140ff602ff1e19ba1e3d2
2011-04-21 18:05:27 +09:00
satok bdb3d6909a Merge "Check the availability of layouts for showing the input languages in the settings" 2011-04-21 01:33:05 -07:00
satok 15a0ba6d74 Check the availability of layouts for showing the input languages in the settings
Bug: 4316889

Change-Id: I746b3ff79c2a6cd4925fca1817d5b209623b5108
2011-04-21 17:17:32 +09:00
Tadashi G. Takaoka 46ca845848 Compute content and visible insets even in voice mode
Bug: 4317779
Change-Id: If54d15466db9d0362b4470a2ba4618377bdffc2a
2011-04-21 15:20:37 +09:00
Tadashi G. Takaoka 6d645e13e4 Merge "Display spacebar language switcher even when key preview is off" 2011-04-20 22:03:43 -07:00
Tadashi G. Takaoka e6cb8fc234 Display spacebar language switcher even when key preview is off
Bug: 4313884
Change-Id: I9d4a474302dadbfc610324799f8768b803705e52
2011-04-21 12:53:53 +09:00
Jean Chalard 0c72ea1c92 Remove a useless import.
Change-Id: I911e3e928a45bbca352a87e6b0616a2ba9bd9e9c
2011-04-20 20:25:26 +09:00
satok 5454ff5a66 Merge "Tweak the normalized score for the words with spaces" 2011-04-20 02:13:28 -07:00
Jean Chalard c9bc5c8d34 Merge "Move language-specific keyboard setting to resources." 2011-04-20 01:52:54 -07:00
satok 22104663fc Tweak the normalized score for the words with spaces
Change-Id: Icc0c4fd0474ed5094fb274a6ea745ca583ba524d
2011-04-20 17:44:13 +09:00
Jean Chalard c899038eee Move language-specific keyboard setting to resources.
Some flag settings used to be stored in a keyboard layout extravalue setting. This
change:
- Introduces the capability of setting such specific flags in values/config.xml
- Retains the ability to use extravalues (for layout-specific settings), though
  there is no more any such setting at the moment.
- Fixes a bug where loading a dictionary from outside does not initialize the flags.
- Moves Flag to another class.

Note: this needs I705ec68c to avoid breaking the build

Change-Id: Ia7703aae3215b06c0b3cb792821649806e8998c1
2011-04-20 17:31:59 +09:00
satok 0aae85fb67 Merge "Tweak edit distance" 2011-04-20 00:58:08 -07:00
satok e18ba4275f Tweak edit distance
- The edit distance of transposed characters will be changed to 1 from 2

Change-Id: I369e2f94278b3b290957eef43d23cb7048166a99
2011-04-20 16:55:21 +09:00
Tadashi G. Takaoka 708aa80492 Add mini keyboard fo tab key in web layout
This change also re-orders punctuation mini keyboard.

Bug: 4315046
Change-Id: I567ea417fc8d3cb23dceac6965fa279e6beca970
2011-04-20 15:46:35 +09:00
satok 95d9e47104 Merge "Tweak voice layout for Dogfood" 2011-04-19 23:15:37 -07:00
satok 015b21cf52 Tweak voice layout for Dogfood
Change-Id: Ic51a044901a63c4cec907163e35cd5e458f36dde
2011-04-20 15:13:57 +09:00
satok b1ae5d84b1 Merge "Remove debug mode from the settings preference" 2011-04-19 21:52:12 -07:00
satok 9d861bdf26 Merge "Change the default value of logging to true" 2011-04-19 21:52:04 -07:00
Jean Chalard aafa17e283 Fix a typo.
Change-Id: I245deb5af6b504ff20617929c0510036d0c930d5
2011-04-20 12:10:28 +09:00
satok 39144ca4f9 Change the default value of logging to true
Change-Id: I52198ebca929f02e8b04db77a474ee5a7e79cdea
2011-04-20 11:42:55 +09:00
satok 10f113f5d2 Remove debug mode from the settings preference
Change-Id: I2b3f973f8d59687fe5b95b841449bff5c4b1a2ba
2011-04-20 11:34:20 +09:00
Tadashi G. Takaoka e9e688e2d4 Merge "Refactor key preview code" 2011-04-19 04:37:12 -07:00
Tadashi G. Takaoka d9786ce2e3 Refactor key preview code
This change removes mOldPreviewKeyIndex from KeyboardView.

Bug: 4298393
Change-Id: I832eb6deab7e078609973bf0b8be09f73db204d7
2011-04-19 20:32:57 +09:00
Tadashi G. Takaoka 9c192e1b70 Shrink tab key width on web mode layout
Bug: 4315046
Change-Id: I468ddf14d1f486d2c24cef56ed211ac9228cae43
2011-04-19 18:34:59 +09:00
Tadashi G. Takaoka bc91d89473 Merge "Remove mPreviousKey in PointerTracker" 2011-04-19 02:30:09 -07:00
Tadashi G. Takaoka d2c2b4d112 Remove mPreviousKey in PointerTracker
This change also introduces PointerTracker.onLongPressed.

Change-Id: I079eb52175d8fe8b88ce3f13e31493d34d00ad5e
2011-04-19 17:35:11 +09:00
satok e0f35042a5 Merge "Show all languages supported in LatinImeGoogle in InputLanguageSelection" 2011-04-18 19:29:46 -07:00
satok 88808fcdd4 Show all languages supported in LatinImeGoogle in InputLanguageSelection
Bug: 4311203
Change-Id: I7a94e9697758cb79743c026e7f1c023f618a9aa1
2011-04-18 20:28:36 +09:00
Tadashi G. Takaoka 7751ac3bdb Merge "Refactor key preview related code in KeyboardView" 2011-04-18 03:52:07 -07:00
satok bc3dba451a A fix for handling dummy voice subtypes
Change-Id: I75d4d1625e0925d01ae84c9577e15087d83e4191
2011-04-18 19:32:40 +09:00
Tadashi G. Takaoka 3f2653ba60 Refactor key preview related code in KeyboardView
Change-Id: Ib8f08cb4f5e03d0c32c32a0ea0363ce3d72fc050
2011-04-18 17:00:58 +09:00
Jean Chalard a0efebf304 Merge "Allow use of assets for data in the dictionary content provider." 2011-04-17 18:50:51 -07:00
Eric Fischer 73544aded7 Import revised translations.
Change-Id: Icdf10a328353d201b5751ac7f21f2fb7a64b3daa
2011-04-15 14:46:55 -07:00
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
Jean Chalard 4e3bd58b86 Allow use of assets for data in the dictionary content provider.
This update is necessary to allow dictionary content providers to use
assets, which are part of their apk, as data to pass to the keyboard.
Using plain file descriptors doesn't allow for sections of files to
be correctly used.

Change-Id: Ia94c26d6387bce61c73d38f5c2821f20e50e54d4
2011-04-15 17:38:24 +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