35630 Commits

Author SHA1 Message Date
Jean-Baptiste Queru
715f861077 Merge "Clarify documentation of Cursor get* methods." 2010-11-02 13:11:56 -07:00
Vasu Nori
4b8d36b30a fix broken build
Change-Id: I6fb1996932a75199fa42f43367c9ed266d3ba85c
2010-11-02 12:12:39 -07:00
Raphael
19ed73ae7f am 46468dde: Merge "Support for <compatible-screens><screen> in ADT." into gingerbread
* commit '46468dde8d7f9bd42ad180c2882bff6ef98685cd':
  Support for <compatible-screens><screen> in ADT.
2010-11-02 11:45:07 -07:00
Raphael
46468dde8d Merge "Support for <compatible-screens><screen> in ADT." into gingerbread 2010-11-02 11:43:11 -07:00
Kenny Root
70347c26e1 Merge "Fix default return code for getResource" 2010-11-02 11:40:27 -07:00
Kenny Root
5c4cf8cd7c Fix default return code for getResource
Reorganization of getResource to allow for other densities accidentally
overrode the default return code for getResource from BAD_VALUE to
BAD_INDEX. This corrects the default return to BAD_VALUE which restores
other things to working.

Bug: 3155824
Change-Id: I13dafff85bc6978c5f5435fc09ab0474c7885c4d
2010-11-02 11:27:31 -07:00
Vasu Nori
cd07204250 Merge "deperecate Cursor requery() and sa, Loader should be used instead" 2010-11-02 11:27:29 -07:00
Vasu Nori
820e9b6b9c deperecate Cursor requery() and sa, Loader should be used instead
the warning printed currently "do requery on background thread"
is not that useful in processes such as gapps, acore.
to reduce the deluge of bugs assigned to me, I think a simple
deprecation warning is better.

Change-Id: I7a1129ea889f10e72895092a3cdd48cc96d0d1f0
2010-11-02 11:14:38 -07:00
Joe Onorato
460119b7ea Merge "Put back the back button" 2010-11-02 10:11:25 -07:00
Gilles Debunne
a090d64ac1 am 18149c47: Merge "Rescaled/updated mdpi assets added." into gingerbread
* commit '18149c47bfc87c88798e6820d7153e588b374ed3':
  Rescaled/updated mdpi assets added.
2010-11-02 10:08:27 -07:00
Gilles Debunne
1c57ffb9e4 Merge "Made paste window nicer: asset and padding" 2010-11-02 10:06:56 -07:00
Gilles Debunne
51b9cc04e8 am 94da7f98: Merge "Rescaled/updated mdpi assets added." into gingerbread
* commit '94da7f983cc33d10bf1560bb32ec19400437a42a':
  Rescaled/updated mdpi assets added.
2010-11-02 10:05:55 -07:00
Gilles Debunne
18149c47bf Merge "Rescaled/updated mdpi assets added." into gingerbread 2010-11-02 10:05:52 -07:00
Gilles Debunne
94da7f983c Merge "Rescaled/updated mdpi assets added." into gingerbread 2010-11-02 10:04:40 -07:00
Daniel Trebbien
adf4194458 Document per-implementation behaviors of native get* methods
Change-Id: I5d20d7796b85ce62750dd50dd79e47d76716b24c
2010-11-02 09:35:12 -07:00
Daniel Trebbien
65068b099e Clarify documentation of Cursor get* methods.
Make clear in the Javadoc comments of the `Cursor` get* methods that
implementations thereof can have implementation-defined behavior. In some cases,
these changes actually correct the documentation. For example, in the case of
`getShort` and the `SQLiteCursor` implementation thereof, non-numeric data is
*not* converted to a `short` via Short#valueOf or even in a functionally-
equivalent manner.

Change-Id: Ib2f81811a603680b52fc482eb9c0f3195447566f
2010-11-02 09:24:07 -07:00
satok
7e63e4df10 Merge "Update the subtype icon properly." 2010-11-02 04:14:17 -07:00
satok
06e0744e9e Update the subtype icon properly.
Change-Id: Ib89959d1ea13f1e6f56e6280f90532e6695c4a00
2010-11-02 20:11:28 +09:00
Jeff Brown
c4b5bf3c76 am 7ab5d2d9: am a87ea46c: Fix bugs related to cheek event suppression.
* commit '7ab5d2d951792c9b1a1e7cfb279280c2d076506f':
  Fix bugs related to cheek event suppression.
2010-11-02 02:34:15 -07:00
Joe Onorato
7e750b1b84 Put back the back button
Change-Id: I0aea487eb2123d3d7e689c2f8ef24e9025a34aee
2010-11-02 00:14:33 -07:00
Jeff Brown
7ab5d2d951 am a87ea46c: Fix bugs related to cheek event suppression.
* commit 'a87ea46cb023763e0a9b0222da20b0a354f79d8d':
  Fix bugs related to cheek event suppression.
2010-11-01 21:02:05 -07:00
Adam Cohen
a32edd4b4c Adding click feedback to widget collections
Change-Id: I97fceb6c68ca6eb1b703eafacf201e1aed7c38e7
2010-11-01 20:53:38 -07:00
Jeff Brown
a87ea46cb0 Fix bugs related to cheek event suppression.
Two issues:

1. First, due to an inverted conditional in the input dispatcher, we were
   reporting touches as long touches and vice-versa to the power manager.

2. Power manager user activity cheek event suppression also suppresses touch
   events (but not long touch or up events).  As a result, if cheek event
   suppression was enabled, touches would not poke the user activity timer.
   However due to the above logic inversion, this actually affected long
   touches.  Net result, if cheek suppression was enabled in the power manager
   and you held your thumb on the screen long enough, the phone would
   go to sleep!

Cheek event suppression is commonly turned on when making a phone call.
Interestingly, it does not seem to get turned off afterward...

This change fixes the logic inversion and exempts touches from the cheek
suppression.  The reason we do the latter is because the old behavior
was actually harmful in other ways too: a touch down would be suppressed
but not a long touch or the touch up.  This would cause bizarre behavior
if you touched the screen while it was dimmed.  Instead of brightening
immediately, it would brighten either when you lifted your finger or
300ms later, whichever came first.

Bug: 3154895
Change-Id: Ied9ccec6718fbe86506322ff47a4e3eb58f81834
2010-11-01 20:51:58 -07:00
Gloria Wang
c1c45a4dc9 Merge "- Move the business rule management down to DRM agents. - Do not register DRM sniffer because drmserver is not enabled." 2010-11-01 20:38:51 -07:00
Daniel Lehmann
2444ddb3d9 Merge "Added missing label and char limits" 2010-11-01 20:25:31 -07:00
Neal Nguyen
51d10323e9 am 424963ef: am 5dda76a7: Adding some StorageManager integration test infrastructure and some basic tests.
* commit '424963ef8d46c34d67ea24d25735944c0d87409c':
  Adding some StorageManager integration test infrastructure and some basic tests.
2010-11-01 19:44:50 -07:00
Neal Nguyen
424963ef8d am 5dda76a7: Adding some StorageManager integration test infrastructure and some basic tests.
* commit '5dda76a72e8bb4630fb5fd38a42e7bceb5b9c954':
  Adding some StorageManager integration test infrastructure and some basic tests.
2010-11-01 19:42:22 -07:00
satok
e1bef9404c Merge "Fix a bug that enabled Subtype ID can't be saved propery." 2010-11-01 19:41:44 -07:00
Xavier Ducrohet
abff653ce8 More layout Canvas/Paint implementation.
Change-Id: Ib3da4a4b2259dc7c53b24444b5c0b78cee15d387
2010-11-01 18:45:20 -07:00
Praveen Bharathi
21e941bf43 Added support for dock headset observer
Change-Id: I06b2e65e3bfa10735e6c7fd3349afa9ae7d45292
Signed-off-by: Praveen Bharathi <pbharathi@motorola.com>
2010-11-01 18:41:19 -07:00
Daniel Lehmann
dd384a7453 Added missing label and char limits
Change-Id: I950c065dcf965872a541dfc4b55daec045d65d6a
2010-11-01 18:40:50 -07:00
Neal Nguyen
5dda76a72e Adding some StorageManager integration test infrastructure and some basic tests.
More interesting tests to come in the form of host-based tests.

Change-Id: Ifdedf7ef26ed9889871c902af20164df0498cf07
2010-11-01 18:21:21 -07:00
Gilles Debunne
c861a35d5f Made paste window nicer: asset and padding
Change-Id: I149c6b2bff42c73bcff427c2e0f866d42b16e51b
2010-11-01 17:53:52 -07:00
Xavier Ducrohet
5802deabf0 More implementation of the layoutlib Paint/Canvas delegates.
Change-Id: I0c0029b9a679af4ae0178488f70b2a90292ea42d
2010-11-01 17:52:42 -07:00
Neal Nguyen
879ed85598 am af35b8f4: am bd06f02d: Cleaning up some more flakiness in DownloadManager tests.
* commit 'af35b8f43262a27c941c396186501a9695954cd8':
  Cleaning up some more flakiness in DownloadManager tests.
2010-11-01 17:44:13 -07:00
Neal Nguyen
af35b8f432 am bd06f02d: Cleaning up some more flakiness in DownloadManager tests.
* commit 'bd06f02d02e07ca15e420ee9e50e35253646ba64':
  Cleaning up some more flakiness in DownloadManager tests.
2010-11-01 17:41:24 -07:00
Joe Malin
6c49981d51 DOC CHANGE: Add entry for monkeyrunner to tools index page.
Change-Id: I6487521c3ab7cdf641242598dee6e2752f46fa7a
2010-11-01 17:19:40 -07:00
Gilles Debunne
dde799deb2 Rescaled/updated mdpi assets added.
Change-Id: Idce2f1a3fb66565abe2c710281dab1ec6650d0c2
2010-11-01 17:18:10 -07:00
Jamie Gennis
c0fcedb6dc Merge "Stop using OMX_COLOR_FormatAndroidPrivateStart." 2010-11-01 17:16:50 -07:00
Gilles Debunne
8cfaaa7919 Rescaled/updated mdpi assets added.
Change-Id: Ifd179b6850e04a785aef588c2f0f4fd80fc5c8fe
2010-11-01 17:01:56 -07:00
Neal Nguyen
bd06f02d02 Cleaning up some more flakiness in DownloadManager tests.
A couple of logic fixes (synchronization, poll time), and adding a little more test
logging info.

Change-Id: I8da71f87fd1e211913f84ec517762dca81f87292
2010-11-01 17:00:17 -07:00
Nicolas Roard
7d0414885e Merge "Update layers only" 2010-11-01 16:58:01 -07:00
Chet Haase
c9acd7d2f0 Merge "Fixed null deref when view parent null during invalidation" 2010-11-01 16:56:15 -07:00
Nicolas Roard
fb7bc34b23 Update layers only
Java counterpart to https://android-git.corp.google.com/g/#change,77334

Bug:2975990

Change-Id: I428944c30cedddc47a2c4f8c772167dd4ce2a78d
2010-11-01 16:55:41 -07:00
Chet Haase
ea40e9abb0 Fixed null deref when view parent null during invalidation
Change-Id: I4896b4af69f3a44351465e7524dd7b621050b415
2010-11-01 16:54:22 -07:00
Jamie Gennis
044ace6bde Stop using OMX_COLOR_FormatAndroidPrivateStart.
This removes the use (and definition) of the Android-private range of
OMX color formats from Stagefright.  Instead we will just be
interpreting the video color format of an OMX port as an Android pixel
format if the port is in native buffer mode.

Change-Id: I3ea50703336a88249e7563bc7022dfedbeac506e
2010-11-01 16:54:01 -07:00
Joe Malin
3521e2202d am ea8400b4: (-s ours) am a7fda21c: DO NOT MERGE: Doc Change: Documentation for MonkeyRunner tool
* commit 'ea8400b448a01e417e583ef554fc2b3f3072deec':
  DO NOT MERGE: Doc Change: Documentation for MonkeyRunner tool
2010-11-01 16:33:56 -07:00
Joe Malin
ea8400b448 am a7fda21c: DO NOT MERGE: Doc Change: Documentation for MonkeyRunner tool
* commit 'a7fda21c8298d8f316564280d702206147207005':
  DO NOT MERGE: Doc Change: Documentation for MonkeyRunner tool
2010-11-01 16:30:59 -07:00
Andreas Huber
df75f8b319 Merge "Notify surfaceflinger about (changes to) the crop rectangle output by the decoder." 2010-11-01 16:25:08 -07:00
Mike Lockwood
1d8479fa95 Merge "MTP: Changes to support /mnt/sdcard paths from MediaProvider." 2010-11-01 16:18:29 -07:00