aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2010-09-03Add a showing input method picker option by longpressing setting keysatok2-4/+47
Bug: 2959271 Change-Id: I4b7e9a2de3cbe17b168ed8d0541a9b1cd9a9e107
2010-09-03Followup TBR in I87060049Tadashi G. Takaoka1-2/+33
This change is followup TBR in I87060049cad6f9d6432b6c4a246c15587ae0d837 Change-Id: I02ee33da269162f5e95ce5b985dbf5094ba14c0d
2010-09-03Update delete keysatok1-0/+0
Change-Id: I0348e4846131f9913b4ab6c2c2a9427a9a53c74e
2010-09-03Change symbol on space bar when autocompletion is activatedsatok5-27/+68
bug: 2959279 Change-Id: Icc70b7cce0c245ae2451d324debd346f226b8769
2010-09-03Fix NPE in LatinKeyboardBaseViewTadashi G. Takaoka2-42/+39
This change also refactors some mini-keyboard related methods in LatinKeyboardBaseView and PointerTracker class. Bug: 2973236 Change-Id: I3190fe89ea3ac3c6d351ed4b6d77de98a0aa65db
2010-09-03Propagate preview enable attribute to mini-keyboardTadashi G. Takaoka1-0/+1
Bug: 2959169 Change-Id: Iea1bec44baf3344d9f91280bd2b8f28476cbcf51
2010-09-03Remove close button from mini keyboardTadashi G. Takaoka11-66/+1
Bug: 2959169 Change-Id: I9c78f9417aaa448b8b23596bc3e748fe99085393
2010-09-03Support sliding pop-up mini-keyboard inputTadashi G. Takaoka2-30/+74
TODO: - Remove close button on mini-keyboard - Dismiss mini-keyboard when finger leave the screen while no key is selected This change also renames some instance variables to have more meaningful name. Bug: 2959169 Change-Id: I9fd79116a647d7be82415c6e9e7cdaf6edcb2bf6
2010-09-03Refactor KeyDetector to share more methodsTadashi G. Takaoka2-10/+19
Bug: 2959169 Change-Id: I87060049cad6f9d6432b6c4a246c15587ae0d837
2010-09-02Corresponding to TBR of Id2b0b974Tadashi G. Takaoka1-2/+2
This is follow up change of Id2b0b974fffdf6f09ee1828e957b973d2ce1c315 Bug: 2959169 Change-Id: Ie47db5fce7937a4d70c432ab76510d0dc3f68401
2010-09-02Corresponding to TBR of Ie6cf6768Tadashi G. Takaoka1-4/+3
This is follow up change of Ie6cf67681180467bd8ba35d0205ce6727b7684a2 Bug: 2959169 Change-Id: I9e4cb0c9178856ddd6049f0b751b54f3ad26a266
2010-09-02Encapsulate vertical and horizontal correction values into KeyDetector.Tadashi G. Takaoka4-61/+65
Bug: 2959169 Change-Id: Id2b0b974fffdf6f09ee1828e957b973d2ce1c315
2010-09-02Add a number alternation to English popup mini keyboardTadashi G. Takaoka4-12/+71
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
2010-09-02Add PointerTracker argument to long press related methodsTadashi G. Takaoka2-15/+33
This change also adds debugging log to PointerTracker class Bug: 2959169 Change-Id: Ie6cf67681180467bd8ba35d0205ce6727b7684a2
2010-09-02Decrease LatinKeyboardBaseView_keyPreviewOffset. Popup will be displayed ↵Ken Wakasa1-1/+1
closer to each key typed. Change-Id: I863ade61cb4688214d90b24240743ee7fe16e491
2010-09-02Update assets for LatinIMEsatok17-0/+0
Change-Id: Ia3027b68abcc9a51bc6a21320926b9c8b5c5975a
2010-09-02Queuing PointerTracker to support n-key roll-over and shift modifier.Tadashi G. Takaoka4-7/+153
Bug: 2910379 Change-Id: I5cfae33e72a406585137842a2260310813cee07f
2010-09-02Add modifiers to functional keyssatok23-544/+692
- update assets for language switcher Change-Id: I8f29d3d38fb73ab5673f9e58cf28ed37cc8b4004
2010-09-02Change the preference name for a theme and remove a preference settingssatok2-3/+3
Change-Id: I5ad980559477775eb44df022e54ce5ef32398601
2010-09-02Change background color for functional keys in LatinIMEsatok6-49/+86
Change-Id: I45f13c1fd139ce43478e5d0b2cdb62e56e9f77a8
2010-09-01Correction improvements - use the new InputConnection APIs for underlining andAmith Yamasani3-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
2010-09-02Refactor PointerTracker to add isValidKeyIndex() predicate.Tadashi G. Takaoka1-22/+32
Bug: 2910379 Change-Id: If2b28764dc777bb62949a95bc61c4a16ff152220
2010-09-02Add new public attribute mPointerId to PointerTrackerTadashi G. Takaoka2-3/+5
It is easier to track each pointer if a PointerTracker object keeps its pointer id. Bug: 2910379 Change-Id: If3e3b0cf3d834d22302598f4d85d54c9a4ce92ba
2010-09-02Make abstract KeyDetector classTadashi G. Takaoka4-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
2010-09-01Track all pointers eventsTadashi G. Takaoka3-68/+33
Bug: 2910379 Change-Id: I179ae4359afb57c351d5fcc5f5453c30d3ef0c01
2010-09-01Get rid of arrows in candidate viewKen Wakasa9-131/+5
bug: 2959293 Change-Id: Ia5dcb29397f608846f865fabb3c696866b3687aa
2010-09-01Fix new theme assets and resourcessatok4-4/+5
- Add a layout for popup for new theme - Change the color of language bar - Fix a drawable for settings feedback Change-Id: I7c0c9e238c8223554a62f7b0c8092d074cf9743f
2010-09-01Remove old unused delete key assetssatok3-0/+0
Change-Id: Id50b0f3069b37e6751a4cfbd374c22c13fb0f505
2010-09-01Remove duplicated assetssatok2-0/+0
Change-Id: I4f8abf917ff9dfa3c5d31e441476e032fb4ce3a9
2010-09-01Add a new theme for Gingerbreadsatok7-9/+130
bug: 2959293 Change-Id: I8aef19a7485ffd5639a177aee21103b3a1e04cf2
2010-09-01Introduce multiple PointerTrackerTadashi G. Takaoka2-27/+55
Bug: 2910379 Change-Id: Iefafa2d30ad16f898a00664e4bf3e3e88dcd2cb2
2010-09-01Add new assetssatok2-0/+0
- drawable-hdpi/keyboard_popup_panel_background.9.png - drawable-hdpi/voice_ime_background.9.png Change-Id: Iac75c8d488454534a921c59267f2523e47bb5e11
2010-09-01Make KeyDebounce class a top-level class and rename it to PointerTrackerTadashi G. Takaoka2-421/+440
Bug: 2910379 Change-Id: I9503b2211b272a4a2903d0732985e5ab8ee39440
2010-09-01Add new assets for LatinIMEsatok57-1/+1
Change-Id: I62b544d6ed2d3ef7a5e37cdcedef7a60d09a1cb2
2010-09-01Always present suggestion strip whenever in appropriate mode.Ken Wakasa1-13/+14
Some cleanups too. bug: 2959293 Change-Id: Idf07fc25c5700b69b93ab4b09ce34941f0d9c157
2010-09-01Fix ArrayIndexOutOfBoundsException.Ken Wakasa1-3/+5
bug: 2964045 Change-Id: I97d95181e1a6838ace9c135aa92e7f20034e821f
2010-08-31Fix UnsatisfiedLinkError for Latin IME. Don't use old NDK version in a ↵Amith Yamasani2-2/+3
platform build. Also added a clean step, since it's only a Makefile change. Change-Id: Ide1684a5f34e99496e969edb8443dc4545b57306
2010-09-01Refactor KeyDebounce classTadashi G. Takaoka1-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
2010-08-31Refactor key preview methodsTadashi G. Takaoka1-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
2010-08-31Add missing resources for LatinIMEsatok4-0/+0
Change-Id: I470387ab9f9d867c1ac839b75fe18c1ce711083d
2010-08-31Add settings buttonsatok14-293/+93
- delete unused keyboard layout Change-Id: Iab39446653460797f1ca876a7d9a23190c3a8df6
2010-08-30Import revised translationsEric Fischer21-21/+63
Change-Id: I4de68ff4db492e7efbaafaf01c7d1b97110a948a
2010-08-30Logging for the VoiceSearch alternatesMaryam Garrett3-18/+21
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
2010-08-31Remove mAbortKey flag completelyTadashi G. Takaoka1-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
2010-08-30Disable long-press on symbol keys on international locale keyboards.Tadashi G. Takaoka16-160/+0
This change is supplement of I27007b55a30a3699bf63fd8f64d58c4b23d97d9f Bug: 2910379 Change-Id: I634226a503594e76cea9ca29e32db5801a05ae09
2010-08-30Remove extension keyboardTadashi G. Takaoka4-254/+9
Bug: 2959287 Change-Id: I344ac58b4119e96daf5928c784275ee0b7095958
2010-08-30Remove unused assetssatok34-0/+0
Change-Id: I65de6335b19dec03785df51ddd544b7e4d39c036
2010-08-30Remove Log functions from Gingerbreadsatok5-873/+11
Change-Id: I0ab19726a6bfaf14b42c05903f38dfb74cbd0d37
2010-08-30DO NOT MERGE. Remove a preference for bigram suggestionsatok2-12/+5
Change-Id: I1a9142d988352abf88da5eefe1d02596c7fc2beb
2010-08-27Import revised translations. DO NOT MERGEEric Fischer20-0/+80
Change-Id: I968a456446b782b1e20cad0b6d3c82a8aa9a663a