Romain Guy
aa6c24c21c
New widget: TextureView
...
Bug #4343984
TextureView can be used to render media content (video, OpenGL,
RenderScript) inside a View.
The key difference with SurfaceView is that TextureView does
not create a new Surface. This gives the ability to seamlessly
transform, animate, fade, etc. a TextureView, which was hard
if not impossible to do with a SurfaceView.
A TextureView also interacts perfectly with ScrollView,
ListView, etc. It allows application to embed media content
in a much more flexible way than before.
For instance, to render the camera preview at 50% opacity,
all you need to do is the following:
mTextureView.setAlpha(0.5f);
Camera c = Camera.open();
c.setPreviewTexture(mTextureView.getSurfaceTexture());
c.startPreview();
TextureView uses a SurfaceTexture to get the job done. More
APIs are required to make it easy to create OpenGL contexts
for a TextureView. It can currently be done with a bit of
JNI code.
Change-Id: Iaa7953097ab5beb8437bcbbfa03b2df5b7f80cd7
2011-04-28 18:46:19 -07:00
Romain Guy
9fc27819d7
Correctly compute tex coords for rect layers.
...
Bug #4192695
This change also fixes Javadoc links in the framework.
Change-Id: Ia548bcb18baba5d6fe6a4a04a2278e3a3bd465b2
2011-04-27 14:21:41 -07:00
Romain Guy
2d039219ad
Merge "Apply shaders/filters to text drop shadows. Bug #4318323 "
2011-04-26 15:35:27 -07:00
Romain Guy
740bf2bb2e
Apply shaders/filters to text drop shadows.
...
Bug #4318323
This change also fixes the fact that shaders were not modulated
by the paint's color when drawing paths.
Change-Id: Id88804143aea06c895d4cbcdbe106d660230aa5a
2011-04-26 15:33:10 -07:00
Romain Guy
a5679c8ad4
Merge "Update shader text to test with drop shadows."
2011-04-26 14:04:59 -07:00
Romain Guy
3a03eeedaf
Update shader text to test with drop shadows.
...
Change-Id: Iefdf116846c9b5649d1561a9d80d66d1c3acfeca
2011-04-26 14:04:08 -07:00
Stephen Hines
64e00980a3
Merge "Start ICS header cleanup and finish type matrix."
2011-04-26 13:45:51 -07:00
Kenny Root
87dfce4307
am fbb0e9f9: am bb93dad9: am bb10986c: am 13ce221e: Merge "libutils: Fix an improper const-cast in RefBase"
...
* commit 'fbb0e9f9846e185ba8ded63d754c4e61b1499b90':
libutils: Fix an improper const-cast in RefBase
2011-04-26 12:46:04 -07:00
Jean-Baptiste Queru
b7642cbae4
am 31418a1e: am 45e13ec1: am 5fcfce96: am 4b72eec3: Merge "Re-assingning local variable if mStringBlocks was initialized here. NPE is thrown otherwise."
...
* commit '31418a1e9b905593587d8bf7a4705429db549d97':
Re-assingning local variable if mStringBlocks was initialized here. NPE is thrown otherwise.
2011-04-26 12:45:52 -07:00
Irfan Sheriff
86c5a9995f
am 4e1027e4: am 78d4e71d: (-s ours) am d2127c43: Handle DHCP renewal and wakeup in framework
...
* commit '4e1027e45dbe292b1bdcbd3500b20f00618303f4':
Handle DHCP renewal and wakeup in framework
2011-04-26 12:45:28 -07:00
Scott Main
406059e8e3
am 1786fdda: am e20c91de: am e1e3d7d9: am 97fee855: docs: update a couple usb driver URLs bug: 4339758
...
* commit '1786fddabeeffcceede702005839d9544188bc33':
docs: update a couple usb driver URLs bug: 4339758
2011-04-26 12:45:15 -07:00
Eric Laurent
17a650c111
am 48dca4de: am 969357e3: am 223995dc: Fix issue 4335692: HDMI media volume
...
* commit '48dca4de70890d324b5830a58bb9fa273164151a':
Fix issue 4335692: HDMI media volume
2011-04-26 12:44:53 -07:00
Romain Guy
e1c6ff4b91
Make setGradientCenter/Radius work.
...
The previous implementation would not rebuild the gradient shader
when programmatically changing the shader's properties. Also fixes
the documentation since the gradient center does affect linear
gradients.
Change-Id: I5387188484b862f6835b0da9042b25032e55e792
2011-04-26 11:50:17 -07:00
Kenny Root
fbb0e9f984
am bb93dad9: am bb10986c: am 13ce221e: Merge "libutils: Fix an improper const-cast in RefBase"
...
* commit 'bb93dad9250c0ee8330ab37bbdcd2eb8bfc0f930':
libutils: Fix an improper const-cast in RefBase
2011-04-26 11:45:46 -07:00
Kenny Root
bb93dad925
am bb10986c: am 13ce221e: Merge "libutils: Fix an improper const-cast in RefBase"
...
* commit 'bb10986c3d7493eaa3cd16042c8e6dae4769a071':
libutils: Fix an improper const-cast in RefBase
2011-04-26 11:41:31 -07:00
Romain Guy
ee6d5cfdff
Copy the solid color when mutating a gradient drawable.
...
Change-Id: If3eed36b81f54bb5a56eab7784feda3e3786f8fc
2011-04-26 11:40:14 -07:00
Kenny Root
bb10986c3d
am 13ce221e: Merge "libutils: Fix an improper const-cast in RefBase"
...
* commit '13ce221e4316f7956ba072e774a7b97646e5d99b':
libutils: Fix an improper const-cast in RefBase
2011-04-26 11:32:22 -07:00
Kenny Root
13ce221e43
Merge "libutils: Fix an improper const-cast in RefBase"
2011-04-26 11:26:33 -07:00
Romain Guy
8f67eae87a
Take the index parameter into account in drawTextOnPath.
...
Change-Id: I92ff9b2c0fe16a467996ae1973bbfd4fad5ef750
2011-04-26 11:24:42 -07:00
Romain Guy
4a123c4d69
Allow bitmap filtering on NinePatchDrawable.
...
There's no reason to not allow it anymore.
Change-Id: Id1881784e6abb49f1965af6595a77391b88b426f
2011-04-26 11:23:08 -07:00
Jean-Baptiste Queru
31418a1e9b
am 45e13ec1: am 5fcfce96: am 4b72eec3: Merge "Re-assingning local variable if mStringBlocks was initialized here. NPE is thrown otherwise."
...
* commit '45e13ec1c5cd765162b7450b1c3a4632e8979894':
Re-assingning local variable if mStringBlocks was initialized here. NPE is thrown otherwise.
2011-04-26 10:24:27 -07:00
Marco Nelissen
32b2698a93
Merge "Fix javadoc."
2011-04-26 09:37:57 -07:00
John Reck
4ddb7ab862
Merge "Adding capability to lookup many elements."
2011-04-26 09:31:48 -07:00
Irfan Sheriff
4e1027e45d
am 78d4e71d: (-s ours) am d2127c43: Handle DHCP renewal and wakeup in framework
...
* commit '78d4e71dec9e8c60e24656fd0feeafbbf0ac78e9':
Handle DHCP renewal and wakeup in framework
2011-04-26 08:54:54 -07:00
Robert Greenwalt
7460591a57
am 759efacd: am ef568c97: Merge "Make new networkAttribute parameter non-optional." into honeycomb-LTE
...
* commit '759efacd2d1cf70d10f66fb9656de656ac8ca867':
Make new networkAttribute parameter non-optional.
2011-04-26 01:35:39 -07:00
Ramesh Sudini
bfc57acdb8
am 9d5ac7bd: am dcbba67a: Telephony: Fix merge issue "Set enabled state before notification is sent out."
...
* commit '9d5ac7bd8ac92ac8fda2e1ac500438ffe6e3aa0f':
Telephony: Fix merge issue "Set enabled state before notification is sent out."
2011-04-26 01:35:20 -07:00
Jean-Baptiste Queru
45e13ec1c5
am 5fcfce96: am 4b72eec3: Merge "Re-assingning local variable if mStringBlocks was initialized here. NPE is thrown otherwise."
...
* commit '5fcfce965f1380ee7e151c1df75b247dd42b349e':
Re-assingning local variable if mStringBlocks was initialized here. NPE is thrown otherwise.
2011-04-26 01:20:37 -07:00
Scott Main
1786fddabe
am e20c91de: am e1e3d7d9: am 97fee855: docs: update a couple usb driver URLs bug: 4339758
...
* commit 'e20c91de9ccb4a8cb76a8e72884f2e9ca001a2de':
docs: update a couple usb driver URLs bug: 4339758
2011-04-26 01:18:21 -07:00
Eric Laurent
48dca4de70
am 969357e3: am 223995dc: Fix issue 4335692: HDMI media volume
...
* commit '969357e31c93e168e7a4cb3b41c33a6ec26f4a26':
Fix issue 4335692: HDMI media volume
2011-04-26 01:14:07 -07:00
Scott Main
e20c91de9c
am e1e3d7d9: am 97fee855: docs: update a couple usb driver URLs bug: 4339758
...
* commit 'e1e3d7d97caf89307230e85997f5d23074b216cb':
docs: update a couple usb driver URLs bug: 4339758
2011-04-26 01:12:14 -07:00
Irfan Sheriff
78d4e71dec
am d2127c43: Handle DHCP renewal and wakeup in framework
...
* commit 'd2127c438fc858a4f6c8ad75b7a1e4491da69a78':
Handle DHCP renewal and wakeup in framework
2011-04-26 01:01:31 -07:00
Scott Main
e1e3d7d97c
am 97fee855: docs: update a couple usb driver URLs bug: 4339758
...
* commit '97fee8554d40a8c093ef16934284d9292e4cf7a4':
docs: update a couple usb driver URLs bug: 4339758
2011-04-26 00:45:35 -07:00
Jean-Baptiste Queru
5fcfce965f
am 4b72eec3: Merge "Re-assingning local variable if mStringBlocks was initialized here. NPE is thrown otherwise."
...
* commit '4b72eec34c983abb7a3afcbadd74d3bd807c4765':
Re-assingning local variable if mStringBlocks was initialized here. NPE is thrown otherwise.
2011-04-26 00:39:44 -07:00
Robert Greenwalt
759efacd2d
am ef568c97: Merge "Make new networkAttribute parameter non-optional." into honeycomb-LTE
...
* commit 'ef568c97b5962249cbab7995f76435492a10ba68':
Make new networkAttribute parameter non-optional.
2011-04-26 00:23:03 -07:00
Ramesh Sudini
9d5ac7bd8a
am dcbba67a: Telephony: Fix merge issue "Set enabled state before notification is sent out."
...
* commit 'dcbba67afc08d0ac9af53e95d5997af11f869853':
Telephony: Fix merge issue "Set enabled state before notification is sent out."
2011-04-26 00:21:37 -07:00
Eric Laurent
969357e31c
am 223995dc: Fix issue 4335692: HDMI media volume
...
* commit '223995dcf28aca2399258951a59559a7ae318ceb':
Fix issue 4335692: HDMI media volume
2011-04-26 00:19:34 -07:00
Mathias Agopian
88eb5c07f5
Merge "fix typo in Vector<>:: push_back and push_front"
2011-04-25 22:59:51 -07:00
Mathias Agopian
1d38d936a1
fix typo in Vector<>:: push_back and push_front
...
parameter were inverted.
Change-Id: I867b01de5f58354bb9668fa662dd2a7d78dd3b37
2011-04-25 22:59:07 -07:00
James Dong
a277c4328f
Merge "Give PSP and QuickTime compatible mp4 files a chance to play"
2011-04-25 21:54:56 -07:00
James Dong
d0244575df
Merge "Fix memory leak from retrieval of getSupportedDrmInfo."
2011-04-25 21:54:46 -07:00
Fabrice Di Meglio
9b33461384
Merge "Fix bug #4338103 (Android Arabic and Hebrew input is broken)"
2011-04-25 18:07:24 -07:00
Fabrice Di Meglio
589e4e27ee
Fix bug #4338103 (Android Arabic and Hebrew input is broken)
...
- fix glyph order when there is only a single run
- update tests
Change-Id: I113f28a8c76cab622fb75ce84bc50d1d38fa254e
2011-04-25 17:48:55 -07:00
Adam Powell
c404c4fbc1
Merge "Action bar work for phones"
2011-04-25 17:44:22 -07:00
Adam Powell
dae7824c4b
Action bar work for phones
...
Drop tabs to a second row at < w480dp
Make 9-patches for the cab's "done" button thinner
Add a "disable home" display option to the action bar to turn off
focus and touch feedback when tapping home would do nothing
Change-Id: Ib2eedf311655f02055357321e2e9ad5b9037fed1
2011-04-25 17:42:45 -07:00
Mike Lockwood
fbfb7e50c9
Merge "MTP: Implement GetThumb command"
2011-04-25 17:42:39 -07:00
Mike Lockwood
c89f22242b
MTP: Implement GetThumb command
...
This allows the PC to access thumbnails in JPEG files over MTP/PTP
Bug: 3219495
Change-Id: I4964f8b4826dffb7f0f77464ec91bd2e97a2f007
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-04-25 17:40:33 -07:00
Adam Powell
641e093f28
Merge "Only set the accelerated drawable state for views when the hardware renderer is available."
2011-04-25 17:19:59 -07:00
Jamie Gennis
84baa7f639
Merge "EGL: Allow creating a SurfaceTexture EGLSurface."
2011-04-25 17:00:19 -07:00
Mathias Agopian
9e797784d5
Merge "libgui: Fix the tests so they build."
2011-04-25 16:58:01 -07:00
Jamie Gennis
7868c64fff
EGL: Allow creating a SurfaceTexture EGLSurface.
...
This change removes the check that disallowed the creation of an
EGLSurface that would send frames to a SurfaceTexture.
Change-Id: I44c6d5df503cc676a88144d72d39b414692ce4c9
2011-04-25 16:41:11 -07:00