Eric Fischer
895fc0e1b3
Merge "Import revised translations."
2011-07-07 14:51:19 -07:00
Eric Fischer
ff53f0fd97
Import revised translations.
...
Change-Id: I6a63166506259331cd0481b41e97527d5133d52c
2011-07-07 11:50:08 -07:00
Ken Wakasa
1bd62a5621
Fix missing suggestions after "Touch again to save"
...
This is an amendment to If848320c
bug: 5000317
Change-Id: I7eed5759c6adc0538c51f540c84a597919e792fa
2011-07-07 17:59:19 +09:00
Tadashi G. Takaoka
c810b0d63a
Merge "Make sure that each view has its own dedicated background drawable"
2011-07-06 19:12:39 -07:00
Tadashi G. Takaoka
b9a21448e3
Merge "Clear CandidateView in onStartInputView"
2011-07-06 19:02:24 -07:00
Tadashi G. Takaoka
16add4c886
Fix improperly scaled drawable
...
Bug: 4993127
Change-Id: Id16039058777b50f223458e190b32c1bc3b1fd53
2011-07-06 18:12:39 -07:00
Tadashi G. Takaoka
88110d1799
Clear CandidateView in onStartInputView
...
Before starting input on new TextView, we must clear the CandidateView
because it may hold the suggestion of previous TextView or even worse
the suggestions pane has been expanded and keyboard has been hidden.
Bug: 4995414
Change-Id: If848320c1a510e7018d36ed8ac61291be2fc6ce5
2011-07-06 17:57:24 -07:00
Tadashi G. Takaoka
7c57e3bda1
Make sure that each view has its own dedicated background drawable
...
Bug: 4998490
Change-Id: I3527fc41f0f03bbb32e3d1880665c6995354aa57
2011-07-06 17:42:03 -07:00
Ken Wakasa
273e5d60f4
Use the new settings activity class name
...
Follow up to I96230f05
Change-Id: I0ee7ccb5461764490ae9c977658883b10fe3ed3d
2011-07-06 12:38:34 +09:00
Tadashi G. Takaoka
f60d09ac30
Narrower KeyboardView reference
...
This change also rename static inner class to more readable name and
get rid of unnecessary object reference from PointerTracker.
Bug: 4768084
Change-Id: Ie4e2b940d66b47d41efcae7eeac853cdae2e4d38
2011-07-04 22:42:48 +09:00
Tadashi G. Takaoka
bd02fa8495
Merge "Move key hysteresis distance parameter to KeyDetector class"
2011-07-04 06:38:41 -07:00
Tadashi G. Takaoka
a19b84dcf6
Move key hysteresis distance parameter to KeyDetector class
...
Bug: 4768084
Change-Id: Ib8771afd7363a4a5590b2b4a586e3014c026be34
2011-07-04 22:32:21 +09:00
satok
e55996373f
Removed unused import
...
Change-Id: I87344f071e982dfc37b17553c5a7054e26009cc7
2011-07-04 22:26:05 +09:00
Tadashi G. Takaoka
5f6816fa8b
Move keyboard event handling code to separate LatinKeyboardBaseView class
...
To sort out the issue, main keyboard and mini keyboard have to share
the pointer trackers.
In order to prepare for that, KeyboardView needs to be refactored as
two separate classes. KeyboardView is responsible for drawing keyboard
visual. And LatinKeyboardBaseView is responsible for handling key
event and mini keyboard as well.
Bug: 4768084
Change-Id: I5643e333b9bdfde0c939a0693cea76bd22f38897
2011-07-04 18:53:50 +09:00
Tadashi G. Takaoka
386899a8b0
Merge "Disable auto-correction when application auto completion has set"
2011-07-04 02:20:05 -07:00
satok
67b5180e85
Merge "Add SettingsActivity"
2011-07-04 02:11:38 -07:00
satok
29387a8922
Merge "Fixed a visibility of a shortcut button"
2011-07-04 02:10:44 -07:00
satok
1be5028dcf
Add SettingsActivity
...
Change-Id: I26d9f90fe18bd7723f1c3c0c9fafbb659cb2f020
2011-07-04 18:08:26 +09:00
satok
1cda6eb176
Fixed a visibility of a shortcut button
...
Change-Id: I65e57f6742186b3434d6582ce7f2a1d5d91ce588
2011-07-04 17:49:30 +09:00
Tadashi G. Takaoka
5238df54ad
Disable auto-correction when application auto completion has set
...
Change-Id: I3f4ecfe7f2d96613dd37d41d9195d94864f82b48
2011-07-04 16:21:32 +09:00
Tadashi G. Takaoka
7d3821c2b3
Merge "Use Key background for suggestions strip control"
2011-07-04 00:10:39 -07:00
Tadashi G. Takaoka
e583371b13
Use Key background for suggestions strip control
...
Change-Id: I5e43c0919e89972283fd18eb29d69f96f1bd0290
2011-07-04 15:42:20 +09:00
Tadashi G. Takaoka
9812fb0fe9
Specify Key gaps by percentage
...
Change-Id: I4721bf831b5edbea1dd4309c6ce907544b098d62
2011-07-04 15:11:17 +09:00
Tadashi G. Takaoka
c190da0e02
Merge "Remove top padding parameter from MiniKeyboardBuilder constructor"
2011-07-02 05:24:50 -07:00
Tadashi G. Takaoka
17dc839503
Merge "Set candidates pane control visibility gone when touch-to-save is activated"
2011-07-02 05:24:15 -07:00
Tadashi G. Takaoka
e5276b39c1
Remove top padding parameter from MiniKeyboardBuilder constructor
...
To keep unit test simple, instead of specifying top padding in
the constructor, make separate setter for it.
Change-Id: I8870622cc1bd97420637b8c465bdb6c9dd366062
2011-07-02 02:06:33 +09:00
Tadashi G. Takaoka
5a931efe1e
Set candidates pane control visibility gone when touch-to-save is activated
...
Bug: 4985540
Change-Id: I9ca9e9bd990d9cdae0da22625be88bbfa4c7ee62
2011-07-02 01:59:49 +09:00
Tadashi G. Takaoka
fe1556bae1
Merge "Add top padding to mini keyboard"
2011-07-01 07:04:29 -07:00
Tadashi G. Takaoka
17a1676e72
Add top padding to mini keyboard
...
Because Key only has bottom padding, to make mini keyboard vertically
symmetric and looks nicer, we should add mini keyboard top padding
that equals to Key bottom padding (a.k.a. vertical gap).
Change-Id: Icceb687d50edfa48e0f0830a60a1e230836c982f
2011-07-01 23:02:47 +09:00
Tadashi G. Takaoka
e984fb55b1
Slightly larger key for ICS and phone combination
...
Compatible with Gingerbreada theme.
Change-Id: Id05bb8992dac47a23e12af7ab62924b5bc25b7ca
2011-07-01 22:40:19 +09:00
Tadashi G. Takaoka
7f3e5979d7
Merge "Calculate text width more conservatively"
2011-07-01 06:35:10 -07:00
Tadashi G. Takaoka
fe9b65afa8
Calculate text width more conservatively
...
Change-Id: If937ca0d05d50def115f6d275ed4b727c71e7bf4
2011-07-01 22:26:24 +09:00
Tadashi G. Takaoka
4edc7d074b
Disable candidate pane controller just after suggestions are set
...
Change-Id: I62e24bc39e80e2b51d1a29d093a96a8480254da2
2011-07-01 21:19:31 +09:00
Tadashi G. Takaoka
f008ae9ece
Merge "Tweak ICS theme a bit"
2011-07-01 05:12:43 -07:00
Tadashi G. Takaoka
3118277dd4
Tweak ICS theme a bit
...
Change-Id: Ib8f1a712a1fc3fd6f08b336617b4b6a17af11376
2011-07-01 21:11:34 +09:00
satok
7821a1d4d1
Merge "Refactor settings"
2011-07-01 03:49:29 -07:00
satok
dec7703d9b
Refactor settings
...
Change-Id: I2e0108ba429b477a07cfd53dcc664c0e43ff16a7
2011-07-01 19:43:09 +09:00
Ken Wakasa
44f24b73fe
Merge "Added text navigation gestures for keyboard touch exploration."
2011-07-01 03:35:43 -07:00
Justin Ho
71fbdc1ae7
Updated keyboard assets
...
Bug: 4948171
Change-Id: If1e8e5f2f0eafe29b36a10d5f5e9e1fb26d67597
2011-06-30 17:21:27 -07:00
Alan Viverette
87d7929d14
Added text navigation gestures for keyboard touch exploration.
...
Bug: 4905427
Change-Id: I9b44d65e4503e46ce71322a3c325c55d188e34a0
2011-06-30 11:59:35 -07:00
Tadashi G. Takaoka
7e7244873a
Merge "Adaptive suggestions strip"
2011-06-30 08:52:04 -07:00
Tadashi G. Takaoka
74b6897a12
Adaptive suggestions strip
...
Bug: 4903845
Change-Id: I9e2e17a9eee72df5c92414dcd4796ed7fe1655e1
2011-07-01 00:46:34 +09:00
Ken Wakasa
9ae24750f4
Some clean up and fixes around auto-correction cancellation logic
...
Change-Id: I07f4c3cd98d14d9f0da2de54bfa76a3867389f6f
2011-06-30 18:35:17 +09:00
Tadashi G. Takaoka
a65d84ce81
Merge "Add key description for "fullwidth asterisk" used on phone/number layout"
2011-06-29 03:02:30 -07:00
Tadashi G. Takaoka
0464850e6c
Add key description for "fullwidth asterisk" used on phone/number layout
...
This change also removes non-ASCII comment from strings.xml to
suppress resource compiler warning.
Change-Id: I96d3e8e2c7072816f32a15564745f8cdc3f91ee9
2011-06-29 18:51:22 +09:00
Tadashi G. Takaoka
73d377a953
Merge "Cleanup key drawing code"
2011-06-29 02:40:33 -07:00
Tadashi G. Takaoka
d773bf38a3
Cleanup key drawing code
...
This change also modifies 9-patch drawables to fix the following
issues. In order to draw key background drawable just on the
coordinates we want, we have to know where an actual "visible" part is
in the drawable. The only clue we can use is "padding" of the
drawable. To achieve this, the 9-patch drawable must have its
"visible" part marked as "content". Please refer the Bug: 4948171 for
more detailed explanation.
This change also reverts the following "black" drawables back from
Gingerbread because recent change broke these (I70019a91).
* drawable-hdpi/sym_bkeyboard_*.png
* drawable-hdpi/btn_keyboard_key_*_stone.9.png
Bug: 4948171
Change-Id: I6e4d03b3144caa95c793aac97af22df34c5f454f
2011-06-29 18:34:57 +09:00
satok
8b0f34dbd3
Remove sliding explanation
...
Change-Id: Iae35385a3fadd7acc8a67b6a8f9beda9cab96cc9
2011-06-29 18:08:31 +09:00
satok
284c32900b
Merge "Show subtype settings preference for new design"
2011-06-28 22:10:20 -07:00
satok
b9e56cde8b
Show subtype settings preference for new design
...
Change-Id: I6164ab6ae3d97e2095778a4a6fd9f36c508af7b0
2011-06-28 21:33:17 +09:00
Tadashi G. Takaoka
98d2e4c840
Merge "Add visual debug mode"
2011-06-28 04:45:19 -07:00
Tadashi G. Takaoka
670e1c6b71
Add visual debug mode
...
Change-Id: Ife131a398c0753b5b0e6e8969fe7bbc2a3bdab96
2011-06-28 19:13:52 +09:00
satok
bdb4edf533
Merge "Add suppress ime swicher notification"
2011-06-28 01:56:58 -07:00
satok
1c23d771d1
Add suppress ime swicher notification
...
Change-Id: I2050df05483c0b97c14c99ee941607371c081176
2011-06-28 17:52:34 +09:00
Tadashi G. Takaoka
49c8567db2
Merge "Use left/right-edge popup preview background"
2011-06-28 00:32:19 -07:00
Tadashi G. Takaoka
d87f28f145
Use left/right-edge popup preview background
...
Bug: 4902361
Change-Id: Iafbadd0e44c0db2fb6a0875c964304bec6ac8cb0
2011-06-28 16:00:23 +09:00
Tadashi G. Takaoka
87089985b1
Render sliding spacebar language switch arrows by text
...
Change-Id: Ief1a4f12a3d4840c36aa7a082f44b5b1ff894dd1
2011-06-28 15:58:45 +09:00
Justin Ho
f41e9f79eb
Updated IME assets
...
Bug: 4948171
Change-Id: I70019a91a95166196aa8ae5142ea7a0f81d32349
2011-06-27 17:27:25 -07:00
Justin Ho
23ea680fba
Cleaning up IME drawables
...
Bug: 4948171
Change-Id: Ief1a69478eacb13b6be03ab3923750cdf6ba25b6
2011-06-27 17:20:01 -07:00
Tadashi G. Takaoka
cf9c6ccdc5
Remove unused and unnecessary drawables
...
Change-Id: I7db0ee5e2aa06bba9b9f340aa6f71412c5a22c9a
2011-06-28 02:39:43 +09:00
Tadashi G. Takaoka
d44160d253
Merge "Draw popup hint "..." by text rendering"
2011-06-27 09:53:25 -07:00
Tadashi G. Takaoka
3040c8bcdd
Draw popup hint "..." by text rendering
...
Bug: 4959808
Change-Id: I30456b91852904c6801cbdd6476406fd60e84551
2011-06-28 01:50:26 +09:00
Tadashi G. Takaoka
660d42fb36
Remove mInForeground flag from KeyboardView
...
Instead of that, added cancelAllMessages() and call it from
onFinishInputView().
Change-Id: I58f6f0931ed8d73441d80d9616ba3afbbbe38e05
2011-06-28 01:00:59 +09:00
Tadashi G. Takaoka
55303bc634
Re-create input view after voice IME finished
...
Change-Id: Ia389eb43ac7ffec229bfd8b0fe56ce8271cb1d39
2011-06-27 23:46:15 +09:00
Tadashi G. Takaoka
7e9615f218
Fix NPE
...
Change-Id: Ia2c7d9e9298330ae991956fca64b225adaeff898
2011-06-27 22:54:18 +09:00
Tadashi G. Takaoka
8aee759262
Remove reference to system theme
...
This change also introduces
* Background for space key preview
* Tune stone theme
Change-Id: I84fca0baf2392582da870d2ff77b3e99c28faf7b
2011-06-27 22:36:04 +09:00
Tadashi G. Takaoka
281e180c33
Fix NPE
...
Change-Id: Ie4b8b657fc6cc5a819d4ea3a0ca4536e6fdf6825
2011-06-27 20:30:40 +09:00
Tadashi G. Takaoka
d8850ae1ab
Merge "Draw phone/number keyboard layout witout icon"
2011-06-27 04:17:51 -07:00
Tadashi G. Takaoka
b47319867e
Show long suggestion in condensed and ellipsized text
...
Bug: 4903845
Change-Id: I75d58fb55f81594ebb2628ea21d00c2eb59fa70e
2011-06-27 20:17:08 +09:00
Tadashi G. Takaoka
520a297ad1
Draw phone/number keyboard layout witout icon
...
This change introduces:
* New KeyboardView attribute
* keyLargeLetterRatio to specify large letter text size.
* keyHintLabelRatio to specify hint label text size.
* keyHintLabelColor to specify hint label text color.
* keyPreviewTextRatio to specify key preview text size.
* New Key.keyLabelOption flags
* alignLeftOfCenter, align the key label slightly left of the key center.
* largeLetter, use keyLargeLetterRatio to draw key letter.
* hasHintLabel, draw keyHintLabel at the right of key letter.
* followKeyHintLabelRatio, draw the key label following keyHintLabelRatio size.
* Renames
* Key.keyHintLetter to keyHintLabel.
* Key.keylLabelOption fontFixedWidth to fontMonoSpace.
* Key.keylLabelOption popupHint to hasPopupHint.
* Removes
* number icon releted attributes and declarations.
Change-Id: I2f456737e3a46209e5f48b5155951b2b21a33859
2011-06-27 20:04:34 +09:00
Tadashi G. Takaoka
717a8f50ae
Use dedicated layout for "touch to save word" feature
...
Change-Id: Ie8c948476740a645d8b2d9a9d821236941d27adf
2011-06-27 18:04:22 +09:00
Tadashi G. Takaoka
7fb04fe007
Fix ragged suggestion strip baseline
...
Change-Id: I5fa9e2ad0993602e24f436e1d8ad0999209e5180
2011-06-26 02:07:07 +09:00
Ken Wakasa
4f0d290c5d
Avoid memory leak by by non-static Handler inner classes
...
bug: 4901934
Change-Id: I870ab2e621ef3640a84468f09c074cdd726dc963
2011-06-26 00:14:40 +09:00
Ken Wakasa
c79aa482a8
Tiny string fix.
...
Change-Id: I56dd023b770ffbb85d7be1440301596b77c8d8c2
2011-06-25 00:16:55 +09:00
Tadashi G. Takaoka
87a32135ab
Merge "Remove spacebar preview and arrows"
2011-06-24 05:45:09 -07:00
Tadashi G. Takaoka
14daf66fc5
Remove spacebar preview and arrows
...
Change-Id: I07f1b7bbf222d90e95919304e82d7d054df2868d
2011-06-24 21:41:27 +09:00
satok
07a62cf3d6
Added very aggressive
...
Bug: 4905916
Change-Id: I7365dd417855c980a56ab3bc513e9bc824b3182e
2011-06-24 21:31:10 +09:00
Jean Chalard
bbda98dc3e
Merge "Add a link from Latin IME to the dictionary pack."
2011-06-24 04:27:12 -07:00
Jean Chalard
4f3d5d3733
Add a link from Latin IME to the dictionary pack.
...
The link only shows up if the dictionary pack is installed.
Bug: 1752028
Change-Id: I4af0a0a63324c155609710064a25df0deeb82b4d
2011-06-24 20:17:38 +09:00
Ken Wakasa
52344a0788
Fix NPE with the unit test
...
Change-Id: I0836f8b7191287bcff65cdc8a8ce0ff7484e9f65
2011-06-24 15:31:09 +09:00
Tadashi G. Takaoka
2442e77985
Display suggested word info in debug mode
...
Bug: 4686782
Change-Id: I0e5bef33aa39c3d6f75edda7818524965aa40b79
2011-06-24 14:19:59 +09:00
Tadashi G. Takaoka
703e7252ba
Fix popup key preview on 7/11 inch tablet
...
Change-Id: I42b4c0c7a554089baa778205da0627daaff667c6
2011-06-24 08:44:11 +09:00
Tadashi G. Takaoka
2b9eb15c0d
Fix extract mode visual
...
Bug: 4850051
Change-Id: Id30e15c6c1c341d3a7712165bd4fb0875d1ad8f1
2011-06-24 07:52:35 +09:00
Tadashi G. Takaoka
1bca5b6e83
Revert "Remove extra spacing from candidate strip to fix extract mode layout"
...
This reverts commit 177fc54d8c
.
Bug: 4904733
Change-Id: I7ab48ea559a9aafa58b1a2847f4398d24e9b1cfb
2011-06-24 07:51:49 +09:00
Adam Powell
177fc54d8c
Remove extra spacing from candidate strip to fix extract mode layout
...
Change-Id: Icb2b7d66196cd7d36bedb11eadad0d743f7c048e
2011-06-23 13:18:11 -07:00
Tadashi G. Takaoka
c83d0f0c85
Fix stale key style reference
...
This is a followup change of Ie7413852.
Bug: 4586882
Change-Id: I3472b1dc718b0fd24f419cb559553f9133ed84f9
2011-06-24 02:21:33 +09:00
Tadashi G. Takaoka
80b79bf9a2
Merge "Fix "Show settings key" option on 7" device"
2011-06-23 08:35:21 -07:00
Tadashi G. Takaoka
cd96a691b1
Fix "Show settings key" option on 7" device
...
Cherry-pic I993ac772 from Honeycomb-MR2.
Bug: 4586882
Change-Id: Ie74138523a3ae7958c7bec674c49aa0ab1a72d05
2011-06-24 00:08:42 +09:00
Tadashi G. Takaoka
35bda743ed
Merge "Move Key class out of internal package"
2011-06-23 07:22:58 -07:00
Tadashi G. Takaoka
e7759091dd
Move Key class out of internal package
...
Bug: 4903326
Change-Id: I2493d6dae613d2e37dfa8ce96b4cddc9a038160c
2011-06-23 22:59:12 +09:00
Tadashi G. Takaoka
75d7fb6675
Remove unused argument from PopupPanel.showPanel
...
Change-Id: I726b98001042c8b874113ed964b7230fdd525abe
2011-06-23 21:14:55 +09:00
Tadashi G. Takaoka
9116bf18f9
New IceCreamSandwich assets and theme
...
This change instroduces new IceCreamSandwich assets and renames
Honeycomb theme to IceCreamSandwich. Though checked only on
hdpi-phone and mdpi-10"-tablet.
File another bug (Bug: 4852048) to fine tune keyboard layout for all
possible combination of devices and themes.
Bug: 4436327
Change-Id: I4f8dc1dd6b798a39204702bbcbebf17a199dc82f
2011-06-23 21:06:17 +09:00
Alan Viverette
44f8dc3132
Fixing build error due to refactored import.
...
Change-Id: I7ed51fa4373fd5d1ebc6ebe52c6e93b27b43cff5
2011-06-22 12:08:10 -07:00
Svetoslav Ganov
8521781fd7
Merge "Added support for touch exploration to Latin IME."
2011-06-22 11:50:28 -07:00
Freeman Ng
ae706548d6
Merge "move setup wizard package name into google namespace"
2011-06-22 11:03:43 -07:00
Alan Viverette
5ac4638f99
Added support for touch exploration to Latin IME.
...
Bug: 4379983
Change-Id: I97f22e54827c6229054b514801401ffa5b4ed3b8
2011-06-22 10:54:06 -07:00
Tadashi G. Takaoka
3edc97b275
Merge "Remove colorScheme attribute from KeyboardView"
2011-06-22 08:51:36 -07:00
Tadashi G. Takaoka
a93d27d6b8
Remove colorScheme attribute from KeyboardView
...
Change-Id: I9de118e8be60b9a6fe1aecc00332ba08872db918
2011-06-22 22:45:03 +09:00
Tadashi G. Takaoka
a7eed902f1
Make CandidateView backward compatible
...
Up to version 10 (Gingerbread) of the API, FrameLayout doesn't handle
margin properly. This change inserts RelativeLayout to FrameLayout as
placer to set margin and place children views absolutely.
Change-Id: Iee785bc2da77677738caf456bcd2bbf57b89f007
2011-06-22 20:16:21 +09:00
Tadashi G. Takaoka
b947c73dcc
Merge "Add German QWERTY keyboard"
2011-06-22 01:52:17 -07:00
Tadashi G. Takaoka
e90fae82d6
Add German QWERTY keyboard
...
Bug: 3268561
Change-Id: I56a74dc04d337d8d5701d99e5c92493dbcc06e41
2011-06-22 17:46:56 +09:00
Tadashi G. Takaoka
c2a21786e5
Move icon declaration to Keyboard theme
...
Bug: 4436327
Change-Id: I074014d28dcb323b60dbc8fd9e169c75c393e0b3
2011-06-22 17:44:49 +09:00
Tadashi G. Takaoka
72934bd596
Move keyboard related internal class to separate package
...
Change-Id: Ic1459066b865cde5104b3734193f76c997959c68
2011-06-22 11:54:00 +09:00
Freeman Ng
713c686447
move setup wizard package name into google namespace
...
bug: 3027897
Change-Id: I8fbc7a742051d62880cb65edfb2808cd2b0ccba8
2011-06-21 14:56:42 -07:00
Tadashi G. Takaoka
0150be2a9b
Merge "Use 2 arguments LinearLayout constructor"
2011-06-21 07:39:55 -07:00
Tadashi G. Takaoka
f921129f9b
Use 2 arguments LinearLayout constructor
...
To maintain backward compatibility back to Froyo, we can't call
3-argument constructor of LinearLayout.
Change-Id: I35310704f92812d2748d32f35820a5058fa2bf31
2011-06-21 22:09:19 +09:00
Tadashi G. Takaoka
839fb35f2b
Merge "Support Turkish keyboard"
2011-06-21 02:40:42 -07:00
Tadashi G. Takaoka
35f20916e5
Support Turkish keyboard
...
I left TODOs in Suggest.java because we must pay attention to locale
when changing character's case. Filed another Bug: 4769095 to track
that.
Bug: 4768050
Change-Id: I1ae2c4ffd2208403a8c2a25dd3a56b71dcefc826
2011-06-21 17:50:17 +09:00
Tadashi G. Takaoka
6313db1d11
Merge "Add ArraysCompatUtils.binarySearch"
2011-06-21 01:42:17 -07:00
Tadashi G. Takaoka
acd1a1c7a8
Add ArraysCompatUtils.binarySearch
...
Until API version 9, java.util.Arrays.binarySearch(int[], int, int,
int) doesn't exist.
Change-Id: Ife0ed4fbac642eda069e7b6f6b8dd30e0cd5fdee
2011-06-21 17:02:38 +09:00
Tadashi G. Takaoka
05c0fc6136
Fix NPE in LatinKeyboard
...
Bug: 4727778
Change-Id: I9d5b7185d75408a8af6d302fb348e118c0f9721e
2011-06-21 10:15:54 +09:00
Eric Fischer
cdc12db404
Import revised translations.
...
Change-Id: I5dc1e545c6d8964fe6d58552fce56ef4b8d048f0
2011-06-20 15:01:22 -07:00
Tadashi G. Takaoka
87154c656e
Fix NPE
...
Bug: 4727778
Change-Id: I08f1204d5f77251c197dda7d2b332441f9f7123d
2011-06-21 02:31:33 +09:00
Tadashi G. Takaoka
416534d032
Merge "Make spacebar wider on phones"
2011-06-20 07:07:59 -07:00
Tadashi G. Takaoka
c00ffa4ccf
Make spacebar wider on phones
...
Bug: 4726951
Change-Id: I18e50d59cc6ba3670523a8979a274b14049ad815
2011-06-20 22:38:15 +09:00
Tadashi G. Takaoka
2951aa7e93
Fix NPE
...
NPE has occured while getting containerHeight in
LatinIME.onComputeInsets().
Change-Id: Ib906c20791a1f80a5c484a75eead9d2816a9da1b
2011-06-20 22:34:24 +09:00
Tadashi G. Takaoka
905a6cdcba
Merge "Close dictionary appropriately"
2011-06-20 04:08:04 -07:00
Tadashi G. Takaoka
3439c72639
Close dictionary appropriately
...
The dictionary that extends ExpandableDictionary must be closed when
it becomes unused.
Bug: 4725930
Change-Id: Ib5d2c39771fb7010d303a26d1ea1c8e237c0101f
2011-06-20 20:06:54 +09:00
Tadashi G. Takaoka
5a2d063047
Remove unnecessary onRefreshKeyboard call.
...
When using the sliding spacebar language switch on ICS, both
LatinIME.toggleLanguage() and
InputMethodService.onCurrentInputMethodSubtypeChanged() invoke
LatinIME.onRefreshKeyboard(). This change eliminates the first one if
it isn't necessary.
This change also cleans up the followings.
* reuse theme Context when the keyboard theme hasn't been changed.
* clear the Keyboard cache when theme has been switched.
* eliminates unnecessary Context reference from LatinKeyboard and
SlidingLocaleDrawable.
* recycle Bitmap and reuse Canvas in KeyboardView.
Bug: 4725930
Change-Id: I87366e9304879d94d12b7345adea768d86d43519
2011-06-20 19:21:31 +09:00
Tadashi G. Takaoka
e218baa6cc
Fix NPE
...
Change-Id: I35efd1d6c8c2b48d93675d014d5c7aef7d12ed58
2011-06-20 11:29:04 +09:00
Tadashi G. Takaoka
76427c8e56
Merge "Fix NPE"
2011-06-18 07:49:44 -07:00
Tadashi G. Takaoka
5e4e05afd2
Fix NPE
...
Bug: 4686479
Change-Id: I0b8a32d0f9bcebe55eebecd38dc5e69198e94378
2011-06-18 23:43:58 +09:00
Tadashi G. Takaoka
ada37cb4d3
Make auto correction candidate displayed in bold font
...
Bug: 4724868
Change-Id: I0a77893f7894c4edb226f97c0acea24142c35949
2011-06-18 13:40:49 +09:00
Tadashi G. Takaoka
c029e0f4a7
Merge "Support Spanish keyboard"
2011-06-17 09:17:55 -07:00
Tadashi G. Takaoka
6b7e6c9693
Support Spanish keyboard
...
Bug: 4312114
Change-Id: I3feca4e87bdca0e4b5304fc325188e7eac115328
2011-06-18 01:09:32 +09:00
Tadashi G. Takaoka
2c43ed179e
Support Croatian keyboard
...
Basically Croatian keyboard is QWERTZ layout with extra letters such
as č, ć, đ, ž and š. This change just introduces Croatian keyboard
subtype and QWERTZ layout which has the extra letters as popup mini
keyboard of base letter.
It might be great if we could have dedidated table layout.
Bug: 4309160
Change-Id: I0fc227295defa56029ca06e406f73833b992be0e
2011-06-18 01:05:54 +09:00
Tadashi G. Takaoka
1b580e3f1a
Add Finnish and Hungarian keyboard subtype
...
There are already both languages keyboard layout. Finnish is based on
Scandinavian layout and Hungarian is based on QWERTZ.
Change-Id: I6c804495bf1ae56661bc5c714e0c500132cd55a8
2011-06-17 22:31:04 +09:00
Tadashi G. Takaoka
8f5a3842e6
Merge "Disable showing TAB key when navigate flags are specified"
2011-06-17 05:27:35 -07:00
Tadashi G. Takaoka
f0f726464d
Disable showing TAB key when navigate flags are specified
...
Bug: 3094312
Change-Id: Ibbd36020c1e40daab220b588e6c190979afe7149
2011-06-17 21:13:35 +09:00
Tadashi G. Takaoka
c78278bfb4
Temporarily disable displaying debug information
...
Should come up with the way to display the debug info again soon.
Change-Id: I20a01d1f03330cee05d4e52fd1ab622e315c87e9
2011-06-17 21:11:23 +09:00
satok
144ba95813
Merge "Refactor of SuggestionSpanUtils"
2011-06-17 03:29:08 -07:00
Tadashi G. Takaoka
28a38fdfee
Tab key is shown when editor navigation flag is set
...
Previously tab key is shown only when the input type variant says that
it is web input. In addition to that, this change also shows tab key
when the IME option includes editor action (next and/or previous)
flag.
Bug: 3094312
Change-Id: I3f8841fdbcee918a0f93f3259090f24e70d96471
2011-06-17 19:08:49 +09:00
satok
23726dbdca
Refactor of SuggestionSpanUtils
...
Change-Id: Id266062831e8c28a346e129168b883ee3d5622bf
2011-06-17 18:25:36 +09:00
Tadashi G. Takaoka
4720808cdc
Rename keyboard rows consistently
...
Change-Id: I7147cab36eee4b6fd9418ca36e8ece2360b59e45
2011-06-17 18:13:47 +09:00
Tadashi G. Takaoka
237af54df5
Tune up 7 inch keyboard layout
...
Bug: 4479212
Change-Id: I25c48ef474f6198dde9b670b23509c087acae149
2011-06-17 16:27:51 +09:00
Tadashi G. Takaoka
4b1c759c77
Merge "Add Key.keyHintLabel and remove Key.keyHintIcon"
2011-06-16 05:24:49 -07:00
Tadashi G. Takaoka
9d9522abdc
Add Key.keyHintLabel and remove Key.keyHintIcon
...
This change also removes manualTemporaryUpperCaseCode and
manualTemporaryUpperCaseHintIcon. Instead of these keyLabelOption now
has hasUppercaseLetter flag value.
Bug: 4436327
Change-Id: I88fdac1e888a7123735296f5ef45f5fdd565cd2e
2011-06-16 21:24:19 +09:00
Jean Chalard
f844094e83
Merge "Small performance fix."
2011-06-16 04:29:21 -07:00
Tadashi G. Takaoka
a61967330e
Make LatinKeyboard aware of theme
...
Bug: 4436327
Change-Id: Idecdd470cbb0720b96958039eb11f6978d39629e
2011-06-16 20:10:49 +09:00
Jean Chalard
516f18f97e
Small performance fix.
...
This improves performance by not allocating an iterator.
Change-Id: I5511fd8b8d3aa826917620c0af994dbaf1562bb1
2011-06-16 20:05:46 +09:00
Tadashi G. Takaoka
08a6f2aea7
Make CandidateView aware of theme
...
This change is needed to introduce new theme easily.
Bug: 4436327
Change-Id: Idc368b66d892d9c888ba7a26bfa3527c21678292
2011-06-15 20:02:45 +09:00
Tadashi G. Takaoka
66bafe24f6
Merge "Make Keyboard aware of theme"
2011-06-15 03:56:26 -07:00
Tadashi G. Takaoka
b7758d6f91
Make Keyboard aware of theme
...
This change is needed to introduce new theme easily. As a starter this
change introduces Keyboard.popupHintIcon attribute and
Key.keyLabelOption.popupHint flag to show popup hint icon that is
previously specified by Key.keyHintIcon attribute.
Bug: 4436327
Change-Id: I6b1c5c1b88eece541141b2d2cedd164ee02e5c2a
2011-06-15 19:51:30 +09:00
satok
e968ad8ad1
Merge "Remove the original text from SuggestionSpan"
2011-06-15 02:43:03 -07:00
satok
064e21bb1d
Remove the original text from SuggestionSpan
...
Change-Id: If70d32cad980b46ba77f399606d7ab3957c5d096
2011-06-15 18:32:07 +09:00
Tadashi G. Takaoka
1ddb4897fe
Fix Keyboard crash when chording and long pressing key
...
This change just prevents crashing. The another bug#4646271 has been
opened to support chording and long pressing key.
Bug: 4463909
Change-Id: I50e42656fe111e6b261310c899e672b8ba001e5d
2011-06-15 17:05:39 +09:00
Tadashi G. Takaoka
862e05a8f0
Fix NPE in CandidateView.offsetMargin
...
Bug: 4609124
Change-Id: I14913afba80732e6beb8458b404001798a221a79
2011-06-15 10:48:53 +09:00
Tadashi G. Takaoka
86e815a142
Implement expandable candidates pane
...
This change removes horizontal scroll from candidates strip. Instead
of that this change introduces "fixed 3 items candidates strip" and
"expandable candidates pane".
Bug: 4175031
Change-Id: Ia367d9074436fdea76d3b653d81798ce2749170e
2011-06-14 20:40:56 +09:00
Jean Chalard
90cb2e6296
Merge "Add an option to use or not the contacts dictionary."
2011-06-13 01:48:00 -07:00
Jean Chalard
699094f9b6
Add an option to use or not the contacts dictionary.
...
Bug: 4586840
Change-Id: If62cd57e5ab661e6a51a5442d09bf0af8f08f263
2011-06-13 17:33:04 +09:00
Tadashi G. Takaoka
070760dc5a
Clean up candidate strip view hierarchy
...
Bug: 4175031
Change-Id: I8073739ac7624d2c0a111c5ef7043d8766162a83
2011-06-13 15:12:23 +09:00
Tadashi G. Takaoka
8d828fc449
am bdbefac0: am 263749f2: am 37deb112: Fix IndexOutOfBoundsException
...
* commit 'bdbefac0b471e8a70c5d4958b8d1a345777d6bdb':
Fix IndexOutOfBoundsException
2011-06-10 15:11:13 -07:00
Jean Chalard
35daf4007c
Merge "Stop using raw e-mail addresses as names in contacts dict."
2011-06-10 02:34:05 -07:00
Jean Chalard
1ea78d92e6
Stop using raw e-mail addresses as names in contacts dict.
...
Bug: 4590281
Change-Id: I37016dd066efa1463077c67e05218148cbb67df4
2011-06-10 18:18:05 +09:00
Jean Chalard
dc05c6650e
Demote contacts frequency.
...
Bug: 4586840
Change-Id: I6dbef2d973174fc49c3955547dde923d6fa48ae1
2011-06-10 17:36:12 +09:00
Tadashi G. Takaoka
37deb112c7
Fix IndexOutOfBoundsException
...
Bug: 4586181
Change-Id: I10a2d1486c9a0d11aa42cf7c6a33ecd70b6918d7
2011-06-10 09:57:32 +09:00
Tadashi G. Takaoka
430dc5957e
am ba6cd54a: am c636de2c: am 0ff8810b: Fix disabled mic icon temporally
...
* commit 'ba6cd54aefe9a28e26f5668fbf43845b8c6403aa':
Fix disabled mic icon temporally
2011-06-09 11:52:27 -07:00
Tadashi G. Takaoka
98275e4512
Merge "Enable long press caps lock" into honeycomb-mr2
2011-06-08 23:01:46 -07:00
Tadashi G. Takaoka
7dd37ef267
Enable long press caps lock
...
This change is a back port from Master.
Cherry-pick: I413062c759a1d91c66fcbf5dd04050dfbf15094f
Bug: 3319295
Change-Id: I461942fde05d91519775d260410356dfcbe7f7c0
2011-06-09 14:54:57 +09:00
Tadashi G. Takaoka
06f66153be
Release caps lock by double tap on shift key
...
This change is a back port from Master.
Cherry-pick: Ie0cad06c7b1afac0f33af76128303517e9e7bddc
Bug: 3319295
Change-Id: I4bc294161cb8bc4edfdcb1afc0c66b3812667bf3
2011-06-09 14:53:52 +09:00
Jean Chalard
cb6d82da44
Merge "Enable reverting the auto-conversion of double space."
2011-06-08 22:39:49 -07:00
Tadashi G. Takaoka
91b9a6808c
Merge "Introduce CandidateView.Listener"
2011-06-08 22:38:47 -07:00
Jean Chalard
4733609947
Enable reverting the auto-conversion of double space.
...
Bug: 3376923
Change-Id: If3fcfd208ad4a2b8a1452a21b07694d8d512c6ae
2011-06-09 14:27:40 +09:00
Tadashi G. Takaoka
c97810693d
Introduce CandidateView.Listener
...
Bug: 4175031
Change-Id: Ie84d1c86ff099350b786c71e7081d9ea9ee0d81f
2011-06-09 14:22:37 +09:00
Tadashi G. Takaoka
e6d376298a
Fix duplicate action next
...
Change-Id: I986528131a1dbe5926b8b6b2a6ffa75f48c5151a
2011-06-09 14:18:53 +09:00
Tadashi G. Takaoka
0143e11f11
Merge "Separate debug information display from candidate view"
2011-06-08 01:02:19 -07:00
Tadashi G. Takaoka
1e273fa6d1
Separate debug information display from candidate view
...
This change is one of the preparations for suggestion strip redesign.
Bug: 4175031
Change-Id: I82675936773ed6cf132a52486909ff21af828256
2011-06-08 16:59:37 +09:00
Tadashi G. Takaoka
0ff8810bff
Fix disabled mic icon temporally
...
This is a workaround until those drawables are updated by proper
image.
Bug: 4562738
Change-Id: Iabdf1736fd866cf8c6d976c895c2ddda637a50dc
2011-06-08 16:01:04 +09:00
Freeman Ng
3d3e6f5faa
Merge "Revert "move setup wizard package name to google namespace""
2011-06-07 13:48:00 -07:00
Freeman Ng
60c5851cc8
Revert "move setup wizard package name to google namespace"
...
This reverts commit 1af8006352
2011-06-07 13:46:02 -07:00
Ken Wakasa
a88a5eddbc
Revise hasMultipleEnabledIMEsOrSubtypes()
...
bug: 4559308
Change-Id: If831c0827dbf030eaf1d241ebfa60d4e5029ae63
2011-06-07 22:22:15 +09:00
Tadashi G. Takaoka
f20eb55d4f
Fix NPE introduced by Ia0dc487c
...
Bug: 4553273
Change-Id: Iaf7a969b2c96750070a296791108d67887d613e4
2011-06-07 12:30:28 +09:00
Tadashi G. Takaoka
212ee95dbd
Merge "Import 7 inch keyboard from Honeycomb-MR2"
2011-06-06 03:57:18 -07:00
Tadashi G. Takaoka
0d22fc4532
Import 7 inch keyboard from Honeycomb-MR2
...
Unfortunately current Master seems have bugs in resource
selection. The xml-en/kbd_qwerty.xml is added to avoide those issue as
work around, and must be removed if the issue is fixed.
Bug: 4442045
Change-Id: Ic43d66e8669fb63e2c3f0b8b9aae9178ca3c32b5
2011-06-06 19:31:13 +09:00
Tadashi G. Takaoka
ddb61ea461
Separate candidate divider from candidate view
...
This change is one of the preparations for suggestion strip redesign.
Bug: 4175031
Change-Id: Ia0dc487c11c3005ef19b87ec0efcc18e48411f76
2011-06-06 18:21:08 +09:00
Eric Fischer
760247f9a5
Merge "Import revised translations."
2011-06-03 10:20:19 -07:00
Tadashi G. Takaoka
0dd778f832
Merge "Fix mini keyboard position"
2011-06-03 09:04:50 -07:00
Tadashi G. Takaoka
f03883025f
Fix mini keyboard position
...
This change adjusts popup mini keyboard X-coordinate not to be clipped
out of the display.
Bug: 4442045
Cherry-Pick: Ibdf4e2d0a79cddbeb89ed8ded81a2db9af9797b8
Change-Id: I1c3ce7b1c6a6d247b796a1cdcd821bf88321ddef
2011-06-04 00:21:01 +09:00
Tadashi G. Takaoka
abd7392d66
Keep tablet keyboard in sync with Honeycomb-MR2
...
This change removes Russian keyboard layout exceptions and make it
compatible with other Latin's.
Also tweaks some locales' keyboard layout to match with standard PC's
keyboard layout at most.
Change-Id: I305201fb850b4f94ae7e746ab4c039473d09da70
2011-06-03 21:44:57 +09:00
Tadashi G. Takaoka
5859205139
Implement logical or to Keyboard switch-case matching
...
Change-Id: Iab615459c21fa5799a7b30b8649d75347e46c804
2011-06-03 21:03:26 +09:00
Tadashi G. Takaoka
c0fdabcd85
Merge "Remove tab key from symbol and symbol shift layout"
2011-06-03 04:39:44 -07:00
Jean Chalard
8fd75b3147
Add spell checking core methods.
...
Bug: 4176026
Change-Id: Ic6ea3e084b3ebacfc5fd998d2c7b0130f7b0ec48
2011-06-03 17:11:16 +09:00
Tadashi G. Takaoka
4f7cb70d22
Remove tab key from symbol and symbol shift layout
...
Bug: 4521421
Change-Id: I26c31c6b1a71de3366ca39e64f49bb911f0ef1a0
2011-06-03 15:30:12 +09:00
Eric Fischer
1b1b294c21
Import revised translations.
...
Change-Id: I465699895743a90144e24f5b95267012f72bb0cd
2011-06-02 16:59:02 -07:00
Tadashi G. Takaoka
45934c93d5
Merge "Update drawables"
2011-06-02 02:09:24 -07:00
Tadashi G. Takaoka
044f000389
Update drawables
...
Keep in sync with Honeycomb-MR2
Change-Id: I2ecc0a945bd202e83b8c13879b3d22abc4287918
2011-06-02 17:23:32 +09:00
Jean Chalard
e93b1f2209
Allow reading a binary dictionary even without proximity info.
...
This prepares the way for spell checking, which is to be done
without context so without proximity info.
Bug: 4176026
Change-Id: I1b4bfaefe2611e1b484acdf3c33598cb80f81ff4
2011-06-02 12:10:13 +09:00
Tadashi G. Takaoka
48a00c409d
Fix key label of switching alphabet and symbols key (DO NOT MERGE)
...
Bug: 4499754
Change-Id: I8048b5d7e0ec90a545dac0827b699d37698bebb5
2011-06-02 10:07:57 +09:00
Tadashi G. Takaoka
cf93043d13
Update drawables (DO NOT MERGE)
...
Bug: 4442045
Change-Id: I97068cdd50cc24a72610aa087dd624484862fa06
2011-06-01 19:51:49 +09:00
Tadashi G. Takaoka
2f894882a8
Revised phone/number layout for 7 inch tablet
...
Bug: 4442045
Change-Id: I562d75436aec2057863f6a8252275a5e47ecea6e
2011-06-01 18:45:28 +09:00
Tadashi G. Takaoka
528be97fca
Fix mini keyboard position
...
This change adjusts popup mini keyboard X-coordinate not to be clipped
out of the display.
Bug: 4442045
Change-Id: Ibdf4e2d0a79cddbeb89ed8ded81a2db9af9797b8
2011-05-31 21:58:46 +09:00
Tadashi G. Takaoka
fd2f1a1677
Remove number hint from 7 inch layout
...
Bug: 4442045
Change-Id: I55ad5ea45bc2a089486e69ca38a0e174dd7957d6
2011-05-31 20:31:00 +09:00
Tadashi G. Takaoka
9b4e897e98
Fix "." key code of number layout on 7 inch tablet (DO NOT MERGE)
...
Bug: 4442045
Change-Id: Ib3e4ac7f2fab84134e0c9c3fdbf107a91acad301
2011-05-31 18:30:37 +09:00
Tadashi G. Takaoka
75f812aff9
Updated IME drawables to support 7 inch devices
...
This change syncs all drawables from Honeycomb-MR2 into Master.
Bug: 4442045
Change-Id: Ia539aa62bfc355ccc742cf5aa600463c7b604187
Cherry-pick: I98664b0c954be82eeda00c69e712da2e20ca606a
2011-05-31 18:19:19 +09:00
Tadashi G. Takaoka
e99738564a
Merge "Adaptive keyboard width/position parser"
2011-05-31 01:55:44 -07:00
Tadashi G. Takaoka
327763e518
Adaptive keyboard width/position parser
...
This change introduces the following features to Keyboard XML format.
* "keyXPos" can specify the key X coordinate directly.
* "keyXPos" can be negative. The X coordinate will be calcluated from
the right edge of the keyboard toward left.
* "keyWidth" can be zero to be filled up to the right side.
* "keyWidth can be negative. The key will be filled up to both sides.
* Spacer's horizontalGap is renamed as keyWidth, and can be inherited
from key-style.
* Spacer can have keyXPos attribute.
Using these syntax, all keyboard layouts have been re-written.
Cherry-Pick: I314b2e8ca2aa145ff9506cbf927140a15685af42
Bug: 4442045
Change-Id: I048fe5eaef020d8472ab577e9d326042bae2f3fa
2011-05-31 17:52:32 +09:00
Jean Chalard
57c38bf4b0
Merge "Enable choosing a bigram prediction several times in a row."
2011-05-30 19:35:15 -07:00
Tadashi G. Takaoka
2c187a7662
Remove voice key option from 7 inch tablet setting.
...
Bug: 4442045
Change-Id: I5e75e9e61a3be81295d4271d6302233c97e9ea5a
2011-05-31 10:55:00 +09:00
Tadashi G. Takaoka
c25e07d212
Fix web input type judgment
...
Bug: 4490948
Change-Id: I71efb8f5784970f1d2a94da1d2eb852f7f11885f
2011-05-30 19:10:25 +09:00
Jean Chalard
41ec3ec2f3
Enable choosing a bigram prediction several times in a row.
...
This change fixes a bug that prevented to choose a prediction
several times in a row because the predictions would be replaced
right away by punctuations.
Please note several things about this change:
- Recorrection is pretty much in the middle of being refactored.
This change has no effect on recorrection itself, but may make
existing strange behavior more obvious when moving the cursor
for example.
- The part of this change in Recorrection.java is not used in
master at the moment because ongoing changes on recorrection
result in the control never landing there, but would have been
needed in the past and may be needed in the future.
- This change may have adverse effects on performance which need
to be evaluated. A comment in the code has also been written
to this effect.
- This does not fix bug 4466199, only addresses a pinpoint case
of it to help evaluating the bigram predictions feature.
Bug: 4466199
Change-Id: I7219e5aeb74dff9251d12b2a72f94448dbb3e63f
2011-05-30 16:03:39 +09:00
Tadashi G. Takaoka
6b38a5fd4c
Adaptive keyboard width/position parser (DO NOT MERGE)
...
This change introduces the following features to Keyboard XML format.
* "keyXPos" can specify the key X coordinate directly.
* "keyXPos" can be negative. The X coordinate will be calcluated from
the right edge of the keyboard toward left.
* "keyWidth" can be zero to be filled up to the right side.
* "keyWidth can be negative. The key will be filled up to both sides.
* Spacer's horizontalGap is renamed as keyWidth, and can be inherited
from key-style.
* Spacer can have keyXPos attribute.
Using these syntax, all keyboard layouts have been re-written.
Bug: 4442045
Change-Id: I314b2e8ca2aa145ff9506cbf927140a15685af42
2011-05-28 10:01:00 +09:00
Tadashi G. Takaoka
88251a9555
Rename resource folder according to new naming scheme
...
Change-Id: I45a29d753103d82b625e55e78f1075497e94396f
2011-05-28 01:17:13 +09:00
Tadashi G. Takaoka
fd8245b3f2
Merge "Add number password keyboard layout to phone"
2011-05-27 09:09:41 -07:00
Tadashi G. Takaoka
a8fd3af67a
Merge "Remove web mode and add webInput boolean"
2011-05-27 09:09:30 -07:00
Tadashi G. Takaoka
c2a37c7392
Merge "Rename filename of hint icons for numbers"
2011-05-27 09:09:18 -07:00
Tadashi G. Takaoka
fa847fe9b5
Add number password keyboard layout to phone
...
Bug: 4479212
Change-Id: I230371632d5ba0d940e576a9b8b6668079990004
Cherry-pick: Ia0a284a3
2011-05-27 22:13:06 +09:00
Tadashi G. Takaoka
9e2d810dc5
Remove web mode and add webInput boolean
...
Bug: 4490948
Change-Id: I6fe23c9ab4918eab6806cc621c4d6821c2e1baf9
Cherry-Pick: I4cd1af0b
2011-05-27 21:47:14 +09:00
Tadashi G. Takaoka
c29c69a372
Rename filename of hint icons for numbers
...
Change-Id: Ibd844167199f5d884d97b8fe9f536f47fbe5bdcd
Cherry-Pick: I1f3bc846
2011-05-27 21:14:52 +09:00
Jean Chalard
f4a05624ee
Merge "Stop promoting auto dictionary words to the user dict."
2011-05-27 03:26:30 -07:00
Tadashi G. Takaoka
ec8cb2eb53
Merge "Remove web mode and add webInput boolean (DO NOT MERGE)" into honeycomb-mr2
2011-05-27 00:06:46 -07:00
Tadashi G. Takaoka
38515ae577
Remove web mode and add webInput boolean (DO NOT MERGE)
...
Bug: 4490948
Change-Id: I4cd1af0b48d7ebcf8f4bd939e0e363e34dbfe8b7
2011-05-27 15:20:08 +09:00
satok
375f45cd19
Merge "Fix whitelist"
2011-05-26 20:26:13 -07:00
Eric Fischer
144e97f154
Import revised translations.
...
Change-Id: I03c7133e46f6067f1912e778b498bf1915f42441
2011-05-26 15:47:59 -07:00
Eric Fischer
01a12eb1d8
Merge "Import revised translations. DO NOT MERGE" into honeycomb-mr2
2011-05-26 11:38:04 -07:00
Eric Fischer
5ea4c0cec3
Import revised translations. DO NOT MERGE
...
Change-Id: I1f50ea2efc93a69ccd27df5e2708bdd8384f0df1
2011-05-26 11:26:29 -07:00
Tadashi G. Takaoka
ab9335e949
Merge "Update phone/number layout with new 7inch design (DO NOT MERGE)" into honeycomb-mr2
2011-05-26 10:38:52 -07:00
Tadashi G. Takaoka
37445e1136
Update phone/number layout with new 7inch design (DO NOT MERGE)
...
Bug: 4442045
Change-Id: I346489b62b424f6fb897b109310b62b2538ef397
2011-05-27 01:20:43 +09:00
Tadashi G. Takaoka
41a8dc1f80
Merge "Fix Russian keyboard input code"
2011-05-26 09:18:06 -07:00
Tadashi G. Takaoka
a3eff88af6
Fix Russian keyboard input code
...
This is cherry pick from Honecyom-MR2 Iebeec413.
Change-Id: I11b292fe4469f1d0232948b57a93cd0f0275c87d
2011-05-26 23:35:54 +09:00
Tadashi G. Takaoka
c4fc3b0266
Fix Russian keyboard input code (DO NOT MERGE)
...
Change-Id: Iebeec413f7f7d26fc00102a27c4eaec1fb63f8a1
2011-05-26 23:07:41 +09:00
Tadashi G. Takaoka
d8638ff34b
Introduce new 7" keyboard layout (DO NOT MERGE)
...
This change only changes QWERTY layout. The phone/number and
AZERTY/QWERTZ/Russian/Scandinavia layouts will be fixed soon.
Bug: 4442045
Change-Id: Ib42c84e1d05fee513b1b7680ef0dcf755298d444
2011-05-26 20:33:17 +09:00
satok
a0493fa070
Fix whitelist
...
Bug: 4090049
Change-Id: I1d57ddafcacb895196c65acaae198dad7499983b
2011-05-26 20:30:27 +09:00
Tadashi G. Takaoka
f5d9649680
Introduce web and email mode (DO NOT MERGE)
...
This change introduces new keyboard mode "webEmail" to honor
InputType.TYPE_TEXT_VARIATION_WEB_EMAIL_ADDRESS. In this mode, both
'@' key and TAB key appear on the keyboard.
The keyboard layouts will be modified with other change.
Bug: 4490948
Change-Id: I66f9bda4907da448db097e9c900199dfa700b16a
2011-05-26 19:47:47 +09:00
satok
ea9098ca69
Add SuggestionSpan suggestion picked notification receiver
...
Bug: 4443922
Change-Id: I8a9dc5077ae06c6d0c39fd7fdd823fc4f4d05f45
2011-05-26 19:47:29 +09:00
Justin Ho
b0598460cf
Updated IME assets and layouts to support 600dp devices
...
Bug: 4442045
Change-Id: I98664b0c954be82eeda00c69e712da2e20ca606a
2011-05-25 18:39:03 -07:00
Jean Chalard
8ef4dd9af8
Stop promoting auto dictionary words to the user dict.
...
Also see change I5a57ecc8 which is another fix for the same
problem.
Bug: 3459274
Change-Id: Ica2bb5b5aa4362d538df3765559d676c1aab4a85
2011-05-25 21:24:07 +09:00
Tadashi G. Takaoka
9e5be6caad
Merge "Use custom theme for Keyboard theme switch"
2011-05-25 03:02:25 -07:00
Tadashi G. Takaoka
13a7419994
Use custom theme for Keyboard theme switch
...
This change reduces the number of layout files and make these
theme-generic. This might be very helpful to re-design suggestion
strip.
Bug: 4175031
Change-Id: Idca10a4aa0bf7ac496eedd1879311e59780a423b
2011-05-25 18:59:00 +09:00
satok
30f38adb0b
Merge "Disable the legacy recorrection functionalities if the suggestion span is supported"
2011-05-25 02:56:36 -07:00
satok
0d4757bb0b
Disable the legacy recorrection functionalities if the suggestion span is supported
...
Bug: 4346045
Change-Id: Ib4594a9073b961038564bbcd601f9c290d153d5d
2011-05-25 18:37:48 +09:00
Tadashi G. Takaoka
6c4add55f9
Initialize CandidateView in setInputView
...
When keyboard theme has been switched, input view will be replaced
with new theme one and current CandidateView will get stale. The
CandidateView must be reseted in setInputView.
Change-Id: I36fd14280572d2d367cfef549d7705b3b321ba3e
2011-05-25 18:28:03 +09:00
satok
f4c9e9d359
Merge "Put SuggestionSpan at commitText"
2011-05-25 02:00:05 -07:00
Tadashi G. Takaoka
3e17686c68
Fix missing setService call for CandaiteView
...
This bug has been introduced by I95f379b9.
Bug: 4486388
Change-Id: I23fd3abe05946d4709b4593efa4713cd19723479
2011-05-25 17:57:33 +09:00
satok
1fef530ec7
Put SuggestionSpan at commitText
...
Bug: 4346045
Change-Id: Iaabdb8a148b2601bb9cbc2b08509adac164105a4
2011-05-25 17:48:31 +09:00
Tadashi G. Takaoka
0aa0133795
Fix missing initializartion of key preview position
...
This is followup of Iddab254c
Change-Id: I2d8e68b696779b742d29fdcf03c5fb509cb0bd87
2011-05-25 16:14:19 +09:00
Tadashi G. Takaoka
598a25d990
Merge "Enable long press even if the key is disabled"
2011-05-24 23:52:12 -07:00
Tadashi G. Takaoka
e07b51e7c6
Enable long press even if the key is disabled
...
Change-Id: Iddab254c7d6625bf44473109b4a52d2f7a163a27
2011-05-25 15:22:03 +09:00
Tadashi G. Takaoka
f3cd2bb33d
Fix IllegalStateException when setting input view
...
This is followup change of I95f379b9.
Bug: 4175031
Change-Id: Ibf3e3bd2524c9543ec6193cb6e59529b2c4df3b1
2011-05-25 15:09:09 +09:00
Tadashi G. Takaoka
187a8da246
Merge "Move CandidateView into input view"
2011-05-24 00:12:20 -07:00
Tadashi G. Takaoka
f71454fecb
Slightly lower the keyboard height on 7" landscape (DO NOT MERGE)
...
Bug: 4479212
Change-Id: Ie3b1d82ee659c5f67eede936c079e99c1a4451b9
2011-05-24 16:10:54 +09:00
Tadashi G. Takaoka
c150acc7c8
Move CandidateView into input view
...
Bug: 4175031
Change-Id: I95f379b9943d1dcab1dc5527b6e5ac5abd58e280
2011-05-24 15:37:53 +09:00
Tadashi G. Takaoka
5903e061ad
Merge "Reorganize drawable for large and xlarge device (DO NOT MERGE)" into honeycomb-mr2
2011-05-23 23:11:48 -07:00
Tadashi G. Takaoka
eef3b7b328
Add number password keyboard layout to phone (DO NOT MERGE)
...
Bug: 4479212
Change-Id: Ia0a284a365af99257ed47351bdd3387fd9a53eba
2011-05-24 12:31:52 +09:00
Tadashi G. Takaoka
5979673c9e
Merge "Fix reflection method invokation"
2011-05-23 19:27:11 -07:00
Tadashi G. Takaoka
8e26dfeaae
Add missing IME_ACTION_NEXT
...
Change-Id: I377042c1750dd97b922bcf40bffb4046e023f6bb
2011-05-24 11:22:25 +09:00
Tadashi G. Takaoka
f23f00a13a
Fix reflection method invokation
...
Either of Method.invoke, Field.get and Field.set can accept null as
receiver.
Change-Id: I4539dcc95a794f6ee84cf4e7aabf4e8f0206728f
2011-05-24 11:15:18 +09:00
Tadashi G. Takaoka
83fdaddda8
Reorganize drawable for large and xlarge device (DO NOT MERGE)
...
Because the holo theme drawables have "holo" effect around 9-patch as
fixed size image, so we need dedicated drawables for each sw600dp-mdpi
and sw768dp-mdpi resolutions for visual designers.
* drawable-mdpi (fallback resources)
* drawable-sw600dp-mdpi (7" tablet, phone style keyboard, placeholder for now)
* drawable-sw768dp-mdpi (10" tablet, tablet style keybaord)
Note that:
* Eventually sw600dp drawables will be updated by designers.
* We need sw768dp drawable copies because, without these, 10" tablet
will use updated sw600dp drawables wrongly.
* We have to keep drawable-mdpi as final fallback resources.
Bug: 4436327
Change-Id: I93db87ee99c2abb8d18e869e5411e3cb5bec1020
2011-05-23 19:44:50 +09:00
Tadashi G. Takaoka
88100d3651
Rename filename of hint icons for numbers (DO NOT MERGE)
...
Bug: 4436327
Change-Id: I1f3bc846683edc4be666dce8ea89659225ef7301
2011-05-23 19:10:39 +09:00
Jean Chalard
8c08a49895
Merge "Squash case for bigram insertion/lookup."
2011-05-23 02:34:48 -07:00
Tadashi G. Takaoka
3a38fef7a0
Remove CandidatesView related method call from voice ime
...
Change-Id: I33ccf2c141d94437b175222b9e65c0b4e2671a35
2011-05-23 18:05:46 +09:00
Tadashi G. Takaoka
20920c0178
Remove unnecessary executable permission from drawable
...
Cherry-Pick: Ie8644396e1df8fbc16e4047808857c91aa2451ba
Bug: 4436327
Change-Id: I6917876995f20361358b6e6577fc646795f04d7e
2011-05-23 16:22:49 +09:00
Tadashi G. Takaoka
51139a6104
Merge "Remove unnecessary executable permission from drawable" into honeycomb-mr2
2011-05-22 23:51:04 -07:00
Tadashi G. Takaoka
f4e2af842c
Remove unnecessary executable permission from drawable
...
Bug: 4436327
Change-Id: Ie8644396e1df8fbc16e4047808857c91aa2451ba
2011-05-23 15:49:00 +09:00
Jean Chalard
ed8c29568d
Squash case for bigram insertion/lookup.
...
Bug: 4464446
Change-Id: If7b6d73fb408d53f941c82ed4f47221e85c845d8
2011-05-23 15:44:35 +09:00
Tadashi G. Takaoka
f4911e4348
Rename resources with new scheme (DO NOT MERGE)
...
This change renames resources along with new naming scheme.
* large to sw600dp (7" tablet uses phone keyboard layout)
* xlarge to sw768dp (10" tablet)
Bug: 4436327
Change-Id: I96678fa699d2abcb48022d8878557f1486e839aa
2011-05-23 13:16:08 +09:00
Tadashi G. Takaoka
c142f5e48c
Fix Android Keyboard crash on hdpi device
...
Cherry-pick: I9fcb970c214e92ad7711fbbf4a375a8c3c6d024b
Bug: 4436327
Change-Id: I0d1831783cbff7b9056f84819fbcb8a4a9a34d5d
2011-05-21 14:51:05 +09:00
Tadashi G. Takaoka
4bb0992fd2
Fix Android Keyboard crash on hdpi device
...
Change-Id: I9fcb970c214e92ad7711fbbf4a375a8c3c6d024b
2011-05-21 03:26:38 +09:00
Tadashi G. Takaoka
28ad889d0e
Remove unused resources (DO NOT MERGE)
...
This change also syncs the drawables with Master.
Cherry-pick: I2573786aac5fd8d543cf12d24c951b67c7353fd7
Bug: 4436327
Change-Id: I88dc0162033a1017040205590c0c34a5111b835a
2011-05-20 21:43:20 +09:00
Tadashi G. Takaoka
20e16475e6
Merge "Remove manual config item controlling to show input language settings"
2011-05-20 03:02:14 -07:00
Tadashi G. Takaoka
29a4b1ac88
Merge "Reload keyboard after SoftInputWindow size changed"
2011-05-20 00:42:13 -07:00
Tadashi G. Takaoka
e896d31bb9
Reload keyboard after SoftInputWindow size changed
...
Bug: 4450008
Change-Id: Ic6c457db808d8e7479bfaa509192c07a384453e2
2011-05-20 16:23:20 +09:00
Tadashi G. Takaoka
9d98a7ed18
Merge "Fix copyright author from Google to AOSP"
2011-05-19 20:38:12 -07:00
Tadashi G. Takaoka
d794c6f078
Remove manual config item controlling to show input language settings
...
Change-Id: I77f831c653567f2cf214a5b61107b25cca6d751d
2011-05-20 12:36:46 +09:00
Tadashi G. Takaoka
f5443e4ef5
Replace large device keyboard with phone style keyboard (DO NOT MERGE)
...
This change also fixes copyright comments.
Bug: 4442045
Change-Id: I297a2c64e709fb0d613404e5f1de45d810f9de15
2011-05-20 12:28:26 +09:00
Tadashi G. Takaoka
8632bff2d5
Fix copyright author from Google to AOSP
...
Change-Id: Iaceedc783181e43af6dd48ece218a42eace66532
2011-05-20 12:09:57 +09:00
Tadashi G. Takaoka
24e6643fbc
Merge "Fix Serbian (Cyrillic) keyboard layout (DO NOT MERGE)" into honeycomb-mr2
2011-05-18 23:40:42 -07:00
Tadashi G. Takaoka
d73bdfeb18
Fix Serbian (Cyrillic) keyboard layout (DO NOT MERGE)
...
Cherry-pick: Iae1d8e9752c355d08d7f3d0fe7057fce61ea702f
Bug: 4406840
Change-Id: I5e0109b427093a459d2937809498985dc8409f97
2011-05-19 15:20:48 +09:00
Tadashi G. Takaoka
a4944dffa9
Fix NPE in Key.isDigitPopupCharacter (DO NOT MERGE)
...
This is the cherry-pick Ie6e8d31e41010db27e2db415b577458b73a9f1a2
Bug: 4442045
Change-Id: I004b15858d3d69b336c66accd0e078f0eaec0a9a
2011-05-19 14:36:47 +09:00
Tadashi G. Takaoka
96f185d8af
Fix NPE in Key.isDigitPopupCharacter
...
Change-Id: Ie6e8d31e41010db27e2db415b577458b73a9f1a2
2011-05-19 14:32:33 +09:00
Freeman Ng
0e8bbe3ab4
Merge "move setup wizard package name to google namespace"
2011-05-18 12:26:57 -07:00
satok
0b47f3af83
Merge "Show full display names in the popup of the spacebar language swicher"
2011-05-18 02:34:37 -07:00
Tadashi G. Takaoka
3f72d81388
Copy xlarge layout/values/drawable to large (DO NOT MERGE)
...
Bug: 4442045
Change-Id: Iaec97c019eed8f035fef0e8f0b7604db7ecba2b7
2011-05-18 18:28:31 +09:00
satok
eaa10f44a4
Show full display names in the popup of the spacebar language swicher
...
- Multiply the speed of the slide
Bug: 4427222
Change-Id: Ifd2de9843191296f0f311440ea7b8ab075c67d8d
2011-05-18 18:15:50 +09:00
Eric Fischer
a205d23ffd
Import revised translations.
...
Change-Id: I8d37e4dc59fbb9fdb55597b04840e86838ae0650
2011-05-17 17:05:55 -07:00
Jean Chalard
bf65f31c5f
Fix a bug in one of the methods to get a dictionary.
...
One of the two methods for getting a dictionary from the dictionary
pack had a bug and would not tolerate not getting an actual dictionary.
This change fixes that.
Change-Id: Id58bb27258494fb3aa60ec07a4eb27cfb5cc7279
2011-05-17 22:55:58 +09:00
Tadashi G. Takaoka
0041e96d69
Fix minKeyboardHeight of tablet
...
Change-Id: I5520a2e1abdc24736cb7ef96badefc06bb78e2a3
2011-05-17 00:26:54 +09:00
Tadashi G. Takaoka
a645d88228
Remove unused resources
...
Bug: 4436327
Change-Id: I2573786aac5fd8d543cf12d24c951b67c7353fd7
2011-05-16 16:22:39 +09:00
Tadashi G. Takaoka
869c8759a8
Cleanup VoiceIME related drawable
...
Bug: 4436327
Change-Id: I55d7ab043f32d51c32acfd11434214b79a7ae204
2011-05-16 12:09:31 +09:00
satok
1f050f6348
Fix NPE
...
Change-Id: Ib9a000ead8be91fab815dda161fcb258f678c3f4
2011-05-14 05:52:13 +09:00
Tadashi G. Takaoka
0da235208e
Merge "Fix missing max/minKeyboardHeight in es/pl/pt locale"
2011-05-13 05:33:14 -07:00
Tadashi G. Takaoka
3bedf1094c
Fix missing max/minKeyboardHeight in es/pl/pt locale
...
Change-Id: I7bb32aa918ed2f5f4785aaf070026fac1ae43592
2011-05-13 21:29:32 +09:00
Tadashi G. Takaoka
96e822c94c
Merge "Lower the key preview position a bit on phone layout"
2011-05-13 05:04:40 -07:00
Tadashi G. Takaoka
a3aeaaf3b5
Lower the key preview position a bit on phone layout
...
Change-Id: I90ded245ceb7e13d3e8a76d8c1cc0e7325ab6aab
2011-05-13 20:58:28 +09:00
Jean Chalard
bb02bd1d50
Merge "Add advanced settings screen"
2011-05-13 04:44:26 -07:00
satok
7f3674af5a
Merge "Fix null pointer exception in LatinIME"
2011-05-13 04:43:47 -07:00
Jean Chalard
240297d0ee
Add advanced settings screen
...
Also add an option for popup dismissal delay so as to inaugurate the
new screen. Besides, remove a path for options to escape from
LatinIME and replace with a direct read from the settings.
Change-Id: I7ec6e724262871fa6523506ecc39f65c5fbe34da
2011-05-13 20:40:21 +09:00
satok
fe1a6d961c
Fix null pointer exception in LatinIME
...
Change-Id: Ic4d60fe651bdc83771137c0f61f07c3879a3f1a1
2011-05-13 20:34:53 +09:00
Tadashi G. Takaoka
bdd732721d
Merge "Refactor KeyboardView constructor"
2011-05-13 04:08:20 -07:00
Tadashi G. Takaoka
bdd9341f61
Refactor KeyboardView constructor
...
Change-Id: I1fd869c180c6c9f966936fce90bc031bc7824983
2011-05-13 20:04:06 +09:00
Jean Chalard
17d6348f3f
Merge "Fix a bug with dictionary add interface."
2011-05-13 03:55:04 -07:00
Jean Chalard
777118a40a
Fix a bug with dictionary add interface.
...
Fix a bug where the "Touch again to save" message would not stay
on screen, following a wrong fix for a problem where Gingerbread-
would not display punctuation in the suggestion strip in
WebTextView.
Change-Id: I3556f83f867240ed7f16753450e6c975853208e5
2011-05-13 19:33:33 +09:00
satok
950def1df3
Merge "Update the setting of re-correction when user changed"
2011-05-13 03:19:18 -07:00
Tadashi G. Takaoka
d157834345
Auto text sizing using fraction of key height
...
Bug: 4411676
Change-Id: I8f289dcebe577d277fe2ad6a8331d59f735cbada
2011-05-13 18:44:57 +09:00
Tadashi G. Takaoka
13e6725a78
Merge "Add minKeyboardHeight attribute to Keyboard layout"
2011-05-13 02:41:50 -07:00
satok
9467a7a523
Update the setting of re-correction when user changed
...
Bug: 4401929
Change-Id: I5929e44f27ba057201110d814e9ec767d09c0ee7
2011-05-13 18:35:09 +09:00
Tadashi G. Takaoka
ce1902bb0e
Merge "Remove double high-reversed-9 quotation mark"
2011-05-12 23:12:55 -07:00
Tadashi G. Takaoka
b05c913fb1
Remove double high-reversed-9 quotation mark
...
Because current DroidSans font lacks double high-reversed-9 quotation
mark '\u201f' glyph (Bug: 4368421), this change remove it from symbol
keyboard popup mini keyboard. This change also removes corresponding
double low-9 quotation marks as well.
Bug: 4347045
Change-Id: I30d1493376efe5af98722e76999107de5dfcae3e
2011-05-13 13:02:32 +09:00
satok
cbcae9a6e8
Merge "Fix the available input locales and moved Recorrection"
2011-05-12 19:33:58 -07:00
Freeman Ng
1af8006352
move setup wizard package name to google namespace
...
bug: 3027897
Change-Id: I0113db212d41212142265a133c1763a4acd003a5
2011-05-12 16:55:08 -07:00
satok
f733074aae
Fix the available input locales and moved Recorrection
...
Bug: 4409091
Change-Id: I6efd23ebb9528bf1bd35320057a0ea264c187451
2011-05-12 20:26:24 +09:00