Commit Graph

924 Commits

Author SHA1 Message Date
Tadashi G. Takaoka
1397cbab76 Make mini-keyboard narrower on tablet landscape mode
This change narrows mini-keyboard key width from 7.5% to 5.0%
of the screen width.

Bug: 3122769
Change-Id: I4ae0e79262ec3fadab8f86aa57a8a6cec5cb4670
2010-10-22 18:42:26 +09:00
Tadashi G. Takaoka
4f6060b8b7 Table keyboard should always show return icon on enter key
Bug: 3122750
Change-Id: I75d2b5adff3a349d29d8a56e7b761c26b04683c0
2010-10-22 18:27:59 +09:00
Tadashi G. Takaoka
503797ae0e Make "show settings key option" dependent to device configuration
Bug: 3095814
Change-Id: I73b8a5023b398621a910c953eade252dc6412923
2010-10-22 17:04:14 +09:00
Tadashi G. Takaoka
41338e6c32 Move BaseKeyboardParser to top-level class
Bug: 3082538
Change-Id: If0ddf32bc3811e3c65a7a96503c61ed3351eeb66
2010-10-21 19:38:31 +09:00
Tadashi G. Takaoka
bf77bb7678 Refactor BaseKeyboard parsing code
Change-Id: I241125b5b15c9d6bbba456476f1f4fd3ef9db3f2
2010-10-21 17:58:34 +09:00
Tadashi G. Takaoka
d329795d91 Merge "Make common qwerty keyboard layout files and include these" 2010-10-20 22:43:45 -07:00
Ken Wakasa
f5df46f0e0 Add ; to list of punctuation
bug: 3034792
Change-Id: I8e5f3907840fa2ddc2b5ac99328525313465ea35
2010-10-21 01:56:18 +09:00
Tadashi G. Takaoka
c9bf5c005e Make common qwerty keyboard layout files and include these
Change-Id: I0cb8de748c4365e42d015078daf686ed76ca105b
2010-10-21 00:00:43 +09:00
Ken Wakasa
e354a85ef4 Manual merge of the following Gingerbread changes logically
I8b38e280
Ia3929bb0
If925b546
I1062763d
I901e36aa

bug: 3100311
Change-Id: Ic7e01277ec816e77d34732599b2b9552668b81c2
2010-10-20 22:51:33 +09:00
Tadashi G. Takaoka
58bfa35072 Update xlarge drawable of Keyboard
Bug: 3109804
Change-Id: I316f9cfcec377a7d0ea1417e1e3cea55cbdb9e2b
2010-10-19 21:59:17 +09:00
Tadashi G. Takaoka
28d8a488c0 Disable gesture detector on mini-keyboard
Gesture detector, for closing keyboard by swiping down, must be
disabled not only when mini-keyboard is on the screen, but also in the
mini-keyboard itself.

Bug: 3105595
Change-Id: I548501f7117ca2310943cabb678c1e250e5012ce
2010-10-19 02:20:03 +09:00
Ken Wakasa
b0a6f354ac DO NOT MERGE. Add '...' (hint) to period/smiley keys which triggers mini popup by long-press.
bug: 3105185
Change-Id: I901e36aa12dad5968ba1a420fff6a2f2efb16da5
2010-10-19 01:16:07 +09:00
Tadashi G. Takaoka
2348ca0e76 Cleanup LatinKeyboard and LatinKeyboard.LatinKey classes
Change-Id: I4c5a37315dea1c7545b77a8a6c93b930927a5a82
2010-10-18 16:06:05 +09:00
Tadashi G. Takaoka
4571fff019 Merge "Showing popup preview only when IME is in foreground" 2010-10-17 19:55:15 -07:00
Tadashi G. Takaoka
3740a26c21 Showing popup preview only when IME is in foreground
Bug: 3100922
Change-Id: Icd59fc3978dc1fccb523a368b0a7d4549fc2db78
2010-10-17 23:50:24 +09:00
Tadashi G. Takaoka
a2de8f0f83 Save default enter key attributes and restore these if needed
Bug: 3103016
Change-Id: Id8128d5b685ac040afd2c248e1ad17e9aaf1fdf0
2010-10-17 18:27:48 +09:00
Tadashi G. Takaoka
cd7b7d3e8f Specify keyboard metrics with physical unit "inch"
Cherrypick I44f3b2eef8086d6e0b0db53d38f08487549060c6 from Gingerbread

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: Ib38355ebfc2f8d5b1d26c4e90eba87196fbeddfa
2010-10-17 18:19:42 +09:00
Ken Wakasa
86953d170d DO NOT MERGE. Revise the setting hint visual and its handling code.
This is a follow up change to I8b38e280.

bug: 3084022
Change-Id: I1062763d87b4498e19598b4e7d99bb91c510c6d2
2010-10-17 12:42:40 +09:00
Tadashi G. Takaoka
65100ff39c am c247df2d: am 0ccc4bfe: Merge "Reduce popup preview fading out animation duration to 70ms" into gingerbread
Merge commit 'c247df2d05932f36ca1ebbba34b57a92254f433e'

* commit 'c247df2d05932f36ca1ebbba34b57a92254f433e':
  Reduce popup preview fading out animation duration to 70ms
2010-10-16 09:13:20 -07:00
Ken Wakasa
4e2feed325 am 4b6b11b5: am 8a26e853: Fix an issue of adding extra character.
Merge commit '4b6b11b5064a3b8b604a6441e7a037b0443ec6ed'

* commit '4b6b11b5064a3b8b604a6441e7a037b0443ec6ed':
  Fix an issue of adding extra character.
2010-10-16 09:13:17 -07:00
Kenny Root
6e0998c945 Import revised translations DO NOT MERGE
Change-Id: If56cd8acf3d73466ff904a707c4bb523dd5ab46d
2010-10-15 15:26:51 -07:00
Tadashi G. Takaoka
1dac5d491f resolved conflicts for merge of ac777128 to master
Change-Id: Id01a741ca18ac64e31d2abfed5251a1e99d48391
2010-10-16 04:57:53 +09:00
Ken Wakasa
1cbfc6c968 DO NOT MERGE. Follow up change to I8b38e280
Add visual indicator that long press / or @ on F1 key will bring up Settings

bug: 3084022
Change-Id: If925b546829ca8e8806e1f8f89eaf72fc8c220da
2010-10-16 02:54:54 +09:00
Tadashi G. Takaoka
0ccc4bfe38 Merge "Reduce popup preview fading out animation duration to 70ms" into gingerbread 2010-10-15 02:27:02 -07:00
Ken Wakasa
8a26e85387 Fix an issue of adding extra character.
LatinKeyboardBaseView should have removed "long pressed" pointer tracker from the multi-touch pointer queue.

bug: 3099130
Change-Id: I3d358a373b0de07558a204e9ff5a95e9ece38bcc
2010-10-15 17:56:05 +09:00
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
Tadashi G. Takaoka
ace15025c3 Merge "Follow up change of I8b38e280 (DO NOT MERGE)" into gingerbread 2010-10-14 18:13:18 -07:00
Tadashi G. Takaoka
0661496ee0 Follow up change of I8b38e280 (DO NOT MERGE)
This is follow up change of I8b38e2803eb32469653484701882af35108eb69a

This change fixes the following when "Voice input on symbols keyboard"
option is selected.
- LatinIME.onCreateInputView fails to show "123mic" icon.
- Email and URL variation keyboard fails to show "123mic" icon.

Bug: 3084022
Change-Id: Ia3929bb0cc5c5c8651af816718c21d1f20e8f016
2010-10-15 10:00:06 +09:00
Maryam Garrett
93b3d50041 resolved conflicts for merge of 21c3e696 to master
Change-Id: I35b6abc1569f3e16ddf2db523dc1326ff294962a
2010-10-14 15:36:50 -04:00
Kenny Root
913730d6e7 Import revised translations
Change-Id: Iaf51da312caf84a58796714424fc8dd22df1f6d3
2010-10-14 09:46:48 -07: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
Tadashi G. Takaoka
323971b51e Merge "Follow up change of I4c6df819" 2010-10-12 08:03:11 -07:00
Tadashi G. Takaoka
ed3443ebd7 Follow up change of I4c6df819
This change is follow up of I4c6df8197b734feb998da78478a4d9a41f6d92b2

Change-Id: I3b8a82dd71305f34afb2e8b6a705efabdc2bc0cf
2010-10-13 00:02:28 +09:00
Tadashi G. Takaoka
adf24e2eb4 Follow up change of If9472a2a
This change is follow up of If9472a2acb029e56790dc4d19ab62e608c970175

Change-Id: I0a474a130f49e2acccbb5a164bdf2984a5bd9042
2010-10-13 00:00:59 +09:00
Tadashi G. Takaoka
50a61083d3 Add text variation keyboard layout
Change-Id: I4c6df8197b734feb998da78478a4d9a41f6d92b2
2010-10-12 14:01:28 +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
39004972b1 resolved conflicts for merge of fd64e47c to master
Change-Id: I07434c251fafa5eee548a54dae30d91df3a24085
2010-10-12 03:15:36 +09:00
Ken Wakasa
3de6ba6ab9 am 938c0a37: am 364da8c6: Fix - "Touch again to save" not working for manually picked suggestion when re-correction is enabled.
Merge commit '938c0a3722a9c597931e6f75408dc7ab636d7052'

* commit '938c0a3722a9c597931e6f75408dc7ab636d7052':
  Fix - "Touch again to save" not working for manually picked suggestion when re-correction is enabled.
2010-10-11 10:42:25 -07:00
Kenny Root
ef38215fa4 Merge "Fix merge that should have been manually merged" 2010-10-10 17:16:51 -07:00
Kenny Root
c4b93e8d90 Fix merge that should have been manually merged
master was still using the deleted constants in different places and
Java 6 didn't like the imports.

Change-Id: If9472a2acb029e56790dc4d19ab62e608c970175
2010-10-10 17:15:21 -07:00
Tadashi G. Takaoka
e56e2d85df am 02b8d91b: am 7e1f5a2d: Make sure to set symbol keyboard shifted
Merge commit '02b8d91b2dbe4290d4b09d93a22efbc5552326db'

* commit '02b8d91b2dbe4290d4b09d93a22efbc5552326db':
  Make sure to set symbol keyboard shifted
2010-10-10 17:14:19 -07:00
Kenny Root
6f6dd71862 resolved conflicts for merge of 23d50bfb to master
Change-Id: Ia3fd85bd0c231f7b910b14caad38fa453a2336f6
2010-10-10 15:19:53 -07: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
4ee2a56f07 Make keyboard vertical correction configurable
cherry-pick: I72c2448894a1084c582c2f1fb942b5fa8353f028

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: If71419dcfc18be3e5e87afea078fa15d3c31d908
2010-10-09 13:03:00 +09:00
Tadashi G. Takaoka
4d3a4dc211 Add phone keyboard layout
Change-Id: I97d146ef2756ffe5adb17fcbf04f5e91a0587aa5
2010-10-09 12:35:37 +09:00
Ken Wakasa
ad289ae49b am 2fd1de46: am 47a9c3f3: Additional string update for LatinIME\'s re-correction preference item.
Merge commit '2fd1de46010c9c7836fcae94180d067c50677bab'

* commit '2fd1de46010c9c7836fcae94180d067c50677bab':
  Additional string update for LatinIME's re-correction preference item.
2010-10-08 14:36:47 -07:00
Ken Wakasa
9c50d2ea36 am 018afe8c: am 6495bfc7: Follow-up to I36faf679 Cancel pending messages related to suggestion updates.
Merge commit '018afe8c7e90b8dd0fde4f22873ecdf38086358e'

* commit '018afe8c7e90b8dd0fde4f22873ecdf38086358e':
  Follow-up to I36faf679  Cancel pending messages related to suggestion updates.
2010-10-08 14:36:31 -07:00
Ken Wakasa
a7fda868d9 am 57108c2f: am 3425026d: Follow-up to Ia135eb92 . Shorten overflowed string.
Merge commit '57108c2f1c5b811a8b207ac53f4e3b4ef7ddcba4'

* commit '57108c2f1c5b811a8b207ac53f4e3b4ef7ddcba4':
  Follow-up to Ia135eb92 .  Shorten overflowed string.
2010-10-08 14:36:25 -07:00
Ken Wakasa
9870638da7 am 64444586: am 55b10796: Addressed bug: 3058217 "-" key not working at beginning of line
Merge commit '644445868f1023b3263a149f2faf617b88341d20'

* commit '644445868f1023b3263a149f2faf617b88341d20':
  Addressed bug: 3058217  "-" key not working at beginning of line
2010-10-08 13:17:45 -07: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
satok
7af745e6f6 Call InputMethodSubtypePicker instead of InputMethodPicker
Change-Id: I7c29285f4fd304d08bfd8f5f72df3fc421090681
2010-10-08 15:56:25 +09:00
Tadashi G. Takaoka
ff4d21bd29 Share 4th row of non-xlarge qwerty keyboard using <include>
Change-Id: Iff337e1c6ef3a17fd96a5e5f1c3c4a21190aac1c
2010-10-08 01:24:28 +09:00
Tadashi G. Takaoka
d663555c9f Keyboard XML file supports include and merge tag
Keyboard XML file can include other keyboard XML file using directive
<include keyboardLayout="@xml/...">.  The keyboard XML file which is
included must have <merge> tag as root element.

Change-Id: I06c35fe7b3db5232acdb33f73a79f38d31261b32
2010-10-07 23:51:38 +09:00
Eric Fischer
e13a301328 Import revised translations. DO NOT MERGE
Change-Id: Icf8fa9146cc4cbfb70d5069be5359d04c5ec2432
2010-10-06 17:15:27 -07:00
Roy West
4d9add5482 am 2501d736: am 47383758: Fix bug 3063598, change "tap" to "touch" thrice.
Merge commit '2501d7363c3fec777956dd57a558c8bfe75e002c'

* commit '2501d7363c3fec777956dd57a558c8bfe75e002c':
  Fix bug 3063598, change "tap" to "touch" thrice.
2010-10-06 17:09:06 -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
66e306d01c Add keyHintIcon attribute to BaseKeyboard.Key class
This keyHintIcon attribute is used to specify hint icon drawable at
top right corner of Key.

Change-Id: Icaa91e63c4473b2513396bd3fbeb8ed6fd73586c
2010-10-05 20:28:04 +09:00
Mitsuhiro Shimoda
b1abda8d62 Add an auto complete's threshold option.
Change-Id: I3a6821ced8642ab8f954e79a25e31766e4a18eb8
2010-10-05 14:44:00 +09:00
Tadashi G. Takaoka
6614ac9f7b Modify BaseKeyboard to be able to handle multiple shift keys
Change-Id: Ie840ae113ee6bd5b629a90959d7f955a5ceba95a
2010-10-02 21:37:34 +09:00
satok
4fc510a789 Unbundle Keyboard.java to BaseKeyboard.java
Change-Id: I8b310c2c0cae1a151e53c22001c586697346982c
2010-10-02 00:02:00 +09:00
Tadashi G. Takaoka
932a1b756d am c0fc4bf9: am 8e1f1be0: Long press mic/comma key bring mini keyboard with settings
Merge commit 'c0fc4bf9932caf536af5d5d86bb61ec6d8a44a99'

* commit 'c0fc4bf9932caf536af5d5d86bb61ec6d8a44a99':
  Long press mic/comma key bring mini keyboard with settings
2010-10-01 04:04:38 -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
d778ff20e7 am bd677880: am 88a04563: Make the background of keypopup transparent
Merge commit 'bd677880494f30d58913f1bac612a32410e6465b'

* commit 'bd677880494f30d58913f1bac612a32410e6465b':
  Make the background of keypopup transparent
2010-10-01 02:29:58 -07:00
satok
88a045637a Make the background of keypopup transparent
Change-Id: I5240ffdd8e48bcb99c2edf878d8efaba2cafeb07
2010-10-01 18:08:38 +09:00
Tadashi G. Takaoka
3750d56d73 am 8e6a9270: am 18d536f6: Merge "Dismiss orange highlight after suggestion has been selected" into gingerbread
Merge commit '8e6a92703d1bdf530d32c8cdf90deefc6bc3a878'

* commit '8e6a92703d1bdf530d32c8cdf90deefc6bc3a878':
  Dismiss orange highlight after suggestion has been selected
2010-09-30 23:24:11 -07: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
3d9d2b1b3c am 7ed6b88c: am a0a60b37: Revert changes to keyboard_popup.xml for now.
Merge commit '7ed6b88cf6f090512953e3665e4ff5072c98560b'

* commit '7ed6b88cf6f090512953e3665e4ff5072c98560b':
  Revert changes to keyboard_popup.xml for now.
2010-09-30 19:48:16 -07: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
c29d565428 am 105f7c36: am 3297ee80: Merge "Long pressing mic/comma key will show settings menue" into gingerbread
Merge commit '105f7c36b7fa1845b9edbf47ca55b4a6660303b6'

* commit '105f7c36b7fa1845b9edbf47ca55b4a6660303b6':
  Long pressing mic/comma key will show settings menue
2010-09-30 13:37:40 -07:00
Tadashi G. Takaoka
f06cab73ec am 93176d86: am 77c9f2d3: Merge "Display feedback popup for saving word while the word is pressing." into gingerbread
Merge commit '93176d869a496051344d80ef03573bc6bb99035a'

* commit '93176d869a496051344d80ef03573bc6bb99035a':
  Display feedback popup for saving word while the word is pressing.
2010-09-30 13:37:38 -07:00
satok
41ffeb88ca am b97d1777: am 36f97dd6: Fixed assets - Make the background of popup key a full transparent color - Updated the background mdpi asset of keyboard
Merge commit 'b97d17777ef2d8550770a48c84e51e4548820812'

* commit 'b97d17777ef2d8550770a48c84e51e4548820812':
  Fixed assets
2010-09-30 13:37:35 -07:00
Tadashi G. Takaoka
b050829609 am e6e45510: am 11a578f4: Disable suggestion bar before invoke Voice input
Merge commit 'e6e45510674b31d0c82fa5f8a7943668d7e8503a'

* commit 'e6e45510674b31d0c82fa5f8a7943668d7e8503a':
  Disable suggestion bar before invoke Voice input
2010-09-30 13:37:30 -07:00
Tadashi G. Takaoka
e909d4f12e am 48ef72ac: am 8ff96805: Merge "Eliminate compiler warning" into gingerbread
Merge commit '48ef72acef92bb774bad84d647427eaab0acc83b'

* commit '48ef72acef92bb774bad84d647427eaab0acc83b':
  Eliminate compiler warning
2010-09-30 13:37:27 -07:00
Tadashi G. Takaoka
2e7ce8ec50 am 259778c3: am eebe37e8: Merge "Disable suggestion selection preview popup" into gingerbread
Merge commit '259778c3a18246b3117c2874b87f1adaf2d9fb81'

* commit '259778c3a18246b3117c2874b87f1adaf2d9fb81':
  Disable suggestion selection preview popup
2010-09-30 13:37:23 -07:00
Ying Wang
4852f1a72e am 7d849f8a: am 2d6a0c68: Merge "Fix proguard flag file dependency." into gingerbread
Merge commit '7d849f8a2aeadb5b8a97b42fe5748dced3051126'

* commit '7d849f8a2aeadb5b8a97b42fe5748dced3051126':
  Fix proguard flag file dependency.
2010-09-30 11:28:06 -07:00
Amith Yamasani
d2a74e9f16 am 4d158dc2: am 15b840cd: Merge "Check recorrection on focusing into a text field that has text already." into gingerbread
Merge commit '4d158dc2779ffff8c92a41f32e6885bd0f155fc3'

* commit '4d158dc2779ffff8c92a41f32e6885bd0f155fc3':
  Check recorrection on focusing into a text field that has text already.
2010-09-30 11:26:57 -07: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
Tadashi G. Takaoka
8bae0829d2 resolved conflicts for merge of ab1348e8 to master
Change-Id: Ica94a5f9ac4feae477297f14fc1bc21d02efb6a4
2010-09-30 09:01:04 +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
e3da18803d am fcd5f2b9: am c2c9cd82: Merge "Mini keyboard works even while shift is being pressed" into gingerbread
Merge commit 'fcd5f2b9b4229c00a6589aad1fda9b727759d343'

* commit 'fcd5f2b9b4229c00a6589aad1fda9b727759d343':
  Mini keyboard works even while shift is being pressed
2010-09-28 21:55:19 -07:00
Tadashi G. Takaoka
f48637a5b2 resolved conflicts for merge of 0325360d to master
Change-Id: I5926c8d75dbffda20001fa9487fae2e5f723c755
2010-09-29 13:51:06 +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
819e05f5fe am 0ea7e504: am 6e5a3986: Fixed key code and key coordinates when move debounce has been in action
Merge commit '0ea7e504887702bace7b2e765704d08e737ab1b5'

* commit '0ea7e504887702bace7b2e765704d08e737ab1b5':
  Fixed key code and key coordinates when move debounce has been in action
2010-09-28 13:19:45 -07:00
satok
ed85235bee am ad090ac3: am 008e9b3e: Fix Null pointer exception on closing and update assets
Merge commit 'ad090ac3f4cee327adf74e8b35bbc446a8d64070'

* commit 'ad090ac3f4cee327adf74e8b35bbc446a8d64070':
  Fix Null pointer exception on closing and update assets
2010-09-28 12:48:46 -07: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
Tadashi G. Takaoka
2b4cc0db61 Fix xlarge min-keyboard layout
Change-Id: Ia4d6cffa0c6cf710da577b75f6337836352959a0
2010-09-28 16:12:51 +09:00
Tadashi G. Takaoka
b514d3f1f8 Fix wrong keyEdgeFlags in xlarge keyboard layouts
Bug: 3040988
Change-Id: Ibcac874a96ed0bf35350b50a5dd862a8d03c8354
2010-09-28 15:14:47 +09:00
Tadashi G. Takaoka
8bfcac4d84 Fix NPE in LatinKeyboard when it represent phone keyboard
Bug: 3041532
Change-Id: I1d846e9175bd033f056a8715287a936be2fe8f74
2010-09-28 10:15:55 +09:00
Amith Yamasani
71ed85bce8 Fix the non-working period key in the tablet layout.
One of the edge flags was wrong.
2010-09-27 15:12:01 -07: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
0517bffc06 am 7f2a6a05: am 0b4ae1f5: Capitalize the displayed text in the suggestion bar when all of the user typed chars are upper case
Merge commit '7f2a6a056b67efa2a1fb623ca4cf73f7fb6c7d8c'

* commit '7f2a6a056b67efa2a1fb623ca4cf73f7fb6c7d8c':
  Capitalize the displayed text in the suggestion bar when all of the user typed chars are upper case
2010-09-27 09:30: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
Tadashi G. Takaoka
dc7097b4e7 Merge "Add xlarge keyboard layouts (tentative)" 2010-09-27 08:39:12 -07:00
Tadashi G. Takaoka
b1fcbec730 Add xlarge keyboard layouts (tentative)
This keyboard layout is tentative for UX study.

This change added xlarge keyboard layouts only for "regular text",
"symbol/number mode" and "symbol/number mode shifted".

TODO other text mode variants should have dedicated layout.

Change-Id: I36077efcec4b57c3b5cada0a851e1409a289eeb9
2010-09-28 00:17:53 +09:00
satok
a48d298d10 resolved conflicts for merge of b9c0ed59 to master
Change-Id: Ib42164a5889eb9792b5e94de1e0ffd4c1924e29d
2010-09-27 15:33:24 +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
30dd9b5d48 Import revised translations.
Change-Id: I38532015c089c0a5c6c1b98fe44f282918aebe5e
2010-09-24 12:28:30 -07: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
760e7b24ad am ca2fba71: am 6ee1bd42: Merge "Keep addWordToDictionary from doing disk I/O on main thread" into gingerbread
Merge commit 'ca2fba71086b3832998ee9039723b66cce3be300'

* commit 'ca2fba71086b3832998ee9039723b66cce3be300':
  Keep addWordToDictionary from doing disk I/O on main thread
2010-09-24 08:40:48 -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
Ken Wakasa
336bc6bfeb Keep addWordToDictionary from doing disk I/O on main thread
bug: 2999524

Change-Id: Id8b04d38079cfa1dadd5955eb7f83085e60eb8e2
2010-09-25 00:14:24 +09:00
Tadashi G. Takaoka
05ebb2e511 am bf03559f: am 64e5a194: Merge "Add enter/exit animation style to prevew and mini keyboard" into gingerbread
Merge commit 'bf03559f7e38cd51cb5fd6b0afa937982cbffc67'

* commit 'bf03559f7e38cd51cb5fd6b0afa937982cbffc67':
  Add enter/exit animation style to prevew and mini keyboard
2010-09-24 06:27:24 -07:00
Tadashi G. Takaoka
64e5a1940f Merge "Add enter/exit animation style to prevew and mini keyboard" into gingerbread 2010-09-24 06:07:23 -07:00
Tadashi G. Takaoka
0ae817c9ae Add enter/exit animation style to prevew and mini keyboard
TODO This animation style API of PopupWindow can be called only in
Gingrebread or later.  We should refactor this using reflection to be
able to be compatible with Froyo.

Bug: 3004787
Bug: 2973989
Change-Id: I2abfcc853b1a0af2bccee7bdf5fbd723456b7d34
2010-09-24 20:51:13 +09:00
satok
3da22f8146 am 27bddbe6: am 1bebdcb4: Move RingCharBuffer as a singleton in Util
Merge commit '27bddbe67f00953dc82a8543fe610c9010f7077c'

* commit '27bddbe67f00953dc82a8543fe610c9010f7077c':
  Move RingCharBuffer as a singleton in Util
2010-09-24 00:36:20 -07:00
satok
1bebdcb4e4 Move RingCharBuffer as a singleton in Util
Change-Id: I08d09555a99a64038374e62019777d331c48319b
2010-09-24 16:27:36 +09:00
Ken Wakasa
e76fad939b am 5521d06f: am 5339950b: Update mdpi visual assets of upper-right number hint
Merge commit '5521d06fe582c4b4b0d653544c0d0847029b5f1c'

* commit '5521d06fe582c4b4b0d653544c0d0847029b5f1c':
  Update mdpi visual assets of upper-right number hint
2010-09-23 23:44:07 -07:00
Ken Wakasa
5339950bbc Update mdpi visual assets of upper-right number hint
Change-Id: I77e2b70f4ec954ea2a0822f7bdb92d8a4d405f7f
2010-09-24 15:03:02 +09:00
Tadashi G. Takaoka
ae7e550662 am bc63621f: am 9d44411a: Fixed popup mini-keyboard position
Merge commit 'bc63621fcf1db2933f708bf3dd81b2b2f2211c5e'

* commit 'bc63621fcf1db2933f708bf3dd81b2b2f2211c5e':
  Fixed popup mini-keyboard position
2010-09-23 04:14:55 -07:00
Tadashi G. Takaoka
9d44411a82 Fixed popup mini-keyboard position
This change reverts I28bf3e4deb46a428dc8422a3a165183e00608604 partly

Bug: 3029284
Change-Id: I0701ab9dfa1cfddbecbef3d32e525c0a143fc297
2010-09-23 20:04:13 +09:00
Tadashi G. Takaoka
6721b98b5c am ec8b7360: am 77542988: Tune left and right padding of popup mini keyboard
Merge commit 'ec8b7360161f37d00d178bef37c30352982cd007'

* commit 'ec8b7360161f37d00d178bef37c30352982cd007':
  Tune left and right padding of popup mini keyboard
2010-09-23 00:13:48 -07:00
Tadashi G. Takaoka
77542988b8 Tune left and right padding of popup mini keyboard
This change also fix popup window display position calculation.

Bug: 3029284
Change-Id: I28bf3e4deb46a428dc8422a3a165183e00608604
2010-09-23 15:53:05 +09:00
Tadashi G. Takaoka
48ef8f4a25 am a8f77c36: am 23f7fb03: Merge "Disable invoking VoiceIME using swipe right action" into gingerbread
Merge commit 'a8f77c36ca985cb356b03b25f5cd30fd3b25dc9a'

* commit 'a8f77c36ca985cb356b03b25f5cd30fd3b25dc9a':
  Disable invoking VoiceIME using swipe right action
2010-09-22 22:57:15 -07:00
Tadashi G. Takaoka
fc66213d9e am 4fab9f2f: am b75dee4b: Merge "Fix ArrayIndexOutOfBoundsException in WordComposer" into gingerbread
Merge commit '4fab9f2fee9cfb1a67d805c1598deae02fa4d8cc'

* commit '4fab9f2fee9cfb1a67d805c1598deae02fa4d8cc':
  Fix ArrayIndexOutOfBoundsException in WordComposer
2010-09-22 22:57:13 -07:00
Tadashi G. Takaoka
23f7fb035d Merge "Disable invoking VoiceIME using swipe right action" into gingerbread 2010-09-22 22:51:11 -07:00
Tadashi G. Takaoka
b75dee4b00 Merge "Fix ArrayIndexOutOfBoundsException in WordComposer" into gingerbread 2010-09-22 22:50:36 -07:00
Tadashi G. Takaoka
d1a8e3088b Fix ArrayIndexOutOfBoundsException in WordComposer
Bug: 3028277
Change-Id: I1c4d8dca4db8a70f851589d1fbd45a16ea1bfc1b
2010-09-23 14:47:26 +09:00
Tadashi G. Takaoka
437cabe0df am 1241be7e: am a96d8a11: Use SystemClock.uptimeMillis() for event time
Merge commit '1241be7e8498b8cca348d74363ece68b3ade730c'

* commit '1241be7e8498b8cca348d74363ece68b3ade730c':
  Use SystemClock.uptimeMillis() for event time
2010-09-22 22:07:58 -07:00
Tadashi G. Takaoka
a96d8a11e8 Use SystemClock.uptimeMillis() for event time
Change-Id: If20f289992f829ae3a0a2a1eb60a4fc9b35c308a
2010-09-23 13:06:03 +09:00
Tadashi G. Takaoka
abd7bba981 Disable invoking VoiceIME using swipe right action
Bug: 3028268
Change-Id: I4bcf35051d5e82b60bb6a346a80ad6c3c03c31cb
2010-09-23 12:55:44 +09:00
Tadashi G. Takaoka
36f64d2bba am 84af4309: am 8493e431: Use constant for keycode.
Merge commit '84af4309f8a2d030bfd042d8363669cc477c676f'

* commit '84af4309f8a2d030bfd042d8363669cc477c676f':
  Use constant for keycode.
2010-09-22 02:42:59 -07:00
Tadashi G. Takaoka
8493e43148 Use constant for keycode.
This is follow up change of Idb3adcb6fac1a23836510912d35312fa11b4f259

Change-Id: I130e381b0d5ac01176a746a4a915e2fc9d54587b
2010-09-22 18:29:19 +09:00
Tadashi G. Takaoka
99d6a248ef am 8957296f: am 9d1cb899: Merge "Choose smaller or shorter language name for space bar" into gingerbread
Merge commit '8957296f066b1f624dc4fae71d3eeb5a0fec1b4f'

* commit '8957296f066b1f624dc4fae71d3eeb5a0fec1b4f':
  Choose smaller or shorter language name for space bar
2010-09-22 02:21:20 -07:00
Tadashi G. Takaoka
9d1cb89939 Merge "Choose smaller or shorter language name for space bar" into gingerbread 2010-09-22 02:17:06 -07:00
Tadashi G. Takaoka
8243c7a5e5 Choose smaller or shorter language name for space bar
To fit a language name to the space bar or the language switcher, this
change chooses smaller text size or shorter language name
appropriately.

This change also tunes the vertical position of a language name in the
space bar by parameter SPACEBAR_LANGUAGE_BASELINE.

Bug: 3004640
Bug: 3001021

Change-Id: Idb3adcb6fac1a23836510912d35312fa11b4f259
2010-09-22 18:03:46 +09:00
satok
a1f7df874b am b2570e76: am fd56a14c: Merge "Remove unnecessary assets for LatinIME in GingerBread" into gingerbread
Merge commit 'b2570e76efdb0362805798437dddcfc01b5fd00d'

* commit 'b2570e76efdb0362805798437dddcfc01b5fd00d':
  Remove unnecessary assets for LatinIME in GingerBread
2010-09-22 01:37:26 -07:00
satok
fd56a14c6b Merge "Remove unnecessary assets for LatinIME in GingerBread" into gingerbread 2010-09-22 01:30:14 -07:00
satok
824623a9ca Remove unnecessary assets for LatinIME in GingerBread
Change-Id: I6f690f261cdcad9aaf1dd4b0a13a7a9102b3dded
2010-09-22 17:22:40 +09:00
Tadashi G. Takaoka
db6b897118 am 7c120ce4: am 3a2896c8: Fix issue space key preview remains on screen and would not dismiss
Merge commit '7c120ce4872398ea4f61a67aba1d069e45f1c012'

* commit '7c120ce4872398ea4f61a67aba1d069e45f1c012':
  Fix issue space key preview remains on screen and would not dismiss
2010-09-22 00:10:16 -07:00
Tadashi G. Takaoka
3a2896c804 Fix issue space key preview remains on screen and would not dismiss
The space key preview should be displayed one of the following case.
- Popup preview is enabled
- Language switcher is in action, whether popup preview is enabled or
  not.

For phone number keyboard, popup preview is never displayed even if
popup preview is enabled.

Bug: 3006612
Bug: 3021091
Change-Id: I5385c776d0e8e3981fc8d8851db9140d92599ce5
2010-09-22 15:50:31 +09:00
Ken Wakasa
60f6e5d461 am 33c13c41: am 75c23ced: Add lightweight visual indication for numbers.
Merge commit '33c13c413ad7cf30d5a12e2ba6c463e01b47e92a'

* commit '33c13c413ad7cf30d5a12e2ba6c463e01b47e92a':
  Add lightweight visual indication for numbers.
2010-09-21 21:45:40 -07:00
Ken Wakasa
75c23ced94 Add lightweight visual indication for numbers.
This change adds lightweight visual hints of alternate numeric characters on the top row - e.g. having a light gray '1' on the upper right corner of letter 'q'

Note that MDPI resources are tentative (the same as HDPI for now, until we get fixed MDPI visual assets).

bug: 3004632
Change-Id: I7a25cf90b702433a844c88f5c47bf914706af9bc
2010-09-22 13:00:11 +09:00
Tadashi G. Takaoka
41acad294c am c01d978f: am a104575c: Merge "Draw language label on space key of symbol+alt mode" into gingerbread
Merge commit 'c01d978f56f90425f070d57a66968aa77ef69a7d'

* commit 'c01d978f56f90425f070d57a66968aa77ef69a7d':
  Draw language label on space key of symbol+alt mode
2010-09-21 10:44:29 -07:00
Tadashi G. Takaoka
75abaf5d8f am 9c822ec4: am 6b75eaa1: Fix mini keyboard display position when preview is disabled
Merge commit '9c822ec48de0e6839a861212d8b7143f70b29fd1'

* commit '9c822ec48de0e6839a861212d8b7143f70b29fd1':
  Fix mini keyboard display position when preview is disabled
2010-09-21 10:44:22 -07:00
Tadashi G. Takaoka
051511fa09 am 1d82ee9a: am 56cd6df9: Merge "Space key will no longer auto-repeat" into gingerbread
Merge commit '1d82ee9a13b1e57af80d2bd0e3f879305bda137d'

* commit '1d82ee9a13b1e57af80d2bd0e3f879305bda137d':
  Space key will no longer auto-repeat
2010-09-21 10:43:52 -07:00
Tadashi G. Takaoka
a104575c99 Merge "Draw language label on space key of symbol+alt mode" into gingerbread 2010-09-21 08:34:57 -07:00
Tadashi G. Takaoka
31ff846e8c Draw language label on space key of symbol+alt mode
Bug: 3003888
Change-Id: I0bafcd13f3e5e5c69c65ed72580d108f2745e004
2010-09-21 23:05:29 +09:00
Tadashi G. Takaoka
6b75eaa12d Fix mini keyboard display position when preview is disabled
Bug: 3021082
Change-Id: I2cfb462c89b222449ee2ba5559462a9f5d2306ed
2010-09-21 21:10:17 +09:00
Tadashi G. Takaoka
56cd6df95e Merge "Space key will no longer auto-repeat" into gingerbread 2010-09-20 22:46:10 -07:00
Tadashi G. Takaoka
a628e46c11 am 0ab6747d: am 4da43a25: Shorten popup preview residual time (100ms)
Merge commit '0ab6747d424f412a103a4092bc3fcb2e891994ad'

* commit '0ab6747d424f412a103a4092bc3fcb2e891994ad':
  Shorten popup preview residual time (100ms)
2010-09-20 21:07:12 -07:00
Tadashi G. Takaoka
aaa163b2b7 Space key will no longer auto-repeat
Bug: 3014225
Change-Id: I94d4904726985d5e17b665d4042c873ea07221f1
2010-09-21 13:00:13 +09:00
Tadashi G. Takaoka
4da43a25cb Shorten popup preview residual time (100ms)
The residual time was formerly 150ms by
Ia63662a549481d18046a46ef8292c0a4438b5588, and originally was 70ms.

Bug: 3004787
Change-Id: If60a74c51e9a68f008711cca2423094e8204755f
2010-09-21 12:00:55 +09:00
Tadashi G. Takaoka
3a997ae631 am 66774575: am 7763b36d: Align key preview and mini-keyboard positions
Merge commit '667745750735d7535a6e6e9580b7c762735fad12'

* commit '667745750735d7535a6e6e9580b7c762735fad12':
  Align key preview and mini-keyboard positions
2010-09-17 10:38:40 -07:00
Tadashi G. Takaoka
6f3d98f115 am 051d4f45: am 4a3ffcbf: Longer popup preview residual time (150ms)
Merge commit '051d4f459d35eac61772a0fe0f6487b8c34ec479'

* commit '051d4f459d35eac61772a0fe0f6487b8c34ec479':
  Longer popup preview residual time (150ms)
2010-09-17 10:38:37 -07:00
Tadashi G. Takaoka
7763b36d6d Align key preview and mini-keyboard positions
Bug: 3004793
Change-Id: I1839e6ff3c8c66a576bfb3db9391c146ed225451
2010-09-18 02:19:03 +09:00
Tadashi G. Takaoka
4a3ffcbf32 Longer popup preview residual time (150ms)
Bug: 3004787
Change-Id: Ia63662a549481d18046a46ef8292c0a4438b5588
2010-09-18 01:48:03 +09:00
satok
67ba0159b7 am 0222f08a: am 62955c79: Update mdpi assets
Merge commit '0222f08a79999767a2b6cbfeaa9d42c87546bb12'

* commit '0222f08a79999767a2b6cbfeaa9d42c87546bb12':
  Update mdpi assets
2010-09-17 03:39:04 -07:00
satok
62955c7951 Update mdpi assets
bug: 2973737

Change-Id: I2efc96886a3f5656ca3d9e799a4052f044e61e70
2010-09-17 19:23:03 +09:00
Ken Wakasa
86fa29ade9 DO NOT MERGE. Get rid of the user feedback preference from Gingerbread.
Change-Id: I2f0dc3b0cba78c85249cb6cecc9b5c588de4f26b
2010-09-17 18:12:03 +09:00
Ken Wakasa
ef5f2102c5 am 300362f2: am 29d8bde4: Merge "Use the phone keyboard for NUMBER and DATETIME until we get a dedicated number entry keypad." into gingerbread
Merge commit '300362f20982974d07876dee01b4550b8e54d449'

* commit '300362f20982974d07876dee01b4550b8e54d449':
  Use the phone keyboard for NUMBER and DATETIME until we get a dedicated number entry keypad.
2010-09-16 23:23:45 -07:00
Tadashi G. Takaoka
99a23923e6 am 8ef27577: am 1476988e: Default puctuation suggestions have same color
Merge commit '8ef27577da17f4203db00d5df96c3d2ed32ac713'

* commit '8ef27577da17f4203db00d5df96c3d2ed32ac713':
  Default puctuation suggestions have same color
2010-09-16 23:23:42 -07:00
Ken Wakasa
29d8bde4de Merge "Use the phone keyboard for NUMBER and DATETIME until we get a dedicated number entry keypad." into gingerbread 2010-09-16 20:03:35 -07:00
Ken Wakasa
08f664fa65 Use the phone keyboard for NUMBER and DATETIME until we get a dedicated number entry keypad.
bug: 2992459
Change-Id: Ie597a68aa394c48e08a5d3fda19a0b613795b47b
2010-09-17 11:47:37 +09:00
Tadashi G. Takaoka
1476988ebb Default puctuation suggestions have same color
Bug: 3000978
Change-Id: Iedb3d4619ada8bd3ccc301ca2a8fb16fba6580c0
2010-09-17 11:45:46 +09:00
Ken Wakasa
6fecf0796c am 37a8c654: am 809bef52: Merge "Increase gradient of suggestion bar" into gingerbread
Merge commit '37a8c654a0cb9728451623dc1eed13ec9767b889'

* commit '37a8c654a0cb9728451623dc1eed13ec9767b889':
  Increase gradient of suggestion bar
2010-09-16 04:45:56 -07:00
Ken Wakasa
809bef520b Merge "Increase gradient of suggestion bar" into gingerbread 2010-09-16 04:41:04 -07:00
Ken Wakasa
490da4301f am 37600e29: am 06ff4c21: Merge "Change suggestion & bold colors" into gingerbread
Merge commit '37600e29ab7cfe95a7c5c340e44ca9dbbee0adfb'

* commit '37600e29ab7cfe95a7c5c340e44ca9dbbee0adfb':
  Change suggestion & bold colors
2010-09-16 04:30:11 -07:00
Ken Wakasa
06ff4c2175 Merge "Change suggestion & bold colors" into gingerbread 2010-09-16 04:24:05 -07:00
Ken Wakasa
749b1eaaaa Increase gradient of suggestion bar
bug: 3001007
Change-Id: I0f05d62b2a6848f37975b7a15b3ba14a90776d24
2010-09-16 20:21:30 +09:00
Tadashi G. Takaoka
b40ca031b7 am 525776b6: am ed8eabcc: Cleanup keyboard layout files
Merge commit '525776b681a0548fa6f98ee22a74ae4225c7fa07'

* commit '525776b681a0548fa6f98ee22a74ae4225c7fa07':
  Cleanup keyboard layout files
2010-09-16 04:16:36 -07:00
Tadashi G. Takaoka
ed8eabcc39 Cleanup keyboard layout files
Change-Id: I095c1294b9e826b503ff741eeff9dc93ad39f060
2010-09-16 20:02:04 +09:00
Ken Wakasa
d98cd76896 Change suggestion & bold colors
bug: 3004846
Change-Id: Id6878ea0a5b1f67af68b4690fdc1527513c999ab
2010-09-16 16:36:41 +09:00
Tadashi G. Takaoka
5d007ef380 am 89e21ee1: am 08cfebda: Move comma as default position of mini keyboard
Merge commit '89e21ee1f5be55ac3db224ab54b27cc604087efa'

* commit '89e21ee1f5be55ac3db224ab54b27cc604087efa':
  Move comma as default position of mini keyboard
2010-09-15 21:43:19 -07:00
Tadashi G. Takaoka
08cfebda8b Move comma as default position of mini keyboard
Bug: 3000978
Change-Id: I0369b3dc6ae58b77e7af112e446ae8189f5bbfc9
2010-09-16 12:22:53 +09:00
Ken Wakasa
2b90a1adcb am 13a6c8c1: am 1508c0e8: Add a new preference item to show/hide the settings key.
Merge commit '13a6c8c1f8691b753cd1a6b7a77d99af4f7d78ac'

* commit '13a6c8c1f8691b753cd1a6b7a77d99af4f7d78ac':
  Add a new preference item to show/hide the settings key.
2010-09-15 16:49:53 -07:00
Amith Yamasani
9b2c10284b am d6210de7: am dd5d4e37: Merge "Fix : Bouncing Extract Text when correcting multiple lines of text." into gingerbread
Merge commit 'd6210de709a0ed724f355743f196e827ebd7df50'

* commit 'd6210de709a0ed724f355743f196e827ebd7df50':
  Fix : Bouncing Extract Text when correcting multiple lines of text.
2010-09-15 16:48:56 -07:00
Tadashi G. Takaoka
f027b1c5eb am b9705959: am bf1f16f3: Merge "All keys should be processed before processing modifier key" into gingerbread
Merge commit 'b9705959df5d7de38df5dea53270bf702b87716d'

* commit 'b9705959df5d7de38df5dea53270bf702b87716d':
  All keys should be processed before processing modifier key
2010-09-15 16:47:02 -07:00
Tadashi G. Takaoka
1e445ed2af am 4b813f56: am bd1cc1da: Fix bug that upper case mini-keyboard does not work
Merge commit '4b813f56bbe11210835a31de7fd73bfe5a566ead'

* commit '4b813f56bbe11210835a31de7fd73bfe5a566ead':
  Fix bug that upper case mini-keyboard does not work
2010-09-15 16:46:51 -07:00
Ken Wakasa
1508c0e84f Add a new preference item to show/hide the settings key.
bug: 2998722

Change-Id: Iac1641c338388fd8f85e0cf47e31afdaeb34c0c0
2010-09-16 02:48:10 +09:00
Amith Yamasani
dd5d4e378a Merge "Fix : Bouncing Extract Text when correcting multiple lines of text." into gingerbread 2010-09-15 09:55:02 -07:00
Amith Yamasani
c1020c3aa6 Fix : Bouncing Extract Text when correcting multiple lines of text.
Bug: 2996887

Override the methods in InputMethodService that hide the candidates view, since
it was just an optimization to show more lines of text when editing, which
conflicts with the re-correct feature.

Change-Id: Ibfed5ccd9efa048d0b69297a5cf8a638a0d00c72
2010-09-15 09:34:17 -07:00
Tadashi G. Takaoka
b0b9f3b830 am b36a653c: am 12a4e08a: Handling multi-character uppercase key input
Merge commit 'b36a653ca65f3c26ba070a73b9d43beb57f620ee'

* commit 'b36a653ca65f3c26ba070a73b9d43beb57f620ee':
  Handling multi-character uppercase key input
2010-09-15 07:07:04 -07:00
Tadashi G. Takaoka
53a68e7dcf am b2835ef2: am eb680367: Add keyHysteresisDistance xml attribute
Merge commit 'b2835ef2e506b7d1b3db1c810b7dae349d2461d2'

* commit 'b2835ef2e506b7d1b3db1c810b7dae349d2461d2':
  Add keyHysteresisDistance xml attribute
2010-09-15 07:07:01 -07:00
Ken Wakasa
22a2215c1e am 2c424922: am 9717d5b1: Get rid of execution bit
Merge commit '2c42492224a2c4d9533fe9a8f4b994bc3f3a90e0'

* commit '2c42492224a2c4d9533fe9a8f4b994bc3f3a90e0':
  Get rid of execution bit
2010-09-15 07:06:58 -07:00
Tadashi G. Takaoka
bf1f16f35f Merge "All keys should be processed before processing modifier key" into gingerbread 2010-09-15 02:54:43 -07:00
Tadashi G. Takaoka
bd1cc1da00 Fix bug that upper case mini-keyboard does not work
This issue is introduced by I1932b0a382e172cb77b9e098ae182049c834dfe0

Bug: 2993769
Change-Id: I344d21e046b58b3bb9831605a7425a94c97d8492
2010-09-15 18:46:24 +09:00
Tadashi G. Takaoka
2aa8078df8 All keys should be processed before processing modifier key
Bug: 2987077
Change-Id: I971c44be121d8780ec27aa1649fd0925e249fbbc
2010-09-15 18:41:54 +09:00
Tadashi G. Takaoka
12a4e08a64 Handling multi-character uppercase key input
Change-Id: Ie0820a2627e18109036d5f6f286d5a366c9b9f87
2010-09-14 17:20:48 +09:00
Tadashi G. Takaoka
eb68036798 Add keyHysteresisDistance xml attribute
This change also introduces MiniKeyboardKeyDetector and
mini_keyboad_slide_allowance parameter to tune the key detection
behavior.

Bug: 2993769
Change-Id: I1932b0a382e172cb77b9e098ae182049c834dfe0
2010-09-14 16:26:45 +09:00
Ken Wakasa
9717d5b1ee Get rid of execution bit
Change-Id: I25b530c2ab50c045da321e00d905cbec19188ea3
2010-09-14 11:51:58 +09:00
Eric Fischer
48e72c611a am f06a1bb2: am 0ca8cf67: Merge "Rename altchars.xml to keep translation imports from altering it." into gingerbread
Merge commit 'f06a1bb2947221109dac20bdbb93387ad34d347c'

* commit 'f06a1bb2947221109dac20bdbb93387ad34d347c':
  Rename altchars.xml to keep translation imports from altering it.
2010-09-13 14:42:21 -07:00
Eric Fischer
0ca8cf67a3 Merge "Rename altchars.xml to keep translation imports from altering it." into gingerbread 2010-09-13 10:04:49 -07:00
satok
3a6bb59ccb am 58e641c3: am 395d5012: Rename keyboard_popup_keyboard.xml keyboard_key_preview.xml
Merge commit '58e641c3fc8c13b6c88c806c5e47d9cf16311dd7'

* commit '58e641c3fc8c13b6c88c806c5e47d9cf16311dd7':
  Rename keyboard_popup_keyboard.xml keyboard_key_preview.xml
2010-09-13 07:19:11 -07:00
satok
395d501252 Rename keyboard_popup_keyboard.xml keyboard_key_preview.xml
Change-Id: I7c98a91c77f5ef46ee0b15783242024c0bd10503
2010-09-13 23:06:49 +09:00
satok
506b9e4ee6 am ca66f93f: am c706b1cf: Remove unused popup layout
Merge commit 'ca66f93f23414c2010181f34823c24870de82b86'

* commit 'ca66f93f23414c2010181f34823c24870de82b86':
  Remove unused popup layout
2010-09-13 04:35:09 -07:00
satok
c706b1cf75 Remove unused popup layout
Change-Id: I7009ec8cdb7977236d57b03c8603d0476186d885
2010-09-13 20:27:43 +09:00
satok
6871caa3e9 am 95cf87b8: am c931021d: Fix the gap of popup
Merge commit '95cf87b87c7b525ad60367a3bb250c0a5de96d89'

* commit '95cf87b87c7b525ad60367a3bb250c0a5de96d89':
  Fix the gap of popup
2010-09-13 03:10:11 -07:00
satok
606d69cc08 am 41970ca0: am 6d51f0ea: Merge "Add mdpi assets and fix mode" into gingerbread
Merge commit '41970ca085bb4814ec7a63060a94b83b8de030b8'

* commit '41970ca085bb4814ec7a63060a94b83b8de030b8':
  Add mdpi assets and fix mode
2010-09-13 03:02:17 -07:00
satok
c931021da0 Fix the gap of popup
Change-Id: I8b727fce857c1f943bd6f1eff6fa5d9b3c158a60
2010-09-13 18:59:48 +09:00
satok
6d51f0ea0c Merge "Add mdpi assets and fix mode" into gingerbread 2010-09-13 02:57:56 -07:00
satok
a56271976a Add mdpi assets and fix mode
Bug: 2973737
Change-Id: I3eb0bc2fb7701315dd9b646a2f204884134c54de
2010-09-13 18:57:16 +09:00
satok
7f546d8e28 am 4f73eaea: am fe5a49ed: Add popup layout for theme of gingerbread
Merge commit '4f73eaea3e83f87bda9f8569e5a3bab085bc7128'

* commit '4f73eaea3e83f87bda9f8569e5a3bab085bc7128':
  Add popup layout for theme of gingerbread
2010-09-13 02:01:40 -07:00
satok
fe5a49ed0d Add popup layout for theme of gingerbread
Change-Id: I464dc6cef4ca8cfd3c2fdb2fe99b2dc7d4e7988d
2010-09-13 17:42:48 +09:00
satok
4a000d8582 am 7f47fd22: am 0edddce0: Merge "Update working.png" into gingerbread
Merge commit '7f47fd224a38bd9af872296162c7791207604f15'

* commit '7f47fd224a38bd9af872296162c7791207604f15':
  Update working.png
2010-09-12 20:39:44 -07:00
satok
0edddce011 Merge "Update working.png" into gingerbread 2010-09-12 20:36:01 -07:00
Ken Wakasa
67ffd0b0ea am 45606d3c: am 0ea6270f: More commit -> apply changes with SharedPreferencesCompat.
Merge commit '45606d3c48c5f079673879add3e700ea571e2a93'

* commit '45606d3c48c5f079673879add3e700ea571e2a93':
  More commit -> apply changes with SharedPreferencesCompat.
2010-09-12 09:26:59 -07:00
Ken Wakasa
0ea6270ffb More commit -> apply changes with SharedPreferencesCompat.
The newly added SharedPreferencesCompat adapter class does apply() when available (Gingerbread+), else do commit().

This change incorporates I4eca20fb and I39f6aa04.

bug: 2983837
Change-Id: Iec4e8b69840ad71dbbd6098eeba349934d8248ff
2010-09-13 00:50:48 +09:00
Ken Wakasa
3e5ebd3d40 am 65dab907: am aed01227: Fix a bug in y-axis offset for sliding finger key detection for mini popup keyboard.
Merge commit '65dab9078dd0c77adcc49d08c46039dad2a950f6'

* commit '65dab9078dd0c77adcc49d08c46039dad2a950f6':
  Fix a bug in y-axis offset for sliding finger key detection for mini popup keyboard.
2010-09-12 06:07:55 -07:00
Ken Wakasa
aed0122734 Fix a bug in y-axis offset for sliding finger key detection for mini popup keyboard.
Also, tentatively added key detection allowance for below of the keys in mini popup keyboard.

bug: 2979407
Change-Id: I84794969facd929c84df23e0120d46dff71c6efb
2010-09-12 19:17:08 +09:00
Ken Wakasa
fcaca2121b am d73d267f: am f62166c1: Mini popup keyboard adjustment: Have the leftmost number right above the key.
Merge commit 'd73d267f34efb131467d9103bb9a56c18f9623b7'

* commit 'd73d267f34efb131467d9103bb9a56c18f9623b7':
  Mini popup keyboard adjustment: Have the leftmost number right above the key.
2010-09-11 22:27:11 -07:00
Ken Wakasa
f62166c13b Mini popup keyboard adjustment: Have the leftmost number right above the key.
Also fixed an issue when the mini popup keyboard hits the right edge of the view.

A few code cleanups as well.

bug: 2980864

Change-Id: I95f8392521e57560907d54b662e3483ebaf6f7ce
2010-09-12 04:09:36 +09:00
Eric Fischer
87d0dc827d Rename altchars.xml to keep translation imports from altering it.
It looks like these files are now being maintained in the source tree
instead of by the translators, so add a "donottranslate" prefix so that
reimporting translations will not overwrite the changes.

Change-Id: I471744ef7d5786ddb705cbda494bb1fbced3028b
2010-09-10 13:22:47 -07:00
satok
5c2e3ed20f Update working.png
Change-Id: I62f80b2d6e85ffa7bbf92992fe6942690163ef17
2010-09-11 04:57:54 +09:00
Tadashi G. Takaoka
1fd62cd8d2 am a8262575: am 6aa19395: Add Hawaiian, Maori, and other Polynesian macron
Merge commit 'a82625757f71fad5a52a2cd89d7d8c222b53bc51'

* commit 'a82625757f71fad5a52a2cd89d7d8c222b53bc51':
  Add Hawaiian, Maori, and other Polynesian macron
2010-09-09 23:36:52 -07:00
Tadashi G. Takaoka
6aa1939510 Add Hawaiian, Maori, and other Polynesian macron
Bug: 2862018
Change-Id: I32e1d2472abcc00f4d89a737593f7d0edcb49294
2010-09-10 15:26:31 +09:00
satok
582dc7f476 am aba73d55: am f9e0207a: Merge "Update assets for LatinIME" into gingerbread
Merge commit 'aba73d550e03135ed91c67b04b9075f09b080dfc'

* commit 'aba73d550e03135ed91c67b04b9075f09b080dfc':
  Update assets for LatinIME
2010-09-09 23:11:15 -07:00
Ken Wakasa
40cff6faa2 am 08a5ba3a: am 3de8f34b: Code cleanup
Merge commit '08a5ba3a69bef5182128f90e49eae4548795e9c9'

* commit '08a5ba3a69bef5182128f90e49eae4548795e9c9':
  Code cleanup
2010-09-09 23:11:12 -07:00
satok
f9e0207aac Merge "Update assets for LatinIME" into gingerbread 2010-09-09 21:34:58 -07:00
satok
64a3b589a8 Update assets for LatinIME
Change-Id: I75b28bbc17339d2ffc9c61521c9b1f0d90c34b77
2010-09-10 13:29:02 +09:00
Ken Wakasa
3de8f34b8c Code cleanup
Change-Id: I333693ab8e4088180cc25768d874ad7320d9da8b
2010-09-10 13:15:45 +09:00
Tadashi G. Takaoka
f888b99d36 am 94fe2b62: am efc4a437: Symbol key acts as modifier key
Merge commit '94fe2b626164f275a7f07f546ceca1b1f0d214a2'

* commit '94fe2b626164f275a7f07f546ceca1b1f0d214a2':
  Symbol key acts as modifier key
2010-09-09 04:51:41 -07:00
Tadashi G. Takaoka
efc4a43794 Symbol key acts as modifier key
On a device that has distinct multi-touch panel, pressing '123?' key
will change keyboard layout to symbol mode.  While pressing '123?'
key, you can press other symbol key to input.  Then releasing '123?'
key will change keyboard layout back to alphabet mode.

Bug: 2973383
Change-Id: I3b069fb19141820def8060db4766a08c7c0a6ff0
2010-09-09 20:43:13 +09:00
Tadashi G. Takaoka
2cfe3409bd am 72a66d3d: am 681b676b: Keep Keyboard in cache through SoftReference
Merge commit '72a66d3d860c92c1c05ba987a44b3811360f935d'

* commit '72a66d3d860c92c1c05ba987a44b3811360f935d':
  Keep Keyboard in cache through SoftReference
2010-09-08 22:49:54 -07:00
Tadashi G. Takaoka
e5875d6d7e am ad20a70b: am 3c559110: Merge "Add digit alternates" into gingerbread
Merge commit 'ad20a70bd9241eb435dd6b5b5b142746f675fd9e'

* commit 'ad20a70bd9241eb435dd6b5b5b142746f675fd9e':
  Add digit alternates
2010-09-08 21:36:40 -07:00
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
6fff167a8d am 38f6ff42: am 0e300c83: Avoid a disk write on UI thread
Merge commit '38f6ff4289933aaa54461f72ba14d33ad1d6c5d7'

* commit '38f6ff4289933aaa54461f72ba14d33ad1d6c5d7':
  Avoid a disk write on UI thread
2010-09-08 20:40:30 -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
2fa36e4fab am 47385b0c: am 2dd905b3: Move alternate chars from keyboard layout to altchars.xml
Merge commit '47385b0ca55788d3455c4e72c52f585678c62045'

* commit '47385b0ca55788d3455c4e72c52f585678c62045':
  Move alternate chars from keyboard layout to altchars.xml
2010-09-08 10:38:05 -07:00
Tadashi G. Takaoka
62432ed453 am 42921b85: am c29ef3ec: Remove unnecessary android:codes attribute
Merge commit '42921b85d34985a7c819f3d4965f1819de2b2685'

* commit '42921b85d34985a7c819f3d4965f1819de2b2685':
  Remove unnecessary android:codes attribute
2010-09-08 10:38:03 -07:00