Commit Graph

2889 Commits (8558cfb42a412010f2e5320ee50fe44afefdc1cf)

Author SHA1 Message Date
Ken Wakasa 8558cfb42a Code cleanup
Change-Id: Ie43181721ba18e0c04048eaa9e3016dcea9f5a49
2011-07-12 16:47:08 +09:00
Ken Wakasa 9318d33b6e Change variable names for readability
Change-Id: I9face4e90af4bcd6040eb7e303b596af7d643934
2011-07-12 12:08:58 +09:00
Tadashi G. Takaoka 1fa878339e Merge "Fix event handling on non-distinct multi touch device" 2011-07-11 19:07:22 -07:00
Tadashi G. Takaoka 8ebbe03fed Keep keyboard layout while orientation change
This change can retain symbols layout only, can't retain shift or
shift lock state of the keyboard.

Bug: 4311428
Change-Id: I6248ed9a6d762e1ca4b72e391fdca9bc9f55ac35
2011-07-11 18:16:14 -07:00
Tadashi G. Takaoka 04dec7f84d Fix event handling on non-distinct multi touch device
This bug has been introduced by Idfbc9706.

Bug: 4768084
Change-Id: If9e2a2d3ed1f6b4e6209c883e6fcca52286ede3f
2011-07-11 17:03:12 -07:00
Tadashi G. Takaoka 08eea95650 Merge "Add KeyEventHandler interface" 2011-07-11 10:54:31 -07:00
Tadashi G. Takaoka f426cdd5c6 Add KeyEventHandler interface
This change also revert KeyboardView to non-abstract class.

Bug: 4768084
Change-Id: I827defb58bfb28b345464f6a89aa4438e41cf1e2
2011-07-10 19:48:14 -07:00
satok 4a0c343dbd Use InputMethodSettingsActivity
Bug: 4979539
Change-Id: Ib721814bfe80822ded7b0d801f6bc0c854588da4
2011-07-11 10:15:03 +09:00
Tadashi G. Takaoka 0efe174ea4 Pass KeyboardView to PointerTracker on down event
Bug: 4768084
Change-Id: I446b98daef8c9ec2408481e59cb2a88754ef9e01
2011-07-10 18:06:42 -07:00
Tadashi G. Takaoka 952266674a Merge "Move processing MotionEvent out from PointerTracker" 2011-07-10 14:24:26 -07:00
Tadashi G. Takaoka 3fdae97417 Move processing MotionEvent out from PointerTracker
Bug: 4768084
Change-Id: Idfbc9706f9daeaa979edeee9064cb69326bd3bbc
2011-07-08 21:19:16 -07:00
satok ba1390f999 Merge "Use InputMethodSettingsFragment" 2011-07-08 21:18:36 -07:00
Tadashi G. Takaoka d719fe1f5c Merge "Narrower key timer handler static inner class to TimerProxy interface" 2011-07-08 19:26:50 -07:00
satok 1a3bb54bb4 Use InputMethodSettingsFragment
Bug: 4979539

Change-Id: I4f2010f785eb29ccd42b488c402ef9957633e0c2
2011-07-09 11:25:54 +09:00
Tadashi G. Takaoka 2321caa1f9 Narrower key timer handler static inner class to TimerProxy interface
Bug: 4768084
Change-Id: I8fdff864d09321b44d56a6a32e10aec3f0f5a4d1
2011-07-08 19:15:16 -07:00
satok 6ec10e53a4 Merge "Internal cleanup before using InputMethodSettingsFragment (Part 2)" 2011-07-08 18:21:39 -07:00
satok c3f4d55c59 Internal cleanup before using InputMethodSettingsFragment (Part 2)
Change-Id: I87751cf0e36b41e931b0712a09d114fd470f1001
2011-07-09 10:14:05 +09:00
satok 68d419d1f5 Merge "Internal cleanup before using InputMethodSettingsFragment" 2011-07-08 17:40:32 -07:00
satok 4598d12064 Internal cleanup before using InputMethodSettingsFragment
Change-Id: I7e3211feadf7b87b789040f6dcd6dda84a9d454a
2011-07-09 09:22:03 +09:00
Tadashi G. Takaoka ab41391cb4 Merge "Merge PointerTrackerKeyState into PointerTracker" 2011-07-08 17:03:37 -07:00
Tadashi G. Takaoka 8a995157f3 Merge PointerTrackerKeyState into PointerTracker
Bug: 4768084
Change-Id: I0be0e07bff2542db6ba764dcb13505dfbff6994e
2011-07-08 16:26:11 -07:00
satok 41f1509334 Remove override which will be invalid.
Change-Id: I8b548e0167791c1f5e46971901d13ee1aadc45da
2011-07-09 08:15:36 +09:00
Doug Kwan 10912baf60 Merge "Compile code used in logging conditionally so that gcc does not complain about unused-but-set variables." 2011-07-08 00:49:20 -07:00
Doug Kwan ce9efbff53 Compile code used in logging conditionally so that gcc does not complain
about unused-but-set variables.

Change-Id: I141f438694a1854d54d08cb5a74c23222dd9d85e
2011-07-08 00:29:11 -07:00
Tadashi G. Takaoka a9f69513df Merge "Remove swipe gesture" 2011-07-08 00:06:25 -07:00
Tadashi G. Takaoka c71854a661 Remove swipe gesture
Bug: 4971680
Change-Id: Ifff27f3bd3dd26417bfcb7072aaba074025b1bb7
2011-07-08 00:00:14 -07:00
Tadashi G. Takaoka 5a7a696aff Let KeyDetector hold Keyboard
Bug: 4768084
Change-Id: Ia28d6971fc59086dd4e6fedc9fd1b50f13b59854
2011-07-07 23:31:04 -07:00
Tadashi G. Takaoka 1c9817f0e6 Remove stale TODO comments
Change-Id: I800e25ca1ecfb11580decd1de147b3f3ae5defb0
2011-07-07 22:51:12 -07:00
Tadashi G. Takaoka 48f989dee5 Merge "Override onSizeChanged only on main keyboard view" 2011-07-07 22:33:44 -07:00
Tadashi G. Takaoka 0d8af4d790 Merge "Holding PointerTrackerQueue inside PointerTracker" 2011-07-07 22:33:35 -07:00
Tadashi G. Takaoka bb4be5444b Override onSizeChanged only on main keyboard view
Bug: 4768084
Change-Id: I555efbd1bf75691a3a2724e9d9c1a9055039aacc
2011-07-07 22:02:17 -07:00
Tadashi G. Takaoka 906f03121b Holding PointerTrackerQueue inside PointerTracker
Bug: 4768084
Change-Id: Id5006e549c4018a656abd088f14a209415baafed
2011-07-07 17:16:35 -07:00
Eric Fischer 895fc0e1b3 Merge "Import revised translations." 2011-07-07 14:51:19 -07:00
Eric Fischer ff53f0fd97 Import revised translations.
Change-Id: I6a63166506259331cd0481b41e97527d5133d52c
2011-07-07 11:50:08 -07:00
Ken Wakasa 1bd62a5621 Fix missing suggestions after "Touch again to save"
This is an amendment to If848320c

bug: 5000317
Change-Id: I7eed5759c6adc0538c51f540c84a597919e792fa
2011-07-07 17:59:19 +09:00
Tadashi G. Takaoka c810b0d63a Merge "Make sure that each view has its own dedicated background drawable" 2011-07-06 19:12:39 -07:00
Tadashi G. Takaoka b9a21448e3 Merge "Clear CandidateView in onStartInputView" 2011-07-06 19:02:24 -07:00
Tadashi G. Takaoka 16add4c886 Fix improperly scaled drawable
Bug: 4993127
Change-Id: Id16039058777b50f223458e190b32c1bc3b1fd53
2011-07-06 18:12:39 -07:00
Tadashi G. Takaoka 88110d1799 Clear CandidateView in onStartInputView
Before starting input on new TextView, we must clear the CandidateView
because it may hold the suggestion of previous TextView or even worse
the suggestions pane has been expanded and keyboard has been hidden.

Bug: 4995414
Change-Id: If848320c1a510e7018d36ed8ac61291be2fc6ce5
2011-07-06 17:57:24 -07:00
Tadashi G. Takaoka 7c57e3bda1 Make sure that each view has its own dedicated background drawable
Bug: 4998490
Change-Id: I3527fc41f0f03bbb32e3d1880665c6995354aa57
2011-07-06 17:42:03 -07:00
Ken Wakasa 273e5d60f4 Use the new settings activity class name
Follow up to I96230f05

Change-Id: I0ee7ccb5461764490ae9c977658883b10fe3ed3d
2011-07-06 12:38:34 +09:00
Tadashi G. Takaoka f60d09ac30 Narrower KeyboardView reference
This change also rename static inner class to more readable name and
get rid of unnecessary object reference from PointerTracker.

Bug: 4768084
Change-Id: Ie4e2b940d66b47d41efcae7eeac853cdae2e4d38
2011-07-04 22:42:48 +09:00
Tadashi G. Takaoka bd02fa8495 Merge "Move key hysteresis distance parameter to KeyDetector class" 2011-07-04 06:38:41 -07:00
Tadashi G. Takaoka a19b84dcf6 Move key hysteresis distance parameter to KeyDetector class
Bug: 4768084
Change-Id: Ib8771afd7363a4a5590b2b4a586e3014c026be34
2011-07-04 22:32:21 +09:00
satok e55996373f Removed unused import
Change-Id: I87344f071e982dfc37b17553c5a7054e26009cc7
2011-07-04 22:26:05 +09:00
Tadashi G. Takaoka 5f6816fa8b Move keyboard event handling code to separate LatinKeyboardBaseView class
To sort out the issue, main keyboard and mini keyboard have to share
the pointer trackers.

In order to prepare for that, KeyboardView needs to be refactored as
two separate classes. KeyboardView is responsible for drawing keyboard
visual. And LatinKeyboardBaseView is responsible for handling key
event and mini keyboard as well.

Bug: 4768084

Change-Id: I5643e333b9bdfde0c939a0693cea76bd22f38897
2011-07-04 18:53:50 +09:00
Tadashi G. Takaoka 386899a8b0 Merge "Disable auto-correction when application auto completion has set" 2011-07-04 02:20:05 -07:00
satok 67b5180e85 Merge "Add SettingsActivity" 2011-07-04 02:11:38 -07:00
satok 29387a8922 Merge "Fixed a visibility of a shortcut button" 2011-07-04 02:10:44 -07:00
satok 1be5028dcf Add SettingsActivity
Change-Id: I26d9f90fe18bd7723f1c3c0c9fafbb659cb2f020
2011-07-04 18:08:26 +09:00