aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/ModifierKeyState.java (unfollow)
Commit message (Expand)AuthorFilesLines
2010-09-02Corresponding to TBR of Id2b0b974•••This is follow up change of Id2b0b974fffdf6f09ee1828e957b973d2ce1c315 Bug: 2959169 Change-Id: Ie47db5fce7937a4d70c432ab76510d0dc3f68401 Tadashi G. Takaoka1-2/+2
2010-09-02Corresponding to TBR of Ie6cf6768•••This is follow up change of Ie6cf67681180467bd8ba35d0205ce6727b7684a2 Bug: 2959169 Change-Id: I9e4cb0c9178856ddd6049f0b751b54f3ad26a266 Tadashi G. Takaoka1-4/+3
2010-09-02Encapsulate vertical and horizontal correction values into KeyDetector.•••Bug: 2959169 Change-Id: Id2b0b974fffdf6f09ee1828e957b973d2ce1c315 Tadashi G. Takaoka4-61/+65
2010-09-02Add a number alternation to English popup mini keyboard•••This change is only for English locale. For other locales we should need specification because keyboard layout and alternations are different by locale. Bug: 2959169 Change-Id: Ib63f53ce6c30d75eff78777aa0049b05d58ce55f Tadashi G. Takaoka4-12/+71
2010-09-02Add PointerTracker argument to long press related methods•••This change also adds debugging log to PointerTracker class Bug: 2959169 Change-Id: Ie6cf67681180467bd8ba35d0205ce6727b7684a2 Tadashi G. Takaoka2-15/+33
2010-09-02Decrease LatinKeyboardBaseView_keyPreviewOffset. Popup will be displayed clo...•••Change-Id: I863ade61cb4688214d90b24240743ee7fe16e491 Ken Wakasa1-1/+1
2010-09-02Update assets for LatinIME•••Change-Id: Ia3027b68abcc9a51bc6a21320926b9c8b5c5975a satok17-0/+0
2010-09-02Queuing PointerTracker to support n-key roll-over and shift modifier.•••Bug: 2910379 Change-Id: I5cfae33e72a406585137842a2260310813cee07f Tadashi G. Takaoka4-7/+153
2010-09-02Add modifiers to functional keys•••- update assets for language switcher Change-Id: I8f29d3d38fb73ab5673f9e58cf28ed37cc8b4004 satok23-544/+692
2010-09-02Change the preference name for a theme and remove a preference settings•••Change-Id: I5ad980559477775eb44df022e54ce5ef32398601 satok2-3/+3
2010-09-02Change background color for functional keys in LatinIME•••Change-Id: I45f13c1fd139ce43478e5d0b2cdb62e56e9f77a8 satok6-49/+86
2010-09-01Correction improvements - use the new InputConnection APIs for underlining and•••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 Amith Yamasani3-175/+285
2010-09-02Refactor PointerTracker to add isValidKeyIndex() predicate.•••Bug: 2910379 Change-Id: If2b28764dc777bb62949a95bc61c4a16ff152220 Tadashi G. Takaoka1-22/+32
2010-09-02Add new public attribute mPointerId to PointerTracker•••It is easier to track each pointer if a PointerTracker object keeps its pointer id. Bug: 2910379 Change-Id: If3e3b0cf3d834d22302598f4d85d54c9a4ce92ba Tadashi G. Takaoka2-3/+5
2010-09-02Make abstract KeyDetector class•••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 Tadashi G. Takaoka4-43/+70
2010-09-01Track all pointers events•••Bug: 2910379 Change-Id: I179ae4359afb57c351d5fcc5f5453c30d3ef0c01 Tadashi G. Takaoka3-68/+33
2010-09-01Get rid of arrows in candidate view•••bug: 2959293 Change-Id: Ia5dcb29397f608846f865fabb3c696866b3687aa Ken Wakasa9-131/+5
2010-09-01Fix new theme assets and resources•••- Add a layout for popup for new theme - Change the color of language bar - Fix a drawable for settings feedback Change-Id: I7c0c9e238c8223554a62f7b0c8092d074cf9743f satok4-4/+5
2010-09-01Remove old unused delete key assets•••Change-Id: Id50b0f3069b37e6751a4cfbd374c22c13fb0f505 satok3-0/+0
2010-09-01Remove duplicated assets•••Change-Id: I4f8abf917ff9dfa3c5d31e441476e032fb4ce3a9 satok2-0/+0
2010-09-01Add a new theme for Gingerbread•••bug: 2959293 Change-Id: I8aef19a7485ffd5639a177aee21103b3a1e04cf2 satok7-9/+130
2010-09-01Introduce multiple PointerTracker•••Bug: 2910379 Change-Id: Iefafa2d30ad16f898a00664e4bf3e3e88dcd2cb2 Tadashi G. Takaoka2-27/+55
2010-09-01Add new assets•••- drawable-hdpi/keyboard_popup_panel_background.9.png - drawable-hdpi/voice_ime_background.9.png Change-Id: Iac75c8d488454534a921c59267f2523e47bb5e11 satok2-0/+0
2010-09-01Make KeyDebounce class a top-level class and rename it to PointerTracker•••Bug: 2910379 Change-Id: I9503b2211b272a4a2903d0732985e5ab8ee39440 Tadashi G. Takaoka2-421/+440
2010-09-01Add new assets for LatinIME•••Change-Id: I62b544d6ed2d3ef7a5e37cdcedef7a60d09a1cb2 satok57-1/+1
2010-09-01Always present suggestion strip whenever in appropriate mode.•••Some cleanups too. bug: 2959293 Change-Id: Idf07fc25c5700b69b93ab4b09ce34941f0d9c157 Ken Wakasa1-13/+14
2010-09-01Fix ArrayIndexOutOfBoundsException.•••bug: 2964045 Change-Id: I97d95181e1a6838ace9c135aa92e7f20034e821f Ken Wakasa1-3/+5
2010-08-31Fix UnsatisfiedLinkError for Latin IME. Don't use old NDK version in a platfo...•••Also added a clean step, since it's only a Makefile change. Change-Id: Ide1684a5f34e99496e969edb8443dc4545b57306 Amith Yamasani2-2/+3
2010-09-01Refactor KeyDebounce class•••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. Takaoka1-258/+304
2010-08-31Refactor key preview methods•••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 Tadashi G. Takaoka1-48/+75
2010-08-31Add missing resources for LatinIME•••Change-Id: I470387ab9f9d867c1ac839b75fe18c1ce711083d satok4-0/+0
2010-08-31Add settings button•••- delete unused keyboard layout Change-Id: Iab39446653460797f1ca876a7d9a23190c3a8df6 satok14-293/+93
2010-08-30Import revised translations•••Change-Id: I4de68ff4db492e7efbaafaf01c7d1b97110a948a Eric Fischer21-21/+63
2010-08-30Logging for the VoiceSearch alternates•••Log which voice-based alternates were selected, and what word in the recognition results were replaced. Change-Id: I1527dc794902a18a226ca45e186ecf84841094c8 Conflicts: java/src/com/android/inputmethod/latin/LatinIME.java Maryam Garrett3-18/+21
2010-08-31Remove mAbortKey flag completely•••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. Takaoka1-22/+3
2010-08-30Disable long-press on symbol keys on international locale keyboards.•••This change is supplement of I27007b55a30a3699bf63fd8f64d58c4b23d97d9f Bug: 2910379 Change-Id: I634226a503594e76cea9ca29e32db5801a05ae09 Tadashi G. Takaoka16-160/+0
2010-08-30Remove extension keyboard•••Bug: 2959287 Change-Id: I344ac58b4119e96daf5928c784275ee0b7095958 Tadashi G. Takaoka4-254/+9
2010-08-30Remove unused assets•••Change-Id: I65de6335b19dec03785df51ddd544b7e4d39c036 satok34-0/+0
2010-08-30Remove Log functions from Gingerbread•••Change-Id: I0ab19726a6bfaf14b42c05903f38dfb74cbd0d37 satok5-873/+11
2010-08-30DO NOT MERGE. Remove a preference for bigram suggestion•••Change-Id: I1a9142d988352abf88da5eefe1d02596c7fc2beb satok2-12/+5
2010-08-27Import revised translations. DO NOT MERGE•••Change-Id: I968a456446b782b1e20cad0b6d3c82a8aa9a663a Eric Fischer20-0/+80
2010-08-28Don't re-allocate KeyDebouncer when keyboard is switched.•••This change also re-orders instance variables and eliminates unnecessary ones. Bug: 2910379 Change-Id: I6b2217f75738fada32a33f59f0f7adba5e99dd6e Tadashi G. Takaoka1-94/+94
2010-08-27Revert "Show key preview instantaneously"•••This reverts commit 09f530e248a3caf0037ca89aa79a836385a03fab. Change-Id: I3106cd22cc1eac750f05bce26df6af3026dfaf86 Tadashi G. Takaoka1-4/+28
2010-08-27Show key preview instantaneously•••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. Takaoka1-28/+4
2010-08-27Disable long-press on shift and symbol keys•••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 Tadashi G. Takaoka12-52/+1
2010-08-27Not to reset the ring buffer in LatinImeLogger•••Change-Id: I3286b2562e07d77a9dfd745ad6ec44aae4396e21 satok1-1/+0
2010-08-27Remove unused import statement•••Change-Id: I61890a702060650369c6edf70c3de823a0fc1bf1 Tadashi G. Takaoka1-1/+0
2010-08-27Refactor onModifiedTouchEvent into several methods.•••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 Tadashi G. Takaoka1-102/+115
2010-08-26Refactor getKeyIndexAndNearbyCodes into independent class•••Bug: 2910379 Change-Id: Ib26a898ea108ee4292f9f91b6d7d10c1fc380fd1 Tadashi G. Takaoka2-66/+122
2010-08-26Refactor SwipeTracker class•••This change moves SwipeTracker out from LatinKeyboardBaseView. Also this introduces EventBuffer class for swipe tracking buffer. Bug: 2910379 Change-Id: I48ff714226a248ca063cbaf9755cf45e458f7402 Tadashi G. Takaoka3-67/+245