aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Parse escaped sequence strictly in CSV parserTadashi G. Takaoka2012-02-021-43/+11
| | | | | | | | | | | | | | | This change alters the CSV parser behavior. The parser only resolves * String resource reference. ["@string/res" -> "<content_of_res>"] * Other occurrence of escape sequence will be intact. ["\x" -> "\x"] Before this change, escape sequence in moreKeys string is parsed three times. At first in parsing string resource, next in CSV parser, and at last in KeySpecParser. So that representing single escape character itself is a bit annoying, "\\\\\\\\". Now we can represent single escape character itself in string resource by "\\\\". Change-Id: Ib978e17b779cc82585eed8241ac3857508b14bc7
* Merge "Move CSV parser to KeySpecParser"Tadashi G. Takaoka2012-02-014-149/+148
|\
| * Move CSV parser to KeySpecParserTadashi G. Takaoka2012-02-024-149/+148
| | | | | | | | Change-Id: I424fb47bc70e9b6aaa5a16ae9b2500d23da75c26
* | Support additional proximity characterssatok2012-02-024-16/+115
| | | | | | | | Change-Id: Ifbe0d7e4eafea1926bbce968eae4724dd5769689
* | Merge "Make KeySpecParser and CSV parser code point aware"Tadashi G. Takaoka2012-02-016-28/+46
|\|
| * Make KeySpecParser and CSV parser code point awareTadashi G. Takaoka2012-02-026-28/+46
| | | | | | | | | | | | This change also renames MoreKeySpecParser to KeySpecParser Change-Id: I35733cdbb344f16b57ffa2cfe79055c089b4e409
* | Stop throwing an exception in some corner cases.Jean Chalard2012-02-021-9/+10
|/ | | | | | | | | 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
* Removed CODE_CAPSLOCK from keyboard accessibility (fixing build).alanv2012-02-011-1/+0
| | | | Change-Id: Ibc7ef979276f563444f3c24e69ac32de5d4eb6e8
* Merge "Removed spoken descriptions for characters supported by TTS or TalkBack."Charles Chen2012-02-011-23/+0
|\
| * Removed spoken descriptions for characters supported by TTS or TalkBack.alanv2012-01-311-23/+0
| | | | | | | | Change-Id: Iddef18559bc6af9487e536a33607b0a0b07df282
* | Merge "Refactored shift key spoken description into separate method."Charles Chen2012-02-011-21/+29
|\ \
| * | Refactored shift key spoken description into separate method.alanv2012-01-311-21/+29
| |/ | | | | | | Change-Id: I183462a68fdfd339404740fa1564f737430d73d9
* | Remove BIDI mirroring hack from KeyTadashi G. Takaoka2012-02-013-54/+4
| | | | | | | | | | | | | | This change also removes isRtlKeyboard attribute from <Keyboard/> Bug: 5948247 Change-Id: I85998f17ae146a4c8cd0f419ab820b746cb8974f
* | Fix wrong long press timeout for shift keyTadashi G. Takaoka2012-02-011-1/+1
| | | | | | | | Change-Id: Ifafbed1bcdaf662ee6a69050043739fa71986841
* | Use MoreKeySpecParser to parse puctuations strip resourcesTadashi G. Takaoka2012-02-014-74/+97
| | | | | | | | | | | | | | | | | | | | | | 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
* | Move long press shift handling from PointerTracker to KeyboardStateTadashi G. Takaoka2012-02-019-118/+190
|/ | | | | | | | | | | | | 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
* Merge "Save/restore alphabet shift locked state while rotating even in ↵Tadashi G. Takaoka2012-01-311-7/+9
|\ | | | | | | symbols mode"
| * Save/restore alphabet shift locked state while rotating even in symbols modeTadashi G. Takaoka2012-01-311-7/+9
| | | | | | | | | | Bug: 5730212 Change-Id: Id2342dacd149d6385d61001f880ebcd1883cf0b4
* | Merge "Cleanup redundant methods of KeyboardSwitcher"Tadashi G. Takaoka2012-01-313-41/+32
|\ \
| * | Cleanup redundant methods of KeyboardSwitcherTadashi G. Takaoka2012-01-313-41/+32
| |/ | | | | | | Change-Id: I2ebeb8852177f6c6e30578d0bb3f372f488dc6c1
* | Cleanup redundant methods of KeyboardSetTadashi G. Takaoka2012-01-312-14/+18
| | | | | | | | Change-Id: I69fa1b5661695d0323222c2969679f4792b6ef0d
* | Fix double tap shift key enable/disable shift locked modeTadashi G. Takaoka2012-01-314-109/+80
|/ | | | | Bug: 5942452 Change-Id: I2c7b1605bceac2b2f929cd4d97c417ef15c6f754
* Merge "Auto generate various shift states alphabet keyboard automatically"Tadashi G. Takaoka2012-01-3015-403/+203
|\
| * Auto generate various shift states alphabet keyboard automaticallyTadashi G. Takaoka2012-01-3115-403/+203
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Removed unused "no item selected" notification & supporting code from ↵alanv2012-01-303-107/+0
|/ | | | | | keyboard accessibility. Change-Id: Ia6323ad0c1e2a0db5a2cf830e97765eddaa32cee
* Merge "Support addtionalMoreKeys"Tadashi G. Takaoka2012-01-303-49/+78
|\
| * Support addtionalMoreKeysTadashi G. Takaoka2012-01-303-49/+78
| | | | | | | | | | | | | | This change also removes * Unused more_keys_for_q, w, and p. Change-Id: Idb99e5f6d8c2ad2d28437f42b35b21c282cd181f
* | Add "size" and "pressure" for MotionEvent logsKen Wakasa2012-01-302-3/+5
|/ | | | | bug: 5722703 Change-Id: I8e08942324b666de96682ce63e70c8d324535782
* Support keyXPos/keyWidth override in <include>Tadashi G. Takaoka2012-01-271-5/+38
| | | | Change-Id: I03576a6fb7916f2f66f2035a04872fe89b573cdc
* Add inactivatedLabel and inactivatedUppercaseLetter flags for Key.keyLabelFlagsTadashi G. Takaoka2012-01-272-3/+21
| | | | Change-Id: I6c7dc79cbad360602b278283f4c3a24c54040622
* Merge "Save and restore previous mode keyboard state at ↵Tadashi G. Takaoka2012-01-261-14/+17
|\ | | | | | | KeyboardState.toggleAlphabetAndSymbols"
| * Save and restore previous mode keyboard state at ↵Tadashi G. Takaoka2012-01-271-14/+17
| | | | | | | | | | | | | | KeyboardState.toggleAlphabetAndSymbols Bug: 5881820 Change-Id: I9b1718b16c60f27c05ba727724c0189aa5284334
* | Cleanup (A9)Jean Chalard2012-01-261-2/+4
|/ | | | | | | Deactivate the LastComposedWord when the commit was not the right type, instead of fooling it by passing it a null auto-correction. Change-Id: I032b477dc691bd151a644ca4b0c9f0a9b5512e45
* Remove a useless member (A8)Jean Chalard2012-01-262-5/+3
| | | | | | It turns out this can be removed entirely. Change-Id: I6f23703cef1666311989a825285317eef696487f
* Merge "Remove the CharacterStore class (A7)"Jean Chalard2012-01-261-70/+50
|\
| * Remove the CharacterStore class (A7)Jean Chalard2012-01-261-70/+50
| | | | | | | | | | | | | | | | Remove the now useless WordComposer.CharacterStore class and merge back its members inside WordComposer. This should simplify the word composer a bit. Change-Id: I5fe32418c62a583cd558dce98758a4701559bdf5
* | Merge "Add KeyboardState.SwitchActions.setAlphabetShiftLockShifted"Tadashi G. Takaoka2012-01-262-8/+19
|\ \ | |/ |/|
| * Add KeyboardState.SwitchActions.setAlphabetShiftLockShiftedTadashi G. Takaoka2012-01-262-8/+19
| | | | | | | | Change-Id: I6c49d8eb0a8272840ff03e0940d88a31c3d20bd9
* | Guard against wrong auto-correction cancellation (A6)Jean Chalard2012-01-261-2/+9
| | | | | | | | | | | | | | | | This deactivates the cancellation at each separator pressed while not composing a word. The net effect is to fix Bug: 5875776 Change-Id: I67aa3f842ddff250828c60596ad5a7e466c1ddaa
* | Straighten out resuming suggestion on kept word (A5)Jean Chalard2012-01-263-19/+20
| | | | | | | | | | | | | | | | | | This is cleanup. This also introduces a "deactivated" state to the last committed word, that can be used for Bug: 5875776 Change-Id: I1855adb8ac8123f6d2c5365b0ae899145e5c3ba1
* | Remove mCommittedWordSavedForSuggestionResuming (A4)Jean Chalard2012-01-262-25/+15
| | | | | | | | Change-Id: Ia62ef33b5c777a258b02280bda1b8368780a7eef
* | Move some functionality into LastComposedWord (A3)Jean Chalard2012-01-263-18/+38
| | | | | | | | Change-Id: Ie0ea02a061dd0cb84db5f33113ff433584636bc7
* | Add useful information to LastComposedWord (A2)Jean Chalard2012-01-262-2/+18
| | | | | | | | Change-Id: Idf47f2e2bdd1d6394fc4b1ab7df28d64a808da1e
* | Merge "Add a class for previously composed data (A1)"Jean Chalard2012-01-263-24/+52
|\ \ | |/ |/|
| * Add a class for previously composed data (A1)Jean Chalard2012-01-263-24/+52
| | | | | | | | Change-Id: I87498799e6a48b8fa65924a098bb0ceb7626dce1
* | Merge "Get rid of Resource reference from KeyboardView, LatinKeyboardView ↵Tadashi G. Takaoka2012-01-265-99/+91
|\ \ | |/ |/| | | and PointerTracker"
| * Get rid of Resource reference from KeyboardView, LatinKeyboardView and ↵Tadashi G. Takaoka2012-01-265-99/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PointerTracker This change introduces the following attributes. * KeyboardView - keyPreviewLingerTimeout * LatinKeboardView - keyHysteresisDistance - touchNoiseThresholdTime - touchNoiseThresholdDistance - slidingKeyInputEnable - keyRepeatStartTimeout - keyRepeatInterval - longPressKeyTimeout - longPressShiftKeyTimeout - longPressSpaceKeyTimeout - ignoreSpecialKeyTimeout - showMiniKeyboardAtTouchedPoint Change-Id: I25159a87289b12447e20031add173523070e9b03
* | Merge "Warn deprecated privateImeOptions, "nm" and "forceAscii""Tadashi G. Takaoka2012-01-252-5/+17
|\ \
| * | Warn deprecated privateImeOptions, "nm" and "forceAscii"Tadashi G. Takaoka2012-01-262-5/+17
| | | | | | | | | | | | | | | | | | | | | Public API EditorInfo.IME_FLAG_FORCE_ASCII has been supported by I6665b483. Change-Id: I0ffdee15d8177d126cd8fe86a6bc4ab21be58c36
* | | Merge "Add a guard against OOB."Jean Chalard2012-01-251-3/+7
|\ \ \