Tadashi G. Takaoka
681b676b0a
Keep Keyboard in cache through SoftReference
...
This change also adds final to attributes
Change-Id: Ie2b9a1b1f83606b24ad4e35ad72a28d55ed0423e
2010-09-09 13:32:17 +09:00
Tadashi G. Takaoka
3c55911040
Merge "Add digit alternates" into gingerbread
2010-09-08 21:30:44 -07:00
Ken Wakasa
0e300c83a1
Avoid a disk write on UI thread
...
bug: 2983837
Change-Id: I4eca20fb4defcf149788032a98fe5894b57e1e19
2010-09-09 11:57:55 +09:00
Tadashi G. Takaoka
012075a711
Add digit alternates
...
This also re-orders keyboard layout attribute and adds some
android:popupCharacters.
Bug: 2973749
Change-Id: I300fb4029a1844947731cb98a464d8d754cb03ef
2010-09-09 01:06:58 +09:00
Tadashi G. Takaoka
2dd905b3c7
Move alternate chars from keyboard layout to altchars.xml
...
Bug: 2973749
Change-Id: Ic6e5f986c32be07c1e1038594a0e420ba6902351
2010-09-08 19:47:09 +09:00
Tadashi G. Takaoka
c29ef3ec15
Remove unnecessary android:codes attribute
...
If there is no android:codes specified, the first character of
keyLabel's code point will be used instead.
Also introduce readable codes as @integer/key_XXX resources
Bug: 2973749
Change-Id: If9021ca35f9a7b922817e2099186fce0cd993652
2010-09-08 18:16:30 +09:00
Tadashi G. Takaoka
12b6fef349
Merge "Extract alternates_for_X from strings.xml into altchars.xml" into gingerbread
2010-09-08 02:15:54 -07:00
Tadashi G. Takaoka
5555f900b1
Extract alternates_for_X from strings.xml into altchars.xml
...
For some locales, donottranslate.xml were split or renamed.
Bug: 2973749
Change-Id: Ic7f9cebe70a116b735bebc988778104bb1a40954
2010-09-08 18:08:48 +09:00
Tadashi G. Takaoka
7372a9771f
Re-formatting 'de' locale keyboard definition xml files
...
Just re-formating with eclipse editor. This is supplement for
I18bc682c68df6239e54dd71ed3797d55fd5a1552.
Bug: 2973749
Change-Id: I4b03fa6d41808ce99ce4944ae742255bffc660b9
2010-09-08 17:47:24 +09:00
satok
31e2a94a09
Merge "Fix the bacground color for "/" in URL mode" into gingerbread
2010-09-08 01:36:24 -07:00
satok
007803c390
Fix the bacground color for "/" in URL mode
...
Change-Id: I832274244a9677ac98256ddfc4a25fdca517e228
2010-09-08 17:28:21 +09:00
Tadashi G. Takaoka
3625c97338
Remove unused azerty.xml keyboard layout
...
Change-Id: Ie94ee27bbfc0b894243063fced1e537aec3ed7ec
2010-09-08 16:02:07 +09:00
Tadashi G. Takaoka
232863ac1d
Re-formatting keyboard definition xml files
...
Just re-formating with eclipse editor.
Bug: 2973749
Change-Id: I18bc682c68df6239e54dd71ed3797d55fd5a1552
2010-09-08 15:14:53 +09:00
satok
85d85c2026
DO NOT MERGE. Fix a string for the sharedpreference for re-correction
...
Change-Id: I0f8b45cf4604aeed31ecb53f60ff52e0f337bbdd
2010-09-08 00:45:32 +09:00
satok
1e51430e66
Merge "Update assets for LatinIME" into gingerbread
2010-09-07 06:21:41 -07:00
satok
6627b95dde
Update assets for LatinIME
...
bug: 2974998
Change-Id: Ie98a023b65d34f08c9c66d04017e8877b31edb84
2010-09-07 22:11:02 +09:00
Ken Wakasa
c1ff28462e
Update strings for the settings access - based on the latest GB IME spec (ver 03).
...
Please refer to bug: 2979069 for the latest mock.
Got rid of obsolete string too.
Change-Id: Ic02d1651b288f24f9c3a9da5d0dcf09055256ab0
2010-09-07 21:28:44 +09:00
Tadashi G. Takaoka
83e63ace2a
Dismiss mini keyboard when finger is released outside mini keyboard
...
Bug: 2978975
Change-Id: Ie634e8ae827fe093c5c673b75d85835050b03794
2010-09-07 17:44:31 +09:00
Tadashi G. Takaoka
26aff8c62f
Merge "Fixed extra periods when chording with shift and space" into gingerbread
2010-09-07 01:31:04 -07:00
Tadashi G. Takaoka
6252f468bc
Fixed extra periods when chording with shift and space
...
Actually it was caused by canceling repeat key (space and delete) when
multiple pointer are touching.
Bug: 2975041
Change-Id: If82183b9225efdace7b5418860b9664f1705b7ec
2010-09-07 17:29:09 +09:00
satok
0723056043
Merge "Add shared preference for re-correction" into gingerbread
2010-09-06 23:23:40 -07:00
satok
66b42a1c2d
Add shared preference for re-correction
...
Change-Id: Ie5b2e0d2f9739dd33524c2688e172e77aac1f243
2010-09-07 15:23:10 +09:00
satok
d27c7aea7c
Add isModifier to the buttons in the lowest line
...
Change-Id: I2d5c9e753f0f6fa21fdcfa7b55e81e6a3e3ea64f
2010-09-07 14:57:49 +09:00
Tadashi G. Takaoka
8d7ffcb2ac
Disable pop-up preview on mini keyboard
...
This change also disable the special behavior of long press a key that
has only one digit alternate. If the visual design of both the pop-up
preview and the mini keyboard will look like same, I think that
showing mini keyboard is enough for the key that has one digit
alternate.
Bug: 2973546
Change-Id: I04f138c120aa58526fe054626dac856171fb7a58
2010-09-06 22:42:17 +09:00
Tadashi G. Takaoka
12659d4c0c
Fix ALT key light behavior
...
This change also cleanups some imports, unnecessary cast and null check.
Bug: 2977256
Change-Id: I81b9e539ff8a13ae0cc1eb5c4fb2246732cca3e9
2010-09-06 22:25:49 +09:00
satok
f02e42080b
Merge "Fix an asset for the feedback of delete key" into gingerbread
2010-09-06 04:07:04 -07:00
satok
532471e357
Fix an asset for the feedback of delete key
...
bug: 2977026
Change-Id: I4cdaaf49644d214b03a514a9104144250a024574
2010-09-06 19:20:49 +09:00
Tadashi G. Takaoka
c8b9afe037
Support multi-touch only when device has distinct multi-touch panel
...
Bug: 2973373
Change-Id: I9871c09ec8c1c2aa945d97392e61ee1ec585baef
2010-09-06 17:57:13 +09:00
Ken Wakasa
a8d9702fc4
Fix layout issue of the bottom row in web entry mode
...
bug: 2977061
Change-Id: I76e0f4a21480d10f79fd5dcbe58c63cc3516d5d7
2010-09-05 22:26:55 +09:00
satok
0a498cf8d8
Merge "Extend space LED for autocompletion" into gingerbread
2010-09-03 04:24:01 -07:00
satok
1bf265d185
Extend space LED for autocompletion
...
Change-Id: If59ea7c871ffc2af6fe2bfde72303f2612e43c3b
2010-09-03 20:20:10 +09:00
Tadashi G. Takaoka
e8f45ab56f
One alternate is treated as key action, not open mini keyboard
...
This change also fixes bug#2973683.
Bug: 2973546
Bug: 2973683
Change-Id: I67573e5b7cad4af261591a4a608d0596dd7901f2
2010-09-03 20:09:21 +09:00
Tadashi G. Takaoka
ffa88f0ef5
Merge "Move inflating mini keyboard code into separate method" into gingerbread
2010-09-03 02:54:44 -07:00
satok
1b09ac4f93
Merge "Add a showing input method picker option by longpressing setting key" into gingerbread
2010-09-03 01:51:38 -07:00
satok
9a6a4d3d5f
Add a showing input method picker option by longpressing setting key
...
Bug: 2959271
Change-Id: I4b7e9a2de3cbe17b168ed8d0541a9b1cd9a9e107
2010-09-03 17:48:44 +09:00
Tadashi G. Takaoka
0b4734396f
Move inflating mini keyboard code into separate method
...
Change-Id: Iba8e43ba6125e559d4c7d9cadb6bcb13b8eefc83
2010-09-03 17:35:54 +09:00
Tadashi G. Takaoka
5583cb0afc
Merge "Followup TBR in I87060049" into gingerbread
2010-09-03 00:37:59 -07:00
Tadashi G. Takaoka
0529a04b6a
Followup TBR in I87060049
...
This change is followup TBR in I87060049cad6f9d6432b6c4a246c15587ae0d837
Change-Id: I02ee33da269162f5e95ce5b985dbf5094ba14c0d
2010-09-03 15:55:18 +09:00
satok
6f8ff3b971
Merge "Update delete key" into gingerbread
2010-09-02 23:30:40 -07:00
satok
cf41bd392f
Update delete key
...
Change-Id: I0348e4846131f9913b4ab6c2c2a9427a9a53c74e
2010-09-03 15:27:07 +09:00
satok
c5841994af
Merge "Change symbol on space bar when autocompletion is activated" into gingerbread
2010-09-02 23:26:06 -07:00
satok
41feaaadb7
Change symbol on space bar when autocompletion is activated
...
bug: 2959279
Change-Id: Icc70b7cce0c245ae2451d324debd346f226b8769
2010-09-03 15:17:26 +09:00
Tadashi G. Takaoka
c5d33b1652
Fix NPE in LatinKeyboardBaseView
...
This change also refactors some mini-keyboard related methods in
LatinKeyboardBaseView and PointerTracker class.
Bug: 2973236
Change-Id: I3190fe89ea3ac3c6d351ed4b6d77de98a0aa65db
2010-09-03 13:03:08 +09:00
Tadashi G. Takaoka
7083b7486e
Propagate preview enable attribute to mini-keyboard
...
Bug: 2959169
Change-Id: Iea1bec44baf3344d9f91280bd2b8f28476cbcf51
2010-09-03 05:28:43 +09:00
Tadashi G. Takaoka
fe72f135b8
Remove close button from mini keyboard
...
Bug: 2959169
Change-Id: I9c78f9417aaa448b8b23596bc3e748fe99085393
2010-09-03 04:56:12 +09:00
Tadashi G. Takaoka
07221a4ad1
Support sliding pop-up mini-keyboard input
...
TODO:
- Remove close button on mini-keyboard
- Dismiss mini-keyboard when finger leave the screen while no key is selected
This change also renames some instance variables to have more meaningful name.
Bug: 2959169
Change-Id: I9fd79116a647d7be82415c6e9e7cdaf6edcb2bf6
2010-09-03 04:51:37 +09:00
Tadashi G. Takaoka
f0fd506520
Merge "Add a number alternation to English popup mini keyboard" into gingerbread
2010-09-02 12:50:52 -07:00
Tadashi G. Takaoka
6bfb234f29
Refactor KeyDetector to share more methods
...
Bug: 2959169
Change-Id: I87060049cad6f9d6432b6c4a246c15587ae0d837
2010-09-03 00:46:19 +09:00
Tadashi G. Takaoka
83b3cf56cd
Merge "Corresponding to TBR of Id2b0b974" into gingerbread
2010-09-02 07:22:50 -07:00
Tadashi G. Takaoka
72d98fab21
Corresponding to TBR of Id2b0b974
...
This is follow up change of Id2b0b974fffdf6f09ee1828e957b973d2ce1c315
Bug: 2959169
Change-Id: Ie47db5fce7937a4d70c432ab76510d0dc3f68401
2010-09-02 22:36:22 +09:00
Tadashi G. Takaoka
0fe4c9e1a7
Corresponding to TBR of Ie6cf6768
...
This is follow up change of Ie6cf67681180467bd8ba35d0205ce6727b7684a2
Bug: 2959169
Change-Id: I9e4cb0c9178856ddd6049f0b751b54f3ad26a266
2010-09-02 22:34:15 +09:00
Tadashi G. Takaoka
400046d62e
Encapsulate vertical and horizontal correction values into KeyDetector.
...
Bug: 2959169
Change-Id: Id2b0b974fffdf6f09ee1828e957b973d2ce1c315
2010-09-02 21:54:26 +09:00
Tadashi G. Takaoka
3b4ecdeb05
Add a number alternation to English popup mini keyboard
...
This change is only for English locale. For other locales we should
need specification because keyboard layout and alternations are
different by locale.
Bug: 2959169
Change-Id: Ib63f53ce6c30d75eff78777aa0049b05d58ce55f
2010-09-02 21:06:30 +09:00
Tadashi G. Takaoka
6b4d521fb4
Merge "Add PointerTracker argument to long press related methods" into gingerbread
2010-09-02 04:31:57 -07:00
Tadashi G. Takaoka
3d4123fabb
Add PointerTracker argument to long press related methods
...
This change also adds debugging log to PointerTracker class
Bug: 2959169
Change-Id: Ie6cf67681180467bd8ba35d0205ce6727b7684a2
2010-09-02 20:28:31 +09:00
Ken Wakasa
83c6069b98
Decrease LatinKeyboardBaseView_keyPreviewOffset. Popup will be displayed closer to each key typed.
...
Change-Id: I863ade61cb4688214d90b24240743ee7fe16e491
2010-09-02 18:07:50 +09:00
Tadashi G. Takaoka
3491c877dd
Merge "Queuing PointerTracker to support n-key roll-over and shift modifier." into gingerbread
2010-09-02 01:17:56 -07:00
satok
8f5b0ccc50
Update assets for LatinIME
...
Change-Id: Ia3027b68abcc9a51bc6a21320926b9c8b5c5975a
2010-09-02 16:05:19 +09:00
Tadashi G. Takaoka
40a05f62ed
Queuing PointerTracker to support n-key roll-over and shift modifier.
...
Bug: 2910379
Change-Id: I5cfae33e72a406585137842a2260310813cee07f
2010-09-02 16:03:46 +09:00
satok
c175e80d57
Merge "Add modifiers to functional keys" into gingerbread
2010-09-01 22:36:06 -07:00
satok
d383364ee4
Add modifiers to functional keys
...
- update assets for language switcher
Change-Id: I8f29d3d38fb73ab5673f9e58cf28ed37cc8b4004
2010-09-02 14:18:46 +09:00
satok
a327485e59
Change the preference name for a theme and remove a preference settings
...
Change-Id: I5ad980559477775eb44df022e54ce5ef32398601
2010-09-02 13:54:30 +09:00
satok
ac4f8e4629
Merge "Change background color for functional keys in LatinIME" into gingerbread
2010-09-01 19:52:46 -07:00
satok
dd8dd9fc1b
Change background color for functional keys in LatinIME
...
Change-Id: I45f13c1fd139ce43478e5d0b2cdb62e56e9f77a8
2010-09-02 11:47:33 +09:00
Tadashi G. Takaoka
f7d71c338f
Merge "Refactor PointerTracker to add isValidKeyIndex() predicate." into gingerbread
2010-09-01 17:29:46 -07:00
Amith Yamasani
b00a1d0c0a
Correction improvements - use the new InputConnection APIs for underlining and
...
fetching the selected text.
Bug: 2950652
Some refinements to correction behavior, such as retaining the tap-to-save
when in correction mode.
Use reflection to access the new InputConnection APIs with fallbacks, in case
we run on older OS versions.
Some refactoring to separate lookup for voice alternatives and typed alternatives.
Change-Id: I7c4178bf7e6b47ee274c49fa7a694f8c2d50cea7
2010-09-01 14:16:50 -07:00
Tadashi G. Takaoka
c6df09182c
Refactor PointerTracker to add isValidKeyIndex() predicate.
...
Bug: 2910379
Change-Id: If2b28764dc777bb62949a95bc61c4a16ff152220
2010-09-02 02:49:52 +09:00
Tadashi G. Takaoka
c6cb2ec1f3
Add new public attribute mPointerId to PointerTracker
...
It is easier to track each pointer if a PointerTracker object keeps
its pointer id.
Bug: 2910379
Change-Id: If3e3b0cf3d834d22302598f4d85d54c9a4ce92ba
2010-09-02 02:21:17 +09:00
Tadashi G. Takaoka
2085d43daf
Make abstract KeyDetector class
...
The KeyDetector abstracts key detection algorithm. The
ProximityKeyDetector is one of its concrete implementations. Another
one that might be called XAxisKeyDetector will follow to realize the
pop-up mini-keyboard behavior described in bug#2959169.
Bug: 2959169
Change-Id: Idd3fc53282e6b721ec7a4ce500af8aba21ce07a3
2010-09-02 01:53:26 +09:00
Tadashi G. Takaoka
681b102a49
Track all pointers events
...
Bug: 2910379
Change-Id: I179ae4359afb57c351d5fcc5f5453c30d3ef0c01
2010-09-01 22:37:37 +09:00
Ken Wakasa
40ac45ebdc
Get rid of arrows in candidate view
...
bug: 2959293
Change-Id: Ia5dcb29397f608846f865fabb3c696866b3687aa
2010-09-01 17:59:12 +09:00
satok
d4f60bc8fc
Merge "Fix new theme assets and resources" into gingerbread
2010-09-01 01:52:31 -07:00
satok
4de4d51dfa
Merge "Remove old unused delete key assets" into gingerbread
2010-09-01 01:42:13 -07:00
satok
8d3ca2fc44
Fix new theme assets and resources
...
- Add a layout for popup for new theme
- Change the color of language bar
- Fix a drawable for settings feedback
Change-Id: I7c0c9e238c8223554a62f7b0c8092d074cf9743f
2010-09-01 17:38:50 +09:00
satok
186bb0b360
Remove old unused delete key assets
...
Change-Id: Id50b0f3069b37e6751a4cfbd374c22c13fb0f505
2010-09-01 16:36:30 +09:00
satok
a8d5e6d373
Remove duplicated assets
...
Change-Id: I4f8abf917ff9dfa3c5d31e441476e032fb4ce3a9
2010-09-01 16:26:08 +09:00
satok
31adfa78e2
Add a new theme for Gingerbread
...
bug: 2959293
Change-Id: I8aef19a7485ffd5639a177aee21103b3a1e04cf2
2010-09-01 16:18:01 +09:00
Tadashi G. Takaoka
c7c6203f33
Merge "Introduce multiple PointerTracker" into gingerbread
2010-09-01 00:01:22 -07:00
Tadashi G. Takaoka
a521b31d96
Introduce multiple PointerTracker
...
Bug: 2910379
Change-Id: Iefafa2d30ad16f898a00664e4bf3e3e88dcd2cb2
2010-09-01 15:59:54 +09:00
satok
d44b79eb5b
Merge "Add new assets" into gingerbread
2010-08-31 21:42:50 -07:00
satok
d0ef2ae291
Add new assets
...
- drawable-hdpi/keyboard_popup_panel_background.9.png
- drawable-hdpi/voice_ime_background.9.png
Change-Id: Iac75c8d488454534a921c59267f2523e47bb5e11
2010-09-01 13:32:51 +09:00
satok
fd36a98dac
Merge "Add new assets for LatinIME" into gingerbread
2010-08-31 20:40:33 -07:00
Tadashi G. Takaoka
409731fb46
Merge "Make KeyDebounce class a top-level class and rename it to PointerTracker" into gingerbread
2010-08-31 20:26:58 -07:00
Tadashi G. Takaoka
6a1514a0de
Make KeyDebounce class a top-level class and rename it to PointerTracker
...
Bug: 2910379
Change-Id: I9503b2211b272a4a2903d0732985e5ab8ee39440
2010-09-01 12:26:32 +09:00
satok
eee0a637b4
Add new assets for LatinIME
...
Change-Id: I62b544d6ed2d3ef7a5e37cdcedef7a60d09a1cb2
2010-09-01 12:00:05 +09:00
Ken Wakasa
543dbdfdbd
Always present suggestion strip whenever in appropriate mode.
...
Some cleanups too.
bug: 2959293
Change-Id: Idf07fc25c5700b69b93ab4b09ce34941f0d9c157
2010-09-01 11:25:08 +09:00
Ken Wakasa
b24cc640c1
Fix ArrayIndexOutOfBoundsException.
...
bug: 2964045
Change-Id: I97d95181e1a6838ace9c135aa92e7f20034e821f
2010-09-01 09:11:38 +09:00
Tadashi G. Takaoka
b57b478569
Refactor KeyDebounce class
...
This change moves the following methods into KeyDebounce class.
- MotionEvent handling methods (onDownEvent etc.).
- Keyboard action event generator method (detectAndSendKey).
- Multi-tap key support methods (resetMultiTap etc.).
- Key preview text generator method (getPreviewText).
The change that makes KeyDebounce a top-level class will follow.
Bug: 2910379
Change-Id: I1526c0461e247d97f0c4b3bd580330f137c787be
2010-09-01 00:18:49 +09:00
Tadashi G. Takaoka
dc406a2db6
Merge "Refactor key preview methods" into gingerbread
2010-08-31 02:39:41 -07:00
Tadashi G. Takaoka
2ca84dacff
Refactor key preview methods
...
Extract key press and release handling out of previewKey() to
KeyDebouncer class. And pass Key object as argument of previewKey()
instead of key index.
Bug: 2910379
Change-Id: Ifec39cfc4845bd92da2f62eba2b26ac6a5cbb341
2010-08-31 18:39:20 +09:00
satok
4f3741d4e9
Merge "Add missing resources for LatinIME" into gingerbread
2010-08-30 22:14:03 -07:00
satok
0ca1bf7158
Add missing resources for LatinIME
...
Change-Id: I470387ab9f9d867c1ac839b75fe18c1ce711083d
2010-08-31 14:12:54 +09:00
satok
673aed42c3
Add settings button
...
- delete unused keyboard layout
Change-Id: Iab39446653460797f1ca876a7d9a23190c3a8df6
2010-08-31 14:03:50 +09:00
Tadashi G. Takaoka
eeb77d4f6a
Merge "Remove mAbortKey flag completely" into gingerbread
2010-08-30 18:19:03 -07:00
Eric Fischer
164972b678
Merge "Import revised translations. DO NOT MERGE" into gingerbread
2010-08-30 10:30:21 -07:00
Tadashi G. Takaoka
ba9b24edff
Remove mAbortKey flag completely
...
These three conditions assign true to the mAbortKey flag.
1. setKeyboard() sets the new keyboard layout.
2. long press shows the pop-up mini keyboard.
3. ACTION_CANCEL event is occurred.
In the case 1, in LatinIME so far, only "symbol key" and "language
switch" cause keyboard layout change. In both cases, the event is
occurred in onUpEvent(), so we do not need to worry about aborting
event.
In the case 2, long press is used only to pop-up mini-keyboard and at that
time mMiniKeyboardOnScreen could be used as a flag.
In the case 3, though I'm not sure when this case occurs, in
onCancelEvent() all the things that should be canceled are canceled
in onCancelEvent().
Bug: 2910379
Change-Id: I12377c5f3e808f1c017ce980e12b1513895047bc
2010-08-31 00:43:40 +09:00
Tadashi G. Takaoka
ed5ce6c1a3
Merge "Remove extension keyboard" into gingerbread
2010-08-30 07:32:21 -07:00
Tadashi G. Takaoka
82798ac066
Disable long-press on symbol keys on international locale keyboards.
...
This change is supplement of I27007b55a30a3699bf63fd8f64d58c4b23d97d9f
Bug: 2910379
Change-Id: I634226a503594e76cea9ca29e32db5801a05ae09
2010-08-30 21:40:23 +09:00
Tadashi G. Takaoka
d2a431efa7
Remove extension keyboard
...
Bug: 2959287
Change-Id: I344ac58b4119e96daf5928c784275ee0b7095958
2010-08-30 21:20:55 +09:00
satok
4fc6539bcb
Remove unused assets
...
Change-Id: I65de6335b19dec03785df51ddd544b7e4d39c036
2010-08-30 17:14:10 +09:00
satok
5d55cf6dfc
Remove Log functions from Gingerbread
...
Change-Id: I0ab19726a6bfaf14b42c05903f38dfb74cbd0d37
2010-08-30 16:32:50 +09:00
satok
cb6221257a
DO NOT MERGE. Remove a preference for bigram suggestion
...
Change-Id: I1a9142d988352abf88da5eefe1d02596c7fc2beb
2010-08-30 14:56:49 +09:00
Eric Fischer
22708e6638
Import revised translations. DO NOT MERGE
...
Change-Id: I968a456446b782b1e20cad0b6d3c82a8aa9a663a
2010-08-27 17:18:02 -07:00
Tadashi G. Takaoka
06123e5691
Don't re-allocate KeyDebouncer when keyboard is switched.
...
This change also re-orders instance variables and eliminates
unnecessary ones.
Bug: 2910379
Change-Id: I6b2217f75738fada32a33f59f0f7adba5e99dd6e
2010-08-28 01:23:01 +09:00
Tadashi G. Takaoka
00dda50efd
Revert "Show key preview instantaneously"
...
This reverts commit 09f530e248
.
Change-Id: I3106cd22cc1eac750f05bce26df6af3026dfaf86
2010-08-27 21:04:31 +09:00
Tadashi G. Takaoka
09f530e248
Show key preview instantaneously
...
This change will display the key board preview instantaneously when
the key is pressed. Dismissing the key preview will be delayed
slightly after the key is released, as we do now.
Because in multi touch mode, we should instantaneously change keyboard
layout when modifier key, such as shit and symbol, is pressed.
Change-Id: I49348d563ca0f40f5a0a236bdcd0bb07eedd599b
2010-08-27 19:38:52 +09:00
Tadashi G. Takaoka
7986d78328
Merge "Disable long-press on shift and symbol keys" into gingerbread
2010-08-26 23:54:29 -07:00
Tadashi G. Takaoka
cec1495071
Disable long-press on shift and symbol keys
...
Long-press on shift and symbol keys will conflict with press-and-hold
these keys and press normal key (a.k.a. multi touch support).
Bug: 2910379
Change-Id: I27007b55a30a3699bf63fd8f64d58c4b23d97d9f
2010-08-27 15:47:35 +09:00
satok
f17a50f5a5
Merge "Not to reset the ring buffer in LatinImeLogger" into gingerbread
2010-08-26 22:42:07 -07:00
satok
975fc3cfd8
Not to reset the ring buffer in LatinImeLogger
...
Change-Id: I3286b2562e07d77a9dfd745ad6ec44aae4396e21
2010-08-27 14:26:58 +09:00
Tadashi G. Takaoka
830fd4af56
Merge "Refactor onModifiedTouchEvent into several methods." into gingerbread
2010-08-26 19:56:32 -07:00
Tadashi G. Takaoka
bdd9c3dc4f
Remove unused import statement
...
Change-Id: I61890a702060650369c6edf70c3de823a0fc1bf1
2010-08-27 11:11:05 +09:00
Tadashi G. Takaoka
5b6fbf9a4f
Refactor onModifiedTouchEvent into several methods.
...
This change eliminates the need of extra MotionEvent allocation. Also
this will lead to the easy way to handle multi touch events.
Bug: 2910379
Change-Id: Ibcfcba554b732c13105f91877b41b553ee6928ba
2010-08-27 09:59:59 +09:00
Tadashi G. Takaoka
e83d7385ab
Refactor getKeyIndexAndNearbyCodes into independent class
...
Bug: 2910379
Change-Id: Ib26a898ea108ee4292f9f91b6d7d10c1fc380fd1
2010-08-26 23:33:08 +09:00
Tadashi G. Takaoka
dfbc5080a1
Refactor SwipeTracker class
...
This change moves SwipeTracker out from LatinKeyboardBaseView. Also
this introduces EventBuffer class for swipe tracking buffer.
Bug: 2910379
Change-Id: I48ff714226a248ca063cbaf9755cf45e458f7402
2010-08-26 23:28:52 +09:00
satok
542f057ef6
Add a log for getting coordinates of keys
...
Change-Id: I57cc6fb6a9eeb65ce8c0c3c3262fd525726643e2
2010-08-26 18:08:12 +09:00
Tadashi G. Takaoka
0c54809891
Refactor gesture detector logic
...
GestureDetector listener's onFling method will not call detectAndSendKey
anymore.
Make gesture detector be ignoring multitouch. Refactoring
GestureDetector out of LatinKeyboardBaseView class change will follow.
Bug: 2910379
Change-Id: I0b2a9c4cf7d432f89f9085f3c2bdf3a3757a8903
2010-08-26 15:54:50 +09:00
Tadashi G. Takaoka
0d098c514e
Fix bugs in key repeat logic
...
Bug: 2950714
Change-Id: I3110369c085f89ee1e8f7392a9a04a6b9e377ed4
2010-08-26 12:03:17 +09:00
Tadashi G. Takaoka
d900867b37
Change all-subdir-java-files to all-java-files-under,src
...
Change-Id: I3c15101a769f19b3f3696f315db47c929979b703
2010-08-25 18:12:18 +09:00
Tadashi G. Takaoka
05d1904ed7
Refactor SwipeTracker to top level class
...
Bug: 2910379
Change-Id: If0ef09d8b0e7ca1c62b4c5a31bcaa620664868f2
2010-08-25 17:21:43 +09:00
Tadashi G. Takaoka
f4271e51e7
Refactor key repeating related code
...
This change encapsulates mInKeyRepeat (former mRepeatKeyIndex) into
UIHandler class. Also this eliminates mCurrentKey and mLastTapTime
dependency from repeatKey method.
Bug: 2910379
Change-Id: I9351a558be2ebc04de4ebb0d323af4be33bd470c
2010-08-25 12:33:46 +09:00
Tadashi G. Takaoka
8ee1321264
Refactor long press related code
...
This change eliminates mCurrentKey dependency from openPopupIfRequired
method. Also slightly cleanup onModifiedTouchEvent.
Bug: 2910379
Change-Id: I90c9b39c46c0bb32ecc6588abfc49eb60315f54c
2010-08-25 12:08:20 +09:00
Tadashi G. Takaoka
edadd2661b
Merge "Refactor onModifiedTouchEvent of LatinKeyboardBaseView" into gingerbread
2010-08-24 18:27:47 -07:00
Tadashi G. Takaoka
8b0cb128be
Refactor onModifiedTouchEvent of LatinKeyboardBaseView
...
This change simplifies onModifierTouchEvent to focus on handling
motion event related to a key event.
Other refactoring will follow in order to support multi touch.
Bug: 2910379
Change-Id: I036be64168d951a535600a7910b36bc109f88490
2010-08-25 10:17:14 +09:00
satok
525141a402
Clean up LatinIME java
...
- remove unused code
- add @Override
- change the inappropriate cast
Change-Id: Ib25b4939e5b4273794ab0f6349776b5b62d89894
2010-08-24 12:40:00 +09:00
Ken Wakasa
78c4611719
Fix LatinIME crashing due to crash in Contacts DB
...
bug: 2895391
Change-Id: I3a0628942b74556f8b600b63ebc5d808fb2f0abd
2010-08-20 20:12:39 +09:00
Ken Wakasa
17dc363a63
Fix an NPE found in KeyboardSwitcher.isAlphabetMode()
...
Change-Id: I03d3d9b25147632d25c1502f796acad4cdaeb239
2010-08-20 18:28:22 +09:00
satok
979f869096
DO NOT MERGE. Backport LatinIME from master to Gingerbread
...
TODO: Cleanup will follow.
Change-Id: I4a68ba9f2f55760aa24187f1f13fdfa8a0b70963
2010-08-20 14:37:03 +09:00
Ken Wakasa
6511376ff6
am 65582531: Fix a bug in backspace handling for the "Tap again to save"
...
Merge commit '6558253160e2039c87f424bd814f402ecd31de3b' into gingerbread
* commit '6558253160e2039c87f424bd814f402ecd31de3b':
Fix a bug in backspace handling for the "Tap again to save"
2010-08-05 16:37:47 -07:00
Ken Wakasa
6558253160
Fix a bug in backspace handling for the "Tap again to save"
...
bug: 2889273
Change-Id: I0f317e203f368f5f47738154a6dee0f556d56148
2010-08-06 01:14:09 +09:00
Eric Fischer
7faf89f801
Import revised translations. DO NOT MERGE
...
Change-Id: Ia4de960b5d1168d49b7a97b22751fde11047f5ea
2010-08-04 10:45:43 -07:00
Ken Wakasa
1812bcebd6
am 88e7b49f: Backport https://android-git.corp.google.com/g/#change,52371 to Froyo. Fix bug: 2693836 - Russian keyboard is missing a letter
...
Merge commit '88e7b49fc8657544380620729eb28966669103a2' into gingerbread
* commit '88e7b49fc8657544380620729eb28966669103a2':
Backport https://android-git.corp.google.com/g/#change,52371 to Froyo. Fix bug: 2693836 - Russian keyboard is missing a letter
2010-07-16 18:12:48 -07:00
Ken Wakasa
88e7b49fc8
Backport https://android-git.corp.google.com/g/#change,52371 to Froyo. Fix bug: 2693836 - Russian keyboard is missing a letter
...
Change-Id: Ic931991bc188f646d30a399bb0b268f415f12051
2010-07-17 09:51:26 +09:00
Kenny Root
a008d16402
am 7697133c: Import revised translations
...
Merge commit '7697133c85f30ae2ec046d9fd19fdb5f2ddc7cbc' into gingerbread
* commit '7697133c85f30ae2ec046d9fd19fdb5f2ddc7cbc':
Import revised translations
2010-06-21 12:36:18 -07:00
Kenny Root
7697133c85
Import revised translations
...
Change-Id: If4c56c6cea6a99cc784e3e16457a43ca550fdefa
2010-06-21 11:05:32 -07:00
Kenny Root
e6de8785d6
am 36dcfec5: Import revised translations
...
Merge commit '36dcfec5a744996ee35735ffa4c796d37b946a9b' into kraken
* commit '36dcfec5a744996ee35735ffa4c796d37b946a9b':
Import revised translations
2010-06-09 23:19:48 -07:00
Kenny Root
36dcfec5a7
Import revised translations
...
Change-Id: I7ffd12b24b3946d83899813c498c32eea0b75de0
2010-06-09 22:51:48 -07:00
Kenny Root
71403bcc58
am 8099a06b: Import revised translations
...
Merge commit '8099a06ba4e70177cfa2c8a997a6ed146fbe2fbf' into froyo-plus-aosp
* commit '8099a06ba4e70177cfa2c8a997a6ed146fbe2fbf':
Import revised translations
2010-05-17 12:05:45 -07:00
Kenny Root
8099a06ba4
Import revised translations
...
Change-Id: I05cc3d1908de8a9a9765f4887cdf641639e65cfd
2010-05-17 11:43:46 -07:00
satok
a8e487be4c
am d6b80c6e: Merge "Fix hardcoded "isDefault" setting" into froyo
...
Merge commit 'd6b80c6ed4433d66381501cd0a00813647261a6c' into froyo-plus-aosp
* commit 'd6b80c6ed4433d66381501cd0a00813647261a6c':
Fix hardcoded "isDefault" setting
2010-05-07 10:34:41 -07:00
satok
d6b80c6ed4
Merge "Fix hardcoded "isDefault" setting" into froyo
2010-05-07 10:32:51 -07:00
satok
8a3f6dfba9
Fix hardcoded "isDefault" setting
...
Bug:2661261
- Changed true to @bool/im_is_default
- isDefault was changed in https://android-git.corp.google.com/g/#patch,sidebyside,37627,3,res/xml/method.xml by mistake
Change-Id: Id1c20c292bed27523fb41f32514f2abdee11f992
2010-05-07 18:00:45 +09:00
Amith Yamasani
b1068051c7
am f0296426: Don\'t auto-select the system language in IME language selection screen.
...
Merge commit 'f02964264f196447b03a88591a2964b67c318718' into froyo-plus-aosp
* commit 'f02964264f196447b03a88591a2964b67c318718':
Don't auto-select the system language in IME language selection screen.
2010-05-04 12:05:33 -07:00
Amith Yamasani
f02964264f
Don't auto-select the system language in IME language selection screen.
...
Fixes http://b/2650378
On entering the selection screen, don't add the system language in addition
to other selected languages.
Change-Id: Id7a3b45df39a8493d17be668029eee139bf00ff3
2010-05-03 14:13:34 -07:00
Kenny Root
8701305f4f
am 221d99c8: Merge "Import revised translations" into froyo
...
Merge commit '221d99c891b1ea0955957849abc5df3019cb18c7' into froyo-plus-aosp
* commit '221d99c891b1ea0955957849abc5df3019cb18c7':
Import revised translations
2010-04-28 09:32:58 -07:00
Kenny Root
221d99c891
Merge "Import revised translations" into froyo
2010-04-28 08:07:51 -07:00
Kenny Root
0dfa3e6dad
Import revised translations
...
Change-Id: I1050cb361860cbea36bba762d37b4558dee8cecb
2010-04-27 14:30:47 -07:00
Amith Yamasani
afae9b251e
am 6aab3310: Remove .com key from URL and Email address keyboards. Bug: 2630268
...
Merge commit '6aab33105a64dabe0b85c4d4fdc4f784a7a57c4f' into froyo-plus-aosp
* commit '6aab33105a64dabe0b85c4d4fdc4f784a7a57c4f':
Remove .com key from URL and Email address keyboards. Bug: 2630268
2010-04-27 13:10:01 -07:00
Amith Yamasani
6aab33105a
Remove .com key from URL and Email address keyboards. Bug: 2630268
...
Have the spacebar be normal width and remove the .com keys.
Change-Id: I470ee4ffa2c84b91e3207e016c99bc66b34ef564
2010-04-27 11:30:17 -07:00
Amith Yamasani
335a0c5511
am 938c1782: Fix for hanging extension keyboard. Bug: 2593488
...
Merge commit '938c178215d38c6f085b32b0994598f9e8bc5ab5' into froyo-plus-aosp
* commit '938c178215d38c6f085b32b0994598f9e8bc5ab5':
Fix for hanging extension keyboard. Bug: 2593488
2010-04-15 16:48:13 -07:00