9100 Commits

Author SHA1 Message Date
Jason Sams
516c319115 Implement data push from scripts. Fixes the problem where apps would have to poll to monitor a scripts state.
Fix bug in StoreState where state could be overridden by the default unless the script used more than one state.

Change only impacts renderscript and renderscript apps.
2009-10-06 13:58:47 -07:00
Wu-cheng Li
80fff7a589 am 962f2536: Merge change I547cff66 into eclair
Merge commit '962f253665e0c5cc8a29de9e59ce3992dad02440' into eclair-mr2

* commit '962f253665e0c5cc8a29de9e59ce3992dad02440':
  Add zoom functions and sendCommand.
2009-10-06 13:37:57 -07:00
Fred Quintana
72fc14e874 am f83d9b3f: fix build breakage
Merge commit 'f83d9b3fcd74f2528b0acc74185d2d7bdd716942' into eclair-mr2

* commit 'f83d9b3fcd74f2528b0acc74185d2d7bdd716942':
  fix build breakage
2009-10-06 13:37:52 -07:00
Android (Google) Code Review
962f253665 Merge change I547cff66 into eclair
* changes:
  Add zoom functions and sendCommand.
2009-10-06 16:32:44 -04:00
Wu-cheng Li
36f68b8f24 Add zoom functions and sendCommand.
b2060030
2009-10-06 13:25:10 -07:00
Fred Quintana
f83d9b3fcd fix build breakage 2009-10-06 13:21:23 -07:00
Jim Miller
5037e57fd4 Fix for 2161835: Tweaks to rotary lock screen:
- Make inactive dimples dim.
- When an item is grabbed, make all other dimples dim.
2009-10-06 13:20:46 -07:00
Grace Kloba
8f5e405f60 mGeolocationDatabasePath needs to compare mGeolocationDatabasePath 2009-10-06 12:56:07 -07:00
Bjorn Bringert
4eb3efc8b2 Fix back button handling in ACTV
AutoCompleteTextView.onKeyPreIme() used
getKeyDispatcherState().startTracking(event, this) to start tracking
the back button, but didn't update the state of the event
before checking event.isTracking().

Fixes http://b/issue?id=2167168
"AutoCompleteTextView back button handling is broken"

Change-Id: I2c5f1e761872b9e02d85ff6f958fabd558d041a0
2009-10-06 20:29:08 +01:00
Fred Quintana
77a7bdce65 am 5bba632d: - hide Entity and all its references - remove updateEntity and insertEntity, since they are not used - add the RawContacts.Entity class, which is used in lieu of the android.content.Entity
Merge commit '5bba632d877c2878384ff21566c8eb6a1a22f37b' into eclair-mr2

* commit '5bba632d877c2878384ff21566c8eb6a1a22f37b':
  - hide Entity and all its references
2009-10-06 12:04:41 -07:00
Fred Quintana
5bba632d87 - hide Entity and all its references
- remove updateEntity and insertEntity, since they are not
  used
- add the RawContacts.Entity class, which is used in lieu of the
  android.content.Entity
2009-10-06 11:51:19 -07:00
Suchi Amalapurapu
ef3c63ad20 am 5163cd6d: Merge change I5be3d603 into eclair
Merge commit '5163cd6d1cb664977eb4473b98657c7e92ae430e' into eclair-mr2

* commit '5163cd6d1cb664977eb4473b98657c7e92ae430e':
  Make sdk version and code names static finals in PackageParser.
2009-10-06 11:48:00 -07:00
Android (Google) Code Review
5163cd6d1c Merge change I5be3d603 into eclair
* changes:
      Make sdk version and code names static finals in PackageParser.     Remove api to set these values.     Remove an unused method in AppSecurityPermissions
2009-10-06 14:36:43 -04:00
Daisuke Miyakawa
629f94fac7 am ccc214b2: Merge change I6a0b14bd into eclair
Merge commit 'ccc214b21edaaddf46960388ec4d3e3ca89a01ae' into eclair-mr2

* commit 'ccc214b21edaaddf46960388ec4d3e3ca89a01ae':
  Make VCardComposer create the instance for mHandlerList.
2009-10-06 10:53:52 -07:00
Android (Google) Code Review
ccc214b21e Merge change I6a0b14bd into eclair
* changes:
  Make VCardComposer create the instance for mHandlerList.
2009-10-06 13:48:11 -04:00
Suchi Amalapurapu
8d5ae98549 Make sdk version and code names static finals in PackageParser.
Remove api to set these values.
    Remove an unused method in AppSecurityPermissions
2009-10-06 10:29:06 -07:00
Evan Millar
6cd206abe2 am 9c3c276a: Merge change I8333dcc4 into eclair
Merge commit '9c3c276afa7e2485e1a9f47e29ada8cb61b7b07c' into eclair-mr2

* commit '9c3c276afa7e2485e1a9f47e29ada8cb61b7b07c':
  New section header and divider assets.
2009-10-06 10:22:31 -07:00
Android (Google) Code Review
9c3c276afa Merge change I8333dcc4 into eclair
* changes:
  New section header and divider assets.
2009-10-06 13:14:45 -04:00
Bjorn Bringert
2235a020d3 am 030b2cf1: Merge change I76d7ba61 into eclair
Merge commit '030b2cf1eaab25890aa97e7e2a660ff5998e8639' into eclair-mr2

* commit '030b2cf1eaab25890aa97e7e2a660ff5998e8639':
  Pixel tweak search dialog to match search widget
2009-10-06 09:56:23 -07:00
Xavier Ducrohet
9cf2bbb08c am 841a8eea: Merge change I24895c35 into eclair
Merge commit '841a8eea78479ad8a3c10e69a788adbeaef5a53d' into eclair-mr2

* commit '841a8eea78479ad8a3c10e69a788adbeaef5a53d':
  Reimplement all the method of Paint for layoutlib
2009-10-06 09:56:19 -07:00
Marco Nelissen
a97402e1cb am c39d2e3c: Music visualizer support hack. This currently assumes 44k stereo (won\'t crash on other formats, but won\'t give the correct results either), and links statically with libspeex to get FFT data, increasing the size of libmedia by about 45kb.
Merge commit 'c39d2e3c012fb96999991e30659a474f9f30f789' into eclair-mr2

* commit 'c39d2e3c012fb96999991e30659a474f9f30f789':
  Music visualizer support hack.
2009-10-06 09:56:14 -07:00
Android (Google) Code Review
030b2cf1ea Merge change I76d7ba61 into eclair
* changes:
  Pixel tweak search dialog to match search widget
2009-10-06 12:49:51 -04:00
Android (Google) Code Review
841a8eea78 Merge change I24895c35 into eclair
* changes:
  Reimplement all the method of Paint for layoutlib
2009-10-06 12:49:01 -04:00
Daisuke Miyakawa
0dd32c1b27 Make VCardComposer create the instance for mHandlerList.
Previously the creation was delayed until addHandler(), which
had been required to be called.

However, after VCardComoser's support toward PBAP stuffs,
the guarantee was not true any more.

So by creating the instance in constructor, we refrain NPE during
finalize() when PBAP uses VCardComposer.
2009-10-06 09:30:20 -07:00
Marco Nelissen
c39d2e3c01 Music visualizer support hack.
This currently assumes 44k stereo (won't crash on other formats, but won't give the correct results either), and links statically with libspeex to get FFT data, increasing the size of libmedia by about 45kb.
2009-10-06 08:51:16 -07:00
Evan Millar
500fdfeec9 New section header and divider assets.
triaged bug http://b/issue?id=2153296

Tim Sullivan gave Dr. No approval.

Change-Id: I8333dcc4645529a03805aa76e32a3e9b90be58a7
2009-10-06 08:41:50 -07:00
Nick Pelly
d4cf13a651 am 52cde727: Fix docs builds.
Merge commit '52cde7279bad58285704498eea57bdaf9e595b49' into eclair-mr2

* commit '52cde7279bad58285704498eea57bdaf9e595b49':
  Fix docs builds.
2009-10-06 07:21:35 -07:00
Nick Pelly
52cde7279b Fix docs builds. 2009-10-06 16:10:02 +02:00
Nick Pelly
460965c2d9 am 24bb9b8a: Provide an API for apps to use a dynamic RFCOMM channel and SDP record.
Merge commit '24bb9b8af4ff691538fe9e517e8156016b0da6cd' into eclair-mr2

* commit '24bb9b8af4ff691538fe9e517e8156016b0da6cd':
  Provide an API for apps to use a dynamic RFCOMM channel and SDP record.
2009-10-06 06:10:28 -07:00
Nick Pelly
24bb9b8af4 Provide an API for apps to use a dynamic RFCOMM channel and SDP record.
Hide listenUsingRfcommOn(int channel)
Add listenUsingRfcomm(String name, ParcelUuid uuid)

The new API automatically finds a free RFCOMM channel and registers an SDP
record with the given uuid and name. The SDP record is automatically
removed when the socket is closed, or if the application dies.

Apps are prevented from registering SDP records with the uuid of system
Bluetooth profiles, such as A2DP, HFP and OPP.

Apps are prevented from removing SDP records that they did not create. This is
tracked by pid.

TODO: Provide an API for the connecting app to look up an SDP record.

Bug: 2158900
DrNo: eastham
Joke: "What did the dog say to the tree? bark."
Change-Id: Ia92f51c34615a7270a403255ad2b8faa98c4a3f5
2009-10-06 05:57:50 -07:00
Bjorn Bringert
248fba4626 Pixel tweak search dialog to match search widget
- Remove one pixel of margin from the left of the voice
  search button icon.
- Move magnifying glass icon one pixel downwards (= remove
  one pixel of padding at the bottom and add one at the top).
- Remove one pixel of margin from the bottom of the button
  backgrounds.
- Remove one pixel of padding from the left of the
  search button background.
- Remove one pixel of padding from the left and add one to
  the right of the voice search button background.

Fixes http://b/issue?id=2160857
"Pixel tweak search layouts to match widget"

Change-Id: I76d7ba6128f13f3d29b03a89e9862df355874e06
2009-10-06 11:36:01 +01:00
Mike Lockwood
0daf3e915d am 7fdd67d3: Merge change I5b650a61 into eclair
Merge commit '7fdd67d3867ecbb6457a560b2428a8e9464d8ecd' into eclair-mr2

* commit '7fdd67d3867ecbb6457a560b2428a8e9464d8ecd':
  dumpstate: Emit a logcat message at beginning and end of execution.
2009-10-05 21:17:03 -07:00
Android (Google) Code Review
7fdd67d386 Merge change I5b650a61 into eclair
* changes:
  dumpstate: Emit a logcat message at beginning and end of execution.
2009-10-06 00:09:07 -04:00
Mike Lockwood
bb6fa17558 dumpstate: Emit a logcat message at beginning and end of execution.
Since the logcat is not printed until later in the output, this will
make it easier to determine at what point the user pressed the key sequence
to initiate the bugreport, which can be helpful when debugging timing dependent problems.

b/2164183

Change-Id: I5b650a6163c383183ff28e344dac36fab11a2c7b
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-10-05 23:26:34 -04:00
Tammo Spalink
ef5aed64fb am 5c8dba21: Merge change I61aac7b3 into eclair
Merge commit '5c8dba21bf5e6a54f848c2e7f46dc86c27a09102' into eclair-mr2

* commit '5c8dba21bf5e6a54f848c2e7f46dc86c27a09102':
  Add PERIOD char to CDMA address sugar list.
2009-10-05 19:28:37 -07:00
Android (Google) Code Review
5c8dba21bf Merge change I61aac7b3 into eclair
* changes:
  Add PERIOD char to CDMA address sugar list.
2009-10-05 22:19:46 -04:00
Xavier Ducrohet
9f751ab3fc Reimplement all the method of Paint for layoutlib
There were a few missing methods that should have been reimplmented
(because they were native).

Others have been added just to be sure so that we can test whether methods
are missing or not (test coming soon).

Change-Id: I24895c353e38545e9b1abe28d41224fdc78cadb1
2009-10-05 19:10:04 -07:00
Fred Quintana
0eb2d83833 am 5fbaefc3: Merge change I4db3a5b3 into eclair
Merge commit '5fbaefc3d8840aac12b16458347b3c1ddbdaf542' into eclair-mr2

* commit '5fbaefc3d8840aac12b16458347b3c1ddbdaf542':
  fix a javadoc build breakage
2009-10-05 17:27:31 -07:00
Android (Google) Code Review
5fbaefc3d8 Merge change I4db3a5b3 into eclair
* changes:
  fix a javadoc build breakage
2009-10-05 20:22:27 -04:00
Fred Quintana
4db3a5b327 fix a javadoc build breakage 2009-10-05 17:19:03 -07:00
Xavier Ducrohet
5becdc32c8 am a970bf52: Merge change I34f51342 into eclair
Merge commit 'a970bf52581667e88d82e0801e0774d7c9cdcb8f' into eclair-mr2

* commit 'a970bf52581667e88d82e0801e0774d7c9cdcb8f':
  Fix the layoutlib test to run from adt-tests.
2009-10-05 16:03:44 -07:00
Android (Google) Code Review
a970bf5258 Merge change I34f51342 into eclair
* changes:
  Fix the layoutlib test to run from adt-tests.
2009-10-05 18:58:36 -04:00
Dianne Hackborn
baad552dfd am 68d881cf: Fix issue #2166755: BroadcastReceiver trying to return result during a non-ordered broadcast
Merge commit '68d881cf2d2b252f6f795cd64d43e316a1d736e5' into eclair-mr2

* commit '68d881cf2d2b252f6f795cd64d43e316a1d736e5':
  Fix issue #2166755: BroadcastReceiver trying to return result during a non-ordered broadcast
2009-10-05 15:58:13 -07:00
Xavier Ducrohet
864cbf5f93 am 71060f29: Merge change I8874a405 into eclair
Merge commit '71060f29855745893c122e8b93cf7a723186931b' into eclair-mr2

* commit '71060f29855745893c122e8b93cf7a723186931b':
  Refactor class/method names used by layoutlib_create.
2009-10-05 15:58:08 -07:00
Dianne Hackborn
68d881cf2d Fix issue #2166755: BroadcastReceiver trying to return result during a non-ordered broadcast
Tell the broadcast receiver whether it is getting an initial sticky value,
so it will be quiet about attempts to do ordered broadcast stuff.

Note that the original bug being reported was not actually a crash, just
an error log.  So all we are doing here is making the log quieter.

Change-Id: Iaf1b718d82093ec1197142410a64feff47eb3859
2009-10-05 15:52:32 -07:00
Android (Google) Code Review
71060f2985 Merge change I8874a405 into eclair
* changes:
  Refactor class/method names used by layoutlib_create.
2009-10-05 18:37:36 -04:00
Romain Guy
cb40ba2802 am 89c76843: Merge change I9b771df3 into eclair
Merge commit '89c768435fc48a93c0af97f9f08e57a346b0a9fd' into eclair-mr2

* commit '89c768435fc48a93c0af97f9f08e57a346b0a9fd':
  Make sure AsyncTask sens a null result to onPostExecute() when cancelled.
2009-10-05 15:37:04 -07:00
Xavier Ducrohet
8c739671d2 Fix the layoutlib test to run from adt-tests.
Change-Id: I34f513429593dce9f781ed8a08c4664a5d6f9aa8
2009-10-05 15:36:53 -07:00
Amith Yamasani
a98129b911 Fix preference caching to increase recycling of preference views.
Add extra safety measures - no recycling of derived preferences as
they may override onCreateView or getView
2009-10-05 15:31:47 -07:00
Android (Google) Code Review
89c768435f Merge change I9b771df3 into eclair
* changes:
  Make sure AsyncTask sens a null result to onPostExecute() when cancelled.
2009-10-05 18:28:26 -04:00