Commit Graph

602 Commits

Author SHA1 Message Date
Tadashi G. Takaoka
62e3fafac6 Reduce popup preview fading out animation duration to 70ms
Bug: 3099331
Change-Id: I32c11bb25ebdb97af0c883c475d96fc8e2749101
2010-10-15 10:22:43 +09:00
Ken Wakasa
179fa2c03e DO NOT MERGE. Add visual indicator that long press , or mic key will bring up Settings
bug:3084022
Change-Id: I8b38e2803eb32469653484701882af35108eb69a
2010-10-14 19:52:46 +09:00
Tadashi G. Takaoka
3d20d99902 Specify keyboard metrics with physical unit "inch" (DO NOT MERGE)
This change also introduces the key background drawables which has no
fixed bottom padding.  Instead of relying on bottom padding in
drawable, this change also specifies Keyboard.verticalGap with
physical unit.  Other keyboard related length, distance and size are
also specified by physical unit.

Bug: 3066107

Change-Id: I44f3b2eef8086d6e0b0db53d38f08487549060c6
2010-10-14 13:40:31 +09:00
Tadashi G. Takaoka
0963c781f2 Make some keys in phone keyboard to darker color
Bug: 3088257
Change-Id: I36b1a0f147c1087a98b91f00d60bf15922861f9c
2010-10-13 14:06:21 +09:00
Maryam Garrett
a5a5ffc0dc Fix the over-calling of VoiceSearch Logging
bug: 3035228 This change will reduce the number of times VoiceSearch app
is called to log IME events.  This is because it 1) only
flushes the logs when there is relevant logging information
available and 2) sets a flag in UserHappinessSignals so
that other apps (eg: gmail/sms) can know if there is
relevant logging information before sending the logging
intent to voice search.

Change-Id: I708fea5a38f854091f1101e4f6a3db46296f3e92
2010-10-11 15:37:32 -04:00
Ken Wakasa
c2d7ac79bd Tweak key width for 'o'-popup chars.
We'll merge this to master for now, but we should have new attr (such as popupCharWidth) to handle this reasonably in the newly created BaseKeyboard class.

bug: 3082178
Change-Id: I024b946aafbbeb07b865a09f489dacb56f0478d0
2010-10-11 04:32:54 +09:00
Ken Wakasa
364da8c618 Fix - "Touch again to save" not working for manually picked suggestion when re-correction is enabled.
bug: 3082806
Change-Id: I64e652b0ad1d496e102a7cc2cf9a5615df423192
2010-10-11 02:55:05 +09:00
Tadashi G. Takaoka
7e1f5a2d5a Make sure to set symbol keyboard shifted
To avoid a corner case of bug#3070963, in toggleShift() method of
KeyboardSwitcher, the shifted symbol keyboard will be set if current
keyboard is symbol keyboard or is not shifted symbol keyboard.

This change also implements mini keyboard cache with WeakHashMap.

Bug: 3070963
Change-Id: I868fc072e2f21bddded1622b800a53b9a6a43e91
2010-10-09 02:39:39 +09:00
Tadashi G. Takaoka
cb0046288d Merge "Make keyboard vertical correction configurable (DO NOT MERGE)" into gingerbread 2010-10-08 03:23:53 -07:00
Tadashi G. Takaoka
ff49b79dfb Make keyboard vertical correction configurable (DO NOT MERGE)
Before this change, the verticalCorrection value was defined by "dpi"
that is relative to device screen.  This change defines the
verticalCorrection by absolute unit "in".

Bug: 3066107
Change-Id: I72c2448894a1084c582c2f1fb942b5fa8353f028
2010-10-08 19:15:54 +09:00
Tadashi G. Takaoka
5e02930a7f Reduce delay before mini popup keyboard is shown
Before this change, the delay was 500 ms that came from
ViewConfiguration.getLongPressTimeout().  This change reduces the
delay to 400 ms.

Bug: 3074984
Change-Id: Ia5af5e877a3c4bb29211ef4040c728ac09a9fe85
2010-10-08 19:05:16 +09:00
Eric Fischer
e13a301328 Import revised translations. DO NOT MERGE
Change-Id: Icf8fa9146cc4cbfb70d5069be5359d04c5ec2432
2010-10-06 17:15:27 -07:00
Ken Wakasa
47a9c3f3d9 Additional string update for LatinIME's re-correction preference item.
Follow-up to I703054c9

bug: 3063598

Change-Id: Ic9d752b8588a620b3e256fe38f3a6a0c9c093053
2010-10-07 01:02:06 +09:00
Ken Wakasa
6495bfc7a6 Follow-up to I36faf679 Cancel pending messages related to suggestion updates.
bug: 3058217
Change-Id: I54e29bf051b76ad27e6d653adbf14892083ad7eb
2010-10-06 18:39:47 +09:00
Ken Wakasa
3425026d51 Follow-up to Ia135eb92 . Shorten overflowed string.
bug: 3063598
Change-Id: I703054c930590ef62579183731935ec3362406cd
2010-10-06 17:40:40 +09:00
Ken Wakasa
55b1079652 Addressed bug: 3058217 "-" key not working at beginning of line
Also fixed related issues below:
* Punc suggestions list was sometimes not displayed after cursor move which follows re-correction
* Punc suggestions list was disappearing with words which contains certain punc chars (but not word separator) such as ' and -

Change-Id: I36faf679321782fa8eaf318411308a4a6b89cc25
2010-10-06 17:13:27 +09:00
Roy West
47383758fc Fix bug 3063598, change "tap" to "touch" thrice.
Change-Id: Ia135eb926a5f2896a480cd478d40925d46041d42
2010-10-05 06:39:15 -07:00
Tadashi G. Takaoka
8e1f1be0f3 Long press mic/comma key bring mini keyboard with settings
Bug: 3050703

Change-Id: I090b2bfebfb48e5ec461615d4c911024ea6d130a
2010-10-01 19:27:37 +09:00
satok
88a045637a Make the background of keypopup transparent
Change-Id: I5240ffdd8e48bcb99c2edf878d8efaba2cafeb07
2010-10-01 18:08:38 +09:00
Tadashi G. Takaoka
18d536f66b Merge "Dismiss orange highlight after suggestion has been selected" into gingerbread 2010-09-30 20:59:28 -07:00
Tadashi G. Takaoka
4fa67efc79 Dismiss orange highlight after suggestion has been selected
Bug: 3051311
Change-Id: Ia32cd8748a0afade07a9896ad77400cf42aed0f5
2010-10-01 12:55:34 +09:00
Ken Wakasa
a0a60b37b2 Revert changes to keyboard_popup.xml for now.
This unexpectedly bloated keys in mini popup keyboard.

bug: 3048638
Change-Id: I2b717c9007ce7717bac514f1d8bcae1280130cf4
2010-10-01 09:46:04 +09:00
Tadashi G. Takaoka
3297ee80f0 Merge "Long pressing mic/comma key will show settings menue" into gingerbread 2010-09-30 04:57:40 -07:00
Tadashi G. Takaoka
a1cc4f0a8d Long pressing mic/comma key will show settings menue
Bug: 3050703
Change-Id: I62773c10f435d13174f6ff6574912cb99303e83c
2010-09-30 20:18:10 +09:00
Tadashi G. Takaoka
77c9f2d314 Merge "Display feedback popup for saving word while the word is pressing." into gingerbread 2010-09-30 01:58:41 -07:00
satok
36f97dd689 Fixed assets
- Make the background of popup key a full transparent color
- Updated the background mdpi asset of keyboard

Bug: 2975027
Bug: 3048638

Change-Id: I8709a1ca403e5c3f862a8be9be1668d30c7687f8
2010-09-30 17:54:21 +09:00
Tadashi G. Takaoka
fcba53ef7c Display feedback popup for saving word while the word is pressing.
Bug: 3004696
Change-Id: Icc5bdd6945f3bf79f7234a0227d8036d6f6d4c1d
2010-09-30 17:32:29 +09:00
Tadashi G. Takaoka
11a578f4f1 Disable suggestion bar before invoke Voice input
Bug: 3002817
Change-Id: I099dd63e58d5159a609c1d934dbb6f5aab914305
2010-09-30 16:04:09 +09:00
Tadashi G. Takaoka
8ff9680522 Merge "Eliminate compiler warning" into gingerbread 2010-09-29 20:51:34 -07:00
Tadashi G. Takaoka
eebe37e836 Merge "Disable suggestion selection preview popup" into gingerbread 2010-09-29 20:46:21 -07:00
Tadashi G. Takaoka
e7cfc8ab88 Eliminate compiler warning
Change-Id: Ib3effaa6f4e8cfc3951ab5d5d099335fd3856a2f
2010-09-30 12:43:43 +09:00
Tadashi G. Takaoka
c9716b28ce Disable suggestion selection preview popup
Bug: 3048642
Bug: 3004920
Change-Id: Ibfb495a246c9e2da6ebf3c03d10ed8acff00f54b
2010-09-30 12:41:03 +09:00
Ying Wang
2d6a0c68c2 Merge "Fix proguard flag file dependency." into gingerbread 2010-09-29 16:12:41 -07:00
Amith Yamasani
15b840cd48 Merge "Check recorrection on focusing into a text field that has text already." into gingerbread 2010-09-29 16:08:49 -07:00
Ying Wang
bdfcb664f4 Fix proguard flag file dependency.
Change-Id: I26a639aea0e0b11ba65d621696c42e861847498e
2010-09-29 15:21:28 -07:00
Amith Yamasani
b8fa10080d Check recorrection on focusing into a text field that has text already.
Bug: 3004827
Change-Id: I00e9d925fcf17fa9f7a9aefe6572a648e023be11
2010-09-29 11:37:43 -07:00
Tadashi G. Takaoka
179ada958b Refactor CandidateView touch event handling
This change also fixes tha the touch slop value is applyed only for
initial movement of scrolling suggestion bar.

Bug: 3004920
Change-Id: I62afdedc210156e41e8c84c48cade442f9d5a1aa
2010-09-29 19:45:03 +09:00
Tadashi G. Takaoka
c2c9cd82da Merge "Mini keyboard works even while shift is being pressed" into gingerbread 2010-09-28 21:01:46 -07:00
Tadashi G. Takaoka
afb3532779 Mini keyboard works even while shift is being pressed
Bug: 3038861
Change-Id: I94011ca80710ff6eb24e940104f7d9d3bb86840a
2010-09-29 12:36:13 +09:00
Tadashi G. Takaoka
46941882b2 Tune mini keyboard vertical correction to match with key height
Bug: 3040529
Change-Id: I8e3cc635737224537a019e66c38e1e2ea7a8bb8b
2010-09-29 12:23:57 +09:00
Tadashi G. Takaoka
6e5a398685 Fixed key code and key coordinates when move debounce has been in action
This change refactors a key index and pointer position variables into
a separate static inner class KeyState . This change also disables
time debouncing.

Bug: 3033737
Change-Id: Ie4fc37316c260330d8f0861e0771ea903a99cfce
2010-09-28 20:57:30 +09:00
satok
008e9b3e1a Fix Null pointer exception on closing and update assets
Change-Id: I30fdac74685beae06b5c61140452b26b29ae4c39
2010-09-28 16:52:54 +09:00
Eric Fischer
e07bc39a3b Merge "Trim unwanted whitespace from translations. DO NOT MERGE" into gingerbread 2010-09-27 12:27:43 -07:00
Eric Fischer
2245c3a5a9 Trim unwanted whitespace from translations. DO NOT MERGE
Change-Id: Ie380334bc725aa55beb8ec084d1ade881a50812c
2010-09-27 12:22:28 -07:00
Ken Wakasa
0b4ae1f578 Capitalize the displayed text in the suggestion bar when all of the user typed chars are upper case
bug:3014227
Change-Id: Ic453e2fde57ce51be00f3a506e1c9328103ca99a
2010-09-28 01:15:11 +09:00
satok
3a2b90357c Merge "Add Debug Settings Activity" into gingerbread 2010-09-26 22:15:57 -07:00
satok
bf96661d33 Add Debug Settings Activity
Bug:3033472

Change-Id: I311c66ac3c612a30d7da3be8ee35a352f49016ac
2010-09-27 14:07:10 +09:00
Eric Fischer
89711080dc Merge "Import revised translations. DO NOT MERGE" into gingerbread 2010-09-24 10:39:07 -07:00
Eric Fischer
5deb1678b2 Import revised translations. DO NOT MERGE
Change-Id: I1bf6a9e39adbe7d8e938f6dd5fe12227f8da4053
2010-09-24 10:26:49 -07:00
Ken Wakasa
6ee1bd425b Merge "Keep addWordToDictionary from doing disk I/O on main thread" into gingerbread 2010-09-24 08:33:31 -07:00