49325 Commits

Author SHA1 Message Date
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
Romain Guy
ee6d5cfdff Copy the solid color when mutating a gradient drawable.
Change-Id: If3eed36b81f54bb5a56eab7784feda3e3786f8fc
2011-04-26 11:40:14 -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
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
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
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
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
Jamie Gennis
5dbf2ed575 libgui: Fix the tests so they build.
Change-Id: I7205b0819e5801ac549109ff562c3ab1b113d176
2011-04-25 16:40:05 -07:00
Robert Greenwalt
ef568c97b5 Merge "Make new networkAttribute parameter non-optional." into honeycomb-LTE 2011-04-25 16:19:30 -07:00
Robert Greenwalt
af2eb4f6db Make new networkAttribute parameter non-optional.
Dependencymet sets the default dep-met value for the network.  Should
be set to true unless you know what you're doing.

Change-Id: Ifa3765a97615f5333da07bce9defdb8600275129
2011-04-25 16:04:45 -07:00
Adam Powell
5a7e94ea89 Only set the accelerated drawable state for views when the hardware
renderer is available.

Change-Id: I5bcf2068771d47604e12a44e1ab870fa4c69fb4c
2011-04-25 15:30:43 -07:00
Mathias Agopian
46baa14f27 Merge "Add some basic STL compatibility to Vector<>" 2011-04-25 15:29:40 -07:00
Mathias Agopian
589b64a64b Add some basic STL compatibility to Vector<>
Change-Id: Iaf72623170ee415372c7989d7ba9ff627167449e
2011-04-25 15:28:17 -07:00
Robert Greenwalt
7ada57f8ba Merge "Expose more net types to the public." 2011-04-25 15:05:24 -07:00
Chet Haase
1a2210ced1 Merge "Minor cleanup in GLrenderer code" 2011-04-25 14:51:48 -07:00
Chet Haase
6fca9884b3 Minor cleanup in GLrenderer code
Changed the way we use bitcodes for one of the rendering
options to make the code cleaner.

Change-Id: Ifaa965f228dbdad297a40da93bfbe63373986e35
2011-04-25 14:50:04 -07:00
Alex Sakhartchouk
e7c4a7565c Modifying libRS internal communication to handle network rendering.
Change-Id: I8c8b3cc3402ecf4ba774e1d668dce25ff0af0e5a
2011-04-25 14:30:27 -07:00
Mike Lockwood
466e3a22db Merge "MTP: Fix file descriptor leak in file editing extensions" 2011-04-25 13:37:44 -07:00
Mike Lockwood
1003199cb8 MTP: Fix file descriptor leak in file editing extensions
Change-Id: I6d0de5efe705d8060bbfd526c6880dc995a3aa30
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-04-25 13:36:11 -07:00
Chet Haase
cc5a7d2328 Merge "Fix bitfield bug with vertex shader selection" 2011-04-25 12:56:34 -07:00
Ramesh Sudini
dcbba67afc Telephony: Fix merge issue "Set enabled state before notification is sent out."
The original change-id was I6e84920b8d082fd6da838bccb5333051362bc4bc

Change-Id: I758641f8b29346a868e1b6b454ccd3f2341dffb8
2011-04-25 11:30:32 -07:00
Marco Nelissen
eb6b9e649e Fix javadoc.
Change-Id: I6de2ac39626cb8749a525c51234018986dd95969
2011-04-25 10:40:07 -07:00
James Dong
a13802d880 Merge "Return status code from invoke()" 2011-04-25 10:21:43 -07:00
Mike Lockwood
42f16f3d42 Merge "MediaScanner: reimplement the ".nomedia" feature for hiding files from the media provider" 2011-04-25 09:52:26 -07:00
Mike Lockwood
e8fd99df6e Merge "Remove log spam" 2011-04-25 09:52:10 -07:00
Eino-Ville Talvala
185052e2d1 Merge "Clarify the meaning of weight in the focus and metering area HAL." 2011-04-25 09:39:28 -07:00
Eino-Ville Talvala
4e396e063c Clarify the meaning of weight in the focus and metering area HAL.
Weigh values must be less than 1000, but have no restriction on their
sum. Weights should be interpreted as per-pixel values, meaning larger
areas will have more influence over focus/metering than smaller areas
of the same weight.

Change-Id: I988b74f988ddba2ff0c49d078ff3174b47cbae18
2011-04-25 09:33:48 -07:00
Mike Lockwood
997354e4b4 MediaScanner: reimplement the ".nomedia" feature for hiding files from the media provider
Previously we ignored any files and directories that had name started with '.'
and ignored any directories that contained a ".nomedia" file.
Now to support transferring any file via MTP, we now add these previously ignored files
to the media database, but will not mark them as audio, video, image or playlist files.
That way they will be included in the files table but will be hidden from the
audio, video, images and playlist views that are used by apps like Music and Gallery.

Bug: 3405327

Change-Id: I2d7285bd32e06c1a5c4ef6a8a15f8f8b2c33b39b
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-04-25 09:21:54 -07:00
James Dong
3f0341cbbd Fix memory leak from retrieval of getSupportedDrmInfo.
Change-Id: Ic2192a9791c0a3c5e5357b4367a2d8bfb15af20c
2011-04-24 12:40:16 -07:00
Mike Lockwood
653935da6b Remove log spam
Change-Id: I3182576158c7c0410c19036a580fd46c6ab079f9
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-04-24 11:09:42 -07:00
Brian Carlstrom
a8965da988 Merge "Expose Credentials.UNLOCK_ACTION for callers that want to use startActivityForResult" 2011-04-23 21:01:35 -07:00
Mike Lockwood
f7a4cafd24 Merge "Revert "Remove permission android.permission.WRITE_MEDIA_STORAGE"" 2011-04-23 08:56:11 -07:00
Mike Lockwood
825e8716a6 Merge "MTP: Add extended operations to support in-place editing of files" 2011-04-23 08:55:59 -07:00