Commit graph

5552 commits

Author SHA1 Message Date
Tadashi G. Takaoka
a5c96f376a Move long press shift handling from PointerTracker to KeyboardState
This change also
  * Rename phone shift keyboard to phone symbols keyboard.
    Use CODE_SWITCH_ALPHA_SYMBOL code to switch between phone and phone symbols keyboard.
  * Remove phone symbols keyboard from tablet.
  * Introduces enableLongPress flag of Key.keyActionFlags attribute.
  * Remove clumsy long press code from PointerTracker.
  * Remove CODE_CAPSLOCK handling from LatinIME.
  * Make KeyboardSwitcher to invoke haptic and audio feedback.

Change-Id: I00e1f697a10ab5112aec75e36853b96246ff5054
2012-02-01 19:04:21 +09:00
alanv
7ca1249797 Refactored shift key spoken description into separate method.
Change-Id: I183462a68fdfd339404740fa1564f737430d73d9
2012-01-31 13:03:39 -08:00
alanv
f3e951b259 Removed spoken descriptions for characters supported by TTS or TalkBack.
Change-Id: Iddef18559bc6af9487e536a33607b0a0b07df282
2012-01-31 13:02:33 -08:00
Bhanu Chetlapalli
b093cc4824 [MIPS] Remove reference to NDK
Change-Id: I6137c4a93b29a8906abb5bd0f320dd3f37fdea08
Signed-Off-By: Bhanu Chetlapalli <bhanu@mips.com>
2012-01-31 12:08:27 -08:00
Tadashi G. Takaoka
0773460c34 am 3feb99fa: Merge "Save/restore alphabet shift locked state while rotating even in symbols mode"
* commit '3feb99fa6c5cf4b0a7d0ed2536b8b0891af884bf':
  Save/restore alphabet shift locked state while rotating even in symbols mode
2012-01-31 02:28:48 -08:00
Tadashi G. Takaoka
3feb99fa6c Merge "Save/restore alphabet shift locked state while rotating even in symbols mode" 2012-01-31 02:26:41 -08:00
Tadashi G. Takaoka
49bd49c8fb Save/restore alphabet shift locked state while rotating even in symbols mode
Bug: 5730212
Change-Id: Id2342dacd149d6385d61001f880ebcd1883cf0b4
2012-01-31 19:11:39 +09:00
Tadashi G. Takaoka
0f33b17d4f am aab33aac: Merge "Cleanup redundant methods of KeyboardSwitcher"
* commit 'aab33aac0a3f4755e6a533dea1025b450507e116':
  Cleanup redundant methods of KeyboardSwitcher
2012-01-31 01:34:44 -08:00
Tadashi G. Takaoka
aab33aac0a Merge "Cleanup redundant methods of KeyboardSwitcher" 2012-01-31 01:33:17 -08:00
Tadashi G. Takaoka
1b568bd4d1 am 88e079ae: Cleanup redundant methods of KeyboardSet
* commit '88e079ae6bbff1093b28f60e81d2befce1030495':
  Cleanup redundant methods of KeyboardSet
2012-01-31 01:33:04 -08:00
Tadashi G. Takaoka
88e079ae6b Cleanup redundant methods of KeyboardSet
Change-Id: I69fa1b5661695d0323222c2969679f4792b6ef0d
2012-01-31 18:27:37 +09:00
Tadashi G. Takaoka
dd707f5141 am 0ed2d3a4: Fix double tap shift key enable/disable shift locked mode
* commit '0ed2d3a4491cb0f6142975a15b653be6079b6a4e':
  Fix double tap shift key enable/disable shift locked mode
2012-01-31 01:12:01 -08:00
Tadashi G. Takaoka
0ed2d3a449 Fix double tap shift key enable/disable shift locked mode
Bug: 5942452
Change-Id: I2c7b1605bceac2b2f929cd4d97c417ef15c6f754
2012-01-31 18:06:54 +09:00
Tadashi G. Takaoka
433ca6a46d Cleanup redundant methods of KeyboardSwitcher
Change-Id: I2ebeb8852177f6c6e30578d0bb3f372f488dc6c1
2012-01-31 17:18:14 +09:00
Tadashi G. Takaoka
ba24279e9d am 30964843: Merge "Auto generate various shift states alphabet keyboard automatically"
* commit '30964843db0c3c7892ca443a0513c9c36e8654d1':
  Auto generate various shift states alphabet keyboard automatically
2012-01-30 20:08:41 -08:00
Tadashi G. Takaoka
30964843db Merge "Auto generate various shift states alphabet keyboard automatically" 2012-01-30 20:07:26 -08:00
Tadashi G. Takaoka
ca2f051cc1 Auto generate various shift states alphabet keyboard automatically
If any shift state variants of alphabet keyboard layout is not
specified in KeyboardSet.Element, it will be automatically generated
from base alphabet keyboard definition.

This change also
  * Eliminates KeyboardShiftState object from Keyboard.
  * Removes various set shift state methods from Keyboard.
  * Removes KeyboardSet.Element.elementAutoGenerate attribute.
  * Separates "sticky" Key.backgroundType to "stickyOff" and "stickyOn"
  * Add preserveCase flag to smiley, .com, and labeled special keys.
  * Rename KeyboardShiftState class to AlphabetShiftState.
  * Rename some attributes from *UppercaseLetter* to *ShiftedLetterHint*.
  * Introduce shiftedLetterActivated to Key.keyLabelFlags

Change-Id: I01a0a8efeeaa76820ae728a5bdfa8d02b6ce74b7
2012-01-31 12:55:45 +09:00
alanv
4b4b05bee2 am 16f74396: Removed unused "no item selected" notification & supporting code from keyboard accessibility.
* commit '16f74396828d84885e922ac0a7467e51616ae71d':
  Removed unused "no item selected" notification & supporting code from keyboard accessibility.
2012-01-30 16:35:56 -08:00
alanv
16f7439682 Removed unused "no item selected" notification & supporting code from keyboard accessibility.
Change-Id: Ia6323ad0c1e2a0db5a2cf830e97765eddaa32cee
2012-01-30 13:45:59 -08:00
satok
f800eb0889 am a191afb7: Merge "Implement multi words suggestions step1"
* commit 'a191afb78d47022a1cc4474ffa7d7ab872a9270b':
  Implement multi words suggestions step1
2012-01-30 01:06:41 -08:00
satok
a191afb78d Merge "Implement multi words suggestions step1" 2012-01-30 01:04:42 -08:00
satok
1f6b52e76c Implement multi words suggestions step1
Change-Id: I96e8e1b0d9ccc0ed13d53c40300d8c19bcb7af5b
2012-01-30 18:01:25 +09:00
Tadashi G. Takaoka
3c505f2999 am 3b0f2bf1: Merge "Support addtionalMoreKeys"
* commit '3b0f2bf169c23ea94c5a0adb275ce41b5c34ea83':
  Support addtionalMoreKeys
2012-01-30 00:12:54 -08:00
Tadashi G. Takaoka
3b0f2bf169 Merge "Support addtionalMoreKeys" 2012-01-30 00:11:29 -08:00
Tadashi G. Takaoka
15c99e9f1a Support addtionalMoreKeys
This change also removes
  * Unused more_keys_for_q, w, and p.

Change-Id: Idb99e5f6d8c2ad2d28437f42b35b21c282cd181f
2012-01-30 17:04:25 +09:00
Ken Wakasa
d05620a587 am 6029b43a: Add "size" and "pressure" for MotionEvent logs
* commit '6029b43a3df1fa9a9baa339e2dbb984c6669d214':
  Add "size" and "pressure" for MotionEvent logs
2012-01-29 19:26:42 -08:00
Ken Wakasa
6029b43a3d Add "size" and "pressure" for MotionEvent logs
bug: 5722703
Change-Id: I8e08942324b666de96682ce63e70c8d324535782
2012-01-30 12:22:15 +09:00
Tadashi G. Takaoka
e7e1d3baeb am 38a3ad3e: Merge "Rename keyboard XML resource files"
* commit '38a3ad3e3ca1b4e594bcd189277454d12619b868':
  Rename keyboard XML resource files
2012-01-29 16:38:22 -08:00
Tadashi G. Takaoka
38a3ad3e3c Merge "Rename keyboard XML resource files" 2012-01-29 16:36:22 -08:00
Eric Fischer
7390392dbe am 49761501: Import translations. DO NOT MERGE
* commit '49761501db2bcb25673e635897b7b4dfd4b655d2':
  Import translations. DO NOT MERGE
2012-01-27 12:05:26 -08:00
Eric Fischer
49761501db Import translations. DO NOT MERGE
Change-Id: I89dcb839308eadb722f91ccd4327208d8d477dc2
2012-01-27 12:02:20 -08:00
Tadashi G. Takaoka
d1630a3add Rename keyboard XML resource files
* <Keyboard> XML file should be kbd_*.xml
 * <Row> XML file should be rows_*.xml or row_*.xml
 * <Key> XML file should be key_*.xml or keys_*.xml
 * <key-style> XML file should be key_styles_*.xml

Change-Id: Ie57d5d78389c13d6c066ace4e3588518d1f25f13
2012-01-28 01:07:29 +09:00
Tadashi G. Takaoka
a5ed23639c am 344a767b: Share kbd_row3_smiley.xml
* commit '344a767b33b32c8370bbb5bc575464d9c6548d9c':
  Share kbd_row3_smiley.xml
2012-01-27 06:33:37 -08:00
Tadashi G. Takaoka
344a767b33 Share kbd_row3_smiley.xml
Change-Id: Ie5e68f972a739ab151201bd13bb1771e164313e6
2012-01-27 21:48:25 +09:00
Tadashi G. Takaoka
4ec3ad13b4 am ed50cf00: Merge "Support keyXPos/keyWidth override in <include>"
* commit 'ed50cf005b120cba87dc229b7d58b3d982297420':
  Support keyXPos/keyWidth override in <include>
2012-01-27 04:46:42 -08:00
Tadashi G. Takaoka
ed50cf005b Merge "Support keyXPos/keyWidth override in <include>" 2012-01-27 04:33:48 -08:00
Tadashi G. Takaoka
ff5b05487a am 566cded5: Merge "Use kbd_row3_comman_period.xml"
* commit '566cded5e75bbb0250009183c79f14c23b3a6bb6':
  Use kbd_row3_comman_period.xml
2012-01-27 04:23:51 -08:00
Tadashi G. Takaoka
566cded5e7 Merge "Use kbd_row3_comman_period.xml" 2012-01-27 04:21:53 -08:00
Tadashi G. Takaoka
a1e370ee4f Support keyXPos/keyWidth override in <include>
Change-Id: I03576a6fb7916f2f66f2035a04872fe89b573cdc
2012-01-27 21:20:57 +09:00
Tadashi G. Takaoka
a0d7008876 am ab7cb71b: Create separate XML for number password keyboard
* commit 'ab7cb71b8fc885075119962984db4e8efda6d11b':
  Create separate XML for number password keyboard
2012-01-27 04:17:56 -08:00
Tadashi G. Takaoka
ab7cb71b8f Create separate XML for number password keyboard
Change-Id: I1d73a03bfce9180106575e180bfeb422da03b9fb
2012-01-27 21:09:55 +09:00
Tadashi G. Takaoka
3db07d05a3 Use kbd_row3_comman_period.xml
Change-Id: Ie2ce2f4f03e70477d4932072a44fb9aeb7cd7784
2012-01-27 21:07:37 +09:00
Tadashi G. Takaoka
bb73d185cb am 32c4635f: Merge "Add inactivatedLabel and inactivatedUppercaseLetter flags for Key.keyLabelFlags"
* commit '32c4635ff45b5a0de9dc6d806c2b600e6e7f3bee':
  Add inactivatedLabel and inactivatedUppercaseLetter flags for Key.keyLabelFlags
2012-01-27 01:17:03 -08:00
Tadashi G. Takaoka
32c4635ff4 Merge "Add inactivatedLabel and inactivatedUppercaseLetter flags for Key.keyLabelFlags" 2012-01-27 01:15:01 -08:00
Tadashi G. Takaoka
425e1996b8 Add inactivatedLabel and inactivatedUppercaseLetter flags for Key.keyLabelFlags
Change-Id: I6c7dc79cbad360602b278283f4c3a24c54040622
2012-01-27 18:11:43 +09:00
satok
0920173bcb am 23f486f7: Merge "Merge missing space and mistyped space correction algorithm"
* commit '23f486f770883ed690d897ac71de0184456bf24e':
  Merge missing space and mistyped space correction algorithm
2012-01-27 00:03:29 -08:00
satok
23f486f770 Merge "Merge missing space and mistyped space correction algorithm" 2012-01-27 00:01:27 -08:00
satok
9955716d0b Merge missing space and mistyped space correction algorithm
Change-Id: Idd64d38d3d29be24748f9c0359667883698a5756
2012-01-27 16:54:15 +09:00
Tadashi G. Takaoka
fecba89713 am c882d619: Merge "Save and restore previous mode keyboard state at KeyboardState.toggleAlphabetAndSymbols"
* commit 'c882d619bfe6eace7330c2097008500e81d39512':
  Save and restore previous mode keyboard state at KeyboardState.toggleAlphabetAndSymbols
2012-01-26 23:47:17 -08:00
Tadashi G. Takaoka
c882d619bf Merge "Save and restore previous mode keyboard state at KeyboardState.toggleAlphabetAndSymbols" 2012-01-26 23:45:36 -08:00