Tadashi G. Takaoka
1751615f7d
Merge "Remove unnecessary override of MainKeyboardView.dispatchTouchEvent"
2014-02-17 08:26:38 +00:00
Tadashi G. Takaoka
800ab579a9
Remove unnecessary override of MainKeyboardView.dispatchTouchEvent
...
Bug: 11721001
Bug: 11976254
Change-Id: I762bd9e76ea31d67b3e31c3a0a19ee9f040015b8
2014-02-17 17:09:06 +09:00
Tadashi G. Takaoka
20ddd4cff5
Add InputMethodSubtypeCompatUtils.isAsciiCapable()
...
Change-Id: I8145f090486f6fe30ef1e992db374cfba0c31012
2014-02-17 16:08:33 +09:00
Tadashi G. Takaoka
fe39aec08a
Use the same label of switch-to-alphabet key on Emoji palette
...
Bug: 12115967
Change-Id: I61cf80db933aa2ab220ddcaa88a4c9af7beeb35c
2014-02-17 14:54:39 +09:00
Tadashi G. Takaoka
53a237323a
Add sanity check to KeybaordTextsTable for debugging
...
Bug: 13007104
Change-Id: Id12f75da7a1c6a2a078d41721ee4016794e9dd2a
2014-02-14 18:51:03 +09:00
Tadashi G. Takaoka
3c4f05dd66
Remove unused label_tab_key
...
Change-Id: Ic10b9678c9b0ebab977589aa0093740b9c9f2d90
2014-02-14 17:40:53 +09:00
Tadashi G. Takaoka
ef8a03685f
Fix null KeyDetector reference
...
This change must be checked in together with I737c266c45.
Bug: 13011041
Change-Id: Ia3d25be6de47fa16ab7156a25641e53a23948ff4
2014-02-14 11:42:09 +09:00
Yohei Yukawa
362ab36cf0
Fix a null object reference crash on Emoji Palette
...
Do nothing if the current EmojiPageKeyboardView is null.
BUG: 13006906
Change-Id: I169b70122ec939075b5be033953b48762fd528fc
2014-02-14 10:36:31 +09:00
Yohei Yukawa
5f9f4b929b
Merge "Fix indent."
2014-02-14 01:26:48 +00:00
Tadashi G. Takaoka
7ae6721ffa
Remove RTL aware !code and add corresponding !text
...
Change-Id: I9021c8fa1cf2d4ac07579237a939c15551509a0b
2014-02-13 17:32:09 +09:00
Tadashi G. Takaoka
3cb77678f5
Fix Armenian switch to alphabet key text
...
Bug: 7963631
Change-Id: If5768c761ec96d3404900b0c017abc2317cce8d4
2014-02-13 17:26:16 +09:00
Tadashi G. Takaoka
0fe4d00068
Optimize KeyboardTextsTable
...
This change counts all occurrences of each string resource and sort
those in descending order of the occurrence.
Change-Id: I726402157feb0d436a54bd0a7252acd17fd711f9
2014-02-13 17:11:00 +09:00
Yohei Yukawa
cfe26bbcde
Fix indent.
...
This is a follow up for the previous commit to fix indent.
BUG: 12964092
Change-Id: I0530b1c0dae26ac736ddcc6d426ec6ce57bce4d1
2014-02-13 01:58:58 +09:00
Yohei Yukawa
50fbe4cc09
Merge "Cancel keydown events immediately once the view starts scrolling"
2014-02-12 10:21:08 +00:00
Yohei Yukawa
4c259866c4
Cancel keydown events immediately once the view starts scrolling
...
The motivation of this patch is to make sure a user never feel
haptic feedback when scrolling the Emoji palette. In order to
achieve it, EmojiPageKeyboardView#releaseCurrentKey() should
be called whenever (delayed) keydown events should be canceled.
This patch wires up ViewPager.OnPageChangeListener#onPageScrolled
with EmojiPageKeyboardView#releaseCurrentKey() so that delayed
keydown events will be canceled immediately once the ViewParger
starts scrolling.
BUG: 12964092
Change-Id: Iea8c3e090bb16a8622e6b4a850af2bf963aa77d0
2014-02-12 18:56:08 +09:00
Tadashi G. Takaoka
075158ccd0
Keep showing key preview even when keyboard has been changed
...
Bug: 12979147
Change-Id: I7e1f60686d6a8a0fca463174abb0a45f1f62ca43
2014-02-12 15:09:03 +09:00
Tadashi G. Takaoka
7e9b0b42bf
Fix bug in KeyPreviewChoreographer.dismissKeyPreview
...
Bug: 12979147
Change-Id: Ibc60b4565badaebe760194f27984b02f9f966996
2014-02-12 14:50:56 +09:00
Tadashi G. Takaoka
8bfd6100d9
Optimize text resources' ordering a bit
...
Change-Id: I19382f1d9a4b6be173d1e9f62edd727ea987fa20
2014-02-11 21:41:55 +09:00
Tadashi G. Takaoka
ed509695a4
Get nicer output of make-keyboard-text
...
Change-Id: I6d30127aac2198d55b1335002f7a66b4aaebf82d
2014-02-11 21:41:21 +09:00
Tadashi G. Takaoka
cbb0a6de3b
Merge "Fix possible NPE while finding device override value from resource"
2014-02-10 05:51:44 +00:00
Tadashi G. Takaoka
bd9887a574
Fix possible NPE while finding device override value from resource
...
Bug: 12949735
Change-Id: Iffda08db413b3b3d338ab9bf625bb0968c2e48dd
2014-02-10 14:38:53 +09:00
Tadashi G. Takaoka
f70bcf3d32
Refactor Key constructors
...
This is a followup of I76432556ca.
Change-Id: Ie2c8f7c23352a33db28e89ee8e6ebaba9eb760a3
2014-02-10 11:14:35 +09:00
Tadashi G. Takaoka
541a3d394c
Remove unused import
...
Change-Id: I3f934de281eefb387026585e678d783a95729720
2014-02-10 10:22:29 +09:00
Tadashi G. Takaoka
45eb5d924d
Allow an empty keySpec for Spacer
...
Bug: 12933248
Change-Id: I76432556caf319ce23c1fb7fa3d6b94118e64cf8
2014-02-09 23:45:23 +09:00
Tadashi G. Takaoka
e5320c1d1f
Generate KeyboardTextsTable.java instead of KeyboardTextsSet.java
...
Change-Id: Ic48b093dc64b514822cc9daa1ac3d79deb7af089
2014-02-07 18:56:23 +09:00
Tadashi G. Takaoka
4f72923fa2
Merge "Rename Key.keyLabel attribute to KeySpec"
2014-02-07 09:53:43 +00:00
Tadashi G. Takaoka
4e85476740
Merge "Consolidate keyIcon and code with keyLabel attribute"
2014-02-07 09:53:35 +00:00
Tadashi G. Takaoka
9684b33b69
Rename Key.keyLabel attribute to KeySpec
...
Change-Id: Ida48cd9bdbc01fefad651a005084262c0f46c41c
2014-02-07 18:47:45 +09:00
Tadashi G. Takaoka
a83a1feb62
Consolidate keyIcon and code with keyLabel attribute
...
Change-Id: I75fbd348fab5022606ca14552eb03b15af6684c8
2014-02-07 18:47:22 +09:00
Tadashi G. Takaoka
a9e1db6636
Merge "Decimal number is treated as outputText"
2014-02-07 09:26:04 +00:00
Tadashi G. Takaoka
276b1a2ebc
Add debug settings for keypress popup animations
...
Bug: 12928125
Change-Id: I49faab754c7d1dcf4a791dfc535d3a78b62ce67a
2014-02-07 18:09:41 +09:00
Tadashi G. Takaoka
3bbd50c36b
Use SubtypeLocaleUtils.isRtlLanguage
...
Change-Id: Ic0208412cd9c02975641cb5c448d092f28786746
2014-02-06 18:15:32 +09:00
Tadashi G. Takaoka
48ea52800a
Merge "Consolidate keyOutputText with keyLabel attribute"
2014-02-06 09:14:09 +00:00
Tadashi G. Takaoka
a9b67135bd
Merge "Parse keyLabel for icon, code, and outputText as well"
2014-02-06 08:38:54 +00:00
Tadashi G. Takaoka
0df462730b
Remove unused smiley key definitions
...
Change-Id: Icbdfb360abab2964869898949774f47197f6d000
2014-02-06 16:56:42 +09:00
Tadashi G. Takaoka
d6f147e142
Consolidate keyOutputText with keyLabel attribute
...
Change-Id: I90ea2c9d5ce42fabc79599995a2fae1f5f652a6b
2014-02-06 16:42:57 +09:00
Tadashi G. Takaoka
6193217f5c
Parse keyLabel for icon, code, and outputText as well
...
Change-Id: I023915b68b4aabd056c2c1eb745876471556e15e
2014-02-06 16:42:17 +09:00
Tadashi G. Takaoka
4a64ad9538
Decimal number is treated as outputText
...
Change-Id: I9d4a8ac5dd26a7c41fcfbe1842a40f347a2f2aab
2014-02-06 16:30:12 +09:00
Tadashi G. Takaoka
f7d8b8fcbc
Treat a sole "|" as a special case of key label
...
Change-Id: Ia72c31d15c891fa522935ba9792e88fd5d8ce7f7
2014-02-05 17:57:44 +09:00
Tadashi G. Takaoka
d9c6b33209
Add null check to KeySpecParser
...
Change-Id: Ic37db8cbf8f83f753d7381e1edba8eac1ef1ceb1
2014-02-05 17:49:26 +09:00
Tadashi G. Takaoka
bc9514032a
Refactor KeySpecParser a bit
...
Change-Id: I1208746f42eb92f937812149033398d8318f9c4e
2014-02-05 17:43:53 +09:00
Tadashi G. Takaoka
bb476be4e6
Move key preview related methods to KeyPreviewChoreographer
...
Change-Id: Ia8d6b7fa922a4da233bf851b2e94bbd2573a65a3
2014-02-05 15:41:39 +09:00
Tadashi G. Takaoka
32d6c6a400
Revert "Move key preview related methods to KeyPreviewChoreographer"
...
This reverts commit 38806940b9
.
Change-Id: I185c4d5f5d92dd269f678206ef3ff8316cbce6ed
2014-02-05 06:27:41 +00:00
Tadashi G. Takaoka
38806940b9
Move key preview related methods to KeyPreviewChoreographer
...
Change-Id: I18cbbd287313826bc72437c6ebab2915c1d7bc50
2014-02-05 12:34:06 +09:00
Tadashi G. Takaoka
7d09b56812
Move some XML attributes to KeyPreviewDrawParams
...
Change-Id: I0e040b3aed63f8da983fcc51d55b55ac9294a16a
2014-02-04 19:31:45 +09:00
Tadashi G. Takaoka
992c521909
Refactor KeyPreviewDrawParams a bit
...
Change-Id: Ia1a2c5cd882c2524a2e2f02ae052f0404061b2f7
2014-02-04 16:10:58 +09:00
Tadashi G. Takaoka
5be8a59a5a
Use "Key popup dismiss delay" to control key preview zoom out animation
...
Bug: 12809303
Change-Id: I2db0362a2f8c512145f1cf9326f06e5f922987b8
2014-02-04 11:43:58 +09:00
Yohei Yukawa
08d72c52f9
Merge "Introduce a delay for key-press feedback on the Emoji palette"
2014-02-03 02:14:59 +00:00
Tadashi G. Takaoka
e855093f55
Move some methods to MoreKeySpec class
...
Change-Id: I025ed15e36ac3113db6a5fccefa0c87f016703fa
2014-01-31 20:19:48 +09:00
Tadashi G. Takaoka
3b4eb03fa1
Move some prefix strings to relevant classes
...
Change-Id: I7321ac7820d4eded5f16f2440ffb4f525315b3f4
2014-01-31 17:09:14 +09:00