Commit Graph

5299 Commits (9c7db965cdad17c544fa4c72b76486272c21ba67)

Author SHA1 Message Date
Jean Chalard 6e082cb30d Convert an internal enum into an int of same underlying value.
Goes together with Id4f4e066

Bug: 5922118
Change-Id: I1e39dd01c67e9284d9d7fe008d868847e69986d7
2012-01-26 13:07:51 +09:00
Jean Chalard fda847a870 Small cleanup
All calls to this method are done with the same parameter,
and it's really hard to understand if we call upon this
member inside.

Change-Id: I787664bb59053ab0fe666ed812fb12b2b9090918
2012-01-26 11:40:16 +09:00
Jean Chalard 60e7718462 Add tests for double space behavior
Bug: 5875776
Change-Id: Icc28b6c5c0132a3afc8d603841c9e321f720b7c9
2012-01-26 10:10:38 +09:00
satok 12e3a077e8 am 61b31a64: Merge "Do other error correction for the second word of two word correction"
* commit '61b31a646ea5c65f55891354dfd0485cbbcbc997':
  Do other error correction for the second word of two word correction
2012-01-25 05:50:44 -08:00
satok 61b31a646e Merge "Do other error correction for the second word of two word correction" 2012-01-25 05:48:15 -08:00
satok 8330b488e9 Do other error correction for the second word of two word correction
result: I4e0b68a12190933f9

Change-Id: I98afce6fe4d5bde97392146d204370ba31a72566
2012-01-25 22:30:37 +09:00
Tadashi G. Takaoka 1b709fe947 am 09f8b126: Add Key preserveCase enum to keyLabelOptions attribute
* commit '09f8b126e532ca2ac6bbe00c0d78bf03e44b78a2':
  Add Key preserveCase enum to keyLabelOptions attribute
2012-01-25 03:29:19 -08:00
Tadashi G. Takaoka bf57d2c802 am bcf2b793: Prepare to get rid of Drawable reference from Key
* commit 'bcf2b79365d7b655e973809c775772479dd8dff5':
  Prepare to get rid of Drawable reference from Key
2012-01-25 03:29:15 -08:00
Tadashi G. Takaoka 09f8b126e5 Add Key preserveCase enum to keyLabelOptions attribute
To support auto generate key depending keyboard element id, the
KeysCache class is introduced to hold whole keys and reuse.

Change-Id: Icb81b5f1c1b3aaa31968dcdb93aa0a856e737f78
2012-01-25 20:16:21 +09:00
Tadashi G. Takaoka bcf2b79365 Prepare to get rid of Drawable reference from Key
Change-Id: If435f95b2863e0af8d8916c643e6b01feabd3ea5
2012-01-25 19:41:15 +09:00
Tadashi G. Takaoka 210f323089 am 2419a31c: Merge "Add element predicator to <switch><case> condition of Keyboard"
* commit '2419a31c98927da807710e8ea713aa8a98b8c3d7':
  Add element predicator to <switch><case> condition of Keyboard
2012-01-25 02:38:44 -08:00
Tadashi G. Takaoka 3d2663af06 am 9650e856: Merge "Draw language name on spacebar on the fly"
* commit '9650e856626fc820c59518a51810089681be8a43':
  Draw language name on spacebar on the fly
2012-01-25 02:38:43 -08:00
Tadashi G. Takaoka 2419a31c98 Merge "Add element predicator to <switch><case> condition of Keyboard" 2012-01-25 02:37:27 -08:00
Tadashi G. Takaoka 9650e85662 Merge "Draw language name on spacebar on the fly" 2012-01-25 02:37:22 -08:00
Jean Chalard 5fa9948561 am d9702a37: Merge "Add a test for auto-correction."
* commit 'd9702a375ab35af58f517b75683595b17a224f35':
  Add a test for auto-correction.
2012-01-25 02:35:47 -08:00
Jean Chalard d9702a375a Merge "Add a test for auto-correction." 2012-01-25 02:33:39 -08:00
Jean Chalard 0bfe359ee4 Add a test for auto-correction.
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
2012-01-25 19:29:40 +09:00
Tadashi G. Takaoka 83306b914f Add element predicator to <switch><case> condition of Keyboard
Change-Id: I8f9eb8eb28707d23e421e88f979022d844a3b3ee
2012-01-25 19:09:18 +09:00
Tadashi G. Takaoka bd93eddb52 Draw language name on spacebar on the fly
Change-Id: If54251acbd40d0dda37df1b368ed76dcdf3c8ac0
2012-01-25 19:05:58 +09:00
Tadashi G. Takaoka d839c9c2ca am f9521c6f: Change scope of some methods in KeyboardView
* commit 'f9521c6f378e3f2aa13d9e382ae13708e3ae6317':
  Change scope of some methods in KeyboardView
2012-01-25 02:00:09 -08:00
Tadashi G. Takaoka f9521c6f37 Change scope of some methods in KeyboardView
Change-Id: I6569b413b20a2e683c6c636aafd755f51868dd28
2012-01-25 18:50:27 +09:00
Tadashi G. Takaoka 5d7cfc2afb am f9c6715b: Merge "Use PointerTracker.getPointerTracker() class method"
* commit 'f9c6715b1781f31f0dc2589f9399de5009a556f2':
  Use PointerTracker.getPointerTracker() class method
2012-01-25 00:53:32 -08:00
Tadashi G. Takaoka f9c6715b17 Merge "Use PointerTracker.getPointerTracker() class method" 2012-01-25 00:51:22 -08:00
Tadashi G. Takaoka 71aba3d2fb am 38d6a188: Use String instaed of CharSequence in Key class
* commit '38d6a18821794dc733760b55fd2a896626f784e2':
  Use String instaed of CharSequence in Key class
2012-01-25 00:13:40 -08:00
Tadashi G. Takaoka 38d6a18821 Use String instaed of CharSequence in Key class
Change-Id: Ia76a41daede402ed2a509e110ae97d6bb660c760
2012-01-25 17:04:00 +09:00
Tadashi G. Takaoka 3095f87317 am 117c124c: Add autoGenerateFromAlphabet enum to KeyboardSet.Element.elementKeyboard
* commit '117c124c13f0e6af737b1858bd5c4d9e6e7eb353':
  Add autoGenerateFromAlphabet enum to KeyboardSet.Element.elementKeyboard
2012-01-24 20:26:43 -08:00
Tadashi G. Takaoka 117c124c13 Add autoGenerateFromAlphabet enum to KeyboardSet.Element.elementKeyboard
This is the first step to support separate Keyboard for elementName.
This change is the second attempt of Icef66564.

Change-Id: I78ea6cb9ea3d965ff89e0ff5d896a6b11ba5c670
2012-01-25 13:19:53 +09:00
Tadashi G. Takaoka e88e1b22c8 Use PointerTracker.getPointerTracker() class method
Change-Id: Ieab5d43d2bfe9bdf2b499834dff267df84b8d76d
2012-01-25 11:08:30 +09:00
Tadashi Takaoka e245c99486 am af4efd5a: Merge "Revert "Add autoGenerateFromAlphabet enum to KeyboardSet.Element.elementKeyboard""
* commit 'af4efd5a3ec32d7f1bf61978286f3a7602ce5609':
  Revert "Add autoGenerateFromAlphabet enum to KeyboardSet.Element.elementKeyboard"
2012-01-24 15:24:23 -08:00
Tadashi Takaoka af4efd5a3e Merge "Revert "Add autoGenerateFromAlphabet enum to KeyboardSet.Element.elementKeyboard"" 2012-01-24 15:22:25 -08:00
Tadashi Takaoka 8bb20bc682 Revert "Add autoGenerateFromAlphabet enum to KeyboardSet.Element.elementKeyboard"
This reverts commit b5b92f9b78

Bug: 5908440
2012-01-24 15:20:05 -08:00
Tadashi G. Takaoka 90ac125aeb am a34f66de: Merge "Add autoGenerateFromAlphabet enum to KeyboardSet.Element.elementKeyboard"
* commit 'a34f66de2d812d077d5c1436d7fc79ca7000b8dd':
  Add autoGenerateFromAlphabet enum to KeyboardSet.Element.elementKeyboard
2012-01-24 01:35:45 -08:00
Tadashi G. Takaoka a34f66de2d Merge "Add autoGenerateFromAlphabet enum to KeyboardSet.Element.elementKeyboard" 2012-01-24 01:34:31 -08:00
Tadashi G. Takaoka b5b92f9b78 Add autoGenerateFromAlphabet enum to KeyboardSet.Element.elementKeyboard
This is the first step to support separate Keyboard for elementName.

Change-Id: Icef66564b6938910fa06ecab664dce4be84c9505
2012-01-24 18:31:11 +09:00
Jean Chalard e7b6c5d1c4 am 20f437cc: Merge "Test that delete actually removes any selected text."
* commit '20f437cc495f526f6d60452b37621716dc8b78c4':
  Test that delete actually removes any selected text.
2012-01-24 01:21:26 -08:00
Jean Chalard 20f437cc49 Merge "Test that delete actually removes any selected text." 2012-01-24 01:19:26 -08:00
Jean Chalard 1e4684ad24 Test that delete actually removes any selected text.
Bug: 5699301
Change-Id: I09a967eb03690251e8bd69503285c982d6958a7d
2012-01-24 18:17:09 +09:00
Jean Chalard dc490326d8 am 196da4a7: Merge "Fix a bug where backspace would not delete the selection"
* commit '196da4a7be84bcb6f998b2c647dd9c8b4e15f950':
  Fix a bug where backspace would not delete the selection
2012-01-24 01:15:29 -08:00
Jean Chalard 196da4a7be Merge "Fix a bug where backspace would not delete the selection" 2012-01-24 01:13:34 -08:00
Jean Chalard 77da3d5a3b Fix a bug where backspace would not delete the selection
Bug: 5699301
Change-Id: I6c5a8470464d045349ac38e191c859b5c34cbeee
2012-01-24 18:07:23 +09:00
Tadashi G. Takaoka bab8292f04 am 25971b5a: Clean up symbol key chording state from KeyboardState
* commit '25971b5a14b378c4821fadd078e3cdaf8e07bb2a':
  Clean up symbol key chording state from KeyboardState
2012-01-24 01:04:05 -08:00
Tadashi G. Takaoka 9921df9079 am 83d81f2e: Fix sliding shift input in caps lock mode
* commit '83d81f2e34b28e56bb0f8505d2315ae53c8f9eef':
  Fix sliding shift input in caps lock mode
2012-01-24 01:02:14 -08:00
Tadashi G. Takaoka 25971b5a14 Clean up symbol key chording state from KeyboardState
Change-Id: I575da2bf2941c8a2e7b1fe0a455cbcdebb201276
2012-01-24 17:59:35 +09:00
Tadashi G. Takaoka 83d81f2e34 Fix sliding shift input in caps lock mode
Bug: 5881820
Change-Id: I4cbe3eda83c09edc9da8efbdff7d3359c1e140d5
2012-01-24 17:58:23 +09:00
Tadashi G. Takaoka 55a1bc7e59 am 747ed9e9: For get the symbols shifted state when switch back from alphabet layout
* commit '747ed9e99a6a83e54d97d96aa3cbb1abd11eaf0f':
  For get the symbols shifted state when switch back from alphabet layout
2012-01-24 00:52:06 -08:00
Tadashi G. Takaoka 747ed9e99a For get the symbols shifted state when switch back from alphabet layout
Bug: 5881820
Change-Id: Ic478264e1cd366affc34fbf4cd59f1b6e7efede7
2012-01-24 17:28:00 +09:00
Tadashi G. Takaoka b2c6ee2021 am 0f050769: Get rid of setShifted/setShiftLocked from SwitchActions
* commit '0f05076990f1308c34c2f12ed793e1e1c41f8ac1':
  Get rid of setShifted/setShiftLocked from SwitchActions
2012-01-23 19:43:53 -08:00
Tadashi G. Takaoka 0f05076990 Get rid of setShifted/setShiftLocked from SwitchActions
Change-Id: Ib54b0575be190556690ef2dfb14077842745f038
2012-01-24 12:27:09 +09:00
Jean Chalard 6863eb049c am 470e5049: Merge "Fix a typo"
* commit '470e50493ab251b0778a3e48a07183d59db8b67d':
  Fix a typo
2012-01-23 19:05:54 -08:00
Tadashi G. Takaoka 133fda16c2 am 9507b4a0: Merge "Add more sliding input unit test"
* commit '9507b4a086c70b68c957cbe91f43a8d901a17a4e':
  Add more sliding input unit test
2012-01-23 19:03:55 -08:00