summaryrefslogtreecommitdiffstats
path: root/core/java/android
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | Make sure to acknowledge stale broadcastsChristopher Tate2009-12-081-2/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If a broadcast arrives at a process but the receiver has been unregistered in the interval between dispatch and its arrival on the receiving process's side, we were simply dropping the broadcast entirely, leading to spurious ANRs and potentially issues involving future broadcasts being timed out incorrectly. Fix this by making sure to correctly 'finish' a broadcast even when the recipient app no longer has any receiver that matches the broadcast's profile. Change-Id: If990cab021a26668052cb536753f6c308d80a5b4
* | | | | | Remove the code where we suspect webkit draw duringGrace Kloba2009-12-081-25/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | drag. It was added for the better performance of panning while loading. But it does make sites using touch event look bad as we don't have the display tree until touch up. Fix http://b/issue?id=2310295
* | | | | | Merge change I96ddd6e2 into eclair-mr2Android (Google) Code Review2009-12-083-263/+16
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | | | | | | | | | | | | | * changes: Migration to TrafficStats.
| * | | | | Migration to TrafficStats.Ken Shirriff2009-12-083-263/+16
| | | | | | | | | | | | | | | | | | | | | | | | TrafficStats is the SDK version of NetStat.
* | | | | | Merge change Ia28d9547 into eclair-mr2Android (Google) Code Review2009-12-082-13/+24
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: Expose SearchableInfo and getSearchablesInGlobalSearch()
| * | | | | | Expose SearchableInfo and getSearchablesInGlobalSearch()Bjorn Bringert2009-12-082-13/+24
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is needed for search unbundling. Fixes http://b/issue?id=2270838 Change-Id: Ia28d954736c9afd68da22a38da966ed780d797c2
* | | | | | Merge change I237c1cee into eclair-mr2Android (Google) Code Review2009-12-082-2/+6
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: Improve exception message thrown when a View's state is of the wrong type.
| * | | | | | Improve exception message thrown when a View's state is of the wrong type.Romain Guy2009-12-082-2/+6
| | |_|_|_|/ | |/| | | |
* | | | | | Some fixes for positioning the WebTextView.Leon Scroggins2009-12-082-14/+4
| |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move the change in position/size before the call to bring into view, so that the properly positioned field will be brought into view. It is also now before we check to see if it is the same textfield, so it happens in both cases. Also remove some code which checks the selection and then sets it unnecessarily. It was originally surrounding some code which called setRect, which had a side-effect of changing the selection. That code was removed (rendering the remaining code useless), and setRect no longer has the side effect (the side effect was a result of calling reqestFocus, which it no longer does - further, the change in selection from requestFocus no longer affects the textfield's text).
* | | | | Add TrafficStats class to SDK.Ken Shirriff2009-12-081-0/+265
| | | | | | | | | | | | | | | | | | | | | | | | | This class (a rename of NetStat) provides network byte and packet statistics. NetStat will be removed separately, to avoid breaking other packages when submitting.
* | | | | Switching from activity based full screen plugins to a view system overlay.Derek Sollenberger2009-12-085-91/+103
| | | | |
* | | | | am d59fb6e7: Updating list of standard Intents in android.content.Intent ↵Trevor Johns2009-12-071-1/+24
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | documentation. Merge commit 'd59fb6e7435b57d83662b196f5430e6f2bc5427b' into eclair-mr2 * commit 'd59fb6e7435b57d83662b196f5430e6f2bc5427b': Updating list of standard Intents in android.content.Intent
| * | | | Updating list of standard Intents in android.content.IntentTrevor Johns2009-12-071-1/+24
| | | | | | | | | | | | | | | | | | | | documentation.
* | | | | am 9c79938d: Document that some parameters will not be null and fix ↵Wu-cheng Li2009-12-071-12/+18
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | getSupportedPictureFormats. Merge commit '9c79938d47a3caa06e5fb956955374f30c55992b' into eclair-mr2 * commit '9c79938d47a3caa06e5fb956955374f30c55992b': Document that some parameters will not be null and fix getSupportedPictureFormats.
| * | | | Document that some parameters will not be null and fix ↵Wu-cheng Li2009-12-081-12/+18
| | | | | | | | | | | | | | | | | | | | getSupportedPictureFormats.
* | | | | Update service example code.Dianne Hackborn2009-12-071-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | Switch aidl sample to match the change in ApiDemos, add sample code to the Service class.
* | | | | am 1067c3cb: Merge change Ia5ef9acd into eclairFred Quintana2009-12-071-1/+0
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit '1067c3cbab73a4bc75a2ebd2e3c51077db96fa24' into eclair-mr2 * commit '1067c3cbab73a4bc75a2ebd2e3c51077db96fa24': remove an old STOPSHIP comment
| * | | | Merge change Ia5ef9acd into eclairAndroid (Google) Code Review2009-12-071-1/+0
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | * changes: remove an old STOPSHIP comment
| | * | | | remove an old STOPSHIP commentFred Quintana2009-12-071-1/+0
| | | | | |
* | | | | | am ae88e2d1: Merge change I38227501 into eclairJaikumar Ganesh2009-12-074-2/+31
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit 'ae88e2d130a4d69bdf7ddc58f6ae512ea63087ff' into eclair-mr2 * commit 'ae88e2d130a4d69bdf7ddc58f6ae512ea63087ff': Add API to get Active Sinks.
| * | | | | Add API to get Active Sinks.Jaikumar Ganesh2009-12-074-2/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow incoming connections only when there are no active sinks. Dr No: Eastham Bug: 2133530
* | | | | | Merge change Ifa1fae13 into eclair-mr2Android (Google) Code Review2009-12-072-18/+12
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | | | | | | | | | | | | | | * changes: Revert "dealloc compiled-sql statements before deref'ing them from SQLiteDatabase obj."
| * | | | | Revert "dealloc compiled-sql statements before deref'ing them from ↵Vasu Nori2009-12-072-18/+12
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | SQLiteDatabase obj." This reverts commit 6d1ec0d81cd8ecdd390b31e724bac554bb955a94.
* | | | | Merge change Idff5eb2a into eclair-mr2Android (Google) Code Review2009-12-072-68/+113
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | * changes: Set InputType of WebTextView according to <input> field's type.
| * | | | | Set InputType of WebTextView according to <input> field's type.Leon Scroggins2009-12-072-68/+113
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Help fix http://b/issue?id=2150538 and http://b/issue?id=1890360 Use the <input type> information to set the InputType, so that the IME can show the correct options. Also consolidate setup of WebTextView into setType(). Requires a change in external/webkit.
* | | | | | Expose onReceivedSslError() so that the WebView clientGrace Kloba2009-12-072-4/+0
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | can accept the error and continue. Fix http://b/issue?id=2299152
* | | | | Add "res" support for WebView.Grace Kloba2009-12-074-16/+108
|/ / / / | | | | | | | | http://b/issue?id=2296839
* | | | Show search icon for <input type="search"> fields.Leon Scroggins2009-12-071-0/+4
| | | | | | | | | | | | | | | | Along with a change to external/webkit, fixes http://b/issue?id=2299650
* | | | Merge change I9088d29b into eclair-mr2Android (Google) Code Review2009-12-071-32/+93
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | * changes: Improves the touch-based text selection UI in text boxes.
| * | | | Improves the touch-based text selection UI in text boxes.Maryam Garrett2009-12-031-32/+93
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With this change, when a user is in "text select" mode, they can swipe any part of the text. This changes the behavior of the touch-based select in 2 ways (behavior for cursor-based select remains the same): 1. You can now indicate where your select will start. Before this change, the select always started at the last cursor position. 2. Selection will respect word boundaries. Before this change the selection would be character to character. Since users don't have a fine grain level of control over touch events, this would often lead to incomplete selections.
* | | | | Merge change I9589f9c2 into eclair-mr2Android (Google) Code Review2009-12-058-6/+9
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | * changes: Move android.server.search.SearchableInfo to android.app
| * | | | | Move android.server.search.SearchableInfo to android.appBjorn Bringert2009-12-048-6/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We need to expose SearchableInfo in the SDK in order to unbundle Quick Search Box. Since the android.server.search package is hidden, I'm moving SearchableInfo to android.app, where SearchManager lives. This change doesn't actually expose SearchableInfo. I'll do that in a separate change to keep the change that api-council needs to review small. This is part of the fix for: http://b/issue?id=2270838 Change-Id: I9589f9c2c11d36c958beedff8245fe0c3319c6ba
* | | | | | Fire OnGroupClick events when collapsing a group in ExpandableListView.Romain Guy2009-12-041-18/+16
| | | | | |
* | | | | | Merge change If3c7d429 into eclair-mr2Android (Google) Code Review2009-12-041-0/+3
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: Report SCROLL_STATE_IDLE after the user finishes a scroll (not a fling.)
| * | | | | | Report SCROLL_STATE_IDLE after the user finishes a scroll (not a fling.)Romain Guy2009-12-041-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the user lifts her finger up, AbsListView computes the fling velocity and report a SCROLL_STATE_FLING if the velocity is high enough. However, when the fling is not initiated because the velocity is too low (case of a normal scroll), the idle state was not set nor reported.
* | | | | | | Merge change I4261c58d into eclair-mr2Android (Google) Code Review2009-12-042-6/+45
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: Check if another Activity wants to intercept an xml mime type.
| * | | | | | | Check if another Activity wants to intercept an xml mime type.Patrick Scott2009-12-042-6/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | WebCore treats */*+xml as content that it can render. This prevents Activities from intercepting those mime types. Check the same regular expression as DOMImplementation and then use the PackageManager to look for a matching Activity. Requires a change to webcore. Bug: 2256744
* | | | | | | | am 48a65d99: Merge change I8c5f2fc3 into eclairRomain Guy2009-12-041-3/+4
|\ \ \ \ \ \ \ \ | |_|/ / / / / / |/| | | | / / / | | |_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | Merge commit '48a65d99cba33db3af2e05982a6825b883be2030' into eclair-mr2 * commit '48a65d99cba33db3af2e05982a6825b883be2030': Fix invalidate code path (#2273209).
| * | | | | | Merge change I8c5f2fc3 into eclairAndroid (Google) Code Review2009-12-041-3/+4
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: Fix invalidate code path (#2273209).
| | * | | | | | Fix invalidate code path (#2273209).Romain Guy2009-12-041-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cached views would, in some situations, not update if they contained an animating child. This was caused by clearing the dirty cache flag too early in View.buildDrawingCache(). Approved by Dr. No mcleron. Change-Id: I8c5f2fc3e6605657e0da625d60d50b55bb133666
* | | | | | | | Implement new MockContentProvider. Also make ContentProvider aware of the class.Daisuke Miyakawa2009-12-041-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rename the old MockContentProvider to MockIContentProvider since it is more appropriate name. Detail: Current developers inevitably depend on the backend used by ContentProvider, which is useful but not ideal nor "testable" from the view of them. Current MockContentResolver only accepts exact "ContentProvider" class, not IContentProvider interface, since we want to hide "IContentProvider" while the old MockContentProvider implements IContentProvider and as a result some methods we want to hide may be exposed to the public SDK now and probably for the future. On the other hand, ContentProvider is not interface but an exact class heavily depends on the internal logic and not suitable for external developers to use for tests. The new MockContentProvider introduces the mock implementation for ContentProvider. It extends ContentProvider, so "is" ContentProvider, but tries to avoid depending on any backend System like IPC in Android, etc. This should be useful from the view of application developers who do not want to be confused with ContentProvider/ContentResolver backend implementation "at all" and want to use MockContentResolver without any other ContentProvider implementations tightly connected to the external worlds.
* | | | | | | | am 0ce8431c: Merge change Iaa7edda4 into eclairFred Quintana2009-12-031-2/+6
|\ \ \ \ \ \ \ \ | |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit '0ce8431c15078e095a22a123dbabcd91049a9652' into eclair-mr2 * commit '0ce8431c15078e095a22a123dbabcd91049a9652': don't reschedule syncs that failed with a tooManyRetries error
| * | | | | | | Merge change Iaa7edda4 into eclairAndroid (Google) Code Review2009-12-031-2/+6
| |\ \ \ \ \ \ \ | | | |_|_|_|/ / | | |/| | | | | | | | | | | | | | | | | | | | | * changes: don't reschedule syncs that failed with a tooManyRetries error
| | * | | | | | don't reschedule syncs that failed with a tooManyRetries errorFred Quintana2009-12-031-2/+6
| | | | | | | |
* | | | | | | | Merge change I6173d7c7 into eclair-mr2Android (Google) Code Review2009-12-032-8/+24
|\ \ \ \ \ \ \ \ | |_|_|_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | * changes: Add isPrintableAscii() and isPrintableAsciiOnly() to TextUtils.java as hidden methods, and make vCard code use them.
| * | | | | | | Add isPrintableAscii() and isPrintableAsciiOnly() to TextUtils.java as ↵Daisuke Miyakawa2009-12-032-8/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | hidden methods, and make vCard code use them. In the future, ContactsProvider will use those methods. See also the change 34604 Internal issue number: 2275764, 2195990
* | | | | | | | Merge change I20d77880 into eclair-mr2Android (Google) Code Review2009-12-031-6/+6
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: Make Gservices setting constants public.
| * | | | | | | | Make Gservices setting constants public.Ken Shirriff2009-12-021-6/+6
| | | | | | | | |
* | | | | | | | | am 8c411fb1: Merge change I79420b02 into eclairJaikumar Ganesh2009-12-034-2/+134
|\ \ \ \ \ \ \ \ \ | | |_|/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit '8c411fb13923d1fa28fcd98452bf3d17b8b1a338' into eclair-mr2 * commit '8c411fb13923d1fa28fcd98452bf3d17b8b1a338': Add support for Car Dock.
| * | | | | | | | Merge change I79420b02 into eclairAndroid (Google) Code Review2009-12-034-2/+134
| |\ \ \ \ \ \ \ \ | | |_|_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | * changes: Add support for Car Dock.