Jamie Gennis
37c45fa415
am fd6f39e1: Enable camera preview to a SurfaceTexture.
...
* commit 'fd6f39e147dc077139a41b9c2a4039fbaa20224e':
Enable camera preview to a SurfaceTexture.
2011-01-08 04:40:19 -08:00
Adam Powell
99dd7f1374
am b5e18555: Merge "Fix bug 3200615 - "MenuPopupHelper cannot be used without an anchor"" into honeycomb
...
* commit 'b5e18555d61a3a1ed0715230b8e0084daec9eba8':
Fix bug 3200615 - "MenuPopupHelper cannot be used without an anchor"
2011-01-08 04:40:04 -08:00
Eric Laurent
06a78c0c9f
am e15ac3b9: Merge "Fix issue 3261656." into honeycomb
...
* commit 'e15ac3b97049b0f2e5d61e40910b0da9f810841a':
Fix issue 3261656.
2011-01-08 04:39:56 -08:00
Jason Sams
47a456a32c
am fa445b93: Cleanup subdata apis
...
* commit 'fa445b9353972735d8d65e8a936786b1afe9886d':
Cleanup subdata apis
2011-01-08 04:39:41 -08:00
Xavier Ducrohet
ddc2aa0072
am e4aff7c6: Merge "LayoutLib: fix moveChild again." into honeycomb
...
* commit 'e4aff7c6bf0808690ee230cb143ba4394fbc259b':
LayoutLib: fix moveChild again.
2011-01-08 04:39:36 -08:00
Scott Main
84bbd69843
am 96f57d6c: (-s ours) Merge "cherrypick Change-Id: Id5d38a6d97323e082535e433ab64e89e8bd3d021 docs: catchup honeycomb to gingerbread-docs with misc changes" into honeycomb
...
* commit '96f57d6cdf91f10934f4bdc958239521e529ab7e':
cherrypick Change-Id: Id5d38a6d97323e082535e433ab64e89e8bd3d021 docs: catchup honeycomb to gingerbread-docs with misc changes
2011-01-08 04:39:31 -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
Michael Chan
cb588ccdd6
Merge "b/3279789 Fixed NPE in CalendarUtils$TimeZoneUtils$AsyncTZHandler.onQueryComplete"
2011-01-07 18:13:48 -08:00
Scott Main
e139f4df16
resolved conflicts for merge of 96f57d6c to master
...
Change-Id: I8ed2ca9143facaec56628d51ae51d9f95da91613
2011-01-07 17:53:59 -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
627bf68e0e
am c5483785: Merge "Rename drag "thumbnail" to the drag "shadow"" into honeycomb
...
* commit 'c548378562de67c0050f140fc6e7520444f7e8f2':
Rename drag "thumbnail" to the drag "shadow"
2011-01-07 16:39:56 -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
James Dong
ebc5fdea9c
am 3f0c1353: Merge "Awesomeplayer : Frame dropping logic change" into honeycomb
...
* commit '3f0c13538a5e36c040748051eddc0135e1813c0b':
Awesomeplayer : Frame dropping logic change
2011-01-07 16:29:30 -08:00
James Dong
3f0c13538a
Merge "Awesomeplayer : Frame dropping logic change" into honeycomb
2011-01-07 16:25:38 -08:00
Xavier Ducrohet
d7cc1244d7
LayoutLib: fix moveChild again.
...
Change-Id: Ib69a06e44be1e332f0f43c36c795c86270cb1b71
2011-01-07 16:16:21 -08:00
pmehendale
28f939db9d
Awesomeplayer : Frame dropping logic change
...
Changed late frame drop policy, now we are dropping only 1 in 8,
late (> 40ms) frames. Dropping every late frame result in lot of noticible
pauses, usually with peaky bitrate activity these pauses become more prominant.
Dropping few frames is still required to allow overall playback chain,
to regain the performance.
Experimentally decided to drop Max one late frame in 8.
Change-Id: If20848d619a76aaf8179b1e5c3155610e3bc85fd
2011-01-07 16:14:40 -08:00
Joe Onorato
9725710a0a
am 539802e7: Merge "The switch widget didn\'t work properly until after onMeasure had run." into honeycomb
...
* commit '539802e782303d5918c0ab0d38f3b8a2e9830431':
The switch widget didn't work properly until after onMeasure had run.
2011-01-07 16:13:04 -08:00
Joe Onorato
539802e782
Merge "The switch widget didn't work properly until after onMeasure had run." into honeycomb
2011-01-07 16:01:34 -08:00
Joe Onorato
c3eabb9b6c
The switch widget didn't work properly until after onMeasure had run.
...
Change-Id: I3259193ca60392ffc133f2ff6479feb8e4ad536e
2011-01-07 15:58:44 -08:00
Kenny Root
1683afac14
Fix check for required features
...
The required features check was in an null check for usesLibraries, so
it wasn't checking for required features when an application did not use
a library.
Bug: 3331713
Change-Id: I96d366ba00d4962b84f3796be97e2b622eb331a5
2011-01-07 15:43:05 -08:00
Dmitri Plotnikov
bd0a9bdb1c
am 7866b8a6: Merge "Prevent ActivityTestCase from erasing constants." into honeycomb
...
* commit '7866b8a64000f8e25cf1c50cc5a74d3aa138c796':
Prevent ActivityTestCase from erasing constants.
2011-01-07 15:32:15 -08:00
Dmitri Plotnikov
7866b8a640
Merge "Prevent ActivityTestCase from erasing constants." into honeycomb
2011-01-07 15:26:31 -08:00
Romain Guy
3065ab085d
am 2c602e6a: Merge "Non-opaque views with fading edges cannot be marked dirty opaque. Bug #3325084 " into honeycomb
...
* commit '2c602e6a66469c9fcd8bc4d7d64aa24134dad8d9':
Non-opaque views with fading edges cannot be marked dirty opaque. Bug #3325084
2011-01-07 14:52:40 -08:00
Romain Guy
2c602e6a66
Merge "Non-opaque views with fading edges cannot be marked dirty opaque. Bug #3325084 " into honeycomb
2011-01-07 14:48:35 -08:00
Romain Guy
7e68efb0a0
Non-opaque views with fading edges cannot be marked dirty opaque.
...
Bug #3325084
Change-Id: I80b7653daa2ae3cc6d81da1063911aa4cb69e8f4
2011-01-07 14:50:27 -08:00
Eric Rowe
656c884376
Merge "Cleaned up BT test utils"
2011-01-07 14:38:40 -08:00
Dianne Hackborn
fbf80215c5
am 8244562c: Merge "WM part of #3293405 : Screen needs to be redrawn when HDMI is plugged in" into honeycomb
...
* commit '8244562c79a735cf3307878f13bc24ca3db23405':
WM part of #3293405 : Screen needs to be redrawn when HDMI is plugged in
2011-01-07 14:14:18 -08:00
Adam Powell
e3a19d3f6e
am 2b26266a: Merge "Fix bug 3158976 - Search box is too small" into honeycomb
...
* commit '2b26266afd98c08060f25125c8d3d4cb06f49a95':
Fix bug 3158976 - Search box is too small
2011-01-07 14:14:14 -08:00
Svetoslav Ganov
e0c1d73485
am c93fb656: bug:3325039 Making the cursor ring movement send accessibility events.
...
* commit 'c93fb656dc9393f194c623dc897c5352d9192544':
bug:3325039 Making the cursor ring movement send accessibility events.
2011-01-07 14:14:11 -08:00
Xavier Ducrohet
0f46f58c75
am 23ddfbe5: Merge "LayoutLib: fix animated moveChild." into honeycomb
...
* commit '23ddfbe52c265e7feb4c6d3dd7da53ac38fcce5e':
LayoutLib: fix animated moveChild.
2011-01-07 14:11:56 -08:00
Scott Main
88aa242571
am 955c63f8: cherrypick Change-Id: If65316cb08c8912ed2ad1fe10ab7d5ceee664084 docs: revise developing on a device to replace nexus one
...
* commit '955c63f8f421f7c9afcce2356eb9905df2147a76':
cherrypick Change-Id: If65316cb08c8912ed2ad1fe10ab7d5ceee664084 docs: revise developing on a device to replace nexus one
2011-01-07 14:11:53 -08:00