Tadashi G. Takaoka
a61967330e
Make LatinKeyboard aware of theme
...
Bug: 4436327
Change-Id: Idecdd470cbb0720b96958039eb11f6978d39629e
2011-06-16 20:10:49 +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
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
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
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
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
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
Tadashi G. Takaoka
c25e07d212
Fix web input type judgment
...
Bug: 4490948
Change-Id: I71efb8f5784970f1d2a94da1d2eb852f7f11885f
2011-05-30 19:10:25 +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
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
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
c150acc7c8
Move CandidateView into input view
...
Bug: 4175031
Change-Id: I95f379b9943d1dcab1dc5527b6e5ac5abd58e280
2011-05-24 15:37:53 +09: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
8632bff2d5
Fix copyright author from Google to AOSP
...
Change-Id: Iaceedc783181e43af6dd48ece218a42eace66532
2011-05-20 12:09:57 +09:00
Tadashi G. Takaoka
96f185d8af
Fix NPE in Key.isDigitPopupCharacter
...
Change-Id: Ie6e8d31e41010db27e2db415b577458b73a9f1a2
2011-05-19 14:32:33 +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
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
Tadashi G. Takaoka
bdd9341f61
Refactor KeyboardView constructor
...
Change-Id: I1fd869c180c6c9f966936fce90bc031bc7824983
2011-05-13 20:04:06 +09: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
ff483e8d0c
Add minKeyboardHeight attribute to Keyboard layout
...
Bug: 4411676
Change-Id: I1f56ba58bacb90790f82326718bf9de95dba5d28
2011-05-12 18:19:12 +09:00
Tadashi G. Takaoka
101a00e3d4
Revert "Added support for speaking keys through accessibility service."
...
This reverts commit dcade18113
.
Bug: 4379983
Change-Id: I2448d8f03990a39a3e328a88904d82efc70241a2
2011-05-12 00:14:55 +09:00
Tadashi G. Takaoka
ff082d081f
Refactor KeyboardView and create MiniKeyboardView
...
Change-Id: I8d68b944762ccde05020978f20b3742eb6ab945b
2011-05-09 19:17:39 +09:00
Jean Chalard
ccb60b7627
Merge "Straighten out magic space vs real spaces behavior."
2011-05-02 04:28:16 -07:00
Jean Chalard
0730bbfbf5
Straighten out magic space vs real spaces behavior.
...
Picking a suggestion inserts a space after the word. This change makes
this space a magic space.
Incidentally, do some minor cleanup: add CODE_DASH, CODE_SINGLE_QUOTE
and CODE_DOUBLE_QUOTE to Keyboard and use them throughout the code,
and remove a useless import directive in some unrelated file.
Bug: 4319740
Change-Id: I245f396c34dd0af820bca91edc4ec363238a4ae4
2011-05-02 19:19:05 +09:00
Tadashi G. Takaoka
44fe4a0598
Include horizontal and vertical gap in the count of Key.isOnKey
...
This change also reverts I8f6102d6 and considers that the point is on
the key while sorting in proximity key detection.
Bug: 4348994
Change-Id: I3ee913675e28da7e7b164805a7a683f0814b38b9
2011-04-29 01:21:17 +09:00
Jean Chalard
8d165bb5d1
Fix a bug where dead space would appear on the keyboard.
...
This change fixes a bug where there would be pixels on the keyboard
that would not return a key although it's between two keys - or even
right on top of one.
This change makes it so that the closest key to the touch - within a
certain threshold - is always returned, regardless of whether the
touch is inside or not.
Bug: 4348994
Change-Id: I8f6102d6787eb025cc3c50a26d3a475aeafc4b64
2011-04-28 22:10:02 +09:00
Ken Wakasa
0b4757604d
Fix snap back behavior for a quote mark input.
...
Follow-up for I8168ce6a
Change-Id: I63b04471c90d3d02de1bb8f092b5d57614cd8591
2011-04-27 19:10:32 +09:00
Jean Chalard
fd78781ced
Merge "Add a method to set the locale to Utils."
2011-04-27 00:42:24 -07:00
Tadashi G. Takaoka
e4181036f6
Enable long press caps lock
...
Bug: 3319295
Change-Id: I413062c759a1d91c66fcbf5dd04050dfbf15094f
2011-04-27 16:34:13 +09:00
Jean Chalard
309bff562f
Add a method to set the locale to Utils.
...
Add a setLocale method to Utils that returns the previous locale.
Also unify all calls through the code.
Change-Id: Ic850dc5df19fba00ed3601835652859b4321b544
2011-04-27 16:11:34 +09:00
Tadashi G. Takaoka
dbe882ac08
Merge "Release caps lock by double tap on shift key"
2011-04-26 23:57:57 -07:00
Tadashi G. Takaoka
e541f03286
Release caps lock by double tap on shift key
...
Bug: 3319295
Change-Id: Ie0cad06c7b1afac0f33af76128303517e9e7bddc
2011-04-27 15:52:56 +09:00
Tadashi G. Takaoka
717cef79ea
Fix quotation marks
...
This change
* Allows snap back from symbols shifted to symbol layout.
* Add "left single", "right single", "single low" and "single high
reversed" quotation marks to popup characters of "single quote".
* Add "double low" and "double high reversed" quatation marks to popup
characters of "double quote".
* Add "prime" and "double prime" to popup characters of "degree".
* Disable non-ASCII key of symbol more layout on passowrd input.
Bug: 4345054
Bug: 4347045
Change-Id: I8168ce6a74a9536e4966f7f9d1099ac0132925c7
2011-04-27 15:21:06 +09:00
satok
1123bcaf2e
Merge "Display the language name on the spacebar if the full display locale name is too longer than the space bar"
2011-04-25 06:21:08 -07:00
satok
cae6b1060e
Display the language name on the spacebar if the full display locale name is too longer than the space bar
...
Bug: 4329512
Change-Id: I477684747bf9e70a6909c25877fbe9e622571fd4
2011-04-25 22:12:52 +09:00
Tadashi G. Takaoka
4c82225ad6
Disable sliding language switch on phone and number layout
...
Bug: 4331621
Change-Id: Id02c64bb2724a5f990d6dcc548a8d98a1034d531
2011-04-25 19:36:50 +09:00
Tadashi G. Takaoka
d0f3f90789
Narrower the language switch threshold to key width x 1.25
...
Change-Id: I4ea9553bce34bc3783f03d1615c34b6abb153077
2011-04-22 23:21:05 +09:00
Tadashi G. Takaoka
608469c5ab
Release the previous key if multi touch input is started
...
Change-Id: Ib1205e67e900353976150e5ad58abfc92c3dfc21
2011-04-22 21:31:22 +09:00
Tadashi G. Takaoka
a0537fb4c7
Fix repeat key behavior
...
Change-Id: Ia7e5b2e9579aa0e5050857cdb14f16fa05a33621
2011-04-22 21:17:55 +09:00
Tadashi G. Takaoka
f172be448c
Clear spacebar sliding language switch diff
...
Change-Id: If82540b6632476e049fa9c4b3122e9c053227d6e
2011-04-22 18:49:15 +09:00
Tadashi G. Takaoka
75136cd009
Fix language switch preview
...
This change also makes the delay after key preview longer to 60ms.
Change-Id: If7cf3b493824bb12e0bf44aa0bc3c186b15b51f6
2011-04-22 18:26:32 +09:00
Tadashi G. Takaoka
d00d963b9d
Fix NPE on non-distict multitouch device
...
Change-Id: I6d8a05bf62e510d0556fa4831b3d510041cca63a
2011-04-22 17:33:24 +09:00
Tadashi G. Takaoka
c5c57b506e
Move sliding language switch code to PointerTracker
...
This change is hack and temporal.
Big: 4328445
Change-Id: I0b8851e9f05390db20ddaa10f35cff1cc9f016da
2011-04-22 17:02:38 +09:00
Tadashi G. Takaoka
d2c5fdda86
Rename and reorganize key code
...
Change-Id: I13d6fef7af1c4356a22b0e8aebc9e613b1693ece
2011-04-21 20:32:33 +09:00
Tadashi G. Takaoka
c9c3aa219e
Merge "Disable key preview of space, return and delete"
2011-04-21 03:10:21 -07:00
Tadashi G. Takaoka
ba9aefcc18
Disable key preview of space, return and delete
...
This change also re-orders punctuation mini keyboard.
Change-Id: I987ef14fe5956d13439a0a76de367feed825314c
2011-04-21 19:04:49 +09: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
e6cb8fc234
Display spacebar language switcher even when key preview is off
...
Bug: 4313884
Change-Id: I9d4a474302dadbfc610324799f8768b803705e52
2011-04-21 12:53:53 +09: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
d2c2b4d112
Remove mPreviousKey in PointerTracker
...
This change also introduces PointerTracker.onLongPressed.
Change-Id: I079eb52175d8fe8b88ce3f13e31493d34d00ad5e
2011-04-19 17:35:11 +09:00
Tadashi G. Takaoka
3f2653ba60
Refactor key preview related code in KeyboardView
...
Change-Id: Ib8f08cb4f5e03d0c32c32a0ea0363ce3d72fc050
2011-04-18 17:00:58 +09: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
Tadashi G. Takaoka
dc90d0a15f
Refactoring keyboard drawing code and KeyDetector
...
Change-Id: I55009bf38b1422301223bd90463f837562559dc5
2011-04-15 18:35:08 +09:00
Tadashi G. Takaoka
5d542c2492
Auto mini keyboard layout
...
Bug: 4280617
Change-Id: I34c344cbf350fe125589aa14ad69e4bd1f4e6f66
2011-04-15 18:19:31 +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
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
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
satok
88fc9d4418
Support language bar swich for InputMethodSubtype
...
Change-Id: Ie49f0c1c7aea135331dc1d4a635197b3f4a96e93
2011-04-13 17:05:24 +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
2c389c5b9e
Merge "Increase the horizontal gap between shift/delete and normal keys"
2011-04-08 02:00:59 -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
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
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
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
satok
f1a81f5eb3
Move a debug utility function to EditorInfoCompatUtils
...
- imeOptionName
Change-Id: I7a7ea9bee410cedc0ef9b3d2aa4df8260d7f6a35
2011-03-25 12:56:57 -07:00
satok
e9957752bc
Added InputTypeCompatUtils
...
Also Moved utilities related to InputType to InputTypeCompatUtils
Change-Id: Iab8ff5389f624f2abe627ece2acb156b0e1285ef
2011-03-25 00:46:40 -07:00
satok
b86905943c
Renamed Proxy classes
...
- VoiceConnector to VoiceProxy
- VoiceInputConnector to VoiceInputWrapper
- VoiceLoggerConnector to VoiceLoggerWrapper
Change-Id: I908ddc590c8846cf5cbd80b9c0257cb65c638bde
2011-03-24 17:50:19 -07:00
satok
610f1dc855
Use reflections for classes related to InputMethodSubtype
...
Change-Id: Ica53ce879c2b4c5eb47f757fb788a795a881c30e
2011-03-18 22:49:57 -07:00
satok
9807ab27ea
(Refactor 1) Moved voice related codes to deprecated/voice
...
Change-Id: I008ac7099c815fb74a9ab374419617b336453f97
2011-03-16 23:00:59 -07:00
satok
817e517e46
Add the suggestion algorithm of words with space proximity
...
Bug: 3311719
Change-Id: Ide12a4a6280103c092fa0f563dd5b9e3f7f5c89b
2011-03-04 20:37:18 -08:00
Tadashi G. Takaoka
4503e2ea98
Hide shortcut key when the shortcut IME is not enabled
...
Bug: 3398726
Change-Id: I5e1bfc1fec9047c1c4e4f29fbf79f0fdf9356ffb
2011-03-03 01:18:08 -08:00
Tadashi G. Takaoka
e59491460b
Remain in previous state while sliding off from shift key
...
Bug: 3502290
Change-Id: I69b60051863c78727363ae63576c28d87fb71a3a
2011-03-02 14:59:39 -08:00
Ken Wakasa
eaef1c5007
Change how to load native lib to be on the safe side
...
Change-Id: If170d4821b8dbc187f29137ea99d10e30c20955f
2011-02-25 18:21:02 +09:00
Tadashi Takaoka
52e96f1e89
Merge "Added support for speaking keys through accessibility service."
2011-02-24 17:45:44 -08:00
Tadashi G. Takaoka
d77e968942
Merge "Add noSettingsKey private IME option"
2011-02-23 23:48:45 -08:00
Tadashi G. Takaoka
4199e29a7d
Add noSettingsKey private IME option
...
Change-Id: Idf74aa32c9ea565fa6771013e2d37ee952c83a57
2011-02-24 16:31:20 +09:00
Alan Viverette
dcade18113
Added support for speaking keys through accessibility service.
...
Issue: 3366636
Change-Id: I70a2ebb4420782ba4d7d874ffc2259bb1b80446f
2011-02-23 18:16:43 -08:00
satok
8fbd552292
Add proximity info to native
...
Bug: 3311719
Change-Id: Ie596304070e321ad23fb67a13bf05e2b6af1b54b
2011-02-23 23:04:00 +09:00
Tadashi G. Takaoka
edb722abef
Merge "Add countryCode attribute to case tag of Keyboard"
2011-02-23 01:00:00 -08:00
Tadashi G. Takaoka
912ade36d2
Add countryCode attribute to case tag of Keyboard
...
Change-Id: I0480c3350a335e4cb57bba2d3484622990cd90af
2011-02-23 17:09:24 +09:00
Tadashi G. Takaoka
cb97c2f140
Refactor keyboard mode holding variables
...
Change-Id: Id8d4e780a98292fda63b1e5bbf739eda78935a3b
2011-02-23 14:17:10 +09:00
Tadashi G. Takaoka
050c0462dc
Display language name on spacebar even in symbol keyboard.
...
Bug: 3468634
Change-Id: I1a25eb71ddbd7efae6f40ea357714924a9d56dc4
2011-02-20 21:16:49 +09:00
Tadashi G. Takaoka
4adf5d9ae5
Disable non-ASCII symbol keys in password input
...
Bug: 3384942
Change-Id: Ifa10e84f22bb6ff85dfc397fac95a0294b2a6bea
2011-02-20 18:59:25 +09:00
Tadashi G. Takaoka
a9f2fe2d59
Merge "Add "passwordInput" attribute to case tag of Keyboard"
2011-02-20 01:50:16 -08:00
Tadashi G. Takaoka
4b13b4f942
Add "passwordInput" attribute to case tag of Keyboard
...
This change also introduces number password (a.k.a. PIN) layout. The
text password layout will follow.
Bug: 3384942
Change-Id: I50b5e413e47a28d5285fd0468115e11ce46c7f18
2011-02-20 18:46:48 +09:00
Tadashi G. Takaoka
690b1360bf
Don't play key press sound if the key is disabled
...
Change-Id: I1c6d1b16a7420bc7e5f97f50da549e6a89498f18
2011-02-20 18:14:05 +09:00
Tadashi G. Takaoka
fdb6a194b1
Read "enabled" attribute of Key from <key-style>
...
This is follow up change of I1ea82d9f.
Bug: 3384942
Change-Id: If96eda69fe81edbfc1b243a6fa9f8eb6bbf4c12d
2011-02-20 15:25:57 +09:00
Tadashi G. Takaoka
ea6c2e3350
Add "languageCode" attribute to "case" tag in Keyboard XML
...
bug: 3451586
Change-Id: I08ca80e48648ba18543e9b8ca7362c06bb61a826
2011-02-18 17:04:04 +09:00
Tadashi G. Takaoka
d9c52ba623
Rename imeOptions attribute of Keyboard to imeAction.
...
Bug: 3384942
Change-Id: I3ce01b83f0ae37f447de8a7fcdb5d7fe06b108c6
2011-02-18 16:56:05 +09:00
Tadashi G. Takaoka
aa721c4783
Add "enabled" as an attribute of Key in Keyboard xml
...
If the key is marked as "enabled=false", the key will not respond to be pressed.
Bug: 3384942
Change-Id: I1ea82d9f3dfa5a9916ff3bbc736ea7e6c77426ae
2011-02-18 14:45:37 +09:00
Tadashi G. Takaoka
887f11ee43
Remove next letters frequency handling
...
Bug: 3428942
Change-Id: Id62f467ce4e50c60a56d59bf96770e799a4659e2
2011-02-17 13:59:41 +09:00
Tadashi G. Takaoka
5ef096f5f6
Move and rename computeProximityThreshold
...
Move and rename KeyboardView.computeProximityThreshold to
KeyDetector.getMostCommonKeyWidth. And make it public for unit test
use.
This is a part of multi-project change (If751659a, Idb18f362)
Bug: 3414081
Change-Id: If751659a53c7412f836d6d28866760ffe84b179b
2011-02-08 11:43:39 +09:00
Tadashi G. Takaoka
9a5b592b27
Skip sudden jump detection on distinct multitouch device
...
Bug: 3400448
Change-Id: I37150d624b73ed089875a905fe04c5b8b3ecfa0a
2011-02-04 15:49:11 +09:00
Tadashi G. Takaoka
f2fd472dcc
Cleanup keyboard drawing code
...
Change-Id: I084e3ac835ee60b8e463ac10c075adbf08b9a7cb
2011-02-01 19:42:56 +09:00
Ken Wakasa
063a98a7b2
Merge "Reuse keyboard view's drawing bitmap if possible" into honeycomb
2011-01-27 23:43:02 -08:00
Tadashi G. Takaoka
513f1b0454
Merge "Add hack to translate sudden move to up/down events" into honeycomb
2011-01-27 23:37:49 -08:00
Tadashi G. Takaoka
faf437b507
Add hack to translate sudden move to up/down events
...
This change also gets rid of unnecessary debug messages.
Bug: 3400735
Change-Id: I3f003b1c2b553a2f841d4880f348a012d2d9c8ad
2011-01-28 16:35:02 +09:00
Ken Wakasa
566630147d
Reuse keyboard view's drawing bitmap if possible
...
bug: 3398660
Change-Id: I0c7f7c084904990563ac62b5d9cf829f86855661
2011-01-28 16:33:34 +09:00
Tadashi G. Takaoka
4d3b9d709c
Import new icon for disabled mic key
...
This change also updates other hdpi assets.
Bug: 3345931
Change-Id: Ia91e449905677b025307bf9ea6e618d82090a389
2011-01-28 16:16:59 +09:00
Tadashi G. Takaoka
5cd87e1b1c
Disable shortcut key when network is not available
...
Bug: 3345931
Change-Id: I1deef774598b8e78da4404535b6d3814464a9d2d
2011-01-26 17:07:55 +09:00
Tadashi G. Takaoka
e5ce433a9e
Check second down event of double tap is on shift key
...
This change also removes unnecessary touch point tweaks.
Bug: 3385404
Change-Id: Ic398268ec4fcfaa9eafe8a70f2d10c2cd1fdfc62
2011-01-25 23:34:49 +09:00
Tadashi G. Takaoka
04c96ab966
Automatically layout mini keyboard
...
Bug: 2214959
Change-Id: I06370e1c9e0683666ad19454a2fb501008af95c0
2011-01-25 20:36:11 +09:00
Ken Wakasa
86f189fd96
Fix NPE
...
bug: 3364217
Change-Id: If6a2514a8feac509d7b6716c8574521a0ec0fa3e
2011-01-19 17:44:51 +09:00
Tadashi G. Takaoka
d01ae897d3
Pressing shift could turn off shift state while auto capitalize mode
...
Bug: 3363137
Change-Id: I442c1fbb185ad9ea16ee9bab70649f2b9f89400c
2011-01-19 11:59:45 +09:00
Tadashi G. Takaoka
d5a6b910e8
Purge keyboard only when voice input will be invoked
...
This change also draws the language name in light gray on spacebar
without fading out even when the keyboard locale has not been changed.
Bug: 3362369
Bug: 3361915
Change-Id: I66538b03ce2e48c3441091319d0377176f8118ec
2011-01-18 11:41:12 +09:00
Tadashi G. Takaoka
a0ff76638c
Merge "Make sure that keyboard is not displayed when voice mode" into honeycomb
2011-01-17 05:49:00 -08:00
Tadashi G. Takaoka
04f815eca4
Make sure that keyboard is not displayed when voice mode
...
Bug: 3352347
Change-Id: I43cf5159f8bdcf2bc2c9a48662ea44a43ad4e25d
2011-01-17 22:41:05 +09:00
Tadashi G. Takaoka
8bec4aa912
Fix voice key enable status has not been reflected to keyboard id
...
Bug: 3355428
Change-Id: Id4e572357a7b5603e9a609b7e80b81d8e2c500f6
2011-01-17 19:27:39 +09:00
Tadashi G. Takaoka
66432cfc9b
Place language name at center of spacebar if no space icon
...
This change also leaves the language name as light grayed after fading out.
Bug: 3290290
Change-Id: I71adf80c9a3b77d2fd34bca458845d85d55cbee7
2011-01-17 17:04:53 +09:00
Tadashi G. Takaoka
93e2d77741
Merge "Fix froyo-ub-LatinImeGoogle compatibility" into honeycomb
2011-01-14 06:59:01 -08:00
Tadashi G. Takaoka
34cee317d8
Fix froyo-ub-LatinImeGoogle compatibility
...
Change-Id: I46fca4735d08552dfb414b2b302b4ed97ae96ab0
2011-01-14 22:24:10 +09:00
Tadashi G. Takaoka
de0c8874a4
Notify keyboard language on space bar when it has changed
...
This change also introduces the following.
* space bar language switcher is enabled for phone device.
* get rid of spcae key icon from number keyboard of tablet.
* slightly lower the position of language name on space bar of tablet.
Bug: 3290290
Change-Id: I432be8f757bcc84c257770112ff1f6fa7970c584
2011-01-14 20:11:52 +09:00
Tadashi G. Takaoka
ee66e6fa90
Reset old keyboard state before switching to new keyboard
...
This change is ported version of I8030202f from Gingerbread.
Bug: 3322158
Change-Id: Idc1ef7f174b50b0478ba53b14427485275e97748
2011-01-12 14:13:32 +09:00
Ken Wakasa
715189fe6e
Get rid of the space bar symbol on the tablet.
...
bug: 3290290
Change-Id: I4c57151197989375e6e9f36f508e6e875f856654
2011-01-08 00:15:14 +09:00
Tadashi G. Takaoka
f16028b92e
Remove digit popup characters from mini keyboard of tablet
...
Bug: 3321376
Change-Id: I38d963952d3c6d2cf1ad19a69b32f90191f17178
2011-01-07 01:12:15 +09:00
Tadashi G. Takaoka
cc55d947ad
Calculate mini keyboard key width from labels
...
Change-Id: I4259753bd10fdf488fcffacb6b131e30511e780f
2011-01-06 22:40:20 +09:00
Tadashi G. Takaoka
ca65332145
Merge "Remove Row object from MiniKeyboardBuilder"
2011-01-05 21:20:18 -08:00
Tadashi G. Takaoka
e89af1fa5f
Remove Row object from MiniKeyboardBuilder
...
Change-Id: I981278f29fdd23d80c3da21ecdbbda6d62a0dfde
2011-01-01 13:52:36 +09:00
Tadashi G. Takaoka
a96574fdd5
Move NOT_A_TOUCH_COORDINATE constant to KeyboardActionListener
...
Change-Id: Iff3fde48682a7c56201fc9eb3640755e0090d0ee
2011-01-01 13:43:28 +09:00
Tadashi G. Takaoka
611044ab30
Merge "Snap back to the previous keyboard when sliding input is canceled"
2010-12-31 03:28:35 -08:00
Tadashi G. Takaoka
5f922caff8
Snap back to the previous keyboard when sliding input is canceled
...
Bug: 3316517
Change-Id: Iffaad1eb93b6a014d8445f3e27b0e24c20967daf
2010-12-31 14:02:04 +09:00
Tadashi G. Takaoka
1a6fba5702
Fix potential keyboard layout change bug
...
Change-Id: I2518dd1d2ef4b77fe32bb1fed4e0c722f3d120c1
2010-12-31 11:46:48 +09:00
Tadashi G. Takaoka
5797cefca6
Longer long-press timeout in sliding input
...
Change-Id: Id74bddef4837ee46569775ce54f54d5535cfa463
2010-12-30 17:27:47 +09:00
Tadashi G. Takaoka
05ddb9a5d2
Add config_default_keyboard_theme_id resource
...
Change-Id: Ie4e9e85694cfd43fcd1fdfeeaa477f13c372a8a6
2010-12-28 21:06:45 +09:00
Tadashi G. Takaoka
baf83886be
Filter out too short noisy touch events
...
Bug: 3294017
Change-Id: I1769eab1d096d16bfa9d6f23b973483ee6e7a478
2010-12-21 23:46:15 +09:00
Tadashi G. Takaoka
1d7d9664a9
Refactor PointerTracker class to include queue management
...
Change-Id: I81d025220df6d970d8758157a89168851c8421ae
2010-12-21 18:56:27 +09:00
Tadashi G. Takaoka
2b13b4f5e5
Suppress long press timer on hinted key while temporary upper case mode
...
Bug: 3301932
Change-Id: I29b5e5a9aa8b44681e763a4d6485109f3f99f6fa
2010-12-21 17:28:19 +09:00
Tadashi G. Takaoka
c4f71668d7
Remove multi-tap feature
...
Change-Id: Ife44b3f9d420d77d2cfb51044a8356f02ed63e8b
2010-12-20 21:58:31 +09:00
Tadashi G. Takaoka
8aa3f5a3ad
Cleanup KeyboardActionListener interface
...
Change-Id: I851eaea479f1590fd404a7a37a9a35d1bdcd378c
2010-12-20 19:52:08 +09:00
Tadashi G. Takaoka
cb2469ae17
Suppress haptic feedback while sliding key input
...
Bug: 3298222
Change-Id: I9507a98cc833fc6403cf9abf23457748a2bf89de
2010-12-20 19:48:27 +09:00
Tadashi G. Takaoka
5ef421b58a
Cancel long press timer when sliding key input is not allowed
...
This change also fixes auto snap back behavior of key which has output
text, such as smiley key.
Bug: 3297825
Change-Id: Ia06e1abc0fbdff2a26504ddcce1dc7f933b45453
2010-12-19 21:57:50 +09:00
Tadashi G. Takaoka
cc0e41222d
Merge "Do not pick up closest key if the point is out of any key"
2010-12-19 04:07:41 -08:00
Tadashi G. Takaoka
6d929d586f
Do not pick up closest key if the point is out of any key
...
Bug: 3286308
Change-Id: I62771fb209027ddec4595d099d5d397ae4e200fd
2010-12-19 20:34:32 +09:00
Tadashi G. Takaoka
ef71c4aa4c
Fix checking of sliding off from key
...
This is follow up change of Id6f69e82.
Change-Id: I15127929b8eeb511a652c7ae6a14ababbb49ee24
2010-12-19 19:52:15 +09:00
Tadashi G. Takaoka
dbc44989a5
Refactor PointerTracker class
...
Change-Id: Id6f69e82119a9a3f618d95443a3ecc766abab08a
2010-12-19 19:15:01 +09:00
Tadashi G. Takaoka
9e91472285
Automaticaly snap back to the previous mode from sliding symbol input
...
Bug: 3280151
Change-Id: I48ea134639465d0cc178e524af8d7885d185957d
2010-12-19 18:48:49 +09:00
Tadashi G. Takaoka
67a4ecacc7
Disallow sliding key input
...
This feature is configurable by R.bool.config_sliding_key_input_enabled.
Bug: 3294076
Change-Id: I0225a6ce19d9b911c9d9543a106ab57ee0b7de75
2010-12-18 20:41:53 +09:00
Tadashi G. Takaoka
9b6d1d52d9
Add popupKeyboardTemplate attribute to Keyboard
...
This change
- introduces the popupKeyboardTemplate attribute of Keyboard to
specify XML Keyboard file for popup mini keyboard.
- introduces the maxPopupKeyboardColumn attribute of Keyboard to
specify the maximum column of popup mini keyboard.
- changes the content format of the popupCharacters attribute of Key.
It now represents keyLabel, codes and keyTextOutput of each key of
popup mini keyboard using CSV format.
Bug: 2214959
Change-Id: I539e310f7e38a049ee193de0b4ad5d7afdce37b1
2010-12-17 17:18:28 +09:00
Ken Wakasa
014f4883c7
Merge "Revise language string size on spacebar"
2010-12-16 00:50:42 -08:00
Ken Wakasa
183fbbb0db
Revise language string size on spacebar
...
bug: 3290290
Change-Id: I09694392d7fa447796c56a1f74b5b719ca28e466
2010-12-16 16:53:02 +09:00
Tadashi G. Takaoka
98935836f0
Tweak base line of key top letter
...
Bug: 3285380
Change-Id: Idf6b9b7e000d87df924742634188d193f948130f
2010-12-16 16:07:40 +09:00
Tadashi G. Takaoka
1b1f7f907f
Cleanup unused string resources
...
This change also renames some "completion" to "correction".
Change-Id: I156dd7ccafe99a632721f20769d5f0ea5915a564
2010-12-12 21:55:00 +09:00
Tadashi G. Takaoka
e26ef1bccd
Remove Tutorial class and unused debug feature
...
This change also cleanups compiler warnings.
Bug: 2897373
Change-Id: If972cf45c1eb40436adbddbf71969e5409f4c9c5
2010-12-10 18:24:00 +09:00
Tadashi G. Takaoka
9502cc177c
Remove LatinIME prefix from classes
...
This change also cleanups preference key string constants
Change-Id: I58510f220a90d00d71a935731abeab87384675bb
2010-12-09 21:54:51 +09:00
Tadashi G. Takaoka
4a734aa21e
Fix popup mini keyboard for smiley and .com key
...
Change-Id: Idd156b14a4a259bc7dcaf498fbc8a121a069cbe9
2010-12-08 17:48:23 +09:00
Tadashi G. Takaoka
9f01ed51d7
Support keyboardHeight and maxKeyboardHeight to Keyboard XML
...
This change introduces,
- new attribute keyboardHeight to specify default keyboard height.
- new attribute maxKeyboardHeight to specify maximum keyboard height,
usually specified by percentage to the screen height.
- keyHeight attribute is obsoleted
- new attribute rowHeight to specify a row height, can be specifed as
percentage of the keyboard height. And verticalGap is included to
the row height (row height = key height + vertical gap).
Change-Id: I48a2f2661e8a91a998503a847437c1baf1de9b9c
2010-12-08 17:43:29 +09:00
Tadashi G. Takaoka
292faee8ba
Fix ghost popup mini keyboard
...
Bug: 3257700
Change-Id: I522ceb426b825575c90e8445336191bcf889f05d
2010-12-07 11:24:18 +09:00
Tadashi G. Takaoka
e18bd3e323
Fix voice key on phone device
...
This change,
- changes voice key code back to -102
- renames some key code names and method names
- adds mic_slash_holo to drawable-hdpi
Change-Id: I8be3a20921f472ece4298edad2d275f29a7e4955
2010-12-06 12:29:59 +09:00
Tadashi G. Takaoka
a275e9eb48
Make Key, Row and Keyboard attributes final
...
Change-Id: Ie87e9e8936646334646cc93b228e0f6a93a79e5b
2010-12-03 14:11:38 +09:00
Tadashi G. Takaoka
7545ec8df0
Fix no smiley popup mini keyboard
...
Change-Id: I0e010c6f0c06fd59b7aef75fc142a4ce0089e740
2010-12-03 13:36:17 +09:00
Tadashi G. Takaoka
391a7ce6d8
Remove LatinKey class
...
Change-Id: I56b15980d994eed698566a1d0451e3ec7ab490a0
2010-12-03 12:55:51 +09:00
Tadashi G. Takaoka
566870c0f1
Fix NPE at Keyboard
...
Bug: 3250672
Change-Id: Ieef7ff5e8ba77a2d43f561c2bd2a1921230bd49d
2010-12-03 12:36:31 +09:00
Tadashi G. Takaoka
418d80d7de
Double tap on shift key turns on caps lock
...
Bug: 3238128
Change-Id: Ib641d33da148b72c7c775caa11e0b2ab58a8c081
2010-12-03 09:31:35 +09:00
Tadashi G. Takaoka
571bdb401f
Refactor LatinKeyboard and LatinKey
...
This change also moves KeyboardSwitcher and related classes to
com.android.inputmethod.keyboard package.
Multi project change with Ib23017b2
Change-Id: Id7d54b24615fe22ebb540ca847549909e346ee24
2010-12-02 23:03:59 +09:00
Tadashi G. Takaoka
5a309f5715
Move some inner static class to top class in new package
...
This change introduces new package com.android.inputmethod.keyboard
which hosts keyboard related classes.
Also adds missing @Override and @SuppressWarning("unused") annotation
Change-Id: I0317f5cfa317e13f3c77815f48ffc69b5d1ade05
2010-12-02 20:06:01 +09:00