| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|/
|
|
|
|
|
| |
Some cleanups too.
bug: 2959293
Change-Id: Idf07fc25c5700b69b93ab4b09ce34941f0d9c157
|
|
|
|
|
| |
bug: 2964045
Change-Id: I97d95181e1a6838ace9c135aa92e7f20034e821f
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change moves the following methods into KeyDebounce class.
- MotionEvent handling methods (onDownEvent etc.).
- Keyboard action event generator method (detectAndSendKey).
- Multi-tap key support methods (resetMultiTap etc.).
- Key preview text generator method (getPreviewText).
The change that makes KeyDebounce a top-level class will follow.
Bug: 2910379
Change-Id: I1526c0461e247d97f0c4b3bd580330f137c787be
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Extract key press and release handling out of previewKey() to
KeyDebouncer class. And pass Key object as argument of previewKey()
instead of key index.
Bug: 2910379
Change-Id: Ifec39cfc4845bd92da2f62eba2b26ac6a5cbb341
|
|/
|
|
|
|
| |
- delete unused keyboard layout
Change-Id: Iab39446653460797f1ca876a7d9a23190c3a8df6
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
These three conditions assign true to the mAbortKey flag.
1. setKeyboard() sets the new keyboard layout.
2. long press shows the pop-up mini keyboard.
3. ACTION_CANCEL event is occurred.
In the case 1, in LatinIME so far, only "symbol key" and "language
switch" cause keyboard layout change. In both cases, the event is
occurred in onUpEvent(), so we do not need to worry about aborting
event.
In the case 2, long press is used only to pop-up mini-keyboard and at that
time mMiniKeyboardOnScreen could be used as a flag.
In the case 3, though I'm not sure when this case occurs, in
onCancelEvent() all the things that should be canceled are canceled
in onCancelEvent().
Bug: 2910379
Change-Id: I12377c5f3e808f1c017ce980e12b1513895047bc
|
| |
| |
| |
| |
| | |
Bug: 2959287
Change-Id: I344ac58b4119e96daf5928c784275ee0b7095958
|
| |
| |
| |
| | |
Change-Id: I0ab19726a6bfaf14b42c05903f38dfb74cbd0d37
|
|/
|
|
| |
Change-Id: I1a9142d988352abf88da5eefe1d02596c7fc2beb
|
|
|
|
|
|
|
|
| |
This change also re-orders instance variables and eliminates
unnecessary ones.
Bug: 2910379
Change-Id: I6b2217f75738fada32a33f59f0f7adba5e99dd6e
|
|
|
|
|
|
| |
This reverts commit 09f530e248a3caf0037ca89aa79a836385a03fab.
Change-Id: I3106cd22cc1eac750f05bce26df6af3026dfaf86
|
|
|
|
|
|
|
|
|
|
|
| |
This change will display the key board preview instantaneously when
the key is pressed. Dismissing the key preview will be delayed
slightly after the key is released, as we do now.
Because in multi touch mode, we should instantaneously change keyboard
layout when modifier key, such as shit and symbol, is pressed.
Change-Id: I49348d563ca0f40f5a0a236bdcd0bb07eedd599b
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Long-press on shift and symbol keys will conflict with press-and-hold
these keys and press normal key (a.k.a. multi touch support).
Bug: 2910379
Change-Id: I27007b55a30a3699bf63fd8f64d58c4b23d97d9f
|
|\ \
| |/
|/| |
|
| |
| |
| |
| | |
Change-Id: I3286b2562e07d77a9dfd745ad6ec44aae4396e21
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| |
| |
| | |
This change eliminates the need of extra MotionEvent allocation. Also
this will lead to the easy way to handle multi touch events.
Bug: 2910379
Change-Id: Ibcfcba554b732c13105f91877b41b553ee6928ba
|
|/
|
|
| |
Change-Id: I61890a702060650369c6edf70c3de823a0fc1bf1
|
|
|
|
|
| |
Bug: 2910379
Change-Id: Ib26a898ea108ee4292f9f91b6d7d10c1fc380fd1
|
|
|
|
|
|
|
|
|
| |
This change moves SwipeTracker out from LatinKeyboardBaseView. Also
this introduces EventBuffer class for swipe tracking buffer.
Bug: 2910379
Change-Id: I48ff714226a248ca063cbaf9755cf45e458f7402
|
|
|
|
| |
Change-Id: I57cc6fb6a9eeb65ce8c0c3c3262fd525726643e2
|
|
|
|
|
|
|
|
|
|
|
| |
GestureDetector listener's onFling method will not call detectAndSendKey
anymore.
Make gesture detector be ignoring multitouch. Refactoring
GestureDetector out of LatinKeyboardBaseView class change will follow.
Bug: 2910379
Change-Id: I0b2a9c4cf7d432f89f9085f3c2bdf3a3757a8903
|
|
|
|
|
| |
Bug: 2950714
Change-Id: I3110369c085f89ee1e8f7392a9a04a6b9e377ed4
|
|
|
|
|
| |
Bug: 2910379
Change-Id: If0ef09d8b0e7ca1c62b4c5a31bcaa620664868f2
|
|
|
|
|
|
|
|
|
| |
This change encapsulates mInKeyRepeat (former mRepeatKeyIndex) into
UIHandler class. Also this eliminates mCurrentKey and mLastTapTime
dependency from repeatKey method.
Bug: 2910379
Change-Id: I9351a558be2ebc04de4ebb0d323af4be33bd470c
|
|
|
|
|
|
|
|
| |
This change eliminates mCurrentKey dependency from openPopupIfRequired
method. Also slightly cleanup onModifiedTouchEvent.
Bug: 2910379
Change-Id: I90c9b39c46c0bb32ecc6588abfc49eb60315f54c
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This change simplifies onModifierTouchEvent to focus on handling
motion event related to a key event.
Other refactoring will follow in order to support multi touch.
Bug: 2910379
Change-Id: I036be64168d951a535600a7910b36bc109f88490
|
|/
|
|
|
|
|
|
| |
- remove unused code
- add @Override
- change the inappropriate cast
Change-Id: Ib25b4939e5b4273794ab0f6349776b5b62d89894
|
|
|
|
|
| |
bug: 2895391
Change-Id: I3a0628942b74556f8b600b63ebc5d808fb2f0abd
|
|
|
|
| |
Change-Id: I03d3d9b25147632d25c1502f796acad4cdaeb239
|
|
|
|
|
|
| |
TODO: Cleanup will follow.
Change-Id: I4a68ba9f2f55760aa24187f1f13fdfa8a0b70963
|
|\
| |
| |
| |
| |
| |
| | |
Merge commit '6558253160e2039c87f424bd814f402ecd31de3b' into gingerbread
* commit '6558253160e2039c87f424bd814f402ecd31de3b':
Fix a bug in backspace handling for the "Tap again to save"
|
| |
| |
| |
| |
| | |
bug: 2889273
Change-Id: I0f317e203f368f5f47738154a6dee0f556d56148
|
|\|
| |
| |
| |
| |
| |
| |
| |
| | |
selection screen.
Merge commit 'f02964264f196447b03a88591a2964b67c318718' into froyo-plus-aosp
* commit 'f02964264f196447b03a88591a2964b67c318718':
Don't auto-select the system language in IME language selection screen.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fixes http://b/2650378
On entering the selection screen, don't add the system language in addition
to other selected languages.
Change-Id: Id7a3b45df39a8493d17be668029eee139bf00ff3
|
|\|
| |
| |
| |
| |
| |
| | |
Merge commit '938c178215d38c6f085b32b0994598f9e8bc5ab5' into froyo-plus-aosp
* commit '938c178215d38c6f085b32b0994598f9e8bc5ab5':
Fix for hanging extension keyboard. Bug: 2593488
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Sometimes the only motion event that is above the keyboard is the UP
event. In that case we can't expect one more event to come that will
dismiss the extension. So don't show the extension if the only Y < 0
event is an UP event.
Change-Id: I04a8b742dea03cd700006dc5df740ac7d9620c0b
|
|\|
| |
| |
| |
| |
| |
| | |
Merge commit 'f9d0f3a81ad4220672f90a8799a79e63e53c46d3' into froyo-plus-aosp
* commit 'f9d0f3a81ad4220672f90a8799a79e63e53c46d3':
Fix for: For Voice IME busy circle displayed below waveform
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
bugfix for: http://b/issue?id=2568048
[Sapphire] ]For Voice IME busy circle displayed below waveform.
STEPS TO REPRODUCE:
1. launch Calendar . -> Select menu -> New Event.
2. Switch soft keyboard to Number view.
3. Tap on mic symbol of to speak
4. Speak any word to enter in Text field .
5. Verify busy icon ( circular icon ) displayed in "working " screen.
EXPECTED RESULTS:
Busy circle should be displayed in center of waveform
OBSERVED RESULTS:
Busy circle displayed below waveform
ADDITIONAL INFORMATION:
Spoken word is enetering in text field correctly.
Change-Id: I043ce6a985f526cade0e9f63525619a92d918485
|
|\|
| |
| |
| |
| |
| |
| | |
Merge commit 'c2b8c16bdf392c81785031483d21740c5e883046' into froyo-plus-aosp
* commit 'c2b8c16bdf392c81785031483d21740c5e883046':
Possible fix for monkey bug: 2529350
|
| |
| |
| |
| |
| |
| | |
Don't try to show the extension if the main keyboard is not showing.
Change-Id: Ic3368f48f8973dedfb1ab8f4644b0766b52aed1b
|
|\|
| |
| |
| |
| |
| |
| | |
Merge commit '3e0c82ec80a69c4adbd60546c3c56c83c43ec7eb' into froyo-plus-aosp
* commit '3e0c82ec80a69c4adbd60546c3c56c83c43ec7eb':
Fix for 2568664 : Slide gesture on spacebar is not reliable anymore
|
| |
| |
| |
| |
| |
| |
| |
| | |
This was due to the multi-touch error correction code that was recently
added. Make sure that one of the move points is in the upper 3 rows
to allow for fast swipe on spacebar.
Change-Id: I420bdb83a4cd8833c4158bc37a2d806b8c83b948
|
|/
|
|
|
|
|
|
| |
-use AOSP copyright instead of Google
-add NOTICE and tag file
Bug: 2548782
Change-Id: If50b2e9e9cc4b4876b0d047fc9f34e2d537a6da4
|
|
|
|
| |
Change-Id: Ifef97a9b66e051fef7ca8b0a92bfe21f3d1e6cf6
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Detect sudden moves that have a large delta that would not be a typical drag
by the user when hunting for a key. Drop move events until the user releases
the touch and register both starting and ending keys instead of only the
ending key. This reduces the frequency of dropped keys on touch hardware that
isn't able to detect multi-touch reliably.
This also takes into account diagonal moves or right angled moves due to
pseudo-multi-touch.
It weakens the swipe gestures (to swipe, you'll need to swipe slowly and fully,
otherwise it will trigger 2 keys)
Change-Id: Ieba3a0bef4c8910f0f17aa20baedb3581d1de12b
|