aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Queuing PointerTracker to support n-key roll-over and shift ↵Tadashi G. Takaoka2010-09-024-7/+153
|\ | | | | | | modifier." into gingerbread
| * Queuing PointerTracker to support n-key roll-over and shift modifier.Tadashi G. Takaoka2010-09-024-7/+153
| | | | | | | | | | Bug: 2910379 Change-Id: I5cfae33e72a406585137842a2260310813cee07f
* | Change the preference name for a theme and remove a preference settingssatok2010-09-021-1/+1
| | | | | | | | Change-Id: I5ad980559477775eb44df022e54ce5ef32398601
* | Merge "Change background color for functional keys in LatinIME" into gingerbreadsatok2010-09-011-4/+33
|\ \ | |/ |/|
| * Change background color for functional keys in LatinIMEsatok2010-09-021-4/+33
| | | | | | | | Change-Id: I45f13c1fd139ce43478e5d0b2cdb62e56e9f77a8
* | Merge "Refactor PointerTracker to add isValidKeyIndex() predicate." into ↵Tadashi G. Takaoka2010-09-011-22/+32
|\ \ | | | | | | | | | gingerbread
| * | Refactor PointerTracker to add isValidKeyIndex() predicate.Tadashi G. Takaoka2010-09-021-22/+32
| | | | | | | | | | | | | | | Bug: 2910379 Change-Id: If2b28764dc777bb62949a95bc61c4a16ff152220
* | | Correction improvements - use the new InputConnection APIs for underlining andAmith Yamasani2010-09-013-175/+285
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fetching the selected text. Bug: 2950652 Some refinements to correction behavior, such as retaining the tap-to-save when in correction mode. Use reflection to access the new InputConnection APIs with fallbacks, in case we run on older OS versions. Some refactoring to separate lookup for voice alternatives and typed alternatives. Change-Id: I7c4178bf7e6b47ee274c49fa7a694f8c2d50cea7
* | Add new public attribute mPointerId to PointerTrackerTadashi G. Takaoka2010-09-022-3/+5
| | | | | | | | | | | | | | | | It is easier to track each pointer if a PointerTracker object keeps its pointer id. Bug: 2910379 Change-Id: If3e3b0cf3d834d22302598f4d85d54c9a4ce92ba
* | Make abstract KeyDetector classTadashi G. Takaoka2010-09-024-43/+70
|/ | | | | | | | | | The KeyDetector abstracts key detection algorithm. The ProximityKeyDetector is one of its concrete implementations. Another one that might be called XAxisKeyDetector will follow to realize the pop-up mini-keyboard behavior described in bug#2959169. Bug: 2959169 Change-Id: Idd3fc53282e6b721ec7a4ce500af8aba21ce07a3
* Track all pointers eventsTadashi G. Takaoka2010-09-013-68/+33
| | | | | Bug: 2910379 Change-Id: I179ae4359afb57c351d5fcc5f5453c30d3ef0c01
* Get rid of arrows in candidate viewKen Wakasa2010-09-012-86/+3
| | | | | bug: 2959293 Change-Id: Ia5dcb29397f608846f865fabb3c696866b3687aa
* Fix new theme assets and resourcessatok2010-09-011-1/+1
| | | | | | | | - Add a layout for popup for new theme - Change the color of language bar - Fix a drawable for settings feedback Change-Id: I7c0c9e238c8223554a62f7b0c8092d074cf9743f
* Add a new theme for Gingerbreadsatok2010-09-011-3/+3
| | | | | | bug: 2959293 Change-Id: I8aef19a7485ffd5639a177aee21103b3a1e04cf2
* Introduce multiple PointerTrackerTadashi G. Takaoka2010-09-012-27/+55
| | | | | Bug: 2910379 Change-Id: Iefafa2d30ad16f898a00664e4bf3e3e88dcd2cb2
* Merge "Make KeyDebounce class a top-level class and rename it to ↵Tadashi G. Takaoka2010-08-312-421/+440
|\ | | | | | | PointerTracker" into gingerbread
| * Make KeyDebounce class a top-level class and rename it to PointerTrackerTadashi G. Takaoka2010-09-012-421/+440
| | | | | | | | | | Bug: 2910379 Change-Id: I9503b2211b272a4a2903d0732985e5ab8ee39440
* | Always present suggestion strip whenever in appropriate mode.Ken Wakasa2010-09-011-13/+14
|/ | | | | | | Some cleanups too. bug: 2959293 Change-Id: Idf07fc25c5700b69b93ab4b09ce34941f0d9c157
* Fix ArrayIndexOutOfBoundsException.Ken Wakasa2010-09-011-3/+5
| | | | | bug: 2964045 Change-Id: I97d95181e1a6838ace9c135aa92e7f20034e821f
* Refactor KeyDebounce classTadashi G. Takaoka2010-09-011-258/+304
| | | | | | | | | | | | | 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
* Merge "Refactor key preview methods" into gingerbreadTadashi G. Takaoka2010-08-311-48/+75
|\
| * Refactor key preview methodsTadashi G. Takaoka2010-08-311-48/+75
| | | | | | | | | | | | | | | | | | 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
* | Add settings buttonsatok2010-08-311-16/+1
|/ | | | | | - delete unused keyboard layout Change-Id: Iab39446653460797f1ca876a7d9a23190c3a8df6
* Merge "Remove mAbortKey flag completely" into gingerbreadTadashi G. Takaoka2010-08-301-22/+3
|\
| * Remove mAbortKey flag completelyTadashi G. Takaoka2010-08-311-22/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Remove extension keyboardTadashi G. Takaoka2010-08-303-193/+9
| | | | | | | | | | Bug: 2959287 Change-Id: I344ac58b4119e96daf5928c784275ee0b7095958
* | Remove Log functions from Gingerbreadsatok2010-08-303-863/+9
| | | | | | | | Change-Id: I0ab19726a6bfaf14b42c05903f38dfb74cbd0d37
* | DO NOT MERGE. Remove a preference for bigram suggestionsatok2010-08-301-3/+5
|/ | | | Change-Id: I1a9142d988352abf88da5eefe1d02596c7fc2beb
* Don't re-allocate KeyDebouncer when keyboard is switched.Tadashi G. Takaoka2010-08-281-94/+94
| | | | | | | | This change also re-orders instance variables and eliminates unnecessary ones. Bug: 2910379 Change-Id: I6b2217f75738fada32a33f59f0f7adba5e99dd6e
* Revert "Show key preview instantaneously"Tadashi G. Takaoka2010-08-271-4/+28
| | | | | | This reverts commit 09f530e248a3caf0037ca89aa79a836385a03fab. Change-Id: I3106cd22cc1eac750f05bce26df6af3026dfaf86
* Show key preview instantaneouslyTadashi G. Takaoka2010-08-271-28/+4
| | | | | | | | | | | 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
* Merge "Disable long-press on shift and symbol keys" into gingerbreadTadashi G. Takaoka2010-08-262-16/+1
|\
| * Disable long-press on shift and symbol keysTadashi G. Takaoka2010-08-272-16/+1
| | | | | | | | | | | | | | | | | | 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
* | Merge "Not to reset the ring buffer in LatinImeLogger" into gingerbreadsatok2010-08-261-1/+0
|\ \ | |/ |/|
| * Not to reset the ring buffer in LatinImeLoggersatok2010-08-271-1/+0
| | | | | | | | Change-Id: I3286b2562e07d77a9dfd745ad6ec44aae4396e21
* | Merge "Refactor onModifiedTouchEvent into several methods." into gingerbreadTadashi G. Takaoka2010-08-261-102/+115
|\ \ | |/ |/|
| * Refactor onModifiedTouchEvent into several methods.Tadashi G. Takaoka2010-08-271-102/+115
| | | | | | | | | | | | | | | | 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
* | Remove unused import statementTadashi G. Takaoka2010-08-271-1/+0
|/ | | | Change-Id: I61890a702060650369c6edf70c3de823a0fc1bf1
* Refactor getKeyIndexAndNearbyCodes into independent classTadashi G. Takaoka2010-08-262-66/+122
| | | | | Bug: 2910379 Change-Id: Ib26a898ea108ee4292f9f91b6d7d10c1fc380fd1
* Refactor SwipeTracker classTadashi G. Takaoka2010-08-262-67/+91
| | | | | | | | | This change moves SwipeTracker out from LatinKeyboardBaseView. Also this introduces EventBuffer class for swipe tracking buffer. Bug: 2910379 Change-Id: I48ff714226a248ca063cbaf9755cf45e458f7402
* Add a log for getting coordinates of keyssatok2010-08-264-40/+136
| | | | Change-Id: I57cc6fb6a9eeb65ce8c0c3c3262fd525726643e2
* Refactor gesture detector logicTadashi G. Takaoka2010-08-261-23/+9
| | | | | | | | | | | 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
* Fix bugs in key repeat logicTadashi G. Takaoka2010-08-261-6/+8
| | | | | Bug: 2950714 Change-Id: I3110369c085f89ee1e8f7392a9a04a6b9e377ed4
* Refactor SwipeTracker to top level classTadashi G. Takaoka2010-08-252-110/+133
| | | | | Bug: 2910379 Change-Id: If0ef09d8b0e7ca1c62b4c5a31bcaa620664868f2
* Refactor key repeating related codeTadashi G. Takaoka2010-08-251-35/+50
| | | | | | | | | This change encapsulates mInKeyRepeat (former mRepeatKeyIndex) into UIHandler class. Also this eliminates mCurrentKey and mLastTapTime dependency from repeatKey method. Bug: 2910379 Change-Id: I9351a558be2ebc04de4ebb0d323af4be33bd470c
* Refactor long press related codeTadashi G. Takaoka2010-08-251-18/+13
| | | | | | | | This change eliminates mCurrentKey dependency from openPopupIfRequired method. Also slightly cleanup onModifiedTouchEvent. Bug: 2910379 Change-Id: I90c9b39c46c0bb32ecc6588abfc49eb60315f54c
* Merge "Refactor onModifiedTouchEvent of LatinKeyboardBaseView" into gingerbreadTadashi G. Takaoka2010-08-241-34/+36
|\
| * Refactor onModifiedTouchEvent of LatinKeyboardBaseViewTadashi G. Takaoka2010-08-251-34/+36
| | | | | | | | | | | | | | | | | | | | | | 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
* | Clean up LatinIME javasatok2010-08-2410-18/+4
|/ | | | | | | | - remove unused code - add @Override - change the inappropriate cast Change-Id: Ib25b4939e5b4273794ab0f6349776b5b62d89894
* Fix LatinIME crashing due to crash in Contacts DBKen Wakasa2010-08-201-42/+51
| | | | | bug: 2895391 Change-Id: I3a0628942b74556f8b600b63ebc5d808fb2f0abd