aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add a guard against OOB.Jean Chalard2012-01-261-3/+7
| | | | | | | | ...and avoid crashing in one case where the application may change the text while we are typing. Bug: 5685922 Change-Id: I4a22c63168986f43ac84f512aaa4267023d536e3
* Add Key preserveCase enum to keyLabelOptions attributeTadashi G. Takaoka2012-01-253-31/+99
| | | | | | | To support auto generate key depending keyboard element id, the KeysCache class is introduced to hold whole keys and reuse. Change-Id: Icb81b5f1c1b3aaa31968dcdb93aa0a856e737f78
* Prepare to get rid of Drawable reference from KeyTadashi G. Takaoka2012-01-253-19/+24
| | | | Change-Id: If435f95b2863e0af8d8916c643e6b01feabd3ea5
* Merge "Add element predicator to <switch><case> condition of Keyboard"Tadashi G. Takaoka2012-01-251-7/+12
|\
| * Add element predicator to <switch><case> condition of KeyboardTadashi G. Takaoka2012-01-251-7/+12
| | | | | | | | Change-Id: I8f9eb8eb28707d23e421e88f979022d844a3b3ee
* | Merge "Draw language name on spacebar on the fly"Tadashi G. Takaoka2012-01-251-113/+54
|\ \
| * | Draw language name on spacebar on the flyTadashi G. Takaoka2012-01-251-113/+54
| | | | | | | | | | | | Change-Id: If54251acbd40d0dda37df1b368ed76dcdf3c8ac0
* | | Merge "Add a test for auto-correction."Jean Chalard2012-01-253-4/+11
|\ \ \ | |/ / |/| |
| * | Add a test for auto-correction.Jean Chalard2012-01-253-4/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | Fix two related subtle bugs: - Stop singling out fat-finger-only corrections for rejection when touch coordinates are not available. - Remove a racy check that would happen only in debug mode Change-Id: Ic904f9b27c091ca6b369052c4e65a630bff81257
* | | Change scope of some methods in KeyboardViewTadashi G. Takaoka2012-01-252-19/+18
| | | | | | | | | | | | Change-Id: I6569b413b20a2e683c6c636aafd755f51868dd28
* | | Merge "Use PointerTracker.getPointerTracker() class method"Tadashi G. Takaoka2012-01-251-11/+11
|\ \ \
| * | | Use PointerTracker.getPointerTracker() class methodTadashi G. Takaoka2012-01-251-11/+11
| |/ / | | | | | | | | | Change-Id: Ieab5d43d2bfe9bdf2b499834dff267df84b8d76d
* | / Use String instaed of CharSequence in Key classTadashi G. Takaoka2012-01-255-36/+35
| |/ |/| | | | | Change-Id: Ia76a41daede402ed2a509e110ae97d6bb660c760
* | Add autoGenerateFromAlphabet enum to KeyboardSet.Element.elementKeyboardTadashi G. Takaoka2012-01-253-63/+80
|/ | | | | | | This is the first step to support separate Keyboard for elementName. This change is the second attempt of Icef66564. Change-Id: I78ea6cb9ea3d965ff89e0ff5d896a6b11ba5c670
* Merge "Revert "Add autoGenerateFromAlphabet enum to ↵Tadashi Takaoka2012-01-243-69/+61
|\ | | | | | | KeyboardSet.Element.elementKeyboard""
| * Revert "Add autoGenerateFromAlphabet enum to ↵Tadashi Takaoka2012-01-243-69/+61
| | | | | | | | | | | | | | KeyboardSet.Element.elementKeyboard" This reverts commit b5b92f9b78295366c12b25d1b464a371401c3677 Bug: 5908440
* | Merge "Add autoGenerateFromAlphabet enum to KeyboardSet.Element.elementKeyboard"Tadashi G. Takaoka2012-01-243-61/+69
|\|
| * Add autoGenerateFromAlphabet enum to KeyboardSet.Element.elementKeyboardTadashi G. Takaoka2012-01-243-61/+69
| | | | | | | | | | | | This is the first step to support separate Keyboard for elementName. Change-Id: Icef66564b6938910fa06ecab664dce4be84c9505
* | Merge "Test that delete actually removes any selected text."Jean Chalard2012-01-241-1/+1
|\ \
| * | Test that delete actually removes any selected text.Jean Chalard2012-01-241-1/+1
| | | | | | | | | | | | | | | Bug: 5699301 Change-Id: I09a967eb03690251e8bd69503285c982d6958a7d
* | | Merge "Fix a bug where backspace would not delete the selection"Jean Chalard2012-01-241-5/+27
|\ \ \ | |_|/ |/| |
| * | Fix a bug where backspace would not delete the selectionJean Chalard2012-01-241-5/+27
| |/ | | | | | | | | Bug: 5699301 Change-Id: I6c5a8470464d045349ac38e191c859b5c34cbeee
* | Clean up symbol key chording state from KeyboardStateTadashi G. Takaoka2012-01-243-45/+20
| | | | | | | | Change-Id: I575da2bf2941c8a2e7b1fe0a455cbcdebb201276
* | Fix sliding shift input in caps lock modeTadashi G. Takaoka2012-01-241-1/+5
| | | | | | | | | | Bug: 5881820 Change-Id: I4cbe3eda83c09edc9da8efbdff7d3359c1e140d5
* | For get the symbols shifted state when switch back from alphabet layoutTadashi G. Takaoka2012-01-241-5/+9
| | | | | | | | | | Bug: 5881820 Change-Id: Ic478264e1cd366affc34fbf4cd59f1b6e7efede7
* | Get rid of setShifted/setShiftLocked from SwitchActionsTadashi G. Takaoka2012-01-242-66/+110
|/ | | | Change-Id: Ib54b0575be190556690ef2dfb14077842745f038
* Fix a typoJean Chalard2012-01-241-4/+4
| | | | Change-Id: I358350c959d5610214a752b14d7744fe83eb3821
* Force KeyboardShiftState reset by setShiftLocked(false)Tadashi G. Takaoka2012-01-231-6/+1
| | | | Change-Id: Ib00d598e6e6a91e594ae01cfc51fb688601f6b8f
* Merge "Get rid of useless updateShiftState"Tadashi G. Takaoka2012-01-221-1/+0
|\
| * Get rid of useless updateShiftStateTadashi G. Takaoka2012-01-231-1/+0
| | | | | | | | | | | | | | | | | | Because KeyboardState.onLoadKeyboard will invoke SwitcherActions.requestUpdateShiftState eventually, the calling updateShiftState at the end of KeyboardSwitcher.onLoadKeyboard is useless. Change-Id: Ib6e746b1516ef1b4c981807a9b8785a046ba50e0
* | Merge "Add more debug message to KeyboardState"Tadashi G. Takaoka2012-01-221-6/+13
|\ \
| * | Add more debug message to KeyboardStateTadashi G. Takaoka2012-01-231-6/+13
| |/ | | | | | | Change-Id: Ie0bceb494b0521bf406418d5ecbc16752c818aba
* | Merge "Squash a ridiculously improbable NPE"Jean Chalard2012-01-221-0/+8
|\ \ | |/ |/|
| * Squash a ridiculously improbable NPEJean Chalard2012-01-191-0/+8
| | | | | | | | | | | | | | | | This probably can't be triggered by anything that is not a monkey, but still, let's fix this Bug: 5797549 Change-Id: I9a7d9fd6664c97787ce676a28675e96f46df7658
* | Support @icon/icon_name for more keys specificationTadashi G. Takaoka2012-01-203-36/+49
| | | | | | | | Change-Id: I8842e5ce77f9d27a0969df947de292c1830e36b7
* | Merge "Support @string reference in moreKeys attribute"Tadashi G. Takaoka2012-01-203-26/+91
|\ \
| * | Support @string reference in moreKeys attributeTadashi G. Takaoka2012-01-203-26/+91
| | | | | | | | | | | | Change-Id: If0056d0601149d2ddd0e231a81e7b2409b37fc06
* | | Merge "Fix a bug where a check would fail"Jean Chalard2012-01-201-3/+3
|\ \ \ | |/ / |/| |
| * | Fix a bug where a check would failJean Chalard2012-01-201-3/+3
| | | | | | | | | | | | | | | Bug: 5894393 Change-Id: I810de58730f2cabcaf7b8dc1d85b3725f959094b
* | | Merge "Move MoreKeySpecParser.getResourceId to Utils"Tadashi G. Takaoka2012-01-202-19/+21
|\ \ \
| * | | Move MoreKeySpecParser.getResourceId to UtilsTadashi G. Takaoka2012-01-202-19/+21
| |/ / | | | | | | | | | Change-Id: I0640dbe76a8ff2dc45b504eca631942811571736
* | | Merge "Change more key specification type to String from CharSequence"Tadashi G. Takaoka2012-01-204-73/+73
|\ \ \
| * | | Change more key specification type to String from CharSequenceTadashi G. Takaoka2012-01-204-73/+73
| |/ / | | | | | | | | | Change-Id: I5e910f8225a248fc6403771836dec4c0b7294caa
* / / Fix a bug where the user typed word would not be passed.Jean Chalard2012-01-201-4/+4
|/ / | | | | | | | | Bug: 5894271 Change-Id: I4f02ff322697159e08f5e898608c0aff11dacb2f
* | Merge "Fix KeyboardState switching back from alphabet-chording input correctly"Tadashi G. Takaoka2012-01-191-0/+10
|\ \
| * | Fix KeyboardState switching back from alphabet-chording input correctlyTadashi G. Takaoka2012-01-191-0/+10
| | | | | | | | | | | | | | | Bug: 5881820 Change-Id: I108bbc25baa331cc87f00955b48188b3557d10dd
* | | Merge "Fix KeyboardState to pass KeyboardStateMultiTouchTests"Tadashi G. Takaoka2012-01-191-1/+5
|\| |
| * | Fix KeyboardState to pass KeyboardStateMultiTouchTestsTadashi G. Takaoka2012-01-191-1/+5
| | | | | | | | | | | | Change-Id: If2b9ee7cf3fad7633d64b98758f802792d66f7a8
* | | Merge "Cleanup KeyboardState a bit"Tadashi G. Takaoka2012-01-191-26/+29
|\| |
| * | Cleanup KeyboardState a bitTadashi G. Takaoka2012-01-191-26/+29
| | | | | | | | | | | | | | | | | | Rename KeyboardShiftState variable and reorder some statements. Change-Id: I7e8842836f35876f8697f9906343f7d4a1f9db4f