Commit graph

30259 commits

Author SHA1 Message Date
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
491bb105ff am cb004628: Merge "Make keyboard vertical correction configurable (DO NOT MERGE)" into gingerbread
Merge commit 'cb0046288d58648dbc2a3100e4e8aa483a62a353' into gingerbread-plus-aosp

* commit 'cb0046288d58648dbc2a3100e4e8aa483a62a353':
  Make keyboard vertical correction configurable (DO NOT MERGE)
2010-10-08 03:26:00 -07: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
23d50bfb13 am 5e02930a: Reduce delay before mini popup keyboard is shown
Merge commit '5e02930a7f40b704f357f127d3d38fbdc193ffa1' into gingerbread-plus-aosp

* commit '5e02930a7f40b704f357f127d3d38fbdc193ffa1':
  Reduce delay before mini popup keyboard is shown
2010-10-08 03:21:09 -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
e0cb828472 am e13a3013: Import revised translations. DO NOT MERGE
Merge commit 'e13a301328b7104624db5b37a9b043fd7a6825b7' into gingerbread-plus-aosp

* commit 'e13a301328b7104624db5b37a9b043fd7a6825b7':
  Import revised translations.  DO NOT MERGE
2010-10-07 07:17:19 -07:00
Ken Wakasa
2fd1de4601 am 47a9c3f3: Additional string update for LatinIME\'s re-correction preference item.
Merge commit '47a9c3f3d9f53bbafc0d23f122079ae63f1e9dfe' into gingerbread-plus-aosp

* commit '47a9c3f3d9f53bbafc0d23f122079ae63f1e9dfe':
  Additional string update for LatinIME's re-correction preference item.
2010-10-07 07:09:31 -07: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
018afe8c7e am 6495bfc7: Follow-up to I36faf679 Cancel pending messages related to suggestion updates.
Merge commit '6495bfc7a6f6bfa6ab82e7f062ee80f4b6b33368' into gingerbread-plus-aosp

* commit '6495bfc7a6f6bfa6ab82e7f062ee80f4b6b33368':
  Follow-up to I36faf679  Cancel pending messages related to suggestion updates.
2010-10-06 02:46:03 -07: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
57108c2f1c am 3425026d: Follow-up to Ia135eb92 . Shorten overflowed string.
Merge commit '3425026d51dbbcc579ceecd59f578a512d4a853e' into gingerbread-plus-aosp

* commit '3425026d51dbbcc579ceecd59f578a512d4a853e':
  Follow-up to Ia135eb92 .  Shorten overflowed string.
2010-10-06 02:00:13 -07: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
644445868f am 55b10796: Addressed bug: 3058217 "-" key not working at beginning of line
Merge commit '55b10796522b871c1e04d6f2254fdff5dc7aced4' into gingerbread-plus-aosp

* commit '55b10796522b871c1e04d6f2254fdff5dc7aced4':
  Addressed bug: 3058217  "-" key not working at beginning of line
2010-10-06 01:23:46 -07: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
2501d7363c am 47383758: Fix bug 3063598, change "tap" to "touch" thrice.
Merge commit '47383758fc3137a8e2b88ae596adf2685bd818bc' into gingerbread-plus-aosp

* commit '47383758fc3137a8e2b88ae596adf2685bd818bc':
  Fix bug 3063598, change "tap" to "touch" thrice.
2010-10-05 07:00:25 -07: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
c0fc4bf993 am 8e1f1be0: Long press mic/comma key bring mini keyboard with settings
Merge commit '8e1f1be0f3cfce4ed0623d3d137f53f034f5b718' into gingerbread-plus-aosp

* commit '8e1f1be0f3cfce4ed0623d3d137f53f034f5b718':
  Long press mic/comma key bring mini keyboard with settings
2010-10-01 04:02:12 -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
bd67788049 am 88a04563: Make the background of keypopup transparent
Merge commit '88a045637a8aa812ec09e2fa6ad0b75dd401e1f9' into gingerbread-plus-aosp

* commit '88a045637a8aa812ec09e2fa6ad0b75dd401e1f9':
  Make the background of keypopup transparent
2010-10-01 02:19:37 -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
8e6a92703d am 18d536f6: Merge "Dismiss orange highlight after suggestion has been selected" into gingerbread
Merge commit '18d536f66b2a063a462b2d28410da80b7788e5da' into gingerbread-plus-aosp

* commit '18d536f66b2a063a462b2d28410da80b7788e5da':
  Dismiss orange highlight after suggestion has been selected
2010-09-30 21:01:10 -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
7ed6b88cf6 am a0a60b37: Revert changes to keyboard_popup.xml for now.
Merge commit 'a0a60b37b265988191083e1b5abbe616a67759b4' into gingerbread-plus-aosp

* commit 'a0a60b37b265988191083e1b5abbe616a67759b4':
  Revert changes to keyboard_popup.xml for now.
2010-09-30 18:02:43 -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
105f7c36b7 am 3297ee80: Merge "Long pressing mic/comma key will show settings menue" into gingerbread
Merge commit '3297ee80f0b5b93128123d98d7f8b42257e36445' into gingerbread-plus-aosp

* commit '3297ee80f0b5b93128123d98d7f8b42257e36445':
  Long pressing mic/comma key will show settings menue
2010-09-30 10:11:24 -07:00
Tadashi G. Takaoka
93176d869a am 77c9f2d3: Merge "Display feedback popup for saving word while the word is pressing." into gingerbread
Merge commit '77c9f2d314d9fbb5c4bd5b6918326d2e1f4e3a98' into gingerbread-plus-aosp

* commit '77c9f2d314d9fbb5c4bd5b6918326d2e1f4e3a98':
  Display feedback popup for saving word while the word is pressing.
2010-09-30 10:11:12 -07:00
satok
b97d17777e am 36f97dd6: Fixed assets - Make the background of popup key a full transparent color - Updated the background mdpi asset of keyboard
Merge commit '36f97dd6897b17841c1e6aab4612f3905185a90c' into gingerbread-plus-aosp

* commit '36f97dd6897b17841c1e6aab4612f3905185a90c':
  Fixed assets
2010-09-30 10:11:10 -07:00