aboutsummaryrefslogtreecommitdiffstats
path: root/java/src (unfollow)
Commit message (Collapse)AuthorFilesLines
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.
2010-03-23Write the auto dictionary data to disk in a background thread to avoid ↵Amith Yamasani2-27/+72
blocking the UI thread. Bug: 2536846 This also potentially fixes the occasional hangs on pressing space. Need to verify. Bug: 2509010
2010-03-19Potential fix for extension keyboard not cleaning up bubbles sometimes.Amith Yamasani2-7/+37
This might also fix the keyboard closing suddenly when using the extension. Re-enable bubble for landscape extension keyboard, since the framework can now display it to the side.
2010-03-17Import revised translationsKenny Root20-262/+380
Change-Id: Id1db465dcf22f183bbf365f25905f408b51709f6
2010-03-17Fix a StringIndexOutOfBounds. Bug: 2524050Amith Yamasani1-1/+1
2010-03-17Remove popup for extension keyboard in landscape. bug: 2519903Amith Yamasani3-2/+31
Also add a summary text in the input language list for languages with a dictionary so that users don't feel cheated when they pick a language that doesn't happen to have a dictionary. Remove greek as it isn't an extension of the QWERTY keyboard.
2010-03-16Remove the shared uid for LatinIMEAmith Yamasani1-2/+2
Bug: 2512241 Since we cannot market update apps with shared uid, had to be removed. Added READ_CONTACTS permission, now that it has a non-shared uid.
2010-03-15Update Swedish keyboard layout to not use external strings.Fredrik Roubert2-53/+27
2010-03-15Fixes the over-logging of TextModifiedMaryam Garrett3-11/+179
We were overlogging the TextMoified action because the old implementation would log a cursor change as a text modification. This CL logs 4 specific actions (choose suggestion, delete text, insert text, insert punctuation) as a text modification rather than any action in the textbox I also add in logging of the length of the recognition result so that we can get some more context around the scope of the editing of the ime result. Change-Id: I172df24ddc0a7b62bcc5ed806fd70ef7e1c42310
2010-03-14Fix occasional correction errors in suggesting obvious corrections.Amith Yamasani1-0/+16
Bug: 2513996 The array of adjacent letters did not have the primary code in the first position. Swap the codes around to make the primary the first one. Change-Id: Id753254c88d440d3d76dbc048d123dfc78edf58d
2010-03-12Fix bug: 2512075 : Current input language resets to first in list on ↵Amith Yamasani1-9/+13
orientation change Have separate variables for system locale and input locale.