45615 Commits

Author SHA1 Message Date
Scott Main
eaf997258d am 63a4f9f5: am c516c771: docs: fix md5 sums
* commit '63a4f9f5e66e5fa38ed798c8cbcc44f623e42ec0':
  docs: fix md5 sums
2011-02-23 14:19:48 -08:00
Scott Main
63a4f9f5e6 am c516c771: docs: fix md5 sums
* commit 'c516c7714d9cdc996053fd2a130015cbde978242':
  docs: fix md5 sums
2011-02-23 14:17:30 -08:00
Scott Main
c516c7714d docs: fix md5 sums
Change-Id: Ie1cb77cf54bd17d2aa8228f73158e7589a7aebaa
2011-02-23 14:13:50 -08:00
Gloria Wang
daabf8b5ee Merge "To collect the total usage time of encoders in the media recorder" 2011-02-23 14:12:33 -08:00
Eric Hassold
d9896edfa3 Merge "Correctly handle translucency of device-specific pixel formats" 2011-02-23 14:10:04 -08:00
Jamie Gennis
1beb480552 am 20bfbd95: am 76d0c763: (-s ours) am fa238f03: Merge "egl: fixes for object refcounts" into gingerbread
* commit '20bfbd9544dcb36f967c93a63842ecea92e82f22':
  egl: fixes for object refcounts
2011-02-23 13:37:34 -08:00
Jamie Gennis
20bfbd9544 am 76d0c763: (-s ours) am fa238f03: Merge "egl: fixes for object refcounts" into gingerbread
* commit '76d0c763f008d19791e13ebabe9ec83958354bc5':
  egl: fixes for object refcounts
2011-02-23 13:31:12 -08:00
Gloria Wang
62e05a6159 To collect the total usage time of encoders in the media recorder
Change-Id: I94c9c94dec6bd714a3ebf96b4465b94f069e55b8
2011-02-23 13:20:21 -08:00
Xia Wang
fb2f199292 Merge "Remove long sleep time in WifiApStress test as it causes the test to run for a long time." 2011-02-23 13:19:24 -08:00
Jamie Gennis
76d0c763f0 am fa238f03: Merge "egl: fixes for object refcounts" into gingerbread
* commit 'fa238f033203f8e722b060af3f0095762b134f37':
  egl: fixes for object refcounts
2011-02-23 12:46:57 -08:00
Jamie Gennis
fa238f0332 Merge "egl: fixes for object refcounts" into gingerbread 2011-02-23 12:30:55 -08:00
Xavier Ducrohet
c6083f2c9e LayoutLib: misc fixes.
- implement some Paint methods that are needed for 2.x
- fix the phone system bar to display the icons on the right.

Change-Id: I3a938b14ec9a449dbc23a33303a3c8405a5369a8
2011-02-23 12:00:42 -08:00
Xavier Ducrohet
cc4977d0fd LayoutLib: Hold onto delegate references.
When an object is given a delegate to hold onto, keep
the reference to the delegate instead of its native integer.

Also change the way the finalizer works by not explicitely deleting
the delegate. Instead we want the delegate to be deleted when
nothing holds a reference to it. To do this, instead of using
a regular SparseArray, we use a SparseArray of WeakReferences.
Because the main Java object that "owns" the delegate does not
actually holds a reference to the delegate, we fake this by
having the delegate manager hold a reference to delegates for
the main object. This is added/removed as the object is created
and the native finalized is called.

This makes layoutlib behave more like the JNI code where the native
objects are reference counted, and where the Java object can be
deleted but the delegate it owns is kept around (usually because
another type of delegates hold a reference on it.)

To properly handle the WeakReferences, we need to be able to
regularly clear the SparseArray of WeakReference that were
referencing objects that have been GC'ed.
Since the SparseArray is regularly being compacted (actually only
when items are removed), we use a custom SparseWeakArray (started
as a straight copy of SparseArray) that handles the WeakReference
and takes care of compacting the array by removing deleted indices
and WeakReference that returns null. Since our specific use case
doesn't call actually delete() or remove(), the compacting
only happens when the array needs to be resized.

Change-Id: Iacc5c1ff5b21732b8816fda87eb090da12d034e0
2011-02-23 12:00:41 -08:00
Xavier Ducrohet
8cb6fc184d LayoutLib: Import of SparseArray as SparseWeakArray.
This is a straight copy for easy review of the customization.

Change-Id: I351ec570c3e7a025561939ab05c1ae7eded30b38
2011-02-23 12:00:41 -08:00
Xia Wang
8d2f78898e Remove long sleep time in WifiApStress test
as it causes the test to run for a long time.

Change-Id: I82dd042866f9e9f4637a5c3cc553334abe769260
2011-02-23 11:39:14 -08:00
Scott Main
e86c12c9e4 am 02be2f1d: am 2788e4f9: docs: fix some typos
* commit '02be2f1d874078f227af34fcac7863eca1f35653':
  docs: fix some typos
2011-02-23 11:27:12 -08:00
Scott Main
02be2f1d87 am 2788e4f9: docs: fix some typos
* commit '2788e4f96a3f210192145a340a1d072c70c7bc4f':
  docs: fix some typos
2011-02-23 11:24:42 -08:00
Romain Guy
a6ec8ca641 Merge "Don't swap bottom left and bottom right corner radii." 2011-02-23 11:20:34 -08:00
Romain Guy
39c512b623 Don't swap bottom left and bottom right corner radii.
Change-Id: If57b6627f67998edc384de15e3d970f8edf18211
2011-02-23 11:21:39 -08:00
Leon Scroggins
91ebba38ee Merge "New flag to open intent in a new tab." 2011-02-23 11:20:05 -08:00
Scott Main
2788e4f96a docs: fix some typos
Change-Id: I2dc9855f8fe87234d4337351e8bac6c382fb74d2
2011-02-23 10:54:31 -08:00
Irfan Sheriff
563db5343f Merge "Add support for background scanning" 2011-02-23 10:41:12 -08:00
James Dong
afc671fc5e Merge "Application-managed callback buffer support for raw image" 2011-02-23 10:38:21 -08:00
Santosh Madhava
bba9529d79 Merge "Cleanup for issue 3471160 : video editor calls System.gc" 2011-02-23 09:59:07 -08:00
Gloria Wang
87e639bc15 Merge "- Add method in MediaPlayerService to collect and pull codec usage (duration) for the battery app - Collect MediaPlayer decoding usage data" 2011-02-23 09:58:33 -08:00
Daniel Sandler
282ff9ae3f Fix issues with DND display in status bar.
Bug: 3478116
Bug: 3480339
Change-Id: I513f0c2696dc3fe5aa3a6f071f1e4793f9f9645c
2011-02-23 11:05:37 -05:00
Leon Scroggins
af5b406ad6 New flag to open intent in a new tab.
Bug:3405773

Change-Id: I363bfbfee90e98cd1e6a57452e599a79637a8555
2011-02-23 10:46:35 -05:00
Daniel Sandler
ad788884de Merge "Rotation lock fix for sensor{Landscape,Portrait} activities." 2011-02-23 06:43:16 -08:00
Daniel Sandler
70564141ce Merge "Minor cleanups to Notification docs." 2011-02-23 06:43:12 -08:00
Daniel Sandler
5e98dbc770 Merge "Documentation: Notification.icon is mandatory." 2011-02-23 06:42:48 -08:00
Bjorn Bringert
ceb1997174 Merge "ActivityManager exposes launch count API." 2011-02-23 02:30:57 -08:00
Gloria Wang
d211f41f76 - Add method in MediaPlayerService to collect and pull
codec usage (duration) for the battery app
- Collect MediaPlayer decoding usage data

Change-Id: I0ef4e32b6a041ba1fe73c19f9c67185c61d03965
2011-02-22 22:42:05 -08:00
Justin Ho
176b8d01b9 am 57b920bd: am da34ab21: am 9208875e: Updated iconography for network status and adding 4G assets
* commit '57b920bd6160663d2a00ea7d8933fcc4c4fd20d1':
  Updated iconography for network status and adding 4G assets
2011-02-22 21:56:27 -08:00
Alon Albert
5df34ac754 am a0946d63: am 1aba843d: am ccc802e1: Merge "Support quoted parameters" into gingerbread
* commit 'a0946d6399431d3cc86ef06d44695251ab04933b':
  Support quoted parameters
2011-02-22 21:56:23 -08:00
Robert Ly
74f0f0e7eb am 190d4e29: am c6c6fe93: Merge "doc change: fix missing code ending tag" into honeycomb
* commit '190d4e29f978742b14e196119e977f0f409b6b86':
  doc change: fix missing code ending tag
2011-02-22 21:41:34 -08:00
Scott Main
72881feb6e am d316bffe: am 47928f89: Merge "docs: fix broken links" into honeycomb
* commit 'd316bffeca451db26fa48d26fa7b10bfd65709c4':
  docs: fix broken links
2011-02-22 21:41:29 -08:00
James Dong
9a146d9d65 am d97c598f: am 6c9b500f: Merge "Added more warnings in javadoc for failure to call MediaPlayer.release() immediately if a MediaPlayer is not needed" into honeycomb
* commit 'd97c598ff4d902583f9083960b088b31350d0018':
  Added more warnings in javadoc for failure to call MediaPlayer.release() immediately if a MediaPlayer is not needed
2011-02-22 21:41:25 -08:00
Scott Main
8ce7c32eb0 am 1943b8c8: am 0ea4f0d7: Merge "docs: update highlights doc to remove preview" into honeycomb
* commit '1943b8c8da5b03fd97ded8549d16c4db5f116a2d':
  docs: update highlights doc to remove preview
2011-02-22 21:41:20 -08:00
Scott Main
9c979a973d am 8bee4125: am 9d5f35d9: Merge "docs: add breadcrumb trails to some docs, mostly manifest docs" into honeycomb
* commit '8bee41254680493e97c58d4eaa77b5cd112db5ba':
  docs: add breadcrumb trails to some docs, mostly manifest docs
2011-02-22 21:41:14 -08:00
Roman Nurik
001766df60 am 306115b6: am cba8efdf: Add more tags to the RenderScript sample listing.
* commit '306115b617939f7472ce44c216246a367371f991':
  Add more tags to the RenderScript sample listing.
2011-02-22 21:41:09 -08:00
Dirk Dougherty
d073ff58c1 am 30eefe63: am 7036d76a: Merge "Doc change: Add doc for GL texture declaration/filtering, hardwareAccelerated manifest attr." into honeycomb
* commit '30eefe6381c54cdbbb473e381c9e1defea76c4d6':
  Doc change: Add doc for GL texture declaration/filtering, hardwareAccelerated manifest attr.
2011-02-22 21:41:03 -08:00
Roman Nurik
1f3e42743e am c49992c9: am 4f4cab75: Merge "Document support for WebM/VP8 decoding." into honeycomb
* commit 'c49992c91ca086fac89310f38a1e66968db34a8a':
  Document support for WebM/VP8 decoding.
2011-02-22 21:40:57 -08:00
Nick Pelly
6189a60216 am 4c9647cf: (-s ours) am beb01c93: Merge "DO NOT MERGE." into honeycomb
* commit '4c9647cf4c01d4b8e0fce693a1b85743d7df8695':
  DO NOT MERGE.
2011-02-22 21:40:51 -08:00
Scott Main
d59408831e am 976a3b4a: am 4d62ef25: docs: revert ndk r6
* commit '976a3b4a96f0f8377614a2870788c49e26580fe5':
  docs: revert ndk r6
2011-02-22 21:40:45 -08:00
Scott Main
456d38c87a am d80d6c52: am f870c5af: docs: add new-child tags to hide the "new" tag when a parent list item is expanded
* commit 'd80d6c52ee2df4bb58fa6a54e5dcfdac005bd424':
  docs: add new-child tags to hide the "new" tag when a parent list item is expanded
2011-02-22 21:40:31 -08:00
Scott Main
1d9c2c758d am bf1f25d8: am 1f694390: docs: move 3.0 optimizing doc into the dev guide
* commit 'bf1f25d888854322d97d9f0981121efea93ea820':
  docs: move 3.0 optimizing doc into the dev guide
2011-02-22 21:40:23 -08:00
Maarten Hooft
fd55bbe0de am 060793ed: (-s ours) am 62f40c8b: (-s ours) am 99cca89f: Merge "Import revised translations. DO NOT MERGE" into gingerbread
* commit '060793ed21c6164f74913d4753eba3c46e4e1f3f':
  Import revised translations.  DO NOT MERGE
2011-02-22 21:35:29 -08:00
Romain Guy
e42aa50ded am e5410aa1: am ad492161: am a2090bea: am 7118bdec: Merge "Fix for #12945: ProgressBar.setMax() will always redraw."
* commit 'e5410aa165d2c707c9f31eabbfcf9c2332d9228a':
  Fix for #12945: ProgressBar.setMax() will always redraw.
2011-02-22 21:35:20 -08:00
Justin Ho
57b920bd61 am da34ab21: am 9208875e: Updated iconography for network status and adding 4G assets
* commit 'da34ab214886531e5e9c0d975d0dc70cfe8a26a4':
  Updated iconography for network status and adding 4G assets
2011-02-22 21:23:54 -08:00
Alon Albert
a0946d6399 am 1aba843d: am ccc802e1: Merge "Support quoted parameters" into gingerbread
* commit '1aba843dc327490a749059bcddff90e8048ed75c':
  Support quoted parameters
2011-02-22 21:23:50 -08:00