39025 Commits

Author SHA1 Message Date
Dianne Hackborn
febbf6e7f8 Merge "DO NOT MERGE Fix issue #3333958: Package Manager can sometimes mistakenly think..." into honeycomb 2011-01-09 13:24:17 -08:00
Adam Powell
353634a1aa Merge "Update progress/seek bar assets. Add indeterminate horizontal progress bars for holo theme." into honeycomb 2011-01-09 13:22:22 -08:00
Adam Powell
a50ff3847e Update progress/seek bar assets. Add indeterminate horizontal progress
bars for holo theme.

Change-Id: I86bb6af1e26727d18b24d5a5378cc9d1b431fc0e
2011-01-09 13:21:30 -08:00
Dianne Hackborn
1f22d2a31a DO NOT MERGE Fix issue #3333958: Package Manager can sometimes mistakenly think...
...an app is disabled!

Ouch.

Change-Id: I45dc2beef4e413fd447d905632901fadd924cb6e
2011-01-09 13:15:30 -08:00
Dianne Hackborn
6d175c727e Merge "Merge commit '690d20bb53ba2485f59d128b365eff991d5cc3e6' into manualmerge" into honeycomb 2011-01-09 13:07:15 -08:00
Michael Chan
ae34a7cd2d Merge "b/3279789 Fixed NPE in CalendarUtils$TimeZoneUtils$AsyncTZHandler.onQueryComplete" into honeycomb 2011-01-09 12:12:26 -08:00
Michael Chan
aa5bb98120 b/3279789 Fixed NPE in CalendarUtils$TimeZoneUtils$AsyncTZHandler.onQueryComplete
Null cursor was returned from query

Change-Id: I76a7d710b0764f52ed6ced23792717feb7b6ae08
2011-01-09 12:11:02 -08:00
Amith Yamasani
fe53015b0b Merge "Update default for auto-brightness." into honeycomb 2011-01-09 12:07:17 -08:00
Alex Sakhartchouk
6c191768f1 Merge "Adding comments to the renderscript program classes." into honeycomb 2011-01-09 12:07:00 -08:00
Dianne Hackborn
4f05220d10 Merge commit '690d20bb53ba2485f59d128b365eff991d5cc3e6' into manualmerge 2011-01-09 11:59:12 -08:00
Alex Sakhartchouk
df27202deb Adding comments to the renderscript program classes.
Change-Id: I989575951df1218c1e753dfa12193d560266bf11
2011-01-09 11:34:03 -08:00
Dmitri Plotnikov
bdd8d17d81 Merge "Fixed the waitForLoader method." into honeycomb 2011-01-09 11:27:25 -08:00
Dmitri Plotnikov
59d8edd09d Fixed the waitForLoader method.
The reason we need a separate latch is that
AsyncTask will post onPostExecute/onCancelled
_after_ executing mFuture.get().  The previous
implementation would only wait for mFuture.get()
to complete and not the entire task.

Change-Id: I96964591980965148eb09af38b5838bfa5d28277
2011-01-09 11:05:50 -08:00
Xavier Ducrohet
894f0e4c68 Merge "LayoutLib: add a few misc implementations." into honeycomb 2011-01-09 11:05:23 -08:00
Xavier Ducrohet
00407dd6d4 Merge "LayoutLib: finish Typeface and unload them in dispose." into honeycomb 2011-01-09 11:05:20 -08:00
Xavier Ducrohet
ac736d3a79 Merge "LayoutLib: remove fade in/out transition on moveChild." into honeycomb 2011-01-09 11:05:15 -08:00
Chet Haase
2954cd91ab Add start/endTransition events for CHANGE transitions
There was already a mechanism for sending out events for LayoutTransition
when animations started or ended, but the implementation only sent out events
for the appearing/disappearing animations. This fix provides callbacks to
listeners for the CHANGE_APPEARING and CHANGE_DISAPPEARING transitions, too.

Change-Id: Icfb8cc1c20d2df3e4a817255e96c9d0e94c1d8c4
2011-01-09 09:43:39 -08:00
Kenny Root
b0512c3725 Merge "Fix check for required features" into honeycomb 2011-01-09 07:15:26 -08:00
Dianne Hackborn
247fe74c93 Implement issue # 3255887 could CursorLoader offer...
...to throttle contentobserver-based requeries

Why yes, I guess it could.

This also reworks AsyncTaskLoader to not generate multiple
concurrent tasks if it is getting change notifications before
the last background task is complete.

And removes some of the old APIs that had been deprecated but
need to be gone for final release.

And fixes a few little problems with applying the wrong theme
in system code.

Change-Id: Ic7a665b666d0fb9d348e5f23595532191065884f
2011-01-08 18:25:30 -08:00
Adam Powell
f600780bea Merge "Remove unnecessary log" into honeycomb 2011-01-08 17:30:07 -08:00
Adam Powell
1ab74be06c Remove unnecessary log
Change-Id: I6bb267d7d5f82ae9e1cbe6b022b722ccedc428fd
2011-01-08 17:29:22 -08:00
Adam Powell
2b6be701a9 Fix bug 3312807 - Fix child margin measurement in FrameLayout
Change-Id: I5166d7b2d283c577d5f95a15b1626b068cfa6bc6
2011-01-08 16:44:07 -08:00
Adam Powell
00bba682ef Amendment to fix for bug 3332414
Change-Id: Id3047f6ea6f8f5c68318057798e285cc1e06d094
2011-01-08 15:53:38 -08:00
Adam Powell
d1af77207c Merge "Bug 3332414 - UI glitch in CAB options" into honeycomb 2011-01-08 15:26:53 -08:00
Adam Powell
dd10b66601 Bug 3332414 - UI glitch in CAB options
Change-Id: Ic066f968b0125276c315f31adbd96420e528362f
2011-01-08 15:17:30 -08:00
Adam Powell
0d69fae5e6 Fix bug 3330683 - Do not show the legacy menu panel for HC apps on
xlarge devices.

Change-Id: Ic268684570a429d8da499c142b23bb20b3fe2b82
2011-01-08 15:08:27 -08:00
Adam Powell
2ebac69419 Fix bug 3334437 - require an adapter to measure dropdown content width
Change-Id: I357a2db66db121816091921e47708140958ad507
2011-01-08 13:58:29 -08:00
Adam Powell
947f782411 Fix bug 3245465 - Themed dialog icons
Added light/dark versions of holo dialog icons. Apps using
AlertDialogs that wish to use the system dialog icon should use
setIconAttribute(android.R.attr.alertDialogIcon) instead of
setIcon(android.R.drawable.ic_alert_dialog).

Change-Id: I40793a3164478be5ffa045ededfcab8210753a4b
2011-01-08 13:09:51 -08:00
Shih-wei Liao
4d46ecb075 Merge "For caching, didn't do CompileBC. Rename bccCompileBC as bccPrepareExecutable." into honeycomb 2011-01-07 19:26:44 -08:00
Shih-wei Liao
8845fbbc8e For caching, didn't do CompileBC. Rename bccCompileBC as bccPrepareExecutable.
Change-Id: Ie63cd87bf377e2daf0c81d81c0bf86a6195edf46
2011-01-07 19:24:41 -08:00
Robert Ly
67c2d979e3 Doc change: fixing links set 3
Change-Id: Id4123a2f0685887417d0b17a6fa81368aa756b6e
2011-01-07 18:57:06 -08:00
Robert Ly
293b850da6 Doc change: fixing links set 2
Change-Id: I8752cc7c732812a5f11f8b5f5ac83c3a87305f22
2011-01-07 18:56:10 -08:00
Robert Ly
c74a69a89a Doc Change: Fixing broken links and miscellaneous text revisions to support link fixing
Change-Id: I192595a3c7af520bf8598e80ae25d0dea289fcbd
2011-01-07 18:54:44 -08:00
Robert Ly
ec5ca94cfa Doc change: Deleting obsolete files and adding html redirects. Modified hv and traceview docs.
Change-Id: Ic0c02da3205d2f8f22c8c045d859ddd1f83f7a9e
2011-01-07 18:52:01 -08:00
Shih-wei Liao
3ba2bf42c5 Merge "1. LOG 4 fatal error paths (TODO: These 4 places should signal Java exceptions.) 2. Prepare on-device linking. 3. Clean up code." into honeycomb 2011-01-07 18:38:06 -08:00
Xavier Ducrohet
b6e53f4812 LayoutLib: add a few misc implementations.
Change-Id: I586f1d5ecc4f254fc04ea1171eb499d06ac592eb
2011-01-07 18:37:49 -08:00
Shih-wei Liao
9d4024d540 1. LOG 4 fatal error paths (TODO: These 4 places should signal Java exceptions.)
2. Prepare on-device linking.
3. Clean up code.

Change-Id: Iac4148431dbe1c3c4044f7394eb51a1332f513f9
2011-01-07 18:28:02 -08:00
Xavier Ducrohet
46a329244d LayoutLib: finish Typeface and unload them in dispose.
Change-Id: I3a48f84678f62d669d303fc73b041bb3fe5f333b
2011-01-07 18:16:43 -08:00
Jamie Gennis
fd6f39e147 Enable camera preview to a SurfaceTexture.
This change adds a public Java API to use a SurfaceTexture as the
destination of camera preview frames.

Change-Id: If537fed2df12c5c181e2af5f817985c1bda853fb
2011-01-07 17:40:24 -08:00
Adam Powell
b5e18555d6 Merge "Fix bug 3200615 - "MenuPopupHelper cannot be used without an anchor"" into honeycomb 2011-01-07 17:27:19 -08:00
Adam Powell
5e3f284baa Fix bug 3200615 - "MenuPopupHelper cannot be used without an anchor"
Add protection against views disappearing before previously posted
Runnables attempt to show a menu anchored to them.

Change-Id: Ia2a322e76665e61feb5bdb92377d5066cb6d5b04
2011-01-07 17:22:25 -08:00
Eric Laurent
e15ac3b970 Merge "Fix issue 3261656." into honeycomb 2011-01-07 17:20:59 -08:00
Eric Laurent
a60e212d0d Fix issue 3261656.
The problem can occur if a sample is started at the same time as the last AudioTrack callback
for a playing sample is called. At this time, allocateChannel() can be called concurrently with moveToFront()
which can cause an entry in mChannels being used by moveToFront() to be erased temporarily by allocateChannel().

The fix consists in making sure that the SoundPool mutex is held whenever play(), stop() or done() are called.

In addition, other potential weaknesses have been removed by making sure that the channel mutex is held while
starting, stopping and processing the AudioTrack call back.

To that purpose, a mechanism similar to the channel restart method is implemented to avoid stopping channels
from the AudioTrack call back but do it from the restart thread instead.

The sound effects SounPool management in AudioService has also been improved to make sure that the samples have
been loaded when a playback request is received and also to immediately release the SoundPool when the effects are
unloaded without waiting for the GC to occur.
The SoundPool.java class was modified to allow the use of a looper attached to the thread in which the sample
loaded listener is running and not to the thread in which the SoundPool is created.

The maximum number of samples that can be loaded in a SoundPool lifetime as been increased from 255 to 65535.

Change-Id: I368a3bdfda4239f807f857c3e97b70f6b31b0af3
2011-01-07 17:17:10 -08:00
Xavier Ducrohet
7550ec1d8e LayoutLib: remove fade in/out transition on moveChild.
Change-Id: I69a70ecb165f19feca55fc30a3f48ebea896daa3
2011-01-07 17:14:36 -08:00
Jason Sams
fa445b9353 Cleanup subdata apis
Change-Id: I70d0d5e4ca2b42f3a9cbf854fe47917cee8f46df
2011-01-07 17:04:29 -08:00
Xavier Ducrohet
e4aff7c6bf Merge "LayoutLib: fix moveChild again." into honeycomb 2011-01-07 17:01:48 -08:00
Scott Main
96f57d6cdf Merge "cherrypick Change-Id: Id5d38a6d97323e082535e433ab64e89e8bd3d021 docs: catchup honeycomb to gingerbread-docs with misc changes" into honeycomb 2011-01-07 16:41:52 -08:00
Scott Main
60c4e039d7 cherrypick Change-Id: Id5d38a6d97323e082535e433ab64e89e8bd3d021
docs: catchup honeycomb to gingerbread-docs with misc changes

Change-Id: Ia192e253a1b0aca026e1809b4e68011975c1ad8c
2011-01-07 16:40:11 -08:00
Christopher Tate
c548378562 Merge "Rename drag "thumbnail" to the drag "shadow"" into honeycomb 2011-01-07 16:36:11 -08:00
Christopher Tate
36d4c3f02b Rename drag "thumbnail" to the drag "shadow"
No functional changes; just a rename of the relevant class/method/parameters.

Change-Id: I55d9ef7c2c17892b0bc99f5da622c281e006b53e
2011-01-07 16:30:44 -08:00