683 Commits

Author SHA1 Message Date
Dianne Hackborn
3a972b29cf am 62e5480a: am bcbcaa7e: Wallpapers, animations, pending intent.
Merge commit '62e5480a70650ec3d151e627dc175c2fa1350edb'

* commit '62e5480a70650ec3d151e627dc175c2fa1350edb':
  Wallpapers, animations, pending intent.
2009-09-10 13:11:35 -07:00
Dianne Hackborn
bcbcaa7edd Wallpapers, animations, pending intent.
Some more tweaks and fixes to wallpapers.  Make sure wallpapers are
told they are not visible when the screen is off.  Add some new animations
for transitions across tasks, and fiddle with many of the existing
animations.  Clean up the relationship between translucent activities
and animations.  Add new API to start a PendingIntent from an
activity.

Change-Id: Ie0bf45fe44081bb6982c75361257a55d9cd9d863
2009-09-10 12:08:50 -07:00
Nick Pelly
38615fc692 am bf765b6c: am 41140098: Merge change 24274 into eclair
Merge commit 'bf765b6c70c0cc5e494c1361747d3b93e98d962d'

* commit 'bf765b6c70c0cc5e494c1361747d3b93e98d962d':
  API_CHANGE
2009-09-09 16:28:58 -07:00
Nick Pelly
3f51fee5f7 am 16a54b28: am aadc9220: Merge change 24202 into eclair
Merge commit '16a54b2861209a13194b02f7882a0ec247b69060'

* commit '16a54b2861209a13194b02f7882a0ec247b69060':
  API_CHANGE
2009-09-09 16:28:52 -07:00
Eric Laurent
7fae310537 am d3a31996: am db603b0b: Merge change 24114 into eclair
Merge commit 'd3a31996e6ef915bc25ff67f1f35274447a14862'

* commit 'd3a31996e6ef915bc25ff67f1f35274447a14862':
  Fix issue 1992233: DTMF tones on Sholes is really long.
2009-09-09 13:41:53 -07:00
Fred Quintana
be5bc78a98 am f43d282d: am b0dccf73: Merge change 24012 into eclair
Merge commit 'f43d282dc7ed88e6d018fa3729da568af8b58158'

* commit 'f43d282dc7ed88e6d018fa3729da568af8b58158':
  add a transaction monitor
2009-09-09 10:58:43 -07:00
Nick Pelly
b24e11baac API_CHANGE
Deprecate BluetoothError.java.

I spent a lot of time experimenting with a class BluetoothError to enumerate
the many error codes returned by the Bluetooth API. But at the end of the day
they were never used. The vast majority of method calls only really need a
true/false error value, and often not even that.

Methods which do need more detailed error enumeration (for example, bonding
failures) can have there own enumerated error codes. But there is no need
for a common set of error codes.

Also change the IPC failed warnings in BluetoothA2dp to Log.e. These indicate
a very serious error.

Introduce BluetoothAdapter.ERROR and BluetoothDevice.ERROR as helper sentinel
values.
2009-09-09 10:52:18 -07:00
Nick Pelly
de893f5503 API_CHANGE
Another round of Bluetooth API clean up, javadoc'ing and unhide'ing.

-- Symbols for getting/setting bluetooth state --
BluetoothAdapter.ACTION_STATE_CHANGED
BluetoothAdapter.EXTRA_STATE
BluetoothAdapter.EXTRA_PREVIOUS_STATE
BluetoothAdapter.STATE_OFF
BluetoothAdapter.STATE_TURNING_ON
BluetoothAdapter.STATE_ON
BluetoothAdapter.STATE_TURNING_OFF
BluetoothAdapter.isEnabled()
BluetoothAdapter.getState()
BluetoothAdapter.enable()
BluetoothAdapter.disable()

-- Symbols for getting/setting scan mode --
BluetoothAdapter.ACTION_SCAN_MODE_CHANGED
BluetoothAdapter.EXTRA_SCAN_MODE
BluetoothAdapter.EXTRA_PREVIOUS_SCAN_MODE
BluetoothAdapter.SCAN_MODE_NONE
BluetoothAdapter.SCAN_MODE_CONNECTABLE
BluetoothAdapter.SCAN_MODE_DISCOVERABLE
BluetoothAdapter.getScanMode()
BluetoothAdapter.setScanMode()

-- Symbols for getting address/names --
BluetoothAdapter.getAddress()
BluetoothAdapter.getName()
BluetoothAdapter.setName()
2009-09-09 10:52:02 -07:00
Eric Laurent
96c08a69ea Fix issue 1992233: DTMF tones on Sholes is really long.
Add a parameter to ToneGenerator.startTone() allowing the caller to specify the tone duration. This is used by the phone application to have a precise control on the DTMF tone duration which was not possible with the use of delayed messaged.
Also modified AudioFlinger output threads so that 0s are written to the audio output stream when no more tracks are ready to mix instead of just sleeping. This avoids an issue where the end of a previous DTMF tone could stay in audio hardware buffers and be played just before the beginning of the next DTMF tone.
2009-09-08 22:56:07 -07:00
Fred Quintana
c4516a7b62 add a transaction monitor 2009-09-08 17:25:09 -07:00
Derek Sollenberger
ac6d106643 am af4ce5bd: am c3a30a00: Merge change 24153 into eclair
Merge commit 'af4ce5bd00be6fd3319c7cdcc3ddf27ac81ac24e'

* commit 'af4ce5bd00be6fd3319c7cdcc3ddf27ac81ac24e':
  adding support for webkit plugins to use the java view system
2009-09-08 16:01:47 -07:00
Dianne Hackborn
3331da069c am da2e19c6: am eb034652: Implement all of the infrastructure for configuring wallpapers.
Merge commit 'da2e19c6ad5c153d87c8da1a695e5e823d17e29b'

* commit 'da2e19c6ad5c153d87c8da1a695e5e823d17e29b':
  Implement all of the infrastructure for configuring wallpapers.
2009-09-08 16:01:18 -07:00
Derek Sollenberger
2c3eb14d43 adding support for webkit plugins to use the java view system
Change-Id: I4fb328e5f30476fe4aa70565bacb969dc97b495d
2009-09-08 15:42:23 -04:00
Dianne Hackborn
eb034652c2 Implement all of the infrastructure for configuring wallpapers.
Actually being able to configure a wallpaper relies on additional
work in the launcher and wallpapers that will be in another change.
Also note that this breaks all existing wallpapers, since they now
need to include a meta-data item about themselves.  This also
will be fixed in another change.

Change-Id: I97d2c2bd07237abc32f92b9147c32530a2f73c71
2009-09-07 22:48:02 -07:00
Dianne Hackborn
ed9f8514e1 am bdbe87d0: am 6e4b7d66: Merge change 24020 into eclair
Merge commit 'bdbe87d0756a54dbc2edd24b75b9cd98cab31442'

* commit 'bdbe87d0756a54dbc2edd24b75b9cd98cab31442':
  Wallpapers: new transitions, hiding when not visible, other cleanup.
2009-09-04 15:44:38 -07:00
Dianne Hackborn
25994b4306 Wallpapers: new transitions, hiding when not visible, other cleanup.
This is work on the transitions with wallpapers.  There are now new
animations specifically for leaving the wallpaper and returning to
it, which allow us to have a consistent animation when entering home
and returning to it.  I also renamed the existing animations across
wallpapers, and cleaned up some junk in the various interpolators.

This also now hides the wallpaper surface when it is not visible,
to get rid of the wallpaper flickers people complained about albeit
in a somewhat brutal way. :)  (Though really returning us to the
previous behavior with the same previous bugs and name back to them
not being very visible, yay!)  There is are also some bug fixes
here and there about managing the wallpaper visibility that this
change revealed.

Change-Id: I913990a9a81651728122ed2e1101b75ed2c36fcb
2009-09-04 14:28:42 -07:00
Jesse Wilson
f163f7f0f2 do not merge: fix API current.xml for Hashtable. 2009-09-03 18:20:50 -07:00
Jesse Wilson
6de753bffe do not merge: update API for Josh's optimizations for Eclair 2009-09-03 17:48:11 -07:00
Dianne Hackborn
56aae57075 am 6b085a3d: am ebf0bbaa: Merge change 23868 into eclair
Merge commit '6b085a3d821306a9b65cebdae19d75597b3c680e'

* commit '6b085a3d821306a9b65cebdae19d75597b3c680e':
  Add better service reporting.
2009-09-03 14:44:23 -07:00
Dianne Hackborn
dd9b82c283 Add better service reporting.
This will be used elsewhere.

Change-Id: Id561fa7fed5eb65446312cb697813483903d33a6
2009-09-03 14:11:02 -07:00
Joshua Bloch
b1c3015f28 Fix xml file for recent Hashtable change. 2009-09-02 16:33:18 -07:00
Suchi Amalapurapu
dcd49c9775 am 743a7495: am 23db1731: Merge change 23717 into eclair
Merge commit '743a7495ab365d8a84a25ac93e22b6e6e4c5e0b4'

* commit '743a7495ab365d8a84a25ac93e22b6e6e4c5e0b4':
  Make new attribute EXTRA_CHANGED_COMPONENT_NAME in
2009-09-02 16:29:28 -07:00
Suchi Amalapurapu
32f589046b Make new attribute EXTRA_CHANGED_COMPONENT_NAME in
broadcast intent ACTION_PACKAGE_CHANGED public so that
apps like launcher can find out the changed component name
when loading changes made in components.
2009-09-02 16:11:14 -07:00
Wu-cheng Li
210eedeff7 am eb05398f: am 9b6a8ab8: Add camera parameters constants and methods.
Merge commit 'eb05398fcc598b252c3d5b0c09ea1da72bb8db0b'

* commit 'eb05398fcc598b252c3d5b0c09ea1da72bb8db0b':
  Add camera parameters constants and methods.
2009-09-02 13:32:16 -07:00
Wu-cheng Li
9b6a8ab822 Add camera parameters constants and methods. 2009-09-02 12:45:23 +08:00
Christopher Tate
fbea729dcc am 9073dc69: am 9756a70b: Merge change 23582 into eclair
Merge commit '9073dc69b110cbd0d4bebd128ed6cc2b24a16695'

* commit '9073dc69b110cbd0d4bebd128ed6cc2b24a16695':
  Expand apps' control over the settings restore process
2009-09-01 21:05:10 -07:00
Christopher Tate
5e1ab335e6 Expand apps' control over the settings restore process
Applications can now specify two more aspects of the restore process:  whether
they need to run with their own custom Application subclass rather than being
launched in the usual restricted mode during restore, and whether it's okay for
the backup manager to kill the app process once restore has completed.  The new
manifest attributes for these are, respectively, android:restoreNeedsApplication
and android:killAfterRestore.

If unspecified in the manifest, restoreNeedsApplication is false, and
killAfterRestore is true.

In order to support kill-after-restore cleanly, this change also adds a new
system-process-only interface to the Activity Manager, which will schedule a
"commit suicide" event on the target app's main thread looper.

The framework backup agents have been given the appropriate new backup
attributes as well.
2009-09-01 20:59:36 -07:00
Dianne Hackborn
87672d2bd9 am 470f54d2: am 2d2d5c43: am c804efe2: Merge change 23569 into donut
Merge commit '470f54d299f1eece316a03ee3a2607f0555cb170'

* commit '470f54d299f1eece316a03ee3a2607f0555cb170':
  Update 4.xml to the most recent APIs.
2009-09-01 19:23:07 -07:00
Dianne Hackborn
2d2d5c4372 am c804efe2: Merge change 23569 into donut
Merge commit 'c804efe278fa33555e6e836504a467cb14505eb3' into eclair

* commit 'c804efe278fa33555e6e836504a467cb14505eb3':
  Update 4.xml to the most recent APIs.
2009-09-01 19:18:18 -07:00
Dianne Hackborn
2c8859aeda Update 4.xml to the most recent APIs. 2009-09-01 19:14:55 -07:00
Wink Saville
cd4fd153ec am 3d122b56: am 65d62c77: Add hasIccCard to IccCard and TelephonyManager.
Merge commit '3d122b56d9bf2a5c63b55bc6a67f56aff8e65b6f'

* commit '3d122b56d9bf2a5c63b55bc6a67f56aff8e65b6f':
  Add hasIccCard to IccCard and TelephonyManager.
2009-09-01 16:14:04 -07:00
Wink Saville
65d62c774e Add hasIccCard to IccCard and TelephonyManager.
Expose the presence/absence of IccCards in the system.
This is needed to fix bug 2033811 which needs to show
some SIM menus in the Mms app and Contact apps only if
there is a SIM and on CDMA there is no sims yet.

The current implementation assumes CDMA never has an
IccCard this is true at the moment but needs to change.

Change-Id: I4167368e364623ea68e9b2778556e6d730b1e715
2009-09-01 15:52:42 -07:00
Dianne Hackborn
7004a65fe3 am 93ca790c: am d31825c6: Merge change 23403 into eclair
Merge commit '93ca790c025d51780bff9be42cffdd0055091edb'

* commit '93ca790c025d51780bff9be42cffdd0055091edb':
  Various infrastructure to support a running services UI.
2009-09-01 13:59:24 -07:00
Dianne Hackborn
3025ef332c Various infrastructure to support a running services UI.
Some of this is temporary (in particular the two approaches for getting
process memory, one working but horrible, the other not working but
preferred) until I figure out the best way to do it.

Change-Id: I8c8f25062d481fcea22a47d459b083d2fd8a5040
2009-09-01 11:16:25 -07:00
Patrick Scott
7ef8e73b08 am d15dcf07: am 05c9ed9c: Fix the documentation for onReceivedError.
Merge commit 'd15dcf07adfa04a3b1ce41c3bcb9455314025264'

* commit 'd15dcf07adfa04a3b1ce41c3bcb9455314025264':
  Fix the documentation for onReceivedError.
2009-09-01 05:42:38 -07:00
Patrick Scott
05c9ed9ce1 Fix the documentation for onReceivedError.
This change adds the EventHandler error codes to WebViewClient for the public
api. Previously, the api was ambiguous about the value of the errorCode
parameter and falsely documented that the values are HTTP status codes.
2009-09-01 08:37:22 -04:00
Fred Quintana
598ec41b37 am 9b52ad61: am 56f67d21: add the ability to specify yieldpoints in a ContentProviderOperation
Merge commit '9b52ad61642c84f74c89627eeb28d03ebb44386c'

* commit '9b52ad61642c84f74c89627eeb28d03ebb44386c':
  add the ability to specify yieldpoints in a ContentProviderOperation
2009-08-28 17:06:18 -07:00
Fred Quintana
56f67d2145 add the ability to specify yieldpoints in a ContentProviderOperation 2009-08-28 17:01:16 -07:00
Mike LeBeau
b4758199dd am 8c0fa1a2: am e9df3cf7: resolved conflicts for merge of 1e348378 to eclair
Merge commit '8c0fa1a2e5966b685f75e438eb089701b404b6ef'

* commit '8c0fa1a2e5966b685f75e438eb089701b404b6ef':
  Revert "Remove third party support for Quick Search Box (aka global search)."
2009-08-28 00:02:41 -07:00
Mike LeBeau
e9df3cf79c resolved conflicts for merge of 1e348378 to eclair 2009-08-27 23:54:12 -07:00
Dianne Hackborn
0754e1fb34 am 554f6cb1: am 49237345: Add platform infrastructure for features.
Merge commit '554f6cb1c7433449257d07d57e3d36cacb48fc70'

* commit '554f6cb1c7433449257d07d57e3d36cacb48fc70':
  Add platform infrastructure for features.
2009-08-27 22:16:13 -07:00
Fred Quintana
54313453d5 am 820232af: am 5511c669: Merge change 23067 into eclair
Merge commit '820232af1b70bc20a24afedc7533a1068d733e64'

* commit '820232af1b70bc20a24afedc7533a1068d733e64':
  allow delaying after yielding
2009-08-27 21:52:34 -07:00
Dianne Hackborn
49237345d8 Add platform infrastructure for features.
This introduces a new mechanism to define features associated with
a platform, query the current device for the available features,
and enforce that apps requiring features that aren't available can't
be installed.

Also now allows uses-library to specify that a library is optional,
so the lack of such a library will not prevent the app from being
installed (but if it does exist it will be correctly linked into
the app).

Change-Id: I5b369b46cfa0b3d37c9e08fd14ef1098a978e67b
2009-08-27 21:51:00 -07:00
Fred Quintana
5c7aede8d6 allow delaying after yielding 2009-08-27 21:43:35 -07:00
Android (Google) Code Review
1e3483780c Merge change 23043 into donut
* changes:
  Revert "Remove third party support for Quick Search Box (aka global search)."
2009-08-27 18:32:27 -07:00
Karl Rosaen
590f63433c Revert "Remove third party support for Quick Search Box (aka global search)."
This reverts commit a647b7f29d65a7792cede74284e714b591337992.
2009-08-27 17:42:48 -07:00
Dianne Hackborn
05a7e9e347 am fef09e8f: am 1005569f: Merge change 23012 into eclair
Merge commit 'fef09e8f98f61d3d89a3890f5917061fd6a73015'

* commit 'fef09e8f98f61d3d89a3890f5917061fd6a73015':
  Fix issue #2084148: Define the format for the auto focus preview for barcode scanning
2009-08-27 17:02:50 -07:00
Dianne Hackborn
e5276a7474 Fix issue #2084148: Define the format for the auto focus preview for barcode scanning
Add new manifest/aapt support for specifying device features an application
requires.  The aapt badging now returns these (as well as uses-permission since
I need to look for those anyway); if an app doesn't explicitly request the
camera feature but does request the permission, then aapt will say that it has
requested both the basic camera feature as well as the autofocus feature.

Here's what you put in your manifest to say you need a camera but don't need
autofocus:

    <uses-permission android:name="android.permission.CAMERA" />
    <uses-feature android:name="android.hardware.camera" />
    <uses-feature android:name="android.hardware.camera.autofocus" android:required="false" />

Here's what will be seen from aapt:

uses-permission:'android.permission.CAMERA'
uses-feature:'android.hardware.camera'
uses-feature-not-required:'android.hardware.camera.autofocus'

Change-Id: I4dd19cee0486cc54771f5bf14fc9db0e892115d5
2009-08-27 16:28:44 -07:00
Dianne Hackborn
145781c604 am 3d62b715: am fa526029: am f734e027: Merge change 22939 into donut
Merge commit '3d62b71514bdb1c7f6e75e3a6a5f1811d755a541'

* commit '3d62b71514bdb1c7f6e75e3a6a5f1811d755a541':
  Final Donut API list.
2009-08-27 14:45:22 -07:00
Dianne Hackborn
fa5260290f am f734e027: Merge change 22939 into donut
Merge commit 'f734e027bfed6c884e5f060c3291d3aeb5706dc8' into eclair

* commit 'f734e027bfed6c884e5f060c3291d3aeb5706dc8':
  Final Donut API list.
2009-08-27 14:40:51 -07:00