OSDN Git Service

android-x86/frameworks-base.git
14 years agoMerge change I8b302097 into eclair-mr2
Android (Google) Code Review [Fri, 11 Dec 2009 16:42:13 +0000 (08:42 -0800)]
Merge change I8b302097 into eclair-mr2

* changes:
  Update the zoom buttons after moving to a new page.

14 years agoMerge change I595c2d60 into eclair-mr2
Android (Google) Code Review [Fri, 11 Dec 2009 16:39:00 +0000 (08:39 -0800)]
Merge change I595c2d60 into eclair-mr2

* changes:
  Initial checkin of software AVC video decoder based on PV source code.

14 years agoMerge change Ida4d6ab0 into eclair-mr2
Android (Google) Code Review [Fri, 11 Dec 2009 14:22:12 +0000 (06:22 -0800)]
Merge change Ida4d6ab0 into eclair-mr2

* changes:
  Allows users to scroll while in select mode.

14 years agoam f9b0e826: fix [2269582] [TOP-10][Passion_1506][APT:Camera]Sometimes camera preview...
Mathias Agopian [Fri, 11 Dec 2009 09:16:08 +0000 (01:16 -0800)]
am f9b0e826: fix [2269582] [TOP-10][Passion_1506][APT:Camera]Sometimes camera preview screen is truncated after launching and back to home screen by home key repeatedly

Merge commit 'f9b0e826689cca5ecbd40aa49f3ea7f7c73ad2a2' into eclair-mr2

* commit 'f9b0e826689cca5ecbd40aa49f3ea7f7c73ad2a2':
  fix [2269582] [TOP-10][Passion_1506][APT:Camera]Sometimes camera preview screen is truncated after launching and back to home screen by home key repeatedly

14 years agofix [2269582] [TOP-10][Passion_1506][APT:Camera]Sometimes camera preview screen is...
Mathias Agopian [Fri, 11 Dec 2009 08:56:10 +0000 (00:56 -0800)]
fix [2269582] [TOP-10][Passion_1506][APT:Camera]Sometimes camera preview screen is truncated after launching and back to home screen by home key repeatedly

When a surface is removed from the screen while it holds a "freeze lock", the
release of that lock happens in the destructor as a "safety net". However, it
doesn't trigger an update at that point.

Make sure that "freeze locks" are released from the transaction at the point
a surface is removed from the screen (if it's not on screen, it shouldn't
prevent the screen to redraw, and therefore cannot hold a freeze lock).
The refresh corresponding to that transaction will pick it up as soon as possible.

14 years agoMerge change I0a56959e into eclair-mr2
Android (Google) Code Review [Fri, 11 Dec 2009 05:22:19 +0000 (21:22 -0800)]
Merge change I0a56959e into eclair-mr2

* changes:
  Implement a HierarchicalStateMachine

14 years agoDefault to UTF8 resources when packaging with aapt
Kenny Root [Thu, 10 Dec 2009 21:52:53 +0000 (13:52 -0800)]
Default to UTF8 resources when packaging with aapt

This change makes it so with API level 7 and above all resources will be
packaged in UTF-8 format. Any minSdkVersion level that is named will also
have resources packaged in UTF-8, because it is assumed that previous
releases will only be rebuilt with their proper integer number and only
future releases will temporarily have names.

Change-Id: If5d1ee5e48fbaf31798816b068ac44b14a93121b

14 years agoam 7eb6ec1f: Merge change I18305fec into eclair
Roman Nurik [Fri, 11 Dec 2009 03:48:47 +0000 (19:48 -0800)]
am 7eb6ec1f: Merge change I18305fec into eclair

Merge commit '7eb6ec1f44ade4c7bf3d23cbcfe29a17bbd940b1' into eclair-mr2

* commit '7eb6ec1f44ade4c7bf3d23cbcfe29a17bbd940b1':
  Add ContactManager, MultiResolution, Wiktionary, and WiktionarySimple to samples index. Also add latest samples zip file.

14 years agoam 083a557c: fix [2319255] crash in openGL : from the media recorder stress test.
Mathias Agopian [Fri, 11 Dec 2009 03:48:05 +0000 (19:48 -0800)]
am 083a557c: fix [2319255] crash in openGL : from the media recorder stress test.

Merge commit '083a557c25e0032bc4900f335b6643d0badd09ce' into eclair-mr2

* commit '083a557c25e0032bc4900f335b6643d0badd09ce':
  fix [2319255] crash in openGL : from the media recorder stress test.

14 years agoMerge change I6478884a into eclair-mr2
Android (Google) Code Review [Fri, 11 Dec 2009 02:05:19 +0000 (18:05 -0800)]
Merge change I6478884a into eclair-mr2

* changes:
  Add string resource type inspection

14 years agoam b9b45a5e: Merge change I24bb662a into eclair
Trevor Johns [Fri, 11 Dec 2009 01:57:59 +0000 (17:57 -0800)]
am b9b45a5e: Merge change I24bb662a into eclair

Merge commit 'b9b45a5e26ed020a39a507a173d9f29e336cf989' into eclair-mr2

* commit 'b9b45a5e26ed020a39a507a173d9f29e336cf989':
  Adding screenshots for development/samples/Wiktionary and development/samples/WiktionarySimple.

14 years agoam 14f89404: Fix media player decode function. Bug 2317821.
Dave Sparks [Fri, 11 Dec 2009 01:57:10 +0000 (17:57 -0800)]
am 14f89404: Fix media player decode function. Bug 2317821.

Merge commit '14f8940472217e8b0164d8f213679710d623d528' into eclair-mr2

* commit '14f8940472217e8b0164d8f213679710d623d528':
  Fix media player decode function. Bug 2317821.

14 years agoam d3cfb1bd: Merge change Ia48b3f2a into eclair
Dianne Hackborn [Fri, 11 Dec 2009 01:56:39 +0000 (17:56 -0800)]
am d3cfb1bd: Merge change Ia48b3f2a into eclair

Merge commit 'd3cfb1bd84affbf740256f5e9804c93ef7722b37' into eclair-mr2

* commit 'd3cfb1bd84affbf740256f5e9804c93ef7722b37':
  Fix #2313887: Device doesn't boot after rebooting device...

14 years agoam 88ff62db: Merge change I06398298 into eclair
Scott Main [Fri, 11 Dec 2009 01:56:28 +0000 (17:56 -0800)]
am 88ff62db: Merge change I06398298 into eclair

Merge commit '88ff62db35796a3e8ac9fc812030bfdbbf0e99b1' into eclair-mr2

* commit '88ff62db35796a3e8ac9fc812030bfdbbf0e99b1':
  docs: add images used in BT developer guide.

14 years agoresolved conflicts for merge of ce307f88 to eclair-mr2
Jean-Baptiste Queru [Fri, 11 Dec 2009 01:53:27 +0000 (17:53 -0800)]
resolved conflicts for merge of ce307f88 to eclair-mr2

14 years agoUpdate the zoom buttons after moving to a new page.
Mike Reed [Thu, 12 Nov 2009 17:50:20 +0000 (12:50 -0500)]
Update the zoom buttons after moving to a new page.

Move set VISIBLE out of updateZoomButtonsEnabled.
And add it to a place it needs it.

Fix http://b/issue?id=2257742

14 years agoam ed2a70d6: docs: add the Bluetooth developer guide, and make some revisions to...
Scott Main [Fri, 11 Dec 2009 01:42:55 +0000 (17:42 -0800)]
am ed2a70d6: docs: add the Bluetooth developer guide, and make some revisions to the BT javadocs

Merge commit 'ed2a70d6495b3f1928e36ad2b00ee4d33b2c0379' into eclair-mr2

* commit 'ed2a70d6495b3f1928e36ad2b00ee4d33b2c0379':
  docs: add the Bluetooth developer guide,

14 years agoam 282a7423: (-s ours) Merge change I3c299167 into eclair
Eric Fischer [Fri, 11 Dec 2009 01:42:43 +0000 (17:42 -0800)]
am 282a7423: (-s ours) Merge change I3c299167 into eclair

Merge commit '282a742347bcb673f278c56b4dfede328a655296' into eclair-mr2

* commit '282a742347bcb673f278c56b4dfede328a655296':
  Import revised translations.  DO NOT MERGE

14 years agoam abd6c278: Merge change I54400322 into eclair
Trevor Johns [Fri, 11 Dec 2009 01:41:45 +0000 (17:41 -0800)]
am abd6c278: Merge change I54400322 into eclair

Merge commit 'abd6c2782d1fe9816068003bc1d143dedd42de81' into eclair-mr2

* commit 'abd6c2782d1fe9816068003bc1d143dedd42de81':
  Adding screenshots for development/samples/ContactManager documentation.

14 years agoam f6e32e72: Merge change Icced7a09 into eclair
Jaikumar Ganesh [Fri, 11 Dec 2009 01:40:53 +0000 (17:40 -0800)]
am f6e32e72: Merge change Icced7a09 into eclair

Merge commit 'f6e32e72a902d9a309410bc5306a539ea850159f' into eclair-mr2

* commit 'f6e32e72a902d9a309410bc5306a539ea850159f':
  Maintain a list of all Bluetooth docks.

14 years agoam 76169da0: fix [2315900] Monochrome camera preview screen after launching camera
Mathias Agopian [Fri, 11 Dec 2009 01:40:41 +0000 (17:40 -0800)]
am 76169da0: fix [2315900] Monochrome camera preview screen after launching camera

Merge commit '76169da0e84b0fcf621aeac6141af3ee85bc7c1e' into eclair-mr2

* commit '76169da0e84b0fcf621aeac6141af3ee85bc7c1e':
  fix [2315900] Monochrome camera preview screen after launching camera

14 years agoMerge change I18305fec into eclair
Android (Google) Code Review [Fri, 11 Dec 2009 01:03:30 +0000 (17:03 -0800)]
Merge change I18305fec into eclair

* changes:
  Add ContactManager, MultiResolution, Wiktionary, and WiktionarySimple to samples index. Also add latest samples zip file.

14 years agoam 86ed86d2: Merge change I0f73439a into eclair
Jean-Michel Trivi [Fri, 11 Dec 2009 00:46:13 +0000 (16:46 -0800)]
am 86ed86d2: Merge change I0f73439a into eclair

Merge commit '86ed86d2260932bdf2217b1d8431ac9e04d47534' into eclair-mr2

* commit '86ed86d2260932bdf2217b1d8431ac9e04d47534':
  Partially fix bug 2111240 Detect docking / undocking event by reporting

14 years agoam 57ce0888: Merge change Id22c0137 into eclair
Jason Sams [Fri, 11 Dec 2009 00:45:22 +0000 (16:45 -0800)]
am 57ce0888: Merge change Id22c0137 into eclair

Merge commit '57ce0888fcb1376b385c3dab5e4262793acaaf16' into eclair-mr2

* commit '57ce0888fcb1376b385c3dab5e4262793acaaf16':
  Throttle low priority RS threads by sleeping once per frame to avoid starving other apps.

14 years agoam d8c752ef: Merge change Ib548dbb2 into eclair
Mathias Agopian [Fri, 11 Dec 2009 00:43:09 +0000 (16:43 -0800)]
am d8c752ef: Merge change Ib548dbb2 into eclair

Merge commit 'd8c752ef74bc6d8b412defe35caf1a19be15eb8b' into eclair-mr2

* commit 'd8c752ef74bc6d8b412defe35caf1a19be15eb8b':
  improve video performance to minimize the tearing effect seen in 720p movies

14 years agofix [2319255] crash in openGL : from the media recorder stress test.
Mathias Agopian [Thu, 10 Dec 2009 23:52:29 +0000 (15:52 -0800)]
fix [2319255] crash in openGL : from the media recorder stress test.

never call eglCreateImageKHR() with a NULL native buffer, which can
happen in OOM conditions.

14 years agoAdded View#dispatchViewVisibilityChanged and View#onDispatchVisibilityChanged; update...
Adam Powell [Wed, 9 Dec 2009 23:10:07 +0000 (15:10 -0800)]
Added View#dispatchViewVisibilityChanged and View#onDispatchVisibilityChanged; updated api; tests

Reverted a change to InstrumentationTestCase that would have allowed @UiThreadTest on setUp() methods of tests.

14 years agoInitial checkin of software AVC video decoder based on PV source code.
Andreas Huber [Thu, 10 Dec 2009 17:44:29 +0000 (09:44 -0800)]
Initial checkin of software AVC video decoder based on PV source code.

14 years agoAdd string resource type inspection
Kenny Root [Thu, 10 Dec 2009 22:20:15 +0000 (14:20 -0800)]
Add string resource type inspection

Allows "aapt dump --values resource" to print out whether a string in a
ResStringPool is in UTF-8 or UTF-16 encoding.

Change-Id: I6478884a70a3b46fee862dece6cb33454fc34843

14 years agoMerge change Ib3d582d7 into eclair-mr2
Android (Google) Code Review [Thu, 10 Dec 2009 21:46:10 +0000 (13:46 -0800)]
Merge change Ib3d582d7 into eclair-mr2

* changes:
  Fix crash with @UiThreadTest in InstrumentationTestCase.

14 years agoFix crash with @UiThreadTest in InstrumentationTestCase.
Romain Guy [Thu, 10 Dec 2009 21:45:31 +0000 (13:45 -0800)]
Fix crash with @UiThreadTest in InstrumentationTestCase.

14 years agoMerge change If0d04246 into eclair-mr2
Android (Google) Code Review [Thu, 10 Dec 2009 21:11:50 +0000 (13:11 -0800)]
Merge change If0d04246 into eclair-mr2

* changes:
  Don't count empty buffers when computing the frame rate.

14 years agoAllows users to scroll while in select mode.
Maryam Garrett [Thu, 10 Dec 2009 20:42:30 +0000 (15:42 -0500)]
Allows users to scroll while in select mode.

This change allows the user to select-n-scroll. While a user
is in select mode, and they try to scroll, the textbox will
scroll in the direction of the selection, and expand the selection.

14 years agoMerge change I3c01bb62 into eclair-mr2
Android (Google) Code Review [Thu, 10 Dec 2009 20:37:59 +0000 (12:37 -0800)]
Merge change I3c01bb62 into eclair-mr2

* changes:
  Adding copyright headers to recently introduced decoder source files.

14 years agoMerge change I9a275773 into eclair-mr2
Android (Google) Code Review [Thu, 10 Dec 2009 20:29:39 +0000 (12:29 -0800)]
Merge change I9a275773 into eclair-mr2

* changes:
  Initial check in of AMR (NB and WB) decoders based on PV source code.

14 years agoAdding copyright headers to recently introduced decoder source files.
Andreas Huber [Thu, 10 Dec 2009 20:28:22 +0000 (12:28 -0800)]
Adding copyright headers to recently introduced decoder source files.

14 years agoInitial check in of AMR (NB and WB) decoders based on PV source code.
Andreas Huber [Tue, 8 Dec 2009 23:40:06 +0000 (15:40 -0800)]
Initial check in of AMR (NB and WB) decoders based on PV source code.

14 years agoDon't count empty buffers when computing the frame rate.
Andreas Huber [Thu, 10 Dec 2009 20:21:57 +0000 (12:21 -0800)]
Don't count empty buffers when computing the frame rate.

14 years agoMerge change Id432656e into eclair-mr2
Android (Google) Code Review [Thu, 10 Dec 2009 19:54:13 +0000 (11:54 -0800)]
Merge change Id432656e into eclair-mr2

* changes:
  Add support for @UiThreadTest on setUp() and tearDown() in InstrumentationTestCase.

14 years agoAdd ContactManager, MultiResolution, Wiktionary, and WiktionarySimple to samples...
Roman Nurik [Thu, 10 Dec 2009 17:42:51 +0000 (09:42 -0800)]
Add ContactManager, MultiResolution, Wiktionary, and WiktionarySimple to samples index. Also add latest samples zip file.

14 years agoAdd support for @UiThreadTest on setUp() and tearDown() in InstrumentationTestCase.
Romain Guy [Thu, 10 Dec 2009 19:16:43 +0000 (11:16 -0800)]
Add support for @UiThreadTest on setUp() and tearDown() in InstrumentationTestCase.

14 years ago- move the EventLog stuff out of ATSA
Fred Quintana [Thu, 10 Dec 2009 18:33:18 +0000 (10:33 -0800)]
- move the EventLog stuff out of ATSA
- move the google calendar sync adapter settings out of Settings.java

14 years agoMerge change I7daa7ae8 into eclair-mr2
Android (Google) Code Review [Thu, 10 Dec 2009 18:17:17 +0000 (10:17 -0800)]
Merge change I7daa7ae8 into eclair-mr2

* changes:
  move event log tags used by SyncAdapter into a local .logtags file

14 years agoMerge change I24bb662a into eclair
Android (Google) Code Review [Thu, 10 Dec 2009 07:42:13 +0000 (23:42 -0800)]
Merge change I24bb662a into eclair

* changes:
  Adding screenshots for development/samples/Wiktionary and development/samples/WiktionarySimple.

14 years agoMerge change I98819b18 into eclair-mr2
Android (Google) Code Review [Thu, 10 Dec 2009 07:32:58 +0000 (23:32 -0800)]
Merge change I98819b18 into eclair-mr2

* changes:
  Allow resource and file URIs in ImageView.setImageURI()

14 years agoMerge change I154386b1 into eclair-mr2
Android (Google) Code Review [Thu, 10 Dec 2009 07:32:31 +0000 (23:32 -0800)]
Merge change I154386b1 into eclair-mr2

* changes:
  Use unbundled QSB for global search

14 years agoFix media player decode function. Bug 2317821.
Dave Sparks [Thu, 10 Dec 2009 04:20:26 +0000 (20:20 -0800)]
Fix media player decode function. Bug 2317821.

There was a recent change to OpenCORE that broke the MediaPlayer::decode()
function for all OpenCORE supported formats (MP3, AAC, and AMR-NB/WB). The
affect is that SoundPool is unreliable for all of these formats. This patch
changes the logic in the AudioCache object that processes messages from the
media player. The old logic was fragile. This change should make it more
robust against changes.

14 years agoAdding screenshots for development/samples/Wiktionary and development/samples/Wiktion...
Trevor Johns [Thu, 10 Dec 2009 04:26:55 +0000 (20:26 -0800)]
Adding screenshots for development/samples/Wiktionary and development/samples/WiktionarySimple.

14 years agoMerge change Ia48b3f2a into eclair
Android (Google) Code Review [Thu, 10 Dec 2009 02:41:04 +0000 (18:41 -0800)]
Merge change Ia48b3f2a into eclair

* changes:
  Fix #2313887: Device doesn't boot after rebooting device...

14 years agoFix #2313887: Device doesn't boot after rebooting device...
Dianne Hackborn [Thu, 10 Dec 2009 02:26:21 +0000 (18:26 -0800)]
Fix #2313887: Device doesn't boot after rebooting device...

...in setup wizard ->Wifi setup screen.

We were stopped waiting for the wallpaper to draw, which it would never do
because it had been obscured and thus hidden.

Change-Id: Ia48b3f2a46ca970f143cbaee99f5f2a054378986

14 years agoMerge change I06398298 into eclair
Android (Google) Code Review [Thu, 10 Dec 2009 02:20:21 +0000 (18:20 -0800)]
Merge change I06398298 into eclair

* changes:
  docs: add images used in BT developer guide.

14 years agodocs: add images used in BT developer guide.
Scott Main [Thu, 10 Dec 2009 02:11:16 +0000 (18:11 -0800)]
docs: add images used in BT developer guide.

needed (but not a dependency) by I1cd5c8282ba45d79da854db43d741b6fa049812b

14 years agoMerge change Ie4cdb5a3 into eclair
Android (Google) Code Review [Thu, 10 Dec 2009 02:09:49 +0000 (18:09 -0800)]
Merge change Ie4cdb5a3 into eclair

* changes:
  Add --custom-package to aapt

14 years agodocs: add the Bluetooth developer guide,
Scott Main [Thu, 10 Dec 2009 00:07:39 +0000 (16:07 -0800)]
docs: add the Bluetooth developer guide,
and make some revisions to the BT javadocs

14 years agoMerge change I3c299167 into eclair
Android (Google) Code Review [Thu, 10 Dec 2009 01:59:07 +0000 (17:59 -0800)]
Merge change I3c299167 into eclair

* changes:
  Import revised translations.  DO NOT MERGE

14 years agoMerge change I54400322 into eclair
Android (Google) Code Review [Thu, 10 Dec 2009 01:51:34 +0000 (17:51 -0800)]
Merge change I54400322 into eclair

* changes:
  Adding screenshots for development/samples/ContactManager documentation.

14 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Thu, 10 Dec 2009 01:06:04 +0000 (17:06 -0800)]
Import revised translations.  DO NOT MERGE

14 years agoMerge change Icced7a09 into eclair
Android (Google) Code Review [Thu, 10 Dec 2009 01:00:09 +0000 (17:00 -0800)]
Merge change Icced7a09 into eclair

* changes:
  Maintain a list of all Bluetooth docks.

14 years agoMaintain a list of all Bluetooth docks.
Jaikumar Ganesh [Wed, 9 Dec 2009 20:09:21 +0000 (12:09 -0800)]
Maintain a list of all Bluetooth docks.

With this change, isBluetoothDock API can be used anytime and is not in tied
to dock state. The Dock State is a sticky intent so users
can query for the dock state.

Dr No: Eastham
Bug: 2133530

14 years agofix [2315900] Monochrome camera preview screen after launching camera
Mathias Agopian [Wed, 9 Dec 2009 22:32:56 +0000 (14:32 -0800)]
fix [2315900] Monochrome camera preview screen after launching camera

this was introduced by a recent change. when we try to figure out the size of
the yuv->rgb temporary buffer, the output resolution has not been computed yet
and an invalid buffer size is used. most of the time the allocation fails
and the system reverts to "standard" GL will uses onle the Y plane.

the allocation of the temporary buffer is moved to onDraw(), the first
time it is called, by that time, the window is positioned properly.

14 years agoMerge change I2cb78a66 into eclair-mr2
Android (Google) Code Review [Wed, 9 Dec 2009 22:22:47 +0000 (14:22 -0800)]
Merge change I2cb78a66 into eclair-mr2

* changes:
  Add convenience function to MediaStore to move a playlist item to a different location.

14 years agomove event log tags used by SyncAdapter into a local .logtags file
Doug Zongker [Tue, 8 Dec 2009 20:47:12 +0000 (12:47 -0800)]
move event log tags used by SyncAdapter into a local .logtags file

14 years agoMerge change I0f73439a into eclair
Android (Google) Code Review [Wed, 9 Dec 2009 19:46:50 +0000 (11:46 -0800)]
Merge change I0f73439a into eclair

* changes:
  Partially fix bug 2111240 Detect docking / undocking event by reporting to the AudioPolicyManager a new forced usage AudioSystem::FOR_DOCK which can take the FORCE_NONE, FORCE_BT_DOCK or FORCE_WIRED_ACCESSORY values. This CL is complemented by an update of the APM to take into account the FOR_DOCK usage.

14 years agoMerge change Id469ba88 into eclair-mr2
Android (Google) Code Review [Wed, 9 Dec 2009 19:30:00 +0000 (11:30 -0800)]
Merge change Id469ba88 into eclair-mr2

* changes:
  Listen for window orientation events.

14 years agoListen for window orientation events.
Patrick Scott [Wed, 2 Dec 2009 13:57:09 +0000 (08:57 -0500)]
Listen for window orientation events.

These will be sent to webcore as orientation events.

14 years agoEnable longpress and doubletap to WebKit as touch
Grace Kloba [Wed, 9 Dec 2009 02:42:54 +0000 (18:42 -0800)]
Enable longpress and doubletap to WebKit as touch
event if it is requested.

14 years agoMerge change Id22c0137 into eclair
Android (Google) Code Review [Wed, 9 Dec 2009 19:07:16 +0000 (11:07 -0800)]
Merge change Id22c0137 into eclair

* changes:
  Throttle low priority RS threads by sleeping once per frame to avoid starving other apps.

14 years agoThrottle low priority RS threads by sleeping once per frame to avoid starving other...
Jason Sams [Wed, 9 Dec 2009 19:05:45 +0000 (11:05 -0800)]
Throttle low priority RS threads by sleeping once per frame to avoid starving other apps.

14 years agofix build
Fred Quintana [Wed, 9 Dec 2009 19:03:00 +0000 (11:03 -0800)]
fix build

14 years agofix a build breakage
Fred Quintana [Wed, 9 Dec 2009 18:53:23 +0000 (10:53 -0800)]
fix a build breakage

14 years ago- removed the concept of Entity from the ContentProvider APIs
Fred Quintana [Mon, 7 Dec 2009 22:52:28 +0000 (14:52 -0800)]
- removed the concept of Entity from the ContentProvider APIs
- removed the parcelling ability from Entity and EntityIterator and made them public
- added an EntityIterator abstract implementation that allow easy wrapping of a Cursor
- changed the VCard code to use the new APIs

14 years agoMerge change I75481cb8 into eclair-mr2
Android (Google) Code Review [Wed, 9 Dec 2009 17:52:24 +0000 (09:52 -0800)]
Merge change I75481cb8 into eclair-mr2

* changes:
  Check that the resolved activity is not in our package.

14 years agoAdd convenience function to MediaStore to move a playlist item
Marco Nelissen [Wed, 9 Dec 2009 01:13:32 +0000 (17:13 -0800)]
Add convenience function to MediaStore to move a playlist item
to a different location.

14 years agoCheck that the resolved activity is not in our package.
Patrick Scott [Wed, 9 Dec 2009 16:09:04 +0000 (11:09 -0500)]
Check that the resolved activity is not in our package.

Ideally, I would like to allow Activities in the same package to intercept mime
types but there is no way to get the current Activity information from a generic
Context object. For now, skip resolved Activities that are in the same package.

Bug: 2314904

14 years agoPass a message to move the focus when user hits "Next".
Leon Scroggins [Tue, 8 Dec 2009 21:57:26 +0000 (16:57 -0500)]
Pass a message to move the focus when user hits "Next".

Directly move the focus rather than passing a click.

Fixes http://b/issue?id=2292683

Requires a change to external/webkit

14 years agoUse unbundled QSB for global search
Bjorn Bringert [Wed, 9 Dec 2009 12:23:12 +0000 (12:23 +0000)]
Use unbundled QSB for global search

This obsoletes the following:
- The need to run SearchDialog in the system process.
- The global search mode code in SearchDialog.
- The GlobalSearch package.
- The search widget built into Launcher.

I will remove these in future changes.

Change-Id: I154386b1d6be73cfeab8376b6959a1dc5483e5f0

14 years agoMerge change Ib548dbb2 into eclair
Android (Google) Code Review [Wed, 9 Dec 2009 09:39:23 +0000 (01:39 -0800)]
Merge change Ib548dbb2 into eclair

* changes:
  improve video performance to minimize the tearing effect seen in 720p movies

14 years agoImplement Matrix Palette extension.
Jack Palevich [Tue, 8 Dec 2009 07:43:51 +0000 (15:43 +0800)]
Implement Matrix Palette extension.

Adds support for formerly-unimplemented methods:

glCurrentPaletteMatrixOES
glLoadPaletteFromModelViewMatrixOES
glMatrixIndexPointerOES
glWeightPointerOES

The bulk of the changes are related to implementing the two PointerOES
methods, which are implemented pretty much the same way as the existing
Pointer methods were implemented.

This change also changes the way glPointSizePointerOES is implemented,
making it act like all the other Pointer methods. (Previously it was
not handling non-direct-buffer arguments correctly.)

Fixes bug 2308625 "Support matrix palette skinning
in JSR239 and related APIs"

Also updated GLLogWraper to fix two bugs in GLLogWrapper that were
discovered while testing matrix palette skinning support:

a) Handle trying to print the contents of null-but-enabled buffers.
(It's not legal to draw with null-but-enabled buffers, and
in fact some OpenGL drivers will crash if you try to render in this
state, but there's no reason the GLLogWrapper should crash while trying
to debug this situation.

b) Don't read off the end of a vertex buffer with non-zero position when
printing the entire contents of the vertex buffer. Now we only print from
the current position to the end of the buffer.

14 years agoUnhide the Android OpenGL ES 2.0 API
Jack Palevich [Fri, 27 Nov 2009 11:59:05 +0000 (19:59 +0800)]
Unhide the Android OpenGL ES 2.0 API

Add a Matrix.setLookAtM method for computing a look-at viewing transform.

Change GLU.lookAt to use Matrix.setLook.

14 years agoExtend GLSurfaceView to make it easy to create an OpenGL ES 2.0 context
Jack Palevich [Thu, 19 Nov 2009 11:08:52 +0000 (19:08 +0800)]
Extend GLSurfaceView to make it easy to create an OpenGL ES 2.0 context

Provide a new method, GLSurfaceView.setEGLContextClientVersion. Clients
call this method to define which level of OpenGL ES support they want.

This method only affects the default behavior of GLSurfaceView. If clients
have supplied their own EGLContextFactory or EGLConfigChooser then they
are on their own if they want to create an OpenGL ES 2.0 context.

This API is currently hidden.

Update the gl2_java test to use this new API.

Update the gl2_java test's AndroidManifest.xml file to indicate that
it requires OpenGL ES 2.0.

14 years agoAdd a Java API for OpenGL ES 2.0.
Jack Palevich [Thu, 19 Nov 2009 08:34:55 +0000 (16:34 +0800)]
Add a Java API for OpenGL ES 2.0.

Currently this API is hidden.

Add a test program.

14 years agoAdding screenshots for development/samples/ContactManager documentation.
Trevor Johns [Tue, 24 Nov 2009 13:14:47 +0000 (05:14 -0800)]
Adding screenshots for development/samples/ContactManager documentation.

14 years agoImplement a HierarchicalStateMachine
Wink Saville [Wed, 9 Dec 2009 05:22:24 +0000 (21:22 -0800)]
Implement a HierarchicalStateMachine

A hierarchical state machine is a state machine which processes messages
and can have states arranged hierarchically. Each state in the state
machine may have a single parent state and if a child state is unable to
handle a message it may have the message processed by its parent.

Change-Id: I0a56959ece8f89e4f9122dc8044120b82d517bbb

14 years agoMerge change Iafbeb31b into eclair-mr2
Android (Google) Code Review [Wed, 9 Dec 2009 03:47:54 +0000 (19:47 -0800)]
Merge change Iafbeb31b into eclair-mr2

* changes:
  Maybe really fix windows build.

14 years agoMaybe really fix windows build.
Dianne Hackborn [Wed, 9 Dec 2009 03:45:59 +0000 (19:45 -0800)]
Maybe really fix windows build.

14 years agoimprove video performance to minimize the tearing effect seen in 720p movies
Mathias Agopian [Wed, 9 Dec 2009 03:29:38 +0000 (19:29 -0800)]
improve video performance to minimize the tearing effect seen in 720p movies

always rescale videos to their target size using copybit during yuv->rgb
conversion. this improves performance of the GPU pass and doesn't require
linear filtering to be enabled. Also always use 16-bits buffers.

the average processing time for 720p dropped from ~50ms to ~30ms

14 years agoam e851cdc6: Merge change Ifd95b9f5 into eclair
Dianne Hackborn [Wed, 9 Dec 2009 02:44:03 +0000 (18:44 -0800)]
am e851cdc6: Merge change Ifd95b9f5 into eclair

Merge commit 'e851cdc6c48c977d05096847001a0601d892fd55' into eclair-mr2

* commit 'e851cdc6c48c977d05096847001a0601d892fd55':
  Fix #2313382: SECURITY: Live wallpapers get touch events through the lock screen.

14 years agoMerge change Ifd95b9f5 into eclair
Android (Google) Code Review [Wed, 9 Dec 2009 02:40:37 +0000 (18:40 -0800)]
Merge change Ifd95b9f5 into eclair

* changes:
  Fix #2313382: SECURITY: Live wallpapers get touch events through the lock screen.

14 years agoAdd new white style for ExpandableListView.
Romain Guy [Wed, 9 Dec 2009 02:13:47 +0000 (18:13 -0800)]
Add new white style for ExpandableListView.

14 years agoMerge change I06fb2c1c into eclair-mr2
Android (Google) Code Review [Wed, 9 Dec 2009 02:05:58 +0000 (18:05 -0800)]
Merge change I06fb2c1c into eclair-mr2

* changes:
  Hopefully fix Windows build

14 years agoMerge change Iead0d4d8 into eclair-mr2
Android (Google) Code Review [Wed, 9 Dec 2009 01:34:56 +0000 (17:34 -0800)]
Merge change Iead0d4d8 into eclair-mr2

* changes:
  Fix the build when ViewDebug.TRACE_RECYCLER is set to true.

14 years agoFix the build when ViewDebug.TRACE_RECYCLER is set to true.
Romain Guy [Wed, 9 Dec 2009 01:33:53 +0000 (17:33 -0800)]
Fix the build when ViewDebug.TRACE_RECYCLER is set to true.

14 years agoMerge change I36785a9d into eclair-mr2
Android (Google) Code Review [Wed, 9 Dec 2009 00:59:22 +0000 (16:59 -0800)]
Merge change I36785a9d into eclair-mr2

* changes:
  Telephony: Make resetting radio on a radio technology change optional

14 years agoTelephony: Make resetting radio on a radio technology change optional
Wink Saville [Wed, 9 Dec 2009 00:57:58 +0000 (16:57 -0800)]
Telephony: Make resetting radio on a radio technology change optional

When there is a radio technology change in a multimode modem, resetting
the radio is not necessary always. Reset radio only when a property is
set. Notify applications that data connection is lost and ignore
notifications coming on the old radio technology.

Minor optimizations and bug fixes in CdmaDataConnectionTracker.
- Stop netstat polling when data connection is not active
- check all the elements of the data call list array to figure out if the
data connection is active.

Change-Id: I36785a9d1bf8ee135b574b61e9ba371faa04ffc7

14 years agoHopefully fix Windows build
Dianne Hackborn [Wed, 9 Dec 2009 00:38:01 +0000 (16:38 -0800)]
Hopefully fix Windows build

14 years agoMerge change Iee7f2457 into eclair-mr2
Android (Google) Code Review [Wed, 9 Dec 2009 00:35:05 +0000 (16:35 -0800)]
Merge change Iee7f2457 into eclair-mr2

* changes:
  Deleted Gmail.java from frameworks.  Previously it had been moved to vendor/google/.../Gmail/...

14 years agoMerge change Ia53c6725 into eclair-mr2
Android (Google) Code Review [Wed, 9 Dec 2009 00:34:48 +0000 (16:34 -0800)]
Merge change Ia53c6725 into eclair-mr2

* changes:
  Add bindService API to not bring ot foreground.

14 years agoam 68b15b68: Porting change I064698b3 from mr2 to eclair.
Robert Greenwalt [Wed, 9 Dec 2009 00:33:59 +0000 (16:33 -0800)]
am 68b15b68: Porting change I064698b3 from mr2 to eclair.

Merge commit '68b15b68497e373fe63a13f11e18349a738a7989' into eclair-mr2

* commit '68b15b68497e373fe63a13f11e18349a738a7989':
  Porting change I064698b3 from mr2 to eclair.

14 years agoAdd bindService API to not bring ot foreground.
Dianne Hackborn [Tue, 8 Dec 2009 22:50:51 +0000 (14:50 -0800)]
Add bindService API to not bring ot foreground.

Add a new flag for bindService that tells the system to not bring the
target service's process in to the foreground scheduling class.  This is
used by the sync system to not cause the current sync adapter to come to
the foreground as it is running.

Also some small improvements to the debug output of the process list
of oom adj and scheduling info.

14 years agoFix #2313382: SECURITY: Live wallpapers get touch events through the lock screen.
Dianne Hackborn [Tue, 8 Dec 2009 23:51:43 +0000 (15:51 -0800)]
Fix #2313382: SECURITY: Live wallpapers get touch events through the lock screen.

This is a quick and dirty hack to not deliver touch events to the wallpaper when
they are being sent to the keyguard.  Perhaps we should have a separate window
flag for this, but...  bleah.  Maybe later.  Or maybe I'll use that secure flag.
Or something.

Change-Id: Ifd95b9f5b10db24a0854a93b925a833b24331b4c