summaryrefslogtreecommitdiffstats
path: root/core/java/android
Commit message (Collapse)AuthorAgeFilesLines
* Remove UUIDs from the cache when the device is unpaired.Jaikumar Ganesh2010-03-021-1/+3
| | | | | | | This fixes one probable case of A2DP profile connection state hanging in connecting state. When the device is unpaired and repaired, before the drivers are up on the bluez side, settings app / auto-connect code can try to connect.
* Merge "Keep track of when the HTML5 database path has been set, so that we ↵Ben Murdoch2010-02-261-1/+6
|\ | | | | | | don't inadvertantly sync it to the native side before it has been set by the client."
| * Keep track of when the HTML5 database path has been set, so that we don't ↵Ben Murdoch2010-02-251-1/+6
| | | | | | | | | | | | | | | | inadvertantly sync it to the native side before it has been set by the client. Change-Id: Idcf604060e5208ec28610dd13e9858adcf44165e
* | Fix SDK build.Wu-cheng Li2010-02-261-2/+2
| |
* | Unhide exposure compensation API.Wu-cheng Li2010-02-261-17/+63
| | | | | | | | bug:2375993
* | Merge "Move auto pairing data to a file, add values dynamically."Jaikumar Ganesh2010-02-251-38/+144
|\ \
| * | Move auto pairing data to a file, add values dynamically.Jaikumar Ganesh2010-02-251-38/+144
| | |
* | | Do not recyle headers and footers when measuring the ListView.Romain Guy2010-02-252-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | Bug #2461893 This was causing headers and footers to be in a wrong state after the first recycling pass, which would cause them to be detached from the window. This was in turn preventing invalidate operations from performing successfully.
* | | Merge "Be sure to back up / restore some new settings"Chris Tate2010-02-251-0/+4
|\ \ \
| * | | Be sure to back up / restore some new settingsChristopher Tate2010-02-251-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added in this CL: Power sounds enabled Dock sound enabled Lock/unlock sounds enabled Auto-restore app data on install Change-Id: Ie1c3215e926282e7cac5b82cd6196636049f7f85
* | | | Merge "Define the new lastSyncedAttendeeStatus column"Marc Blank2010-02-251-3/+10
|\ \ \ \ | |/ / / |/| | |
| * | | Define the new lastSyncedAttendeeStatus columnMarc Blank2010-02-251-3/+10
| | | | | | | | | | | | | | | | Change-Id: I567ca24770fb401ed5a2bdfce5709e77b6fb4202
* | | | Comment out the finalize() methods defined on the Activity,Carl Shapiro2010-02-254-5/+19
| | | | | | | | | | | | | | | | | | | | | | | | ContextImpl, View and ViewRoot classes. This allows instances of subclasses to be collected without the additional latency of finalization.
* | | | Merge "HorizontalScrollView multitouch scroll and only grip on content ↵Adam Powell2010-02-255-53/+208
|\ \ \ \ | | | | | | | | | | | | | | | AbsListView multitouch scroll and only grip on content"
| * | | | HorizontalScrollView multitouch scroll and only grip on contentAdam Powell2010-02-255-53/+208
| | | | | | | | | | | | | | | | | | | | AbsListView multitouch scroll and only grip on content
* | | | | Renaming contact search snippet fields.Dmitri Plotnikov2010-02-251-9/+14
| | | | | | | | | | | | | | | | | | | | Change-Id: If27271665aedbb125072bbcd0cf375846c38cc9f
* | | | | Remove misleading method comment on TextView#setHintKenny Root2010-02-251-6/+0
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Comment incorrectly specified that the setHint(...) methods were deprecated and suggested instead using different methods that did not exist. Change-Id: I5e7a1570beb8f1cd807853c6d9de8072afa5123e
* | | | Merge "Prevent ProgressBar from updating itself when hidden. Bug #2470737"Romain Guy2010-02-251-3/+16
|\ \ \ \
| * | | | Prevent ProgressBar from updating itself when hidden.Romain Guy2010-02-251-3/+16
| | | | | | | | | | | | | | | | | | | | Bug #2470737
* | | | | Pick up default install locationSuchi Amalapurapu2010-02-251-1/+3
| | | | |
* | | | | Merge "New test on ContextMenuInfo packed positions."Gilles Debunne2010-02-252-6/+5
|\ \ \ \ \
| * | | | | New test on ContextMenuInfo packed positions.Gilles Debunne2010-02-252-6/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With and without headers. Non regression test for bug http://b/issue?id=1778239 Change-Id: I0235528ac6f8394292bac35f2350f3d5be1e4df7
* | | | | | Merge "Improve accelerometer-based orientation sensing."Steve Howard2010-02-251-73/+161
|\ \ \ \ \ \
| * | | | | | Improve accelerometer-based orientation sensing.Steve Howard2010-02-241-73/+161
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There were three main complains about orientation sensing: * Switching to landscape when putting a device down on a table (or picking it up) * Changing orientation due to road bumps or vehicle vibrations while in a car dock * Switching to upside-down too easily This change includes three primary enhancements. First, we run the accelerometer output through a lowpass filter before considering its orientation. This avoids glitches due to brief phone movement, particularly when the phone hits a table. The filter uses a very low default time constant of 200ms to retain responsiveness (note the samping period is ~200ms, so the effect of this filtering is pretty mild). At tilt angles beyond 45 degrees, however, we increase the time constant to 600ms, which helps greatly with avoiding glitches picking the phone up from a table. It does introduce some sluggishness when rotating while the phone is tilted back, i.e. being used in one's lap. It's also worth mentioning that the accelerometer output on Sapphire appears to be pre-lowpass-filtered with a time constant of around 500ms, making this less necessary on that device, but the added effect doesn't noticeably degrade user experience in my opinion. Second, we check the magnitude of the raw accelerometer output. If it deviates from the strength of gravity by more than one m/s^2, we distrust the data, since that implies the device is under external acceleration and the sensor data doesn't accurately reflect orientation. This helps avoid glitches due to shocks and vibrations, as in the car dock scenario. However, rather than ignore the data entirely, we filter it with a very high time constant (5 sec). As a result, if the device is rotated while vibrating, even if we never pick up a clean sample, we will eventually detect the orientation switch. Of course, with a sampling period of 200ms, we're prone to aliasing, but that seems like a highly unlikely corner case. Third, we restrict transitions to upside-down orientation to a much narrower range, both in terms of orientation and tilt. This should prevent upside-down mode from activating in most cases where it's not desired. I also updated a lot of stale documentation, added a lot of documentation, and cleaned up a lot of the code, so as to make this (often subtle) code as transparent as possible.
* | | | | | | Merge "Add support for accessing native bidi implementation via jni."Eric Fischer2010-02-251-0/+48
|\ \ \ \ \ \ \
| * | | | | | | Add support for accessing native bidi implementation via jni.Doug Felt2010-02-241-0/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Include a simple test to verify that the bidi code works.
* | | | | | | | don't draw layers with historyCary Clark2010-02-251-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The history picture and the layers drawn may be out of sync, so for now, don't draw the layers when the history picture is drawn. Also, remove native class check from drawExtras() since it is already checked by the caller. fixes http://b/2457350 fixes http://b/2453780
* | | | | | | | Re-arrange android-common so framework no longer links with it.Dianne Hackborn2010-02-2527-25/+950
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the framework part, moving classes around so the framework no longer needs to link to android-common. Makes some APIs public, others that didn't need to be public are private in the framework, some small things are copied.
* | | | | | | | Merge "Correctly handle negative margins in horizontal linear layouts."Romain Guy2010-02-251-7/+33
|\ \ \ \ \ \ \ \
| * | | | | | | | Correctly handle negative margins in horizontal linear layouts.Romain Guy2010-02-251-7/+33
| | |_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When LinearLayout is measured in EXACTLY mode, we handle the negative margins a bit differently. This is to support the use case of the current tab design.
* | | | | | | | Merge "Fix for voice search crash in maps and youtube. Bug 2453182"Amith Yamasani2010-02-251-7/+8
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | |
| * | | | | | | Fix for voice search crash in maps and youtube. Bug 2453182Amith Yamasani2010-02-251-7/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | No need to nullify the context variable. Also fix 2463128 : No voice icon when text is present in text field
* | | | | | | | When opening the IME or sending a key to a non-cursored textfield, set the ↵Leon Scroggins2010-02-251-0/+2
| |_|_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | default selection. Fix for http://b/issue?id=2431351
* | | | | | | refactor drawing to support layersCary Clark2010-02-251-50/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Drawing elements that appear atop or below layers need to be drawn both in the proper order and with the correct canvas to respect clipping and the matrix. The logic of what to draw is still in WebView.java, but the actual drawing calls are now triggered inside the layer code. This still draws layers incorrectly after drawing the history; will fix this in a future CL. Move drawing to WebView.cpp. Use inverseScale to simplify viewPort metrics. Remove root layer; let WebView.cpp handle it exclusively. Requires companion fix in external/webkit. http://b/2457316 http://b/2454127 http://b/2454149
* | | | | | | Allow cookies with no name.Patrick Scott2010-02-251-43/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cookies like "foo; path=/;" should be evaluated to have just a name. This makes it easier to compare cookies when looking for duplicates. Bug: 2333747
* | | | | | | Make setBackgroundResource() remotableBjorn Bringert2010-02-251-0/+2
| |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | Change-Id: Iad9c2bdf743a81a085024cad9dc340ae8a983f34
* | | | | | Add new handler mechanism in MountService to make unmount api asynchronous.Suchi Amalapurapu2010-02-241-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MountService updates state on PackageManager and then tries to kill processes holding file references to media about to be unmounted by invoking api on ACtivityManager. This is retried upto 4 times to make sure all processes holding file references are killed before unmounting the media at specified path. Also changed PackageManger api to return boolean value to indicate if MountService is likely to receive broadcasts related to apps on sd.
* | | | | | Merge "Add mobile data on/off switch."Robert Greenwalt2010-02-243-3/+42
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | Add mobile data on/off switch.Robert Greenwalt2010-02-243-3/+42
| | | | | | | | | | | | | | | | | | | | | | | | bug:2251458
* | | | | | Merge "Fix tabs."Romain Guy2010-02-241-15/+11
|\ \ \ \ \ \
| * | | | | | Fix tabs.Romain Guy2010-02-241-15/+11
| |/ / / / /
* | | | | | Merge "ScrollView multiple pointer support. Fixed a bug where ScrollView ↵Adam Powell2010-02-241-15/+65
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | wouldn't scroll if the initially tapped child ignores the down event."
| * | | | | | ScrollView multiple pointer support. Fixed a bug where ScrollViewAdam Powell2010-02-241-15/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | wouldn't scroll if the initially tapped child ignores the down event.
* | | | | | | Merge "Introducing tentative (and hidden) API for contact search snippets"Dmitri Plotnikov2010-02-241-0/+50
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | |
| * | | | | | Introducing tentative (and hidden) API for contact search snippetsDmitri Plotnikov2010-02-241-0/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 2447965 Change-Id: I0608ca7a644f004613742f4680a5a9fd3325554a
* | | | | | | Merge "Fix the build."Romain Guy2010-02-242-0/+7
|\ \ \ \ \ \ \ | |_|_|/ / / / |/| | | | | |
| * | | | | | Fix the build.Romain Guy2010-02-242-0/+7
| | | | | | |
* | | | | | | Merge "Add 'restoreAnyVersion' attr for apps that want to restore "future" data"Chris Tate2010-02-242-2/+20
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | |
| * | | | | | Add 'restoreAnyVersion' attr for apps that want to restore "future" dataChristopher Tate2010-02-242-2/+20
| | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If a backup-participating app sets android:restoreAnyVersion="true" in its manifest <application> tag, then its agent will be invoked for restore even if the available dataset was created by a later version of the app than is currently installed on the device. This will not typically be a problem for third party applications, since for them the installation and initial data restore are tightly coupled, but it can cause serious problems for applications which are both preinstalled on the system partition and overridden by later updates. The primary difficulty that this new attribute addresses is this: 1. User buys a Nexus One, Market self-updates, and the user installs some apps. At this point the backup data on the server may indicate that the version of Market which originated its bookkeeping is newer than the stock N1 Market app. 2. User loses their phone, and buys a replacement N1. At setup time, Market has not yet had a chance to self-update, so when the restore comes in, it's tagged as being from "the future" and so the restore is refused. No apps get reinstalled. Bug: 2442127 Change-Id: I076a9553dc613e5c3189350e778315718ed1ed2b
* | | | | | Prevents ListView items children to modify properties of other children.Romain Guy2010-02-245-16/+77
| |_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug #2464502 This fix introduce a new dispatch mechanism to tell views when they are temporary detached/reattached from/to a ListView. This is very important to remove pending callbacks or cleanup temporary states. This change also modifies TextView which was relying on that callback in a very particular case: a focused EditText in a ListView. The modified code acts only when in that case, not if onStart/FinishTemporaryDetach() is called via dispatch*() (== recycled views in ListView.)