summaryrefslogtreecommitdiffstats
path: root/core/java/android/inputmethodservice
Commit message (Collapse)AuthorAgeFilesLines
* Made paste work in ExtractEditTextGilles Debunne2010-10-081-10/+2
| | | | | | | | | Bug 3064925 Instead of always passing the menu item to the original TextView, do that only for the 'Select word' option. More ExtractEditText magic, but this ZBB so... Change-Id: Ic4cb0526dbb9711e2f13a916b997f480307dcad1
* Initialize Keyboard.Key attributes from parent Keyboard.RowTadashi G. Takaoka2010-09-171-3/+4
| | | | | Bug: 3009940 Change-Id: I22ef3e507c31e46b7581e20bcdd6b5ebc750adfe
* Made text selection work in ExtractEditText. DO NOT MERGEGilles Debunne2010-09-071-1/+10
| | | | | | | | | Change insertion point on tap is no longer handled by the CommitSelectionReceiver (as it is not called by ExtractEditText). Fixed a bug to handle drawing positions when the internal TextView scroller is used. Change-Id: I87398c7109c5527d21dee6abbdb925848244d594
* Fixed single line state on TextView.Gilles Debunne2010-08-311-3/+4
| | | | | | | | singleLine flag is set to false by default. However, when no singleLine or input type is provided, the inputType of the TextView is not set to EditorInfo.TYPE_TEXT_FLAG_MULTI_LINE for edit texts. Change-Id: Id747d3319afcddb3ab6ae0463947e8b3e470ef73
* merge from open-source masterThe Android Open Source Project2010-05-031-6/+10
|\ | | | | | | Change-Id: If72ad6758c9e1bf77c38c4afec6b00ec9d5b89e4
| * Fix an NPE in InputMethodService when mExtractAction is null.Steve Kondik2010-04-281-6/+10
| | | | | | | | | | | | | | | | This happens with certain third-party IMEs. Fixes: http://code.google.com/p/cyanogenmod/issues/detail?id=231 Change-Id: Idf4349ee9c7c8f73c255745bc65b49ba9b593874
* | merge from open-source masterThe Android Open Source Project2010-03-292-21/+46
|\ \ | |/ | | | | Change-Id: I6a8109d11dabc579501c598ab2927cf802797130
| * Fix Memory Leak When Switching Input MethodsDevin Taylor2010-02-242-21/+46
| | | | | | | | | | | | | | | | Fixes a memory leak when input methods are switched. Uses a variety of methods to avoid holding a reference to the InputMethodService which created the binders, which was leaking those InputMethodServices. See http://code.google.com/p/android/issues/detail?id=6661 for reproduction steps.
| * eclair snapshotJean-Baptiste Queru2009-11-135-84/+345
| |
| * donut snapshotJean-Baptiste Queru2009-07-311-4/+5
| |
| * donut snapshotJean-Baptiste Queru2009-05-202-14/+28
| |
| * AI 145383: API review: clean up a bunch of @hides that have been pending API ↵Dianne Hackborn2009-04-091-6/+4
| | | | | | | | | | | | | | | | | | review. Either expose them, or official hide them with an explanation for why. BUG=1779439 Automated import of CL 145383
| * Automated import from //branches/cupcake/...@142829,142829Dianne Hackborn2009-03-251-1/+1
| |
* | Move the key feedback bubble to the side if there's not enough room above. ↵Amith Yamasani2010-03-191-4/+21
| | | | | | | | bug: 2519903
* | Add correct copyright headers to multiple filesKenny Root2010-03-114-1/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Format for the list of changes shows the origin commit reference followed by the file name. 33931-p9 awt/org/apache/harmony/awt/gl/font/AndroidGlyphVector.java 33931-p9 awt/org/apache/harmony/awt/gl/image/PngDecoderJava.java 133776-p9 core/java/android/app/IntentService.java 127013-p9 core/java/android/appwidget/AppWidgetHost.java 27863-p9 core/java/android/bluetooth/BluetoothAudioGateway.java 60765-p9 core/java/android/content/SyncResult.java 43920-p9 core/java/android/content/pm/ActivityInfo.java 43920-p9 core/java/android/content/pm/ApplicationInfo.java 43920-p9 core/java/android/content/pm/InstrumentationInfo.java 43920-p9 core/java/android/content/pm/PackageInfo.java 44103-p9 core/java/android/content/pm/PackageItemInfo.java 68960-p9 core/java/android/content/pm/PackageStats.java 43920-p9 core/java/android/content/pm/ResolveInfo.java 43920-p9 core/java/android/content/pm/ServiceInfo.java 60641-p9 core/java/android/content/res/Configuration.java 60734-p9 core/java/android/content/res/TypedArray.java 137672-p9 core/java/android/inputmethodservice/ExtractButton.java 123112-p9 core/java/android/inputmethodservice/ExtractEditText.java 119291-p9 core/java/android/inputmethodservice/IInputMethodSessionWrapper.java 112946-p9 core/java/android/inputmethodservice/IInputMethodWrapper.java 115078-p9 core/java/android/os/BatteryStats.java 124790-p9 core/java/android/text/style/UpdateAppearance.java 45083-p9 core/java/android/view/RawInputEvent.java 101491-p9 core/java/android/view/inputmethod/EditorInfo.java 114701-p9 core/java/android/view/inputmethod/ExtractedText.java 123112-p9 core/java/android/view/inputmethod/ExtractedTextRequest.java 119291-p9 core/java/com/android/internal/os/HandlerCaller.java 129279-p9 core/java/com/android/internal/os/PkgUsageStats.java 114701-p9 core/java/com/android/internal/view/IInputConnectionWrapper.java 114701-p9 core/java/com/android/internal/view/InputConnectionWrapper.java 84364-p9 opengl/java/android/opengl/EGLLogWrapper.java 11355-p9 opengl/tools/glgen/src/CFunc.java 11355-p9 opengl/tools/glgen/src/CType.java 11355-p9 opengl/tools/glgen/src/CodeEmitter.java 11355-p9 opengl/tools/glgen/src/GenerateGL.java 11355-p9 opengl/tools/glgen/src/JFunc.java 11355-p9 opengl/tools/glgen/src/JType.java 11355-p9 opengl/tools/glgen/src/JniCodeEmitter.java 11355-p9 opengl/tools/glgen/src/ParameterChecker.java 57236-p9 services/java/com/android/server/status/AnimatedImageView.java 66754-p9 services/java/com/android/server/status/CloseDragHandle.java 57188-p9 services/java/com/android/server/status/DateView.java 46928-p9 services/java/com/android/server/status/ExpandedView.java 70590-p9 services/java/com/android/server/status/FixedSizeDrawable.java 45968-p9 services/java/com/android/server/status/IconData.java 57470-p9 services/java/com/android/server/status/IconMerger.java 82719-p9 services/java/com/android/server/status/LatestItemView.java 45968-p9 services/java/com/android/server/status/NotificationData.java 66754-p9 services/java/com/android/server/status/NotificationLinearLayout.java 57458-p9 services/java/com/android/server/status/NotificationViewList.java 45968-p9 services/java/com/android/server/status/StatusBarException.java 45968-p9 services/java/com/android/server/status/StatusBarIcon.java 46130-p9 services/java/com/android/server/status/StatusBarNotification.java 45968-p9 services/java/com/android/server/status/StatusBarView.java 46199-p9 services/java/com/android/server/status/Ticker.java 62286-p9 services/java/com/android/server/status/TickerView.java 57188-p9 services/java/com/android/server/status/TrackingView.java 86041-p9 telephony/java/android/telephony/PhoneStateListener.java 87020-p9 telephony/java/com/android/internal/telephony/TelephonyIntents.java 136269-p9 telephony/java/com/android/internal/telephony/gsm/SpnOverride.java 34409-p9 tests/FrameworkTest/src/com/android/frameworktest/FrameworkTestApplication.java 55717-p9 tests/FrameworkTest/src/com/android/frameworktest/performance/InvalidateCycle.java 128994-p9 tests/ImfTest/src/com/android/imftest/samples/AutoCompleteTextViewActivityLandscape.java 128994-p9 tests/ImfTest/src/com/android/imftest/samples/AutoCompleteTextViewActivityPortrait.java 129372-p9 tests/ImfTest/src/com/android/imftest/samples/BigEditTextActivityNonScrollablePanScan.java 129372-p9 tests/ImfTest/src/com/android/imftest/samples/BigEditTextActivityNonScrollableResize.java 129372-p9 tests/ImfTest/src/com/android/imftest/samples/BigEditTextActivityScrollablePanScan.java 129372-p9 tests/ImfTest/src/com/android/imftest/samples/BigEditTextActivityScrollableResize.java 128994-p9 tests/ImfTest/src/com/android/imftest/samples/BottomEditTextActivityPanScan.java 128994-p9 tests/ImfTest/src/com/android/imftest/samples/BottomEditTextActivityResize.java 127341-p9 tests/ImfTest/src/com/android/imftest/samples/ButtonActivity.java 129347-p9 tests/ImfTest/src/com/android/imftest/samples/DialogActivity.java 129372-p9 tests/ImfTest/src/com/android/imftest/samples/EditTextActivityDialog.java 128994-p9 tests/ImfTest/src/com/android/imftest/samples/ManyEditTextActivityNoScrollPanScan.java 128994-p9 tests/ImfTest/src/com/android/imftest/samples/ManyEditTextActivityScrollPanScan.java 128994-p9 tests/ImfTest/src/com/android/imftest/samples/ManyEditTextActivityScrollResize.java 128994-p9 tests/ImfTest/src/com/android/imftest/samples/OneEditTextActivityNotSelected.java 128994-p9 tests/ImfTest/src/com/android/imftest/samples/OneEditTextActivitySelected.java 25959-p9 tests/framework-tests/src/android/test/FrameworkTests.java 46162-p9 tests/framework-tests/src/com/android/internal/http/multipart/MultipartTest.java 77101-p9 tools/layoutlib/bridge/tests/com/android/layoutlib/bridge/NinePatchTest.java 9788976b1465ce982b5ae7c741345edd0ecd9322 core/java/android/accounts/AuthenticatorDescription.java 53332883543868fb83e111a07306368b7772b340 core/java/android/app/UiModeManager.java 93e7e22ec91dbc641d10ca6d70423e1357a95bba core/java/android/app/FullBackupAgent.java 328c0e7986aa6bb7752ec6de3da9c999920bb55f core/java/android/content/CursorEntityIterator.java 307da1a46b4c9b711bafe8fbaaa6b98e8868c18e core/java/android/content/SyncQueue.java 307da1a46b4c9b711bafe8fbaaa6b98e8868c18e core/java/android/content/SyncOperation.java eb034652c2037a47ebfd99779e8383bb8bb528af core/java/android/content/pm/LabeledIntent.java 49237345d83e62fdb9eb8d50b13ad086636a04fa core/java/android/content/pm/FeatureInfo.java a2b6c3775ed6b8924232d6a01bae4a19740a15f8 core/java/android/content/pm/PackageInfoLite.java 3ecd5f437580e49d80beecd29489d5fb1f7a7db0 core/java/android/content/pm/RegisteredServicesCacheListener.java 5ebbb4a6b3e16f711735ae0615b9a9ea64faad38 core/java/android/content/pm/XmlSerializerAndParser.java c4516a7b62de525e3d6d5e76851bdfaf12c11f05 core/java/android/database/sqlite/SQLiteTransactionListener.java 9bbc21a773cbdfbef2876a75c32bda5839647751 core/java/com/android/internal/backup/LocalTransport.java 21f1bd17b2dfe361acbb28453b3f3b1a110932fa core/java/com/android/internal/content/PackageMonitor.java 4c62fc0e1e5ea9c69a12a7d1cf8b3ec8b2d114a3 core/java/com/android/internal/view/BaseSurfaceHolder.java 4c62fc0e1e5ea9c69a12a7d1cf8b3ec8b2d114a3 core/java/com/android/internal/view/BaseIWindow.java e540833fdff4d58e37c9ba859388e24e2945ed45 core/java/com/android/internal/os/SamplingProfilerIntegration.java 192ab903887bbb8e7c7b6da5c581573850e30f46 core/tests/coretests/src/android/widget/expandablelistview/PositionTesterContextMenuListener.java 1619367ab823150fa8856d419abe02ceb75886f1 media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/MediaProfileReader.java 27f8002e591b5c579f75b2580183b5d1c4219cd4 opengl/tools/glgen/stubs/gles11/glGetString.java 560814f6b11abe83ff0c4ed18cac015c276b3181 opengl/tools/glgen/stubs/gles11/glGetProgramInfoLog.java 560814f6b11abe83ff0c4ed18cac015c276b3181 opengl/tools/glgen/stubs/gles11/glGetShaderInfoLog.java 560814f6b11abe83ff0c4ed18cac015c276b3181 opengl/tools/glgen/stubs/gles11/glShaderSource.java 1c4907ee77392afb768c2f088e0dedbe4239f6fb opengl/tools/glgen/src/GenerateGLES.java 1c4907ee77392afb768c2f088e0dedbe4239f6fb opengl/tools/glgen/src/Jsr239CodeEmitter.java 1c4907ee77392afb768c2f088e0dedbe4239f6fb opengl/tools/glgen/src/GLESCodeEmitter.java 69e21f5f6e0d04539cd92848ea009dd615d88c2c opengl/tests/gldual/src/com/android/gldual/TriangleRenderer.java c028be4f3b8c7476b46859f66c3f33d528adf181 packages/DefaultContainerService/src/com/android/defcontainer/DefaultContainerService.java 7c6efa13f129dbae5319f0981a430d4662f43354 tests/BrowserPowerTest/src/com/android/browserpowertest/PowerMeasurement.java 7c6efa13f129dbae5319f0981a430d4662f43354 tests/BrowserPowerTest/src/com/android/browserpowertest/PowerTestActivity.java 7c6efa13f129dbae5319f0981a430d4662f43354 tests/BrowserPowerTest/src/com/android/browserpowertest/PowerTestRunner.java df8a3f31d871db25e952972c2eb346a71186e9e3 tests/BrowserTestPlugin/src/com/android/testplugin/TestPlugin.java cfaef699e1dfb3a75d5b51f3b15816f13670fd51 tests/permission/src/com/android/framework/permission/tests/ActivityManagerPermissionTests.java cfaef699e1dfb3a75d5b51f3b15816f13670fd51 tests/permission/src/com/android/framework/permission/tests/ServiceManagerPermissionTests.java cfaef699e1dfb3a75d5b51f3b15816f13670fd51 tests/permission/src/com/android/framework/permission/tests/WindowManagerPermissionTests.java Copyright header moved to top in following file: core/tests/coretests/src/android/widget/ListViewTest.java Change-Id: I3c3198be5a0ba36e18679ed834170432bf0b8418
* | Logging to track down an elusive bug with Messaging app losing IME focus in ↵Amith Yamasani2010-03-051-1/+4
| | | | | | | | | | | | landscape. bug: 2200728
* | Fix key debounce (was too aggressive and buggy) and dismiss mini keyboard on ↵Amith Yamasani2010-02-111-2/+6
| | | | | | | | | | | | | | | | cancel event. Set a 70ms debounce time - i.e., if you spend less than 70ms on the touch-up key, which was less time than the time spent on the previous key (assuming they weren't the same), then don't emit the last key. Use the previous key that you lingered on for longer.
* | Fix 2402303: Split Keyboard widget from LatinIME into reusable ↵Jim Miller2010-02-081-0/+0
| | | | | | | | | | | | | | | | | | | | | | PasswordEntryKeyboardView - Added new PasswordEntryKeyboardView to internal/widgets. Widget supports: - alpha mode with symbols (latin-1 only). - a numeric keyboard - IME emulation that applies keyboard input to arbitrary top-level view widget. - Added new transparent assets to framework resources. - Modified Keyguard and Keyguard layouts to use new PasswordEntryKeyboardView.
* | Fix to enable having a primary index that's not the closest match.Amith Yamasani2010-02-081-4/+4
| | | | | | | | Needed for predictive hit target correction in LatinIME.
* | Prevent crash in KeyboardView when the view is 0x0.Romain Guy2010-02-081-1/+4
| | | | | | | | See http://code.google.com/p/android/issues/detail?id=6374
* | am ace8addc: am 2edd6826: Create a new ImeOption that disables fullscreen in ↵Leon Scroggins2010-01-131-1/+8
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | landscape, and use it. Merge commit 'ace8addce47efc03be5038eef48d7fb066b14aae' * commit 'ace8addce47efc03be5038eef48d7fb066b14aae': Create a new ImeOption that disables fullscreen in landscape, and use it.
| * | Create a new ImeOption that disables fullscreen in landscape, and use it.Leon Scroggins2010-01-121-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | EditorInfo: Add a flag to tell the InputMethodService to never go into fullscreen mode. InputMethodService: When the new flag is set, onEvaluateFullscreenMode always returns false. WebTextView: Use the new flag, along with IME_FLAG_NO_EXTRACT_UI. Fixes http://b/issue?id=2358360
* | | Deprecate fill_parent and introduce match_parent.Romain Guy2010-01-081-10/+10
| | | | | | | | | | | | Bug: #2361749.
* | | Fix for 2345922: Press and hold space in ?123 mode will give .....Amith Yamasani2010-01-051-1/+11
|/ / | | | | | | Abort the repeat sequence until the next touch down event.
* | Close popup when Keyboard gets a CANCEL motion event.Amith Yamasani2009-12-081-1/+2
| | | | | | | | Needed for Extension keyboard feature.
* | Fix build.Amith Yamasani2009-10-271-2/+2
| |
* | Disambiguation between multiple pointers and swipe gestures.Amith Yamasani2009-10-271-31/+195
| | | | | | | | | | | | | | | | | | | | Sometimes quickly touching the screen with two fingers will result in the firmware thinking one finger moved very quickly. This code tries to identify the difference between the two based on velocity of the last N points versus the velocity of the last M points and figure out if there was mostly acceleration or a sudden deceleration. It's still not perfect and very dependent on the touch hardware.
* | Fix possible race condition when switching keyboards while there are pending ↵Amith Yamasani2009-09-171-7/+12
| | | | | | | | messages.
* | Last big work on #1991910: Make swipes work with capacitive keysDianne Hackborn2009-09-143-27/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This takes care of allowing us to cancel the back button. The back button is a bear because it is strewn all over the place -- everywhere you can close something, there is some code looking for the back button that now needs to deal with being canceled. The main things changed are activity (of course), dialog, input method, search dialog. There are some other misc places in the framework (and some I missed here that I will get in a second pass). To facility all of this, the key dispatching APIs now provide a lot more support for dealing with looking for cancelled keys, and incidentally also provide an actual API for catching long key presses. This also helped clean up the code in PhoneWindow where it deals with all of the combinations of key pressed and releases. (And also allows people to override Activity.onKeyLongPress() to provide a different long press action for a standard key like search.) And while I was doing this, I reworked how we detect long presses by having this be part of the key event delivered by the window manager. This should greatly reduce (hopefully outright eliminate) the problems with long presses being mis-detected when an application is being slow. Change-Id: Ia19066b8d588d573df3eee6d96e1c90fdc19f57d
* | Fix bug 2045914: When pressing 2 keys, sometimes the second key gets stuck.Amith Yamasani2009-08-191-7/+7
| | | | | | | | | | Also lock repeatable keys so that you don't get space and 'v', for example, when you move just a little bit off the spacebar.
* | Potential fix for NPE at startExtractingText.Amith Yamasani2009-08-191-2/+3
| | | | | | | | | | This is not easy to reproduce. Adding a simple null check to see if the monkeys continue to hit the NPE.
* | Increase search radius for adjacent keys, to reduce unpredictability ofAmith Yamasani2009-08-131-1/+1
| | | | | | | | suggestions.
* | Remove delay for key feedback bubble.Amith Yamasani2009-08-111-2/+2
| | | | | | | | | | Most users seem to expect the feedback to show up right away. So remove the delay before the bubble shows up.
* | Use multi-pointer support to improve 2-thumb typing. No more missed keys!Amith Yamasani2009-08-061-14/+56
| | | | | | | | Also reduce garbage when switching between keyboards.
* | Fix #1977876 : Key preview in WVGA broken.Amith Yamasani2009-07-231-4/+5
| | | | | | | | | | Use PX unit when setting the text size since we're getting the size from getTextSize() Reduce delay for popup.
* | Fix for enabling auto-switch back to alpha mode from symbols.Amith Yamasani2009-07-211-3/+5
| | | | | | | | | | When switching keyboards in the IME view, make sure that any pending touches don't generate up events when released.
* | * update all metrics data when updating density.Mitsuru Oshima2009-05-111-6/+6
| | | | | | | | | | * Keyboard should use DisplayMetrics from Resource rather than getting it from WindowManager as the display metrics can differ under compatibility mode.
* | Fix keyboard redraw bug on long-press of CapsLock.Amith Yamasani2009-05-081-8/+22
| | | | | | | | Expose invalidateKey and invalidateAllKeys for subclasses to call when needed.
* | AI 145778: Manual merge changes 145382-145384 from cupcake.Andy Stadler2009-04-101-6/+4
| | | | | | | | Automated import of CL 145778
* | AI 143147: Manual integrationDianne Hackborn2009-03-271-1/+1
|/ | | | Automated import of CL 143147
* auto import from //branches/cupcake_rel/...@140373The Android Open Source Project2009-03-182-59/+195
|
* auto import from //branches/cupcake_rel/...@138607The Android Open Source Project2009-03-131-27/+69
|
* auto import from //branches/cupcake/...@137873The Android Open Source Project2009-03-112-2/+39
|
* auto import from //branches/cupcake/...@137197The Android Open Source Project2009-03-091-3/+5
|
* auto import from //depot/cupcake/@136594The Android Open Source Project2009-03-054-20/+79
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-039-0/+4720
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-039-4459/+0
|
* auto import from //depot/cupcake/@132589The Android Open Source Project2009-03-033-278/+17
|
* auto import from //depot/cupcake/@137055The Android Open Source Project2009-03-023-17/+278
|
* auto import from //branches/cupcake/...@132569The Android Open Source Project2009-02-201-1/+2
|