Commit graph

2988 commits

Author SHA1 Message Date
Jean Chalard
8ef4dd9af8 Stop promoting auto dictionary words to the user dict.
Also see change I5a57ecc8 which is another fix for the same
problem.

Bug: 3459274
Change-Id: Ica2bb5b5aa4362d538df3765559d676c1aab4a85
2011-05-25 21:24:07 +09:00
Tadashi G. Takaoka
9e5be6caad Merge "Use custom theme for Keyboard theme switch" 2011-05-25 03:02:25 -07:00
Tadashi G. Takaoka
13a7419994 Use custom theme for Keyboard theme switch
This change reduces the number of layout files and make these
theme-generic.  This might be very helpful to re-design suggestion
strip.

Bug: 4175031
Change-Id: Idca10a4aa0bf7ac496eedd1879311e59780a423b
2011-05-25 18:59:00 +09:00
satok
30f38adb0b Merge "Disable the legacy recorrection functionalities if the suggestion span is supported" 2011-05-25 02:56:36 -07:00
satok
0d4757bb0b Disable the legacy recorrection functionalities if the suggestion span is supported
Bug: 4346045

Change-Id: Ib4594a9073b961038564bbcd601f9c290d153d5d
2011-05-25 18:37:48 +09:00
Tadashi G. Takaoka
6c4add55f9 Initialize CandidateView in setInputView
When keyboard theme has been switched, input view will be replaced
with new theme one and current CandidateView will get stale.  The
CandidateView must be reseted in setInputView.

Change-Id: I36fd14280572d2d367cfef549d7705b3b321ba3e
2011-05-25 18:28:03 +09:00
satok
f4c9e9d359 Merge "Put SuggestionSpan at commitText" 2011-05-25 02:00:05 -07:00
Tadashi G. Takaoka
3e17686c68 Fix missing setService call for CandaiteView
This bug has been introduced by I95f379b9.

Bug: 4486388
Change-Id: I23fd3abe05946d4709b4593efa4713cd19723479
2011-05-25 17:57:33 +09:00
satok
1fef530ec7 Put SuggestionSpan at commitText
Bug: 4346045
Change-Id: Iaabdb8a148b2601bb9cbc2b08509adac164105a4
2011-05-25 17:48:31 +09:00
Tadashi G. Takaoka
0aa0133795 Fix missing initializartion of key preview position
This is followup of Iddab254c

Change-Id: I2d8e68b696779b742d29fdcf03c5fb509cb0bd87
2011-05-25 16:14:19 +09:00
Tadashi G. Takaoka
598a25d990 Merge "Enable long press even if the key is disabled" 2011-05-24 23:52:12 -07:00
Tadashi G. Takaoka
d3ab465c5b Merge "Fix IllegalStateException when setting input view" 2011-05-24 23:49:40 -07:00
Tadashi G. Takaoka
e07b51e7c6 Enable long press even if the key is disabled
Change-Id: Iddab254c7d6625bf44473109b4a52d2f7a163a27
2011-05-25 15:22:03 +09:00
Tadashi G. Takaoka
f3cd2bb33d Fix IllegalStateException when setting input view
This is followup change of I95f379b9.

Bug: 4175031
Change-Id: Ibf3e3bd2524c9543ec6193cb6e59529b2c4df3b1
2011-05-25 15:09:09 +09:00
Tadashi G. Takaoka
ee80a77ebf Merge "Fix arguments order of KeyboardId constructor" 2011-05-24 20:27:56 -07:00
Tadashi G. Takaoka
d5096494aa am 1ba8b389: (-s ours) am f71454fe: Slightly lower the keyboard height on 7" landscape (DO NOT MERGE)
* commit '1ba8b389aa0d45780840ad11f5e2e4cafe2887c9':
  Slightly lower the keyboard height on 7" landscape (DO NOT MERGE)
2011-05-24 19:53:24 -07:00
Tadashi G. Takaoka
ff2b118f00 am 6b27dc4f: (-s ours) am 5903e061: Merge "Reorganize drawable for large and xlarge device (DO NOT MERGE)" into honeycomb-mr2
* commit '6b27dc4f1366714428f7d14d599f70a7d77434fe':
  Reorganize drawable for large and xlarge device (DO NOT MERGE)
2011-05-24 19:53:19 -07:00
Tadashi G. Takaoka
663dcb9351 am 090c9f6c: (-s ours) am eef3b7b3: Add number password keyboard layout to phone (DO NOT MERGE)
* commit '090c9f6ccc6620792eb9a63e78355326e366450a':
  Add number password keyboard layout to phone (DO NOT MERGE)
2011-05-24 19:52:59 -07:00
Tadashi G. Takaoka
dc648b0593 Fix arguments order of KeyboardId constructor
Change-Id: I0b958f10e2146a3a70c9c0643f62ad48ae472631
2011-05-25 11:40:53 +09:00
Tadashi G. Takaoka
8dad15f55d am 55f61d93: (-s ours) am 88100d36: Rename filename of hint icons for numbers (DO NOT MERGE)
* commit '55f61d93da5adfcf444fe6ee1e0ba75ec4d40261':
  Rename filename of hint icons for numbers (DO NOT MERGE)
2011-05-24 02:57:05 -07:00
Tadashi G. Takaoka
696b541867 am 8cb1cd07: am 51139a61: Merge "Remove unnecessary executable permission from drawable" into honeycomb-mr2
* commit '8cb1cd07c05335364bdbbc39aa1d6f3351546fbc':
  Remove unnecessary executable permission from drawable
2011-05-24 02:57:02 -07:00
Tadashi G. Takaoka
fc3c3de2ab am 95cf152a: (-s ours) am f4911e43: Rename resources with new scheme (DO NOT MERGE)
* commit '95cf152a0e4990587681bc2a6e035ad8275b7228':
  Rename resources with new scheme (DO NOT MERGE)
2011-05-24 02:56:59 -07:00
Tadashi G. Takaoka
bde078fe0d am 173b3657: (-s ours) am c142f5e4: Fix Android Keyboard crash on hdpi device
* commit '173b3657a84ff00a216dfd4d526fbe2e472ffff4':
  Fix Android Keyboard crash on hdpi device
2011-05-24 00:39:46 -07:00
Tadashi G. Takaoka
1ba8b389aa am f71454fe: Slightly lower the keyboard height on 7" landscape (DO NOT MERGE)
* commit 'f71454fecba89a74c8d7a8344d78c0f63e7dd234':
  Slightly lower the keyboard height on 7" landscape (DO NOT MERGE)
2011-05-24 00:19:25 -07:00
Tadashi G. Takaoka
187a8da246 Merge "Move CandidateView into input view" 2011-05-24 00:12:20 -07:00
Tadashi G. Takaoka
f71454fecb Slightly lower the keyboard height on 7" landscape (DO NOT MERGE)
Bug: 4479212
Change-Id: Ie3b1d82ee659c5f67eede936c079e99c1a4451b9
2011-05-24 16:10:54 +09:00
Tadashi G. Takaoka
c150acc7c8 Move CandidateView into input view
Bug: 4175031
Change-Id: I95f379b9943d1dcab1dc5527b6e5ac5abd58e280
2011-05-24 15:37:53 +09:00
Tadashi G. Takaoka
6b27dc4f13 am 5903e061: Merge "Reorganize drawable for large and xlarge device (DO NOT MERGE)" into honeycomb-mr2
* commit '5903e061ad4e5ac6a15b72248ad92cee2f02d27f':
  Reorganize drawable for large and xlarge device (DO NOT MERGE)
2011-05-23 23:16:39 -07:00
Tadashi G. Takaoka
5903e061ad Merge "Reorganize drawable for large and xlarge device (DO NOT MERGE)" into honeycomb-mr2 2011-05-23 23:11:48 -07:00
satok
99c908a595 Tweak the demotion rate for the mistyped space correction
Bug: 4402942

Change-Id: I7f5412b9fd2f1506f529cff0c3399d748c6ece92
2011-05-24 14:31:06 +09:00
Tadashi G. Takaoka
090c9f6ccc am eef3b7b3: Add number password keyboard layout to phone (DO NOT MERGE)
* commit 'eef3b7b328504d160bc4563e20025d2a86e21d38':
  Add number password keyboard layout to phone (DO NOT MERGE)
2011-05-23 22:15:40 -07:00
Tadashi G. Takaoka
eef3b7b328 Add number password keyboard layout to phone (DO NOT MERGE)
Bug: 4479212
Change-Id: Ia0a284a365af99257ed47351bdd3387fd9a53eba
2011-05-24 12:31:52 +09:00
Tadashi G. Takaoka
5979673c9e Merge "Fix reflection method invokation" 2011-05-23 19:27:11 -07:00
Tadashi G. Takaoka
8e26dfeaae Add missing IME_ACTION_NEXT
Change-Id: I377042c1750dd97b922bcf40bffb4046e023f6bb
2011-05-24 11:22:25 +09:00
Tadashi G. Takaoka
f23f00a13a Fix reflection method invokation
Either of Method.invoke, Field.get and Field.set can accept null as
receiver.

Change-Id: I4539dcc95a794f6ee84cf4e7aabf4e8f0206728f
2011-05-24 11:15:18 +09:00
Tadashi G. Takaoka
83fdaddda8 Reorganize drawable for large and xlarge device (DO NOT MERGE)
Because the holo theme drawables have "holo" effect around 9-patch as
fixed size image, so we need dedicated drawables for each sw600dp-mdpi
and sw768dp-mdpi resolutions for visual designers.

 * drawable-mdpi         (fallback resources)
 * drawable-sw600dp-mdpi (7" tablet, phone style keyboard, placeholder for now)
 * drawable-sw768dp-mdpi (10" tablet, tablet style keybaord)

Note that:
 * Eventually sw600dp drawables will be updated by designers.
 * We need sw768dp drawable copies because, without these, 10" tablet
   will use updated sw600dp drawables wrongly.
 * We have to keep drawable-mdpi as final fallback resources.

Bug: 4436327
Change-Id: I93db87ee99c2abb8d18e869e5411e3cb5bec1020
2011-05-23 19:44:50 +09:00
Tadashi G. Takaoka
55f61d93da am 88100d36: Rename filename of hint icons for numbers (DO NOT MERGE)
* commit '88100d365112fafa36d6f1bbc9a0647f8c8a450b':
  Rename filename of hint icons for numbers (DO NOT MERGE)
2011-05-23 03:18:19 -07:00
Tadashi G. Takaoka
88100d3651 Rename filename of hint icons for numbers (DO NOT MERGE)
Bug: 4436327
Change-Id: I1f3bc846683edc4be666dce8ea89659225ef7301
2011-05-23 19:10:39 +09:00
satok
05c9b0182b Merge "Tweak the demotion rate of mistyped space correction" 2011-05-23 02:43:30 -07:00
satok
bb68d80119 Tweak the demotion rate of mistyped space correction
Bug: 4402942

Change-Id: I6e0421dfa99e261c72a901c9699fec864ab4b3c5
2011-05-23 18:35:29 +09:00
Jean Chalard
8c08a49895 Merge "Squash case for bigram insertion/lookup." 2011-05-23 02:34:48 -07:00
Tadashi G. Takaoka
3a38fef7a0 Remove CandidatesView related method call from voice ime
Change-Id: I33ccf2c141d94437b175222b9e65c0b4e2671a35
2011-05-23 18:05:46 +09:00
Tadashi G. Takaoka
20920c0178 Remove unnecessary executable permission from drawable
Cherry-Pick: Ie8644396e1df8fbc16e4047808857c91aa2451ba
Bug: 4436327
Change-Id: I6917876995f20361358b6e6577fc646795f04d7e
2011-05-23 16:22:49 +09:00
Tadashi G. Takaoka
8cb1cd07c0 am 51139a61: Merge "Remove unnecessary executable permission from drawable" into honeycomb-mr2
* commit '51139a6104ed7450edb889213f4e63acdd66e162':
  Remove unnecessary executable permission from drawable
2011-05-23 00:03:38 -07:00
Tadashi G. Takaoka
95cf152a0e am f4911e43: Rename resources with new scheme (DO NOT MERGE)
* commit 'f4911e43481eb4270f58c879d435754b5af64f06':
  Rename resources with new scheme (DO NOT MERGE)
2011-05-23 00:03:35 -07:00
Tadashi G. Takaoka
51139a6104 Merge "Remove unnecessary executable permission from drawable" into honeycomb-mr2 2011-05-22 23:51:04 -07:00
Tadashi G. Takaoka
f4e2af842c Remove unnecessary executable permission from drawable
Bug: 4436327
Change-Id: Ie8644396e1df8fbc16e4047808857c91aa2451ba
2011-05-23 15:49:00 +09:00
Jean Chalard
ed8c29568d Squash case for bigram insertion/lookup.
Bug: 4464446
Change-Id: If7b6d73fb408d53f941c82ed4f47221e85c845d8
2011-05-23 15:44:35 +09:00
Tadashi G. Takaoka
f4911e4348 Rename resources with new scheme (DO NOT MERGE)
This change renames resources along with new naming scheme.
  * large to sw600dp  (7" tablet uses phone keyboard layout)
  * xlarge to sw768dp (10" tablet)

Bug: 4436327
Change-Id: I96678fa699d2abcb48022d8878557f1486e839aa
2011-05-23 13:16:08 +09:00
Tadashi G. Takaoka
173b3657a8 am c142f5e4: Fix Android Keyboard crash on hdpi device
* commit 'c142f5e48c46723de6aa93ac1bc09f2c535c576a':
  Fix Android Keyboard crash on hdpi device
2011-05-20 23:08:16 -07:00