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
Merge commit '0963c781f2278a73363f2db57b0d0ec30c37b371' into gingerbread-plus-aosp
* commit '0963c781f2278a73363f2db57b0d0ec30c37b371':
Make some keys in phone keyboard to darker color
Merge commit 'a5a5ffc0dca3f3342a00d6b377c55e044f7c7ccf' into gingerbread-plus-aosp
* commit 'a5a5ffc0dca3f3342a00d6b377c55e044f7c7ccf':
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
Merge commit '938c0a3722a9c597931e6f75408dc7ab636d7052'
* commit '938c0a3722a9c597931e6f75408dc7ab636d7052':
Fix - "Touch again to save" not working for manually picked suggestion when re-correction is enabled.
master was still using the deleted constants in different places and
Java 6 didn't like the imports.
Change-Id: If9472a2acb029e56790dc4d19ab62e608c970175
Merge commit '491bb105ff07568a6bc4335b6c83de108086ec87'
* commit '491bb105ff07568a6bc4335b6c83de108086ec87':
Make keyboard vertical correction configurable (DO NOT MERGE)
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
Merge commit '364da8c618303a7764595d2c15ee034a7671365d' into gingerbread-plus-aosp
* commit '364da8c618303a7764595d2c15ee034a7671365d':
Fix - "Touch again to save" not working for manually picked suggestion when re-correction is enabled.
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
Merge commit '644445868f1023b3263a149f2faf617b88341d20'
* commit '644445868f1023b3263a149f2faf617b88341d20':
Addressed bug: 3058217 "-" key not working at beginning of line
Merge commit '7e1f5a2d5a96c74691b3b09fa986efb7161e5a12' into gingerbread-plus-aosp
* commit '7e1f5a2d5a96c74691b3b09fa986efb7161e5a12':
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
Merge commit 'cb0046288d58648dbc2a3100e4e8aa483a62a353' into gingerbread-plus-aosp
* commit 'cb0046288d58648dbc2a3100e4e8aa483a62a353':
Make keyboard vertical correction configurable (DO NOT MERGE)
Merge commit '5e02930a7f40b704f357f127d3d38fbdc193ffa1' into gingerbread-plus-aosp
* commit '5e02930a7f40b704f357f127d3d38fbdc193ffa1':
Reduce delay before mini popup keyboard is shown
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
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
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
Merge commit 'e13a301328b7104624db5b37a9b043fd7a6825b7' into gingerbread-plus-aosp
* commit 'e13a301328b7104624db5b37a9b043fd7a6825b7':
Import revised translations. DO NOT MERGE
Merge commit '6495bfc7a6f6bfa6ab82e7f062ee80f4b6b33368' into gingerbread-plus-aosp
* commit '6495bfc7a6f6bfa6ab82e7f062ee80f4b6b33368':
Follow-up to I36faf679 Cancel pending messages related to suggestion updates.
Merge commit '55b10796522b871c1e04d6f2254fdff5dc7aced4' into gingerbread-plus-aosp
* commit '55b10796522b871c1e04d6f2254fdff5dc7aced4':
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