- Aug 31, 2010
-
-
Amith Yamasani authored
Also added a clean step, since it's only a Makefile change. Change-Id: Ide1684a5f34e99496e969edb8443dc4545b57306
-
Tadashi G. Takaoka authored
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
-
Tadashi G. Takaoka authored
-
Tadashi G. Takaoka authored
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
-
satok authored
-
satok authored
Change-Id: I470387ab9f9d867c1ac839b75fe18c1ce711083d
-
satok authored
- delete unused keyboard layout Change-Id: Iab39446653460797f1ca876a7d9a23190c3a8df6
-
Tadashi G. Takaoka authored
-
- Aug 30, 2010
-
-
Eric Fischer authored
-
Tadashi G. Takaoka authored
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
-
Tadashi G. Takaoka authored
-
Tadashi G. Takaoka authored
This change is supplement of I27007b55a30a3699bf63fd8f64d58c4b23d97d9f Bug: 2910379 Change-Id: I634226a503594e76cea9ca29e32db5801a05ae09
-
Tadashi G. Takaoka authored
Bug: 2959287 Change-Id: I344ac58b4119e96daf5928c784275ee0b7095958
-
satok authored
Change-Id: I65de6335b19dec03785df51ddd544b7e4d39c036
-
satok authored
Change-Id: I0ab19726a6bfaf14b42c05903f38dfb74cbd0d37
-
satok authored
Change-Id: I1a9142d988352abf88da5eefe1d02596c7fc2beb
-
- Aug 28, 2010
-
-
Eric Fischer authored
Change-Id: I968a456446b782b1e20cad0b6d3c82a8aa9a663a
-
- Aug 27, 2010
-
-
Tadashi G. Takaoka authored
This change also re-orders instance variables and eliminates unnecessary ones. Bug: 2910379 Change-Id: I6b2217f75738fada32a33f59f0f7adba5e99dd6e
-
Tadashi G. Takaoka authored
This reverts commit 09f530e2. Change-Id: I3106cd22cc1eac750f05bce26df6af3026dfaf86
-
Tadashi G. Takaoka authored
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
-
Tadashi G. Takaoka authored
-
Tadashi G. Takaoka authored
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
-
satok authored
-
satok authored
Change-Id: I3286b2562e07d77a9dfd745ad6ec44aae4396e21
-
Tadashi G. Takaoka authored
-
Tadashi G. Takaoka authored
Change-Id: I61890a702060650369c6edf70c3de823a0fc1bf1
-
Tadashi G. Takaoka authored
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
-
- Aug 26, 2010
-
-
Tadashi G. Takaoka authored
Bug: 2910379 Change-Id: Ib26a898ea108ee4292f9f91b6d7d10c1fc380fd1
-
Tadashi G. Takaoka authored
This change moves SwipeTracker out from LatinKeyboardBaseView. Also this introduces EventBuffer class for swipe tracking buffer. Bug: 2910379 Change-Id: I48ff714226a248ca063cbaf9755cf45e458f7402
-
satok authored
Change-Id: I57cc6fb6a9eeb65ce8c0c3c3262fd525726643e2
-
Tadashi G. Takaoka authored
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
-
Tadashi G. Takaoka authored
Bug: 2950714 Change-Id: I3110369c085f89ee1e8f7392a9a04a6b9e377ed4
-
- Aug 25, 2010
-
-
Tadashi G. Takaoka authored
Change-Id: I3c15101a769f19b3f3696f315db47c929979b703
-
Tadashi G. Takaoka authored
Bug: 2910379 Change-Id: If0ef09d8b0e7ca1c62b4c5a31bcaa620664868f2
-
Ken Wakasa authored
-
Ken Wakasa authored
Change-Id: I002dcd43b91f9a7911b52ef1d5b7b16acb01209d
-
Tadashi G. Takaoka authored
This change encapsulates mInKeyRepeat (former mRepeatKeyIndex) into UIHandler class. Also this eliminates mCurrentKey and mLastTapTime dependency from repeatKey method. Bug: 2910379 Change-Id: I9351a558be2ebc04de4ebb0d323af4be33bd470c
-
Tadashi G. Takaoka authored
This change eliminates mCurrentKey dependency from openPopupIfRequired method. Also slightly cleanup onModifiedTouchEvent. Bug: 2910379 Change-Id: I90c9b39c46c0bb32ecc6588abfc49eb60315f54c
-
Tadashi G. Takaoka authored
-
Tadashi G. Takaoka authored
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
-