Commit graph

5672 commits

Author SHA1 Message Date
Tadashi G. Takaoka
e01d272603 Make KeySpecParser and CSV parser code point aware
This change also renames MoreKeySpecParser to KeySpecParser

Change-Id: I35733cdbb344f16b57ffa2cfe79055c089b4e409
2012-02-02 15:51:40 +09:00
Jean Chalard
a4406722cf am 51fd1632: Stop throwing an exception in some corner cases.
* commit '51fd1632f59bd9aaeb5c98ff031f1618e8c31c59':
  Stop throwing an exception in some corner cases.
2012-02-01 22:29:26 -08:00
Jean Chalard
51fd1632f5 Stop throwing an exception in some corner cases.
When the application is modifying the text under our feet,
we may come through this code path. We should log the error
rather than crash.

Bug: 5869235
Change-Id: Ic0fd24c3bc805d44c5db0ad781ddebeca0450614
2012-02-02 15:15:55 +09:00
alanv
67ec8e670a am c603409f: Removed CODE_CAPSLOCK from keyboard accessibility (fixing build).
* commit 'c603409f28286c8c3aae58627e6813f3e8b6a2e4':
  Removed CODE_CAPSLOCK from keyboard accessibility (fixing build).
2012-02-01 10:35:14 -08:00
alanv
c603409f28 Removed CODE_CAPSLOCK from keyboard accessibility (fixing build).
Change-Id: Ibc7ef979276f563444f3c24e69ac32de5d4eb6e8
2012-02-01 10:27:52 -08:00
The Android Open Source Project
411ae9edf1 am b75ff168: am 32407e61: am 1b841f56: Reconcile with ics-mr1-release
* commit 'b75ff16871097f0e960b820fad520c8c554c095d':
2012-02-01 10:10:17 -08:00
The Android Open Source Project
b75ff16871 am 32407e61: am 1b841f56: Reconcile with ics-mr1-release
* commit '32407e615bbacb6bf21161a4d95a77961a411e81':
2012-02-01 10:06:23 -08:00
Charles Chen
fd27498448 am 02dd8378: Merge "Removed spoken descriptions for characters supported by TTS or TalkBack."
* commit '02dd837805fec1a0f7b0ddf888b3548f5ac2922b':
  Removed spoken descriptions for characters supported by TTS or TalkBack.
2012-02-01 10:01:41 -08:00
Charles Chen
eeea9fc835 am 97373517: Merge "Refactored shift key spoken description into separate method."
* commit '97373517757b2bab37069d5f24d4710b6a4f44f8':
  Refactored shift key spoken description into separate method.
2012-02-01 10:01:40 -08:00
The Android Open Source Project
32407e615b am 1b841f56: Reconcile with ics-mr1-release
* commit '1b841f56aba672ba938708835aa032ecb126d729':
2012-02-01 10:01:28 -08:00
Charles Chen
02dd837805 Merge "Removed spoken descriptions for characters supported by TTS or TalkBack." 2012-02-01 10:00:17 -08:00
Charles Chen
9737351775 Merge "Refactored shift key spoken description into separate method." 2012-02-01 09:59:59 -08:00
The Android Open Source Project
1b841f56ab Reconcile with ics-mr1-release
Change-Id: I45db7ac0c2fd1156524eb31621fae7661b5a3a73
2012-02-01 08:50:42 -08:00
Tadashi G. Takaoka
36b1c524ad am 71c695da: Remove BIDI mirroring hack from Key
* commit '71c695da22fd99e56ba5b267ad21b750ab1534b5':
  Remove BIDI mirroring hack from Key
2012-02-01 06:04:01 -08:00
Tadashi G. Takaoka
71c695da22 Remove BIDI mirroring hack from Key
This change also removes isRtlKeyboard attribute from <Keyboard/>

Bug: 5948247
Change-Id: I85998f17ae146a4c8cd0f419ab820b746cb8974f
2012-02-01 22:58:16 +09:00
Tadashi G. Takaoka
4eaa8c678b am 40e90122: Fix wrong long press timeout for shift key
* commit '40e9012276b1df9be8c1a9069eaeb16027549a85':
  Fix wrong long press timeout for shift key
2012-02-01 04:19:04 -08:00
Tadashi G. Takaoka
40e9012276 Fix wrong long press timeout for shift key
Change-Id: Ifafbed1bcdaf662ee6a69050043739fa71986841
2012-02-01 21:15:34 +09:00
Tadashi G. Takaoka
2e5d8312f2 am ff858c7f: Use MoreKeySpecParser to parse puctuations strip resources
* commit 'ff858c7ff5e747c17ff6d9d1908e700ad30ded85':
  Use MoreKeySpecParser to parse puctuations strip resources
2012-02-01 03:28:06 -08:00
Tadashi G. Takaoka
ff858c7ff5 Use MoreKeySpecParser to parse puctuations strip resources
This change also
  * Doesn't use Key.getRtlParenthesisCode to get correct parentheses
    code in RTL context. Intead uses the outputText feature of
    moreKeys specification.
  * Move CVS string parser from KeyStyles to Utils.

Bug: 5948247
Change-Id: I45752c7d01b4f7d3f3da900b110a2185b336a1f0
2012-02-01 19:33:26 +09:00
Tadashi G. Takaoka
c5163f91b2 am a5c96f37: Move long press shift handling from PointerTracker to KeyboardState
* commit 'a5c96f376ad57e78a88942bb618e067054ed818a':
  Move long press shift handling from PointerTracker to KeyboardState
2012-02-01 02:11:19 -08:00
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