aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android (unfollow)
Commit message (Collapse)AuthorFilesLines
2010-08-30DO NOT MERGE. Remove a preference for bigram suggestionsatok1-3/+5
Change-Id: I1a9142d988352abf88da5eefe1d02596c7fc2beb
2010-08-28Don't re-allocate KeyDebouncer when keyboard is switched.Tadashi G. Takaoka1-94/+94
This change also re-orders instance variables and eliminates unnecessary ones. Bug: 2910379 Change-Id: I6b2217f75738fada32a33f59f0f7adba5e99dd6e
2010-08-27Revert "Show key preview instantaneously"Tadashi G. Takaoka1-4/+28
This reverts commit 09f530e248a3caf0037ca89aa79a836385a03fab. Change-Id: I3106cd22cc1eac750f05bce26df6af3026dfaf86
2010-08-27Show key preview instantaneouslyTadashi G. Takaoka1-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
2010-08-27Disable long-press on shift and symbol keysTadashi G. Takaoka12-52/+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
2010-08-27Not to reset the ring buffer in LatinImeLoggersatok1-1/+0
Change-Id: I3286b2562e07d77a9dfd745ad6ec44aae4396e21
2010-08-27Remove unused import statementTadashi G. Takaoka1-1/+0
Change-Id: I61890a702060650369c6edf70c3de823a0fc1bf1
2010-08-27Refactor onModifiedTouchEvent into several methods.Tadashi G. Takaoka1-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
2010-08-26Refactor getKeyIndexAndNearbyCodes into independent classTadashi G. Takaoka2-66/+122
Bug: 2910379 Change-Id: Ib26a898ea108ee4292f9f91b6d7d10c1fc380fd1
2010-08-26Refactor SwipeTracker classTadashi G. Takaoka3-67/+245
This change moves SwipeTracker out from LatinKeyboardBaseView. Also this introduces EventBuffer class for swipe tracking buffer. Bug: 2910379 Change-Id: I48ff714226a248ca063cbaf9755cf45e458f7402
2010-08-26Add a log for getting coordinates of keyssatok4-40/+136
Change-Id: I57cc6fb6a9eeb65ce8c0c3c3262fd525726643e2
2010-08-26Refactor gesture detector logicTadashi G. Takaoka1-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
2010-08-26Fix bugs in key repeat logicTadashi G. Takaoka1-6/+8
Bug: 2950714 Change-Id: I3110369c085f89ee1e8f7392a9a04a6b9e377ed4
2010-08-25Change all-subdir-java-files to all-java-files-under,srcTadashi G. Takaoka1-1/+1
Change-Id: I3c15101a769f19b3f3696f315db47c929979b703
2010-08-25Refactor SwipeTracker to top level classTadashi G. Takaoka2-110/+133
Bug: 2910379 Change-Id: If0ef09d8b0e7ca1c62b4c5a31bcaa620664868f2
2010-08-25Move ImeLoggerTests.java from package to vendorKen Wakasa1-59/+0
Change-Id: I002dcd43b91f9a7911b52ef1d5b7b16acb01209d
2010-08-25Refactor key repeating related codeTadashi G. Takaoka1-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
2010-08-25Refactor long press related codeTadashi G. Takaoka1-18/+13
This change eliminates mCurrentKey dependency from openPopupIfRequired method. Also slightly cleanup onModifiedTouchEvent. Bug: 2910379 Change-Id: I90c9b39c46c0bb32ecc6588abfc49eb60315f54c
2010-08-25Refactor onModifiedTouchEvent of LatinKeyboardBaseViewTadashi G. Takaoka1-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
2010-08-24Clean up LatinIME javasatok10-18/+4
- remove unused code - add @Override - change the inappropriate cast Change-Id: Ib25b4939e5b4273794ab0f6349776b5b62d89894
2010-08-20Fix LatinIME crashing due to crash in Contacts DBKen Wakasa1-42/+51
bug: 2895391 Change-Id: I3a0628942b74556f8b600b63ebc5d808fb2f0abd
2010-08-20Fix an NPE found in KeyboardSwitcher.isAlphabetMode()Ken Wakasa2-1/+4
Change-Id: I03d3d9b25147632d25c1502f796acad4cdaeb239
2010-08-20DO NOT MERGE. Backport LatinIME from master to Gingerbreadsatok228-729/+11428
TODO: Cleanup will follow. Change-Id: I4a68ba9f2f55760aa24187f1f13fdfa8a0b70963
2010-08-18Fix a bug in backspace handling for the "Tap again to save"Ken Wakasa2-2/+27
bug: 2889273 Change-Id: I0f317e203f368f5f47738154a6dee0f556d56148
2010-08-06Fix a bug in backspace handling for the "Tap again to save"Ken Wakasa2-2/+27
bug: 2889273 Change-Id: I0f317e203f368f5f47738154a6dee0f556d56148
2010-08-04Import revised translations. DO NOT MERGEEric Fischer20-80/+40
Change-Id: Ia4de960b5d1168d49b7a97b22751fde11047f5ea
2010-07-22Fix bug: 2693836 - Russian keyboard is missing a letterAmith Yamasani1-1/+3
2010-07-17Backport https://android-git.corp.google.com/g/#change,52371 to Froyo. Fix ↵Ken Wakasa1-1/+3
bug: 2693836 - Russian keyboard is missing a letter Change-Id: Ic931991bc188f646d30a399bb0b268f415f12051
2010-06-21Import revised translationsKenny Root1-1/+1
Change-Id: If4c56c6cea6a99cc784e3e16457a43ca550fdefa
2010-06-09Import revised translationsKenny Root1-1/+1
Change-Id: I7ffd12b24b3946d83899813c498c32eea0b75de0
2010-05-17Import revised translationsKenny Root2-7/+7
Change-Id: I05cc3d1908de8a9a9765f4887cdf641639e65cfd
2010-05-07Fix hardcoded "isDefault" settingsatok1-1/+1
Bug:2661261 - Changed true to @bool/im_is_default - isDefault was changed in https://android-git.corp.google.com/g/#patch,sidebyside,37627,3,res/xml/method.xml by mistake Change-Id: Id1c20c292bed27523fb41f32514f2abdee11f992
2010-05-05For issue #2651381, allow library prelinking.Dan Bornstein1-2/+0
Change-Id: If7015f2fa5932f69807797ffcc496550d5cb1630
2010-05-03Don't auto-select the system language in IME language selection screen.Amith Yamasani4-6/+29
Fixes http://b/2650378 On entering the selection screen, don't add the system language in addition to other selected languages. Change-Id: Id7a3b45df39a8493d17be668029eee139bf00ff3
2010-04-27Import revised translationsKenny Root17-107/+107
Change-Id: I1050cb361860cbea36bba762d37b4558dee8cecb
2010-04-27Remove .com key from URL and Email address keyboards. Bug: 2630268Amith Yamasani5-30/+30
Have the spacebar be normal width and remove the .com keys. Change-Id: I470ee4ffa2c84b91e3207e016c99bc66b34ef564
2010-04-15Fix for hanging extension keyboard. Bug: 2593488Amith Yamasani1-2/+4
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
2010-04-14Import revised translationsKenny Root1-1/+1
Change-Id: I2d221b9501462110848592e76c6bd8490f2b209e
2010-04-12Fix for: For Voice IME busy circle displayed below waveformValentin Kravtsov2-6/+4
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
2010-04-06Possible fix for monkey bug: 2529350Amith Yamasani1-0/+4
Don't try to show the extension if the main keyboard is not showing. Change-Id: Ic3368f48f8973dedfb1ab8f4644b0766b52aed1b
2010-04-06Fix for 2568664 : Slide gesture on spacebar is not reliable anymoreAmith Yamasani1-1/+9
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
2010-04-05Clarify licensingJean-Baptiste Queru16-16/+206
-use AOSP copyright instead of Google -add NOTICE and tag file Bug: 2548782 Change-Id: If50b2e9e9cc4b4876b0d047fc9f34e2d537a6da4
2010-04-01Fix for 2559069 IME ".com" should be erasable with one backspaceAmith Yamasani1-0/+15
Change-Id: Ifef97a9b66e051fef7ca8b0a92bfe21f3d1e6cf6
2010-03-31Treat fast moves as multi-touch. Bug: 2561786Amith Yamasani1-3/+111
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
2010-03-31Avoid race conditions between queries and closing of the auto_dict database.Amith Yamasani1-29/+33
Keep a reference to the openhelper around across locale and input language changes. Also, share the openhelper between the queries and updates. Creating a new one in a separate thread could cause it to be closed at the wrong time. Monkey bugs, probably dupes. Bug: 2560471 Bug: 2544169 Change-Id: I6eb39145de7191732ddde455728bf147a2d1ba31
2010-03-30Fix bug 2553592 API REVIEW: android.speechJean-Michel Trivi3-19/+19
Change 3 of 4 Notes from API Council review: Rename RecognitionManager to SpeechRecognizer Change-Id: Ieea0ade975b7c01f1fccb83a78a5b8f75e0c62de
2010-03-30Import revised translationsKenny Root7-13/+13
Change-Id: If95d873337fa1f368fd098a5ba4497bff6dc65b6
2010-03-29Fix build: track the naming changeChristopher Tate1-2/+2
Change-Id: I73de0733fe988e5723828a2557b4648b8dd3f5b9
2010-03-29Fix build breakage due to api changeAmith Yamasani1-2/+2
Change-Id: I72661c51f277cb9aa3df0bd5a16756408b53ab7f
2010-03-24Don't auto-add when in suggest-only mode. Bug: 2521344Amith Yamasani2-8/+14
Also don't highlight quickfixes when in suggest-only mode In general, reduce the situations where words are auto-added. It was too eagerly adding even words that were in the dictionary.