90242fe5581c8f665c09337a0971a7c3fc908f7c |
08-Nov-2013 |
Svetoslav <svetoslavganov@google.com> |
Merge "Switch to the new Skia PDF generation APIs." into klp-dev
|
35aacf2eb325d24c67d01f4dbd706ed26ab9e8c3 |
07-Nov-2013 |
Svetoslav <svetoslavganov@google.com> |
Switch to the new Skia PDF generation APIs. The new Skia PDF generation APIs are a small extension to the code that converts drawing commands to PDF (SkPDFDevice) and this new functionality is exposed via new APIs. This change switches to using these new APIs allowing us to capitalize on the new perspective support for PDF generation. bug:11561776 Change-Id: Ief61f7ff6a5a22c27d3acbe99a48910cb679f594
raphics/pdf/PdfDocument.java
|
435c0ee10af132937dc0a22c39380624e6efd5ab |
07-Nov-2013 |
Fabrice Di Meglio <fdimeglio@google.com> |
Merge "Fix bug #11537133 Hideycling looks broken (KOT36), missing left padding" into klp-dev
|
f7a93ef3847258157d144dfefaa5757128cc807d |
07-Nov-2013 |
Fabrice Di Meglio <fdimeglio@google.com> |
Fix bug #11537133 Hideycling looks broken (KOT36), missing left padding - enforce the Drawable boolean getPadding(Rect) contract for NinePatchDrawable and DrawableContainer. - as NinePatchDrawable was not enforcing it, the consequence was that the mUserPaddingLeftInitial / mUserPaddingRitghInitial were reset to "0" (even if they got the correct value before the reset). Change-Id: I1efe7fad5f89c0ca47f90189f6d89940e0e9c6ae
raphics/drawable/DrawableContainer.java
raphics/drawable/NinePatchDrawable.java
|
47742d4bb004a51c045d443024a36d784cd38d9b |
07-Nov-2013 |
Chris Craik <ccraik@google.com> |
Merge "Fix NPE with inPurgeable Bitmaps in getAllocationByteCount" into klp-dev
|
222f2ad294c9046b62af5e059f8b409aec044ce9 |
06-Nov-2013 |
Chris Craik <ccraik@google.com> |
Fix NPE with inPurgeable Bitmaps in getAllocationByteCount bug:11556330 Change-Id: I430136ea15baeb60adfb9bb2acdde9505ce707fe
raphics/Bitmap.java
|
9d383ece52620b0358bcfae7f2102b64acd1d5cb |
06-Nov-2013 |
John Spurlock <jspurlock@google.com> |
Merge "Fix recent regression in DrawableContainer." into klp-dev
|
be0b05a028ebc1b49ed32b79d53af384106c31a3 |
06-Nov-2013 |
Adam Koch <akoch@google.com> |
Merge "Doc fix: add more detail to BitmapFactory.Options.inPurgeable flag. Bug: 6064760" into klp-dev
|
f68bb66c6ec239790ba18b8d078eb7ab4894fdc3 |
05-Nov-2013 |
John Spurlock <jspurlock@google.com> |
Fix recent regression in DrawableContainer. Ensure optical insets are never null. Bug:11537082 Change-Id: Ib75be83909fac612ae947f501835285cd8a79862
raphics/drawable/DrawableContainer.java
|
e1693df494dbdedfb5eac56bf59f86afc893b778 |
05-Nov-2013 |
Adam Koch <akoch@google.com> |
Doc fix: add more detail to BitmapFactory.Options.inPurgeable flag. Bug: 6064760 Change-Id: I3fd833a3205be451ff6548fab3555d170c9c570e
raphics/BitmapFactory.java
|
f48bcd5b68613b0a4ff0162091047fb9465b5290 |
05-Nov-2013 |
Fabrice Di Meglio <fdimeglio@google.com> |
Merge "Fix bug #11256076 Spinner text is too close from the opening triangle in RTL Locales" into klp-dev
|
8db45b844b5482cf61839404c0f6847e053de817 |
31-Oct-2013 |
Svetoslav Ganov <svetoslavganov@google.com> |
Update the PdfDocument docs with unsupported operations. The PDF generating canvas we use does not yet support all drawing operations. This change adds docs which operations are not yet supported. Change-Id: I8d5ee8c1e2a473ba783b5e62f23ab90a54bbf106
raphics/pdf/PdfDocument.java
|
600d7dd1c6d9d1ff81b71085eff2a6be50d6f36c |
16-Oct-2013 |
Fabrice Di Meglio <fdimeglio@google.com> |
Fix bug #11256076 Spinner text is too close from the opening triangle in RTL Locales Background Drawable padding was not taken into account in RTL Locales - make sure the Drawables are resolved before resolving padding - during padding resolution take care about background padding Change-Id: Ib0c722adf5341ab4fa2182a0d0ac2ca639e85cfc
raphics/drawable/DrawableContainer.java
|
cd925885283396c0379ec2dcaa94e318993f40f8 |
07-Oct-2013 |
Eino-Ville Talvala <etalvala@google.com> |
DO NOT MERGE: Hide new camera API. Not yet ready. Bug: 11141002 Change-Id: I4704bffb9ba36af47a66dc5b49cbba00be623aae
raphics/ImageFormat.java
|
31049d76c55b18a6d9993f0d9687598740b16014 |
07-Oct-2013 |
Adam Powell <adamp@google.com> |
Use SCREEN Xfermode for keyguard badges; update SeekBar Plumb through the necessary API features through Drawables and ImageView but leave it hidden for now pending future API review and plumbing through the rest of the framework Drawable implementations. Update SeekBar assets used for keyguard transport control. Set selected status directly instead of finding views by id. Bug 10531608 Bug 10784913 Change-Id: Ia38bd04ad1bc26e9e6da1dda8a374c9ba3ceccb3
raphics/drawable/BitmapDrawable.java
raphics/drawable/Drawable.java
|
d0f379c1976c600313f1f4c39f2587a649e3a4fc |
02-Oct-2013 |
Mike Klein <mtklein@google.com> |
Preserve fill type in Path.reset(). Bug: 10838355 Change-Id: I7bdecb945fc35dfed02d37745678ae7bda906628
raphics/Path.java
|
ee3e1603fdbbe24b0cbf3cb85c456696cf3b7941 |
02-Oct-2013 |
Jeff Sharkey <jsharkey@android.com> |
Fix animations, padding in RTL mode. Show directory animations coming in from left-side when in RTL language. Also fix NinePatchDrawable to correctly mirror its padding when auto-mirrored, and fix InsetDrawable to propagate the layout direction to the wrapped Drawable. Bug: 10987190, 11030793 Change-Id: I1213802a07d0c4ced93438df1e6ddf5aed3df677
raphics/drawable/InsetDrawable.java
raphics/drawable/NinePatchDrawable.java
|
a4eb894a55b07eeddb05d47558e6b2838d56af08 |
26-Sep-2013 |
Victoria Lease <violets@google.com> |
Merge "clarify Paint flag docs" into klp-dev
|
8dc7d5ea2680b7e397d2cdb7f83427d2c86c9de7 |
25-Sep-2013 |
Victoria Lease <violets@google.com> |
clarify Paint flag docs Bug: 10460797 Change-Id: Iae622b302cad3dc788f512b472e3a59ec227a8d7
raphics/Paint.java
|
321bc46b3c885a806f2e7e29db8212f7ea6c8670 |
25-Sep-2013 |
Leon Scroggins III <scroggo@google.com> |
Update docs to state that mark is no longer called. BUG:6493544 Change-Id: I97a4d90ce2efcd12f8f1cc5b545f822f8e5a5ab0
raphics/BitmapFactory.java
raphics/BitmapRegionDecoder.java
|
6811f4e92cbb64e72a0d13eb9b99b5894bd59c76 |
19-Sep-2013 |
Svetoslav <svetoslavganov@google.com> |
Move PdfDocument to android.graphics.pdf 1. Move PdfDocument to android.graphics.pdf. 2. Changed the PdfDocument as per API concil request. 3. Updated the documentation. bug:10461180 bug:10552565 bug:10681585 bug:10552336 Change-Id: I08e15b34cf37bb064248c887e6f59808019cafe8
raphics/pdf/PdfDocument.java
raphics/pdf/package.html
|
7315f1baee19476363235127bc1438e2a291fa15 |
11-Sep-2013 |
Leon Scroggins III <scroggo@google.com> |
Use a native buffer for decoding images. Fixes BUG:10725383 Depends on https://googleplex-android-review.git.corp.google.com/#/c/357300/ in external/skia. In the previous fix for BUG:8432093 and BUG:6493544 (https://googleplex-android-review.googlesource.com/#/c/346191/), instead of calling mark on the provided input stream, we copied the entire stream in native code (except in one case; more details below), allowing rewind no matter how much of the stream had been read. This was because two decoders may rewind after reading an arbitrary amount of the stream: SkImageDecoder_wbmp and SkImageDecoder_libjpeg. It turns out that the jpeg decoder does not need this rewind after arbitrary length (it is a failure recovery case, and libjpeg has a default recovery we can use - the above referenced CL in Skia uses the default). Although the wbmp decoder could read any amount given a stream with the "right" data, and then return false, such a stream would not be a valid stream of another format, so it is okay for this rewind to fail. Further, the previous fix was inefficient in the common case where the caller decodes just the bounds, resets, then decodes the entire image (since we have copied the entire stream twice). The copy also resulted in the crashes seen in BUG:10725383. In this CL, buffer only the amount of input needed by SkImageDecoder::Factory to determine the type of image decoder needed. Do not mark the input stream provided by the caller, so their mark (if any) can remain in tact. The new Skia class SkFrontBufferedStream allows buffering just the beginning of the stream. core/jni/android/graphics/BitmapFactory.cpp: Instead of calling GetRewindableStream (which has been removed), call CreateJavaInputStreamAdaptor. Then wrap it in an SkFrontBufferedStream, with a large enough buffer to determine which type of image is used. core/jni/android/graphics/CreateJavaOutputStreamAdaptor.h: core/jni/android/graphics/CreateJavaOutputStreamAdaptor.cpp: Remove mark, markSupported, and rewind. CreateJavaInputStreamAdaptor now turns an SkStream which is not rewindable. If the caller needs rewind that needs to be handled differently (for example, by using SkFrontBufferedStream, as is done in BitmapFactory and Movie. Remove RewindableJavaStream and GetRewindableStream. Remove code specific to ByteArrayInputStream, which makes slow JNI calls. Instead, depend on the caller to buffer the input in the general case. There is no reason to special case this stream (especially since we already have decodeByteArray). Remove CheckForAssetStream, which is now always special cased in Java. core/jni/android/graphics/Movie.cpp: Call CreateJavaInputStreamAdaptor and use an SkFrontBufferedStream. Add a native function for decoding an Asset, and remove old call to CheckForAssetStream. graphics/java/android/graphics/BitmapFactory.java: Write a helper function for decoding a stream to consolidate common code. Buffer enough of the input so that SkImageDecoder::Factory can rewind after having read enough to determine the type. Unlike the old code, do NOT mark the caller's stream. This is handled in native code. The caller's mark (if any) is left alone. graphics/java/android/graphics/Movie.java: Check for an Asset stream before passing to native, and call a native function for handling the asset directly. BUG:6493544 BUG:8432093 BUG:10725383 Change-Id: Ide74d3606ff4bb2a8c6cdbf11bae3f96696f331a
raphics/BitmapFactory.java
raphics/Movie.java
|
2cad64c0fbeba07bb546674e19cfb0166d7ec332 |
11-Sep-2013 |
Igor Murashkin <iam@google.com> |
Merge "Surface: Change OutOfResourcesException to be a runtime exception" into klp-dev
|
1d2daa7809b58c226410c0060d7837de0a29888a |
10-Sep-2013 |
John Reck <jreck@google.com> |
Merge "Remove FD optimization case for decodeStream" into klp-dev
|
e3d0f022826a2a16e64dc9b5353a2a514393881b |
10-Sep-2013 |
Stephen Hines <srhines@google.com> |
Merge "Don't set Allocation mSize when we have no Type." into klp-dev
|
a86ab640f7bb0bf3cb4eaed80473ca8c5d131903 |
30-Aug-2013 |
Igor Murashkin <iam@google.com> |
Surface: Change OutOfResourcesException to be a runtime exception - Deprecates SurfaceTexture.OutOfResourcesException, it wasn't used - Make all JNI code throw only Surface.OutOfResourcesException - Get rid of redundant SurfaceControl.OutOfResourcesException Bug: 10566539 Change-Id: I58126260771b9ccff6a69c672ce7719b9f98138d
raphics/SurfaceTexture.java
|
88990da58d0231b5a1b9a27b32c37839e95c7487 |
10-Sep-2013 |
Stephen Hines <srhines@google.com> |
Don't set Allocation mSize when we have no Type. Bug: 10667740 A3D creates Allocations before knowing the underlying Type (and thus size). Moving the mSize calculation to be conditional for concrete Allocations eliminates the bug. In the future, we could let A3D dynamically update the Allocation size if it is necessary to improve heap behavior. Change-Id: I520246806b6ead0387a1a41372dade1a6e7c2271
enderscript/Allocation.java
|
5835157d762a5b6bffe3d892c588ebc475bccb44 |
10-Sep-2013 |
John Reck <jreck@google.com> |
Remove FD optimization case for decodeStream Bug: 10677727 The problem is that the FileInputStream may be wrapping a pipe or AssetFileDescriptor which fails if handed to decodeFileDescriptor. The problem is that AFDs can start in the middle of a file, whereas decodeFileDescriptor assumes it can mmap() the FD and start at the beginning. Change-Id: I98a3c5f789865145e25a99b32d205e290808c1cf
raphics/BitmapFactory.java
|
440f4dfac89c113b41f1a7259306b90b0cde8768 |
10-Sep-2013 |
Andy McFadden <fadden@android.com> |
Merge "Fix pixel test" into klp-dev
|
5d2cace4c5445915c9ea040518c59d85cfcd6b4b |
09-Sep-2013 |
Andy McFadden <fadden@android.com> |
Fix pixel test A deprecated format was dropped entirely. Bug 10666734 Change-Id: I6b64bd27db8965a1696d72387232b7de4bce6574
raphics/PixelFormat.java
|
352919efd02808f0d6222f7a2cc657f3455c2049 |
07-Sep-2013 |
Chris Craik <ccraik@google.com> |
Update doc for BitmapFactory.Options to include BitmapRegionDecoder bug:9987022 Change-Id: I1a4e187e1c35a7758b70f69a0a25914597920e8f
raphics/BitmapFactory.java
|
e8222dddaf2e3da14380101e818d4254899e0c0d |
05-Sep-2013 |
Chet Haase <chet@google.com> |
Change build version from KEY_LIME_PIE to KITKAT Issue #10631619 Change build version to KitKat Change-Id: I6ad13f6169ad74204078d36929479998b498ad8b
raphics/Bitmap.java
raphics/BitmapFactory.java
|
d2676f9bd93c333ae2c7f3ca284d0fef5a7e146b |
05-Sep-2013 |
Tim Murray <timmurray@google.com> |
Merge "Add YUV element convenience function." into klp-dev
|
932e78e9903342e3494983fd3463084caab4ba42 |
03-Sep-2013 |
Tim Murray <timmurray@google.com> |
Add YUV element convenience function. Change-Id: Ie67dfba6a4c4f1913875ad9817c53e45d56809ae
enderscript/Element.java
enderscript/RenderScript.java
enderscript/ScriptIntrinsicYuvToRGB.java
|
e182bfd4dcf35d5009bcae72356b999b5ead0433 |
04-Sep-2013 |
Romain Guy <romainguy@google.com> |
Merge "Prevent NPE when cloning gradients Bug #10436856" into klp-dev
|
9622adf6e8028aebd57213371c4f2c6c26fc63e5 |
04-Sep-2013 |
Romain Guy <romainguy@google.com> |
Prevent NPE when cloning gradients Bug #10436856 Change-Id: I98cbce941a06842112b8caa3753a3fa32b227da9
raphics/LinearGradient.java
raphics/RadialGradient.java
raphics/SweepGradient.java
|
3e8105e212e65005c0ef0ecc345b47eb0bf129bd |
03-Sep-2013 |
Romain Guy <romainguy@google.com> |
Merge "Update Bitmap.Config.ARGB_4444 documentation Bug #10510122" into klp-dev
|
25ba1c86945a441428194d9ebcabbf31be75a45a |
03-Sep-2013 |
Romain Guy <romainguy@google.com> |
Update Bitmap.Config.ARGB_4444 documentation Bug #10510122 ARGB_4444 is deprecated and always replaced with ARGB_8888. Change-Id: I0da96216af701a7df00ad35913066fbfa997d790
raphics/Bitmap.java
raphics/BitmapFactory.java
|
a49e89d2288827e2c96bc006e1e4893d22b41f3b |
30-Aug-2013 |
Jason Sams <jsams@google.com> |
Cleanup API typo bug 10548782 Change-Id: I3654b7d1f8ea10eb51006804248cc2a7d20eabb0
enderscript/ScriptIntrinsicColorMatrix.java
enderscript/ScriptIntrinsicHistogram.java
|
6b115980483ec20cc3f7817c76dfea18c49a48f3 |
29-Aug-2013 |
Jason Sams <jsams@google.com> |
Merge "Unhide USAGE_IO_INPUT functions" into klp-dev
|
42ef238208679813daa204bf110f776ab02c2beb |
29-Aug-2013 |
Jason Sams <jsams@google.com> |
Unhide USAGE_IO_INPUT functions Change-Id: I9c1a7e5d65adee133b99b9a94729ab0b3d5a097f
enderscript/Allocation.java
|
4b2993123bf9a1c56d0a16b032612834dd418520 |
29-Aug-2013 |
Leon Scroggins III <scroggo@google.com> |
Merge "Replace stream wrap-function w/ more specific ones" into klp-dev
|
4d971c1fa0c71400ff1e843b8d8b4826d0aece16 |
28-Aug-2013 |
Alan Viverette <alanv@google.com> |
Set alpha channel correctly when recomputing gradient The alpha channel is applied by modulateAlpha(). Setting it to mAlpha in ensureValidRect() locked the maximum alpha channel to whatever value was set before layout. Setting it to BLACK ensures it can be modulated later. BUG: 10514848 Change-Id: If7a824410a66f1e9b648e20ee627bdf99a42ae78
raphics/drawable/GradientDrawable.java
|
ca32021b43f326af7d3f4ae041f8db297f98a518 |
20-Aug-2013 |
Leon Scroggins III <scroggo@google.com> |
Replace stream wrap-function w/ more specific ones The current stream wrapper returns a potentially incorrect value for a call to getLength(), is typically copied into another stream (not always in the same way), and doesn't always take advantage of its underlying data (like when it is an Asset). The overall goal of this CL is to provide the caller with something that is ready to use, depending on what is asked for. If a copy is desired, the copy is made before being returned to the caller. core/jni/android/graphics/Bitmap.cpp: Include SkStream.h, since it is no longer included by CreateJavaOutputStreamAdaptor's header file. core/jni/android/graphics/BitmapFactory.cpp: Pass an SkStreamRewindable to decoding functions, as Skia decoders will be updated to only take an SkStreamRewindable (which makes more sense because they require rewinding). Call the more specific GetRewindableStream to get a rewindable stream. Remove copyAssetToStream which has been moved to Utils. In nativeDecodeAsset, pass forcePurgeable as allowPurgeable in doDecode. Technically the old code worked, but it checked the BitmapOptions again. Remove getFDSize, which is no longer used. core/jni/android/graphics/BitmapRegionDecoder.cpp: Remove redundant buildSkMemoryStream. nativeNewInstanceFromStream now calls CopyJavaInputStream, which handles the copy. Copy the Asset directly, using common code, rather than creating an AssetStreamAdaptor to copy. core/jni/android/graphics/CreateJavaOutputStreamAdaptor.cpp: core/jni/android/graphics/CreateJavaOutputStreamAdaptor.h: Provide new interfaces to access data from a Java InputStream. The new interfaces are more specific about what type of stream is desired. Use forward declarations where possible. Remove doSize, which gives a misleading answer to the question of how long the entire stream is. TODO: Only call FindClass etc once. core/jni/android/graphics/Movie.cpp: Check for an asset stream, and use it if possible. Then call GetRewindableStream if there is not an asset. Remove the memory leak. Call DeleteLocalRef to delete the allocated memory. core/jni/android/graphics/Picture.cpp: Call the new interface. core/jni/android/graphics/Utils.cpp: core/jni/android/graphics/Utils.h: Make AssetStreamAdaptor inherit from SkStreamRewindable so it can be passed to Skia decoding functions once they require it. Add CopyAssetToStream (moved from BitmapFactory.cpp) so it can be used by multiple files. graphics/java/android/graphics/BitmapFactory.java: Remove the call to mark, which is now done natively. Remove the BufferedInputStream. Mark/reset is now handled by native code. Allow decodeStream to handle a FileInputStream by using the FileDescriptor, if it is seekable. In decodeFileDescriptor, call nativeDecodeStream instead of decodeStream so this new functionality will not loop. Call setDensityFromOptions in decodeFileDescriptor. graphics/java/android/graphics/BitmapRegionDecoder.java: Remove the BufferedInputStream. Mark/reset is now handled by native code. TODO: ADD TESTS! Requires https://googleplex-android-review.googlesource.com/#/c/344317/ BUG=https://b.corp.google.com/issue?id=8432093 Change-Id: I4419b70b3482325c98ecc673dbfc4613f1b18581
raphics/BitmapFactory.java
raphics/BitmapRegionDecoder.java
|
c264e0440076ccca4be6ec66e33bcd7f8a1ae5b3 |
24-Aug-2013 |
Tim Murray <timmurray@google.com> |
Merge "Add garbage collection hooks" into klp-dev
|
2f2472c42be8e80f00019594036744d902e09dcb |
22-Aug-2013 |
Tim Murray <timmurray@google.com> |
Add garbage collection hooks bug 10428172 Change-Id: I6365aa58bbc99aa134e1f261a5819e07a7d70fb0
enderscript/Allocation.java
enderscript/RenderScript.java
|
1abf5d62429e5a9329520b2f7c2b5a5e7a8e72ec |
16-Aug-2013 |
Chris Craik <ccraik@google.com> |
Add inPremutiplied option to BitmapFactory.Options, functionality in Bitmap bug:2248948 Change-Id: I8fdd649332667598504a1076d5a447572bd53086
raphics/Bitmap.java
raphics/BitmapFactory.java
raphics/Canvas.java
|
9fac8a6a4a47bf7b72d6c759c6f605b1806f925a |
21-Aug-2013 |
Eino-Ville Talvala <etalvala@google.com> |
Merge "Renderscript: Allow YUV_420_888 as a YUV type." into klp-dev
|
ccadaf1eb48c70a3eb5722ecbd0144d165bcd963 |
14-Aug-2013 |
Eino-Ville Talvala <etalvala@google.com> |
Renderscript: Allow YUV_420_888 as a YUV type. Change-Id: I1ed731103a49a814f9a049ecd01be98261b6d06b
enderscript/Type.java
|
be925721a5eef487a70baa8b0905e423c639e176 |
14-Aug-2013 |
Mike Klein <mtklein@google.com> |
Remove comment that's only relevant for the underlying SkMatrix. Matrix has constructors. bug: 8470620 Change-Id: I00063dc03f752955c27c73e9c59b0496a1795924
raphics/Matrix.java
|
7fbbc3c9c3dc25c2bc78bba6fd267bfd99c96b2b |
13-Aug-2013 |
Romain Guy <romainguy@google.com> |
Camera.applyToCanvas() now works with hardware canvases Change-Id: I7f06b2a74ccc1941d51e12a0417028e094c1b669
raphics/Camera.java
|
790552b240c05d58407f7c14acba656b2e85c523 |
12-Aug-2013 |
Romain Guy <romainguy@google.com> |
Update Bitmap.createBitmap() documentation Change-Id: Ic2efed6cc03c8b2c2d9810b7ab645b0b98b91e1f
raphics/Bitmap.java
|
5af4edef084f4d3f94af71acca53c68929e82008 |
09-Aug-2013 |
Fabrice Di Meglio <fdimeglio@google.com> |
Merge "Fix bug #10205316 CTS (KLP): android.graphics tests are failing" into klp-dev
|
003123004f7b23b3dc472d5c40b8c1a16df37a54 |
09-Aug-2013 |
Romain Guy <romainguy@google.com> |
Remove an unnecessary allocation Also remove dead code from OpenGLRenderer.cpp Change-Id: I7eb54ca19e77ee3c32f1fe9513a031e6b2e115cf (cherry picked from commit 5c7d5ab878b26f855175a3305a14ac12fcacf25e)
raphics/Canvas.java
|
41207bce2a13c77bf03a05524ba3b3c59f486cc0 |
09-Aug-2013 |
Fabrice Di Meglio <fdimeglio@google.com> |
Fix bug #10205316 CTS (KLP): android.graphics tests are failing - fix null Shader case during copy Related to https://googleplex-android-review.googlesource.com/#/c/336815/7 Change-Id: I920d6bb181ddb92d6f771e5060fd1858430e71ad
raphics/Paint.java
|
667fe1039feae068d3333de8fb7115313f4a517b |
03-Aug-2013 |
Jonathan Dixon <joth@google.com> |
Refactor Canvas.drawPicture() to delegate to Picture Bug: 9814370 To allow WebView.capturePicture() to return a subclass, we need to ensure the subclass is always consulted when being drawn into a canvas. Change-Id: Ia0357f95b6fafb3ac81e6bcfaef05739e619897a
raphics/Canvas.java
|
52a9a10b6b8c7b7a9f97777541841b94d4fd9754 |
02-Aug-2013 |
Mathias Agopian <mathias@google.com> |
Clearly separate consumer and producer interfaces Bug: 9265647 Change-Id: Ic68e91788d0a05251e1d2fb9f9d4de403c7099bf
raphics/SurfaceTexture.java
|
f2ce9f994a0dba5e3d97b5d4ae97eddb0008b7b5 |
05-Aug-2013 |
Elliott Hughes <enh@google.com> |
am eab8e18d: am 8a736129: Merge "If graphics wants ASCII lowercasing, it needs to ask for it." * commit 'eab8e18d8f6f34a9d35fbb120148956789ad48a2': If graphics wants ASCII lowercasing, it needs to ask for it.
|
eab8e18d8f6f34a9d35fbb120148956789ad48a2 |
05-Aug-2013 |
Elliott Hughes <enh@google.com> |
am 8a736129: Merge "If graphics wants ASCII lowercasing, it needs to ask for it." * commit '8a736129faa9e41b5f33c42bbeae1f68cb42d38f': If graphics wants ASCII lowercasing, it needs to ask for it.
|
b7645acfd929911adeeea44334a3168dd0a0cf8b |
03-Aug-2013 |
Igor Murashkin <iam@google.com> |
Merge "graphics: Update ImageFormat#YUV_420_888 javadoc"
|
7a600ff65fa79696a2668c7d33101b6ac6696f04 |
01-Aug-2013 |
Igor Murashkin <iam@google.com> |
graphics: Update ImageFormat#YUV_420_888 javadoc * Make it clear that the Y-plane is not interleaved for YUV_420_888 * Make it clear that the U/V plane have the same stride * Make it clear what the order of Y/U/V planes is Change-Id: Id85d7c68e84382149dbf0e8b4e965ba2988326fe
raphics/ImageFormat.java
|
aeb60fb86fc572500239c6f6684d1eb71e3ae35b |
02-Aug-2013 |
Elliott Hughes <enh@google.com> |
If graphics wants ASCII lowercasing, it needs to ask for it. http://elliotth.blogspot.com/2012/01/beware-convenience-methods.html Bug: https://code.google.com/p/android/issues/detail?id=58359 Change-Id: I13c106985302335dbb15bb9176d35ec6b4546d4e
raphics/Color.java
|
3f5a90b2fbba2a83a8a2c5babd5d466a5e0ad2aa |
25-Jun-2013 |
Fabrice Di Meglio <fdimeglio@google.com> |
Add automatic Drawable mirroring capability when in RTL layout direction - default value is "no mirroring" - introduce android:autoMirrored as a new attribute for Drawable, BitmapDrawable, LayerDrawable, StateListDrawable and NinePatchDrawable - setting android:autoMirrored="true" means that the drawable will be mirrored when the layout direction is RTL (right-to-left) - also fix an issue with ImageView drawable layout direction not updated correctly when RTL properties were changed See bug #7034321 Need Drawable RTL support Change-Id: If595ee5106c786f38e786d3a032e182f784a9d97
raphics/drawable/BitmapDrawable.java
raphics/drawable/Drawable.java
raphics/drawable/DrawableContainer.java
raphics/drawable/LayerDrawable.java
raphics/drawable/NinePatchDrawable.java
raphics/drawable/StateListDrawable.java
|
851761574a775c6447ab2393d1ba42568ba08c1b |
01-Aug-2013 |
Fabrice Di Meglio <fdimeglio@google.com> |
Merge "Fix Paint Shader copy"
|
e3c526f4f603e83c5fa8b9e399506b085f5648b7 |
31-Jul-2013 |
Fabrice Di Meglio <fdimeglio@google.com> |
Fix Paint Shader copy - Paint.setClassVariablesFrom(Paint paint) was using the same Shader for the copy as the initial Paint. Make sure that we are using a copy. - implement a copy() API for shaders See bug #7034321 Need Drawable RTL support Change-Id: I4b9cee386edc72ad670723266333b85f4d2b0ab8
raphics/BitmapShader.java
raphics/ComposeShader.java
raphics/LinearGradient.java
raphics/Paint.java
raphics/RadialGradient.java
raphics/Shader.java
raphics/SweepGradient.java
|
5d3dff1d66f99fbd5bef9178e62d789119c02ad1 |
01-Aug-2013 |
Romain Guy <romainguy@google.com> |
Merge "Add missing alpha channel to built-in colors"
|
86d3e03d381bff8c107e3def31cf37f4851f827c |
01-Aug-2013 |
Romain Guy <romainguy@google.com> |
Add missing alpha channel to built-in colors Change-Id: I911c17b623513b2715668d0f91604b28c32a969a
raphics/Color.java
|
1e546815bbb736c50679a8aefc25f48561026fc5 |
25-Jun-2013 |
Victoria Lease <violets@google.com> |
Support RGBA fonts and bitmap fonts (and RGBA bitmap fonts) Quite a few things going on in this commit: - Enable bitmap strikes by default in Paint objects. The SkPaint parameter that enables bitmap strikes was not previously included in DEFAULT_PAINT_FLAGS. This effectively disabled bitmap fonts. Oops! It's for the best, though, as additional work was needed in Skia to make bitmap fonts work anyway. - Complain if TEXTURE_BORDER_SIZE is not 1. Our glyph cache code does not currently handle any value other than 1 here, including zero. I've added a little C preprocessor check to prevent future engineers (including especially future-me) from thinking that they can change this value without updating the related code. - Add GL_RGBA support to hwui's FontRenderer and friends This also happened to involve some refactoring for convenience and cleanliness. Bug: 9577689 Change-Id: I0abd1e5a0d6623106247fb6421787e2c2f2ea19c
raphics/Paint.java
|
6d64d5ab84a66f98633acf740414a8848feaa14b |
31-Jul-2013 |
Romain Guy <romainguy@google.com> |
Merge "Add missing InsetDrawable.getDrawable() method"
|
84956d53f1e86b8c000f8994ea9040b71a30e321 |
30-Jul-2013 |
Romain Guy <romainguy@google.com> |
Add missing InsetDrawable.getDrawable() method Change-Id: I216b0e8a327f495fd83ebac79013418dbae007b9
raphics/drawable/InsetDrawable.java
|
2f1a2e423e0fbb64467d6fcfa4e82c6384f31210 |
26-Jul-2013 |
Eino-Ville Talvala <etalvala@google.com> |
Camera2 API: Rename package to android.hardware.camera2 Change-Id: I77b7939e199f9fe8e12a59393c24cff08097448c
raphics/ImageFormat.java
|
56fbb6362b6a0f17804d33af913b720f21c884c5 |
30-Jul-2013 |
Romain Guy <romainguy@google.com> |
Merge "Add path ops API"
|
8018c8db8221aa604b3c083e09d173cc27e53d83 |
30-Jul-2013 |
Romain Guy <romainguy@google.com> |
Add path ops API Path ops can be used to combine two paths instances in a single path object. The following operations can be used: - Difference - Reverse difference - Union - XOR - Intersection To use the API: Path p1 = createCircle(); Path p2 = createRect(); Path result = new Path(); result.op(p1, p2, Path.Op.DIFFERENCE); This code will subtract the rectangle from the circle and generate the resulting path in "result." Change-Id: Ic25244665b6691a7df0b0002a09da73d937b553b
raphics/Path.java
|
d979208974d995438ebd51e8070eaeabf63461db |
27-Jul-2013 |
Jason Sams <jsams@google.com> |
Relax restriction on Colormatrix and add Add step. Change-Id: Iccb519bb40f58f02346b5c0a10c1378cb853e3f8
enderscript/ScriptIntrinsicColorMatrix.java
|
cb92a8d9428c2e4a9f038cd5f10e9d61bf265cd4 |
28-Jul-2013 |
Mathias Agopian <mathias@google.com> |
fix SDK build Change-Id: I41c19740b8f0532dbd6184e13bae43a13aaa46e2
raphics/SurfaceTexture.java
|
e591b49de038a9942cbcc77540c03e85c96e3dcb |
25-Jul-2013 |
Mathias Agopian <mathias@google.com> |
single buffer mode for SurfaceTexture Bug: 9891035 Change-Id: Ib9cc2b64f7ff3c084ef1d7db442db8e7a24a923d
raphics/SurfaceTexture.java
|
9f213c8b648c06e781911c12d6c12f6a6606f6d2 |
26-Jul-2013 |
Mathias Agopian <mathias@google.com> |
Merge changes I487d4eef,Ia750811f * changes: get rid of PixelFormatInfo and simplify things get rid of PIXEL_FORMAT_A_8
|
2ca204e4c0ba805c8fa0db79eeac9608d01cf5b4 |
26-Jul-2013 |
Mathias Agopian <mathias@google.com> |
get rid of PixelFormatInfo and simplify things Change-Id: I487d4eef7db0095ace4babf5bb100a8769711257
raphics/PixelFormat.java
|
a06cba19c98c15547d2dc361359cf6f955ec2588 |
25-Jul-2013 |
Scott Main <smain@google.com> |
am 8d9a4bd1: am 174dd066: Merge "remove link to renderscript support library" into jb-mr2-ub-dev * commit '8d9a4bd1eb09cc795bf96c4f3a2824f9642c70e4': remove link to renderscript support library
|
d2d43b9647aa02e4f114d993364d7c686d99187b |
24-Jul-2013 |
Scott Main <smain@google.com> |
remove link to renderscript support library Change-Id: If8e693239b92058c0a2928e0811870bec3a150fe
enderscript/package.html
|
9c2cde0583d02ba7551877dbe7a5ecaee6defb56 |
23-Jul-2013 |
Chris Craik <ccraik@google.com> |
Use IllegaleStateException to be consistent with rest of Bitmap class Change-Id: Idd1c77f92eafa8a43619d27a9567382447540e5f
raphics/Bitmap.java
|
d84feebba428d2f5adc021353ae24d3d2737220a |
20-Jul-2013 |
Mathias Agopian <mathias@google.com> |
Merge "update to new Consumer APIs"
|
ef5498edf62eb439b4c3f980422c3513e23b5ee9 |
19-Jul-2013 |
Chris Craik <ccraik@google.com> |
Merge "Add reconfigure method to Bitmap"
|
c84d203da21c3ae3ded94c79c035d41b27809b3b |
13-Jul-2013 |
Chris Craik <ccraik@google.com> |
Add reconfigure method to Bitmap bug:9797004 Grants a means to reuse a bitmap's allocation for different width/height/Config without going through BitmapFactoryOptions.inBitmap Change-Id: Ib62319f3bd96c451fc1636288adf06a8275b4e3d
raphics/Bitmap.java
raphics/BitmapFactory.java
|
e32632682ca9207bd247ca27012cf670b5c23f54 |
17-Jul-2013 |
Mathias Agopian <mathias@google.com> |
update to new Consumer APIs Change-Id: I8649f3add40e0aeeeb0396b98e2cb93312e8e990
raphics/SurfaceTexture.java
|
4e7b772b733593fbe25c733e95b8dcea293234b6 |
16-Jul-2013 |
Romain Guy <romainguy@google.com> |
Fix crashes in setMatrix() and concat() setMatrix() was crashing in native code, only with hw acceleration on. concat() would throw a NullPointerException. It now ignores null matrices. Change-Id: Iebd8b410a957d2ba501570c6fbb3f680ff4a1a23
raphics/Canvas.java
|
787e35793f47abdb6cc10f328cd58d362c7bd250 |
12-Jul-2013 |
Romain Guy <romainguy@google.com> |
Trace bitmaps decoding Also remove dead code Change-Id: Ie931b21858ccbe6ee4def54caf028fd2aed23317
raphics/BitmapFactory.java
|
e68720ee154cc98fb6067cc63d333e3f809244dc |
10-Jul-2013 |
Andy McFadden <fadden@android.com> |
Merge "Minor fixes to android.graphics.Matrix"
|
73b81e75dfcdba048f294cf154ed9005a6581bd4 |
10-Jul-2013 |
Andy McFadden <fadden@android.com> |
Minor fixes to android.graphics.Matrix Tweaked equals() and finalize(), introduced trivial hashCode(). (Also picked up a handful of automatic trailing-space removals.) Bug 9756081 Change-Id: I4639cf1e970a16179fa6c0d24785f4d0dfbe58ed
raphics/Matrix.java
|
0c20c3898a533b7b76f60827cb6ea02e17c5953d |
02-Jul-2013 |
Chris Craik <ccraik@google.com> |
Use global references for Bitmap AndroidPixelRefs bug:9621717 Because we're no longer holding onto Bitmaps Java side during DisplayList lifetime, use global refs to keep the backing byte arrays around. Adds back bitmap buffer passing + native ref management removed by 3b748a44c6bd2ea05fe16839caf73dbe50bd7ae9 Adds back globalRef-ing removed by f890fab5a6715548e520a6f010a3bfe7607ce56e Change-Id: Ia59ba42f05bea6165aec2b800619221a8083d580
raphics/Bitmap.java
|
ec6221e555ddddc7dd8ff7d01cab1cee98ddbb91 |
28-Jun-2013 |
Jason Sams <jsams@google.com> |
Merge "Add 2,3 vectors to allowed intrinsic list."
|
d93fdb77d84aa3f2c427034cf17e72941f3c3418 |
28-Jun-2013 |
Jason Sams <jsams@google.com> |
Add 2,3 vectors to allowed intrinsic list. Change-Id: Iafd90ef4337076ed9d1e335c16272a0517f846b3
enderscript/ScriptIntrinsicConvolve3x3.java
enderscript/ScriptIntrinsicConvolve5x5.java
|
e3b0a0117a2ab4118f868a731b238fe8f2430276 |
27-Jun-2013 |
Romain Guy <romainguy@google.com> |
Refcount 9-patches and properly handle GC events This change adds refcounting of Res_png_9patch instances, the native data structure used to represent 9-patches. The Dalvik NinePatch class now holds a native pointer instead of a Dalvik byte[]. This pointer is used whenever we need to draw the 9-patch (software or hardware.) Since we are now tracking garbage collection of NinePatch objects libhwui's PatchCache must keep a list of free blocks in the VBO used to store the meshes. This change also removes unnecessary instances tracking from GLES20DisplayList. Bitmaps and 9-patches are refcounted at the native level and do not need to be tracked by the Dalvik layer. Change-Id: Ib8682d573a538aaf1945f8ec5a9bd5da5d16f74b
raphics/NinePatch.java
|
f296dca95f09be9832b5dcc79717986525d2b6cb |
24-Jun-2013 |
Romain Guy <romainguy@google.com> |
(Small) 9patch drawing improvements Save a bit of memory in meshs generated from native code Avoid an extra if/else when drawing with hardware accelration on Change-Id: I31a4550bde4d2c27961710ebcc92b66cd71153cc
raphics/Canvas.java
raphics/NinePatch.java
|
ff4adde5737be08d3e2d03fbe588c591d27d4a74 |
10-Jun-2013 |
Svetoslav Ganov <svetoslavganov@google.com> |
Generate PDF from Canvas. This change adds simple APIs that enable an Android application to generate a PDF document by drawing content on a canvas. Change-Id: Ibac93d7c37b01a376ce7c48238657d8c7698d588
raphics/Canvas.java
|
9274384ff0087300ce7c9758c800f071dcee285b |
19-Jun-2013 |
Jason Sams <jsams@google.com> |
Fix docs Change-Id: Ie6563f633481951d97f319aefd282b15c049e281
enderscript/ScriptIntrinsicHistogram.java
|
1a3edb00c5d08f9b82238667adb434fe50cb3f99 |
19-Jun-2013 |
Jason Sams <jsams@google.com> |
Update histogram docs. Change-Id: I6cfedb5cac459befb083f352f43ed33f4418145a
enderscript/ScriptIntrinsicHistogram.java
|
048c978ae599ecc9e00d68040ae9fd8a9d46df64 |
18-Jun-2013 |
Jason Sams <jsams@google.com> |
Allow single channel and float convolve. Change-Id: If448ea2ae38de2f8b95fc884ea0dbf8222964012
enderscript/ScriptIntrinsicConvolve3x3.java
enderscript/ScriptIntrinsicConvolve5x5.java
|
8ace2acbf16deb300a58e13fab5bbd28ff2d808c |
19-Jun-2013 |
Jason Sams <jsams@google.com> |
Add support for vec2 histogram Change-Id: I30ab758a44485a8ea30043c4cd782c3560074c58
enderscript/ScriptIntrinsicHistogram.java
|
109c46b8eaff88d7f0106ec9ca059f9cd09b0664 |
19-Jun-2013 |
Jason Sams <jsams@google.com> |
Merge "Add histogram intrinsic"
|
01e9f90576f356905b392e3bbff0ad442988180f |
18-Jun-2013 |
Jason Sams <jsams@google.com> |
Add histogram intrinsic Change-Id: I67bcaaef033d8770047923e8243e739010238539
enderscript/ScriptIntrinsicHistogram.java
|
1eb818e5b3481ee1c9722ad6b7bd925afdadb441 |
14-Jun-2013 |
Zhijun He <zhijunhe@google.com> |
Add Y8 and Y16 image format These APIs are hidden. Also correct the value of RAW_SENSOR. Bug: 9254294 Change-Id: Ic6271f5f6bfcfdd8b545d69a9a2154241c34d73b
raphics/ImageFormat.java
|
f390f770ee570f1f4def41b165cb9492e381be40 |
14-Jun-2013 |
Alan Viverette <alanv@google.com> |
Postpone creating new drawables for DrawableContainerState. When creating a DrawableContainerState from a constant state, calls to ConstantState.newDrawable() are postponed and made as they are needed. Bug: 9280861 Change-Id: I03c93a43ee00aca3ff618d66d7f507f1722538d1
raphics/drawable/DrawableContainer.java
raphics/drawable/StateListDrawable.java
|
b2675542c2f414154125b534767ae0903fba581e |
12-Dec-2012 |
Eino-Ville Talvala <etalvala@google.com> |
Initial commit of new camera API, mostly just the interface. - New core API classes in android.hardware.photography - android.media.Image and android.media.ImageReader classes for application access to direct hardware image buffers. - Additions to android.graphics.ImageFormat to describe new image types needed by new camera API. - Some documentation included; very little implementation. Bug: 9111736 Change-Id: I0680f35944d1cb8845b7dc0c67edc8c0f0864573
raphics/ImageFormat.java
|
81056427e8d710acdf471a2d6a91bc0298357cce |
07-Jun-2013 |
Romain Guy <romainguy@google.com> |
Merge "Remove unnecessary Rect, better reuse of NinePatch objects"
|
f3187b7df158d2de36955ddcc666ba4b8544a2ce |
07-Jun-2013 |
Romain Guy <romainguy@google.com> |
Remove unnecessary Rect, better reuse of NinePatch objects Cloning drawables (which happens a lot) was creating copies of NinePatch objects, which would cause the hardware renderer to generate more meshes than necessary. Also avoid keeping a String we don't need (it was interned but still.) Last but not least, remove 1 RectF per NinePatch in the system. Change-Id: If4dbfa0c30892c9b00d68875e334fd5c2bde8b94
raphics/Canvas.java
raphics/NinePatch.java
raphics/drawable/NinePatchDrawable.java
|
34bff87b32a10f6267e76a7de0b287eb6a4633f9 |
06-Jun-2013 |
Chris Craik <ccraik@google.com> |
Merge "Add support for post-decode density scaling with reuse"
|
b33d778e9c0bcc68662d0457561cbc416b5b6f3c |
06-Jun-2013 |
Alan Viverette <alanv@google.com> |
Merge "Deprecate DrawableStateList.getChildren() and add getChild()."
|
1e97ceb46991183a9286bb5ed8308e718e346c1f |
06-Jun-2013 |
Chris Craik <ccraik@google.com> |
Merge "Support all formats for BitmapFactory.Options.inBitmap"
|
72146433322588c1116ee06c27ac758ad09d869c |
06-Jun-2013 |
Alan Viverette <alanv@google.com> |
Deprecate DrawableStateList.getChildren() and add getChild(). Moves from exposing the internal structure of a drawable state list to only exposing the data. Adds getCapacity() and mutate() as package-private APIs to support various drawable subclasses. Change-Id: Id08743f979287e1a305f069ccc3c0085a7da6f7b
raphics/drawable/AnimationDrawable.java
raphics/drawable/DrawableContainer.java
raphics/drawable/LevelListDrawable.java
raphics/drawable/StateListDrawable.java
|
905e8246ef0bd20ee28d81ce3da0c5e5fc8e3913 |
05-Jun-2013 |
Chris Craik <ccraik@google.com> |
Add support for post-decode density scaling with reuse Also, simplifies scaling path, removing java variant - we always do the scaling in native, which has the benefit of avoiding non-native temporary allocations Change-Id: I39c2219f5d77a267719629704e65611cf4388a82
raphics/BitmapFactory.java
|
3f4579fbe44d95c7b0e5850446b929d70a4a85c5 |
05-Jun-2013 |
Tim Murray <timmurray@google.com> |
am 379641a7: am ea45ab6f: Merge "Improve RS documentation." into jb-mr2-dev * commit '379641a7ef09e1d7fab34d3027c5809fb2bc21ad': Improve RS documentation.
|
c11e25c4e653124def1fb18e203b894f42106cbe |
09-Apr-2013 |
Tim Murray <timmurray@google.com> |
Improve RS documentation. bug 8570568 Change-Id: I465fcc8ec3e2cc892dc3cb0067aacf5224338102
enderscript/Allocation.java
enderscript/AllocationAdapter.java
enderscript/BaseObj.java
enderscript/Byte2.java
enderscript/Byte3.java
enderscript/Byte4.java
enderscript/Double2.java
enderscript/Double3.java
enderscript/Double4.java
enderscript/Element.java
enderscript/FieldPacker.java
enderscript/FileA3D.java
enderscript/Float2.java
enderscript/Float3.java
enderscript/Float4.java
enderscript/Font.java
enderscript/Int2.java
enderscript/Int3.java
enderscript/Int4.java
enderscript/Long2.java
enderscript/Long3.java
enderscript/Long4.java
enderscript/Matrix2f.java
enderscript/Matrix3f.java
enderscript/Matrix4f.java
enderscript/Mesh.java
enderscript/Program.java
enderscript/ProgramFragment.java
enderscript/ProgramVertex.java
enderscript/RSDriverException.java
enderscript/RSIllegalArgumentException.java
enderscript/RSInvalidStateException.java
enderscript/RSRuntimeException.java
enderscript/RSSurfaceView.java
enderscript/RenderScript.java
enderscript/RenderScriptGL.java
enderscript/Sampler.java
enderscript/Script.java
enderscript/ScriptC.java
enderscript/ScriptGroup.java
enderscript/ScriptIntrinsic3DLUT.java
enderscript/ScriptIntrinsicBlend.java
enderscript/ScriptIntrinsicBlur.java
enderscript/ScriptIntrinsicColorMatrix.java
enderscript/ScriptIntrinsicConvolve3x3.java
enderscript/ScriptIntrinsicConvolve5x5.java
enderscript/ScriptIntrinsicLUT.java
enderscript/ScriptIntrinsicYuvToRGB.java
enderscript/Short2.java
enderscript/Short3.java
enderscript/Short4.java
enderscript/Type.java
enderscript/package.html
|
7e8c03c0fed64c73a4f0cfb96a2c6905b348a143 |
03-Jun-2013 |
Chris Craik <ccraik@google.com> |
Support all formats for BitmapFactory.Options.inBitmap bug:9194265 Instead of using custom code in skia to avoid allocations, use a custom allocator that reuses the allocations from the inBitmap. In order to avoid inconsistent state, the decode is done in a separate bitmap and swapped into the existing native bitmap. Eventually, we'd like to support inScaled=true completely avoiding java allocations. Change-Id: Ic4a2f2373b100a80a32c1cdebb7bcb726711c8a7
raphics/BitmapFactory.java
|
1b1c39d773e7ebf8cb2dca62b3ed1a0727c268e1 |
01-Jun-2013 |
Jason Sams <jsams@google.com> |
am d19068a7: am 413adc92: Merge "Fix free after use with createFromBitmapResource" into jb-mr2-dev * commit 'd19068a7d28d129f5a1a1be478e972b40cea04eb': Fix free after use with createFromBitmapResource
|
3ece2f3268a0629383b37604d0712e3f48968ad9 |
31-May-2013 |
Jason Sams <jsams@google.com> |
Fix free after use with createFromBitmapResource Bug 9227350 Change-Id: Iee7610a9bf3d9d1baf14b968aed2a7d0876d2af7
enderscript/Allocation.java
|
54999da4b6aaf0167f37f0eec987a670254b775f |
31-May-2013 |
Romain Guy <romainguy@google.com> |
Remove MipmapDrawable It's a hidden API that nobody uses. Change-Id: Ie0ecbc45cd191a595e53fe8765defe6f2aa7e3f6
raphics/drawable/Drawable.java
raphics/drawable/MipmapDrawable.java
|
9f58361e98be7386a4eadd3aa254e9b7d09d0a3b |
21-May-2013 |
Chris Craik <ccraik@google.com> |
Support larger bitmaps in BitmapFactory.Options.inBitmap bug:8121994 Adds a new distiction between bitmap size and the allocation (pixel ref/buffer) used to store its data. BitmapFactory.inBitmap will allow a bitmap to be reinitialized with new data if the bitmap being decoded is (after sampleSize) equal or smaller. Change-Id: I747750a735c858882df3af74fca6cdc46f2a9f81
raphics/Bitmap.java
raphics/BitmapFactory.java
|
ccccc44b13a5e5407fb87461d33a5db9672499c5 |
25-May-2013 |
Romain Guy <romainguy@google.com> |
am ac629ee8: am 529a9e39: Merge "TransitionDrawable should not become a LayerDrawable Bug #9057757" into jb-mr2-dev * commit 'ac629ee86d9e60e35098d8e731a35fc36b3bf3d5': TransitionDrawable should not become a LayerDrawable Bug #9057757
|
529a9e391e386aac37ea722d2517d376968b3d31 |
25-May-2013 |
Romain Guy <romainguy@google.com> |
Merge "TransitionDrawable should not become a LayerDrawable Bug #9057757" into jb-mr2-dev
|
90e10cc58690678937575b54e1b20b899445d0e4 |
25-May-2013 |
Romain Guy <romainguy@google.com> |
TransitionDrawable should not become a LayerDrawable Bug #9057757 Calling TransitionDrawable.mutate() would turn it into a LayerDrawable, causing it to draw all its children on screen at the same time. Change-Id: I5efa87c43114a9c817719f08890ce41965f3220a
raphics/drawable/LayerDrawable.java
|
6d7a53cbddbffba30f7e9f82ced9c1ab46214f5a |
24-May-2013 |
Tim Murray <timmurray@google.com> |
Add support to Java for RS tracing. Change-Id: I95c365345fea3a1e132a7eb2270d541be0745d02
enderscript/Allocation.java
enderscript/RenderScript.java
|
d04aaa97c94792dca662ada28b5c5d2e4289e240 |
13-May-2013 |
Fabrice Di Meglio <fdimeglio@google.com> |
am ddd02537: am b4426f15: Merge "Fix bug #8858012 layer-list\'s bitmap item\'s start/end gravity is incorrect on RTL under certain conditions" into jb-mr2-dev * commit 'ddd02537a3fb499a82097453535194f4e29583dc': Fix bug #8858012 layer-list's bitmap item's start/end gravity is incorrect on RTL under certain conditions
|
b4426f155fffdfc549a633493e4f2ee09d78c715 |
13-May-2013 |
Fabrice Di Meglio <fdimeglio@google.com> |
Merge "Fix bug #8858012 layer-list's bitmap item's start/end gravity is incorrect on RTL under certain conditions" into jb-mr2-dev
|
731ba6649a40529657aa68f93e6febe7d98b4f3b |
11-May-2013 |
Fabrice Di Meglio <fdimeglio@google.com> |
Fix bug #8858012 layer-list's bitmap item's start/end gravity is incorrect on RTL under certain conditions - set correct layout direction for Drawable Change-Id: Ic8968acadbc7c9aa0bb68dd4dfbe09aa4e7cfa62
raphics/drawable/AnimatedRotateDrawable.java
raphics/drawable/ClipDrawable.java
raphics/drawable/DrawableContainer.java
raphics/drawable/InsetDrawable.java
raphics/drawable/LayerDrawable.java
raphics/drawable/RotateDrawable.java
raphics/drawable/ScaleDrawable.java
|
119143de98a289d02937b0392c7665c7236a5970 |
11-May-2013 |
Tim Murray <timmurray@google.com> |
am 9917c1e2: am 17502c4b: Merge "Remove extraneous logging." into jb-mr2-dev * commit '9917c1e2e9ba8a0bd4f29ce05844cd539c3a41b9': Remove extraneous logging.
|
da67debe22159fdf0bbeca6340766ebe2b8e67a3 |
09-May-2013 |
Tim Murray <timmurray@google.com> |
Remove extraneous logging. bug 8888887 Change-Id: I68d01c2ba649257be1577d53f330ad28d3b57011
enderscript/RenderScript.java
enderscript/ScriptC.java
|
0c8c0add4e552fe910d787c2aa9253749b1c7b48 |
09-May-2013 |
Derek Sollenberger <djsollen@google.com> |
am c195ef73: am bee78812: Merge "Fix bug where we incorrectly clipped the bounds to the device size." into jb-mr2-dev * commit 'c195ef73445c3ba605355798b9f1f9a78bc52f11': Fix bug where we incorrectly clipped the bounds to the device size.
|
708144e828b1a549567ce50cd8ed3cda62930501 |
09-May-2013 |
Derek Sollenberger <djsollen@google.com> |
Fix bug where we incorrectly clipped the bounds to the device size. This CL also updates the documenation to make it clear that the API returns in local space, not clipped to the size of the bitmap/device. bug: 8747526 Change-Id: I389844672ce955341863f9940c3b401ab00dc1dc
raphics/Canvas.java
|
07da9df62bdd22acda0a49d239443f0b07d994f7 |
09-May-2013 |
Derek Sollenberger <djsollen@google.com> |
am e3326143: am 2c76016c: Merge "Fix error where clips/matrices are incorrectly transferred." into jb-mr2-dev * commit 'e3326143c63e791863c1fd95599fb9db74fb4eed': Fix error where clips/matrices are incorrectly transferred.
|
3bd9a6dc6b30ed0ce40ca9087ca0f4b1ca789100 |
08-May-2013 |
Derek Sollenberger <djsollen@google.com> |
Fix error where clips/matrices are incorrectly transferred. In these cases the caller passes in a NULL bitmap and expects it to clear the canvas state. This change preserves that behavior. bug: 8738494 Change-Id: I7ebf6a74bab3c2822849a3404de3828fec8d3084
raphics/Canvas.java
|
3b748a44c6bd2ea05fe16839caf73dbe50bd7ae9 |
18-Apr-2013 |
Romain Guy <romainguy@google.com> |
Pack preloaded framework assets in a texture atlas When the Android runtime starts, the system preloads a series of assets in the Zygote process. These assets are shared across all processes. Unfortunately, each one of these assets is later uploaded in its own OpenGL texture, once per process. This wastes memory and generates unnecessary OpenGL state changes. This CL introduces an asset server that provides an atlas to all processes. Note: bitmaps used by skia shaders are *not* sampled from the atlas. It's an uncommon use case and would require extra texture transforms in the GL shaders. WHAT IS THE ASSETS ATLAS The "assets atlas" is a single, shareable graphic buffer that contains all the system's preloaded bitmap drawables (this includes 9-patches.) The atlas is made of two distinct objects: the graphic buffer that contains the actual pixels and the map which indicates where each preloaded bitmap can be found in the atlas (essentially a pair of x and y coordinates.) HOW IS THE ASSETS ATLAS GENERATED Because we need to support a wide variety of devices and because it is easy to change the list of preloaded drawables, the atlas is generated at runtime, during the startup phase of the system process. There are several steps that lead to the atlas generation: 1. If the device is booting for the first time, or if the device was updated, we need to find the best atlas configuration. To do so, the atlas service tries a number of width, height and algorithm variations that allows us to pack as many assets as possible while using as little memory as possible. Once a best configuration is found, it gets written to disk in /data/system/framework_atlas 2. Given a best configuration (algorithm variant, dimensions and number of bitmaps that can be packed in the atlas), the atlas service packs all the preloaded bitmaps into a single graphic buffer object. 3. The packing is done using Skia in a temporary native bitmap. The Skia bitmap is then copied into the graphic buffer using OpenGL ES to benefit from texture swizzling. HOW PROCESSES USE THE ATLAS Whenever a process' hardware renderer initializes its EGL context, it queries the atlas service for the graphic buffer and the map. It is important to remember that both the context and the map will be valid for the lifetime of the hardware renderer (if the system process goes down, all apps get killed as well.) Every time the hardware renderer needs to render a bitmap, it first checks whether the bitmap can be found in the assets atlas. When the bitmap is part of the atlas, texture coordinates are remapped appropriately before rendering. Change-Id: I8eaecf53e7f6a33d90da3d0047c5ceec89ea3af0
raphics/Atlas.java
raphics/Bitmap.java
raphics/Canvas.java
raphics/NinePatch.java
raphics/drawable/BitmapDrawable.java
raphics/drawable/Drawable.java
raphics/drawable/NinePatchDrawable.java
|
3fc184cf6e6f3e1d3e3360be11c76e0d081afaa1 |
26-Apr-2013 |
Scott Main <smain@google.com> |
am 01e48e7d: am 22f6a60e: Merge "add docs for new attributes, including account restriction for restricted profiles" into jb-mr2-dev * commit '01e48e7d1541920ece358257e4c2481936497835': add docs for new attributes, including account restriction for restricted profiles
|
b40c1fdaee6e6cabea8d1ed78f56d5b6bd133cfb |
23-Apr-2013 |
Scott Main <smain@google.com> |
add docs for new attributes, including account restriction for restricted profiles Change-Id: I737ea55bfa58562b1b384e52626e95b479759376
raphics/drawable/BitmapDrawable.java
|
0f59d6d34e2a22b263a7787fcb1d2d519cb6a3c3 |
21-Apr-2013 |
Stephen Hines <srhines@google.com> |
am 4a84af89: am b322f994: Merge "Add new error code for Debug Context work." into jb-mr2-dev * commit '4a84af896c830d6ef613d1baa607d472cf865073': Add new error code for Debug Context work.
|
b322f99476574546cad638ed8e2866ec106d51fc |
20-Apr-2013 |
Stephen Hines <srhines@google.com> |
Merge "Add new error code for Debug Context work." into jb-mr2-dev
|
6a341fc793db2ea1360332720644df018f2c279f |
19-Apr-2013 |
Jason Sams <jsams@google.com> |
am dd240d9a: am 0935f258: Merge "Updating API based on feedback" into jb-mr2-dev * commit 'dd240d9a30578930bbf63b6bd9998e940dd16160': Updating API based on feedback
|
f64cca905c45fcc74aacf78e6510e133385110cf |
19-Apr-2013 |
Jason Sams <jsams@google.com> |
Updating API based on feedback bug 8656887 This hides the methods used to support Camera Fixes the oversight in LaunchControl Documents some missing functions Change-Id: I5b19b65dd5ddf9917100192c180bb63d89c80679
enderscript/Allocation.java
enderscript/FieldPacker.java
enderscript/Script.java
|
42028a87568c2b7b5ff3691df7c345bbc5802ade |
18-Apr-2013 |
Stephen Hines <srhines@google.com> |
Add new error code for Debug Context work. Bug: 7343201 This error type is less severe when running under the debug context, allowing developers to use RSErrorHandler to respond to errors like out-of-bounds native accesses. Change-Id: I79c87d1956c94833546f0f638ffa1aafecae49cd
enderscript/RenderScript.java
|
e8ed1eeb3f336c749c4ddbf88c50de6b1e41ff9b |
15-Apr-2013 |
Jason Sams <jsams@google.com> |
am 4b87c54b: am 097ed01a: Merge "Revert GC thread changes" into jb-mr2-dev * commit '4b87c54b06ed6834785ea06e066bb1e988a76973': Revert GC thread changes
|
f38c6ab76a824e45c0491b753d5b88f8e337e3a3 |
15-Apr-2013 |
Jason Sams <jsams@google.com> |
am c4294ed2: am 330a9fe3: Merge "Unhide new RS APIs." into jb-mr2-dev * commit 'c4294ed2f1de5c89b5e283942e0d5f8cd8822bfb': Unhide new RS APIs.
|
9bf189228fdb0ec14b284f8bd543d5f9137997cc |
14-Apr-2013 |
Jason Sams <jsams@google.com> |
Revert GC thread changes This is not quite a straight revery, some manual edits were necessary. The original CL didn't undergo sufficient design review or testing. Revert until the regressions can be sorted out. Bug 8585185 This reverts commit 6dacf8355a0692b52c49f603f43317772cb36175 This reverts commit f8c033db1edf36a0ab09568c3142054f0be2d1a1 Change-Id: Ie7215bdf881332e822603547e92f810f595077fc
enderscript/Allocation.java
enderscript/BaseObj.java
enderscript/RenderScript.java
enderscript/RenderScriptGL.java
enderscript/ScriptC.java
|
02d56d90e01e20db8424de94a14fe59dc94f19c0 |
13-Apr-2013 |
Jason Sams <jsams@google.com> |
Unhide new RS APIs. This exposes the fast path handling of YUV data. bug 8566866 Change-Id: Iaa3700100db61dd51d16d80ea8ae22f2dcc41bb0
enderscript/RenderScript.java
enderscript/ScriptIntrinsic3DLUT.java
enderscript/Type.java
|
de1fae77b6947c8696229ca113a812bc0b79e821 |
13-Apr-2013 |
Dianne Hackborn <hackbod@google.com> |
am 00c4c670: am 301e95f2: Merge "Add a little more resource load tracing." into jb-mr2-dev * commit '00c4c67069b9d13005ae072b8744c728aa73f99a': Add a little more resource load tracing.
|
0acc1931d364fabb32e2051f58bfbbc5f2505176 |
13-Apr-2013 |
Dianne Hackborn <hackbod@google.com> |
Add a little more resource load tracing. Change-Id: Id797adb67ab411d5b1a1c223863d3bb4655d10b1
raphics/drawable/Drawable.java
|
d7fec6edade22f2ca2ce33d65b0d2f08efc0eddc |
12-Apr-2013 |
Tim Murray <timmurray@google.com> |
am f151a541: am d6b8a035: Merge "Add support for synchronous get()." into jb-mr2-dev * commit 'f151a5411eb6afd104daac10b3e43f5e3a60c61d': Add support for synchronous get().
|
d6b8a035337e096f8d313b70f2178f4ec54ba2e4 |
12-Apr-2013 |
Tim Murray <timmurray@google.com> |
Merge "Add support for synchronous get()." into jb-mr2-dev
|
e1f8089a94a5c2bc271a1c23c1e07ff92b551ea8 |
12-Apr-2013 |
Tim Murray <timmurray@google.com> |
am 5c18ff0f: am 869d2735: Merge "Fix issues with GC thread." into jb-mr2-dev * commit '5c18ff0f2b9eab8481acfe13603e253e9c16fb32': Fix issues with GC thread.
|
869d273503adbccfae3bac7425649f2e1d2aefad |
12-Apr-2013 |
Tim Murray <timmurray@google.com> |
Merge "Fix issues with GC thread." into jb-mr2-dev
|
6dacf8355a0692b52c49f603f43317772cb36175 |
12-Apr-2013 |
Tim Murray <timmurray@google.com> |
Fix issues with GC thread. bug 8600533 Change-Id: I356902ee9897daeb2c1090815beeb572234c81e7
enderscript/RenderScript.java
|
5a1513657269c65ca9e25fe9dc203491efd83ea4 |
12-Apr-2013 |
Jason Sams <jsams@google.com> |
am 4e9ce36e: am c876cc49: Fix docs typo in YUV code * commit '4e9ce36ee03a2a27f6f80c460385a748566cde41': Fix docs typo in YUV code
|
c876cc49947332a538d23d28eca25a76b8f33e93 |
12-Apr-2013 |
Jason Sams <jsams@google.com> |
Fix docs typo in YUV code bug 8566866 Change-Id: I9da6d237b0a109b2c0799a41e531a0344cc19d40
enderscript/Allocation.java
|
ca22277d334baf077127a1dd84d1b3a048cba778 |
12-Apr-2013 |
Jason Sams <jsams@google.com> |
am d4b1b98d: am a2f289a4: Merge "USAGE_IO_INPUT buffer notifications" into jb-mr2-dev * commit 'd4b1b98dfd9090cf8ccf7e713d0cca9049cb10a2': USAGE_IO_INPUT buffer notifications
|
a2f289a40db821c1961e16c2f4acc5785dbb3394 |
12-Apr-2013 |
Jason Sams <jsams@google.com> |
Merge "USAGE_IO_INPUT buffer notifications" into jb-mr2-dev
|
739c8263a10d34f5acba7fce2052012d1545d10b |
12-Apr-2013 |
Jason Sams <jsams@google.com> |
USAGE_IO_INPUT buffer notifications Change-Id: I6ec0508089029da9ed118127f0c13b7b189ef5e9
enderscript/Allocation.java
enderscript/RenderScript.java
|
b735e1d426d65007011a3d915ea8e2cdd0002ecb |
12-Apr-2013 |
Fabrice Di Meglio <fdimeglio@google.com> |
am 70d2c773: am f5c757c6: Merge "More fix for bug #8159072 Spinner widget should be RTL\'ized" into jb-mr2-dev * commit '70d2c77320287d97fa2d90cc60f85e1706bffb1b': More fix for bug #8159072 Spinner widget should be RTL'ized
|
f5c757c6292fb2623757ef73020d3730ead063d7 |
12-Apr-2013 |
Fabrice Di Meglio <fdimeglio@google.com> |
Merge "More fix for bug #8159072 Spinner widget should be RTL'ized" into jb-mr2-dev
|
7c4caadb939b1563328251c156262c179a685c70 |
11-Apr-2013 |
Tim Murray <timmurray@google.com> |
Add support for synchronous get(). bug 8599910 Change-Id: I0e7c52350cc1abb14a5ed59bb92e8e0346209d53
enderscript/Allocation.java
enderscript/FieldPacker.java
enderscript/RenderScript.java
enderscript/Script.java
|
dc25d25333d3fac96dccfb9bd31d2474d6bc2d78 |
10-Apr-2013 |
Fabrice Di Meglio <fdimeglio@google.com> |
More fix for bug #8159072 Spinner widget should be RTL'ized - fix DrawableContainerState.getChangingConfigurations() to take care about its children - make Resources.verifyPreloadConfig() return false when the changing configuration contains layout direction bits (this is when a Drawable is having different version for LTR and RTL layout directions) - use constant state instead of the resource type value for checking if we can preload the drawable - fix typo Change-Id: Idd64caf0fbe0f5cfd5ffe09343e84bafa9446ea5
raphics/drawable/DrawableContainer.java
|
5e8b65d498fc63fd334da261f0ee6613538f4652 |
11-Apr-2013 |
Tim Murray <timmurray@google.com> |
am 4e8a3bcf: am 3eba934a: Merge "Clean up USAGE_SHARED and add syncing for USAGE_SHARED." into jb-mr2-dev * commit '4e8a3bcf03cdaeba6ea2f7cbbbb55c7b10c19e9c': Clean up USAGE_SHARED and add syncing for USAGE_SHARED.
|
3eba934a2747f71fa0aba2e1949567c786265359 |
11-Apr-2013 |
Tim Murray <timmurray@google.com> |
Merge "Clean up USAGE_SHARED and add syncing for USAGE_SHARED." into jb-mr2-dev
|
ccdeb2f993efe64def9e99bdc1255a6c99230112 |
10-Apr-2013 |
Tim Murray <timmurray@google.com> |
am f3860953: am a8aa6880: Merge "Add GC thread to RSGL." into jb-mr2-dev * commit 'f38609536f27e8e6971869bf63d744bf12a60163': Add GC thread to RSGL.
|
a8aa6880e4f117a265538dd55516a3f69c1c289b |
10-Apr-2013 |
Tim Murray <timmurray@google.com> |
Merge "Add GC thread to RSGL." into jb-mr2-dev
|
fb32993a457088d0c7df101ef1f1a56a3b928203 |
10-Apr-2013 |
Tim Murray <timmurray@google.com> |
Add GC thread to RSGL. bug 8585185 Change-Id: I06df29c3be831d6cd53fa8913ba3731f29c137d1
enderscript/RenderScriptGL.java
|
4e8cf0c83c974d606812f2d152d7ae9db01570a6 |
10-Apr-2013 |
Stephen Hines <srhines@google.com> |
resolved conflicts for merge of 0664479a to master Change-Id: Ia2cb081d575dbf2bf041143f1c4f553ecd2c24f3
|
7d25a829d3da96fb6ac0d285aa1bfb2022271bee |
10-Apr-2013 |
Stephen Hines <srhines@google.com> |
Defer RS cache creation until a ScriptC is built. Bug: 8582926 Change-Id: If017f41382f023f8f6ddd78ba198402d427c95f8
enderscript/RenderScript.java
enderscript/ScriptC.java
|
d351e3b12e0d53dcb23935fa61ea00f42b500531 |
10-Apr-2013 |
Jason Sams <jsams@google.com> |
am dfbd6eae: am d7094ea2: Merge "Fix docs with deprecated resize1D" into jb-mr2-dev * commit 'dfbd6eae7bd2b1b7420f819459464ef64f9912bb': Fix docs with deprecated resize1D
|
60799fb74baba4c2cbf56ee2b5985a43ff83d6f7 |
10-Apr-2013 |
Jason Sams <jsams@google.com> |
Fix docs with deprecated resize1D Change-Id: Id1774e1e8be1c1600efaa535cf330e659addb703
enderscript/Allocation.java
|
171af247589f63fffee37a0e81a975afb62279a2 |
10-Apr-2013 |
Jason Sams <jsams@google.com> |
am fd38ca2c: am 07c6fa12: Merge "Implement RS GC worker thread." into jb-mr2-dev * commit 'fd38ca2cdcaa07800058a12622896cdd9d2e2189': Implement RS GC worker thread.
|
2c128082c65d696fc1ae71c098ab3f47c411a554 |
10-Apr-2013 |
Jason Sams <jsams@google.com> |
am 84882711: am 808723f2: Merge "Cleanup Allocation and add 3D copies." into jb-mr2-dev * commit '84882711fcb7f54bfa4b0f6f28b70bbe35e24487': Cleanup Allocation and add 3D copies.
|
07c6fa123da8c7a25edab751543d96fea1dd57f6 |
10-Apr-2013 |
Jason Sams <jsams@google.com> |
Merge "Implement RS GC worker thread." into jb-mr2-dev
|
78e64945602fc9df6f4e3f8050a794b17ba0f22c |
10-Apr-2013 |
Tim Murray <timmurray@google.com> |
Clean up USAGE_SHARED and add syncing for USAGE_SHARED. bug 8567006 Change-Id: Ie9c01eeccdd3fa0a81893314dfbce7c012d3f7d3
enderscript/Allocation.java
|
f8c033db1edf36a0ab09568c3142054f0be2d1a1 |
09-Apr-2013 |
Tim Murray <timmurray@google.com> |
Implement RS GC worker thread. Bug 8579360 Change-Id: I98a5509b68e592bcbb4958f2ca72c236a22910b5
enderscript/Allocation.java
enderscript/BaseObj.java
enderscript/RenderScript.java
enderscript/ScriptC.java
|
b05d689653b1bc94836f716f29e9578677c29075 |
10-Apr-2013 |
Jason Sams <jsams@google.com> |
Cleanup Allocation and add 3D copies. bug 8567058 Change-Id: Ib05ff3de851bccfea1531ca6c1801153632a2a85
enderscript/Allocation.java
enderscript/RenderScript.java
|
f736239c7218c1ee5f4d1649b3c87f462ed6e88f |
06-Apr-2013 |
Tim Murray <timmurray@google.com> |
am e7abcc7d: am bdc87d50: Merge "Remove all public mention of RS graphics from docs." into jb-mr2-dev * commit 'e7abcc7d49231435607847691f1b1abc5d49c781': Remove all public mention of RS graphics from docs.
|
a90842283e322b1210e2bea5850b05177e3d87af |
06-Apr-2013 |
Tim Murray <timmurray@google.com> |
Remove all public mention of RS graphics from docs. Change-Id: Ie43b5fb0353149aa9af433b6f5c5141349388ea0
enderscript/FileA3D.java
enderscript/Font.java
enderscript/Mesh.java
enderscript/Program.java
enderscript/ProgramFragment.java
enderscript/ProgramFragmentFixedFunction.java
enderscript/ProgramRaster.java
enderscript/ProgramStore.java
enderscript/ProgramVertex.java
enderscript/ProgramVertexFixedFunction.java
enderscript/RSSurfaceView.java
enderscript/RSTextureView.java
enderscript/RenderScriptGL.java
enderscript/package.html
|
e4d9a01bfc7451afff1ed399a5801c7aa2af2831 |
29-Mar-2013 |
Dan Morrill <morrildl@google.com> |
Phase 1 of refactoring SystemServer. SystemServer is currently a monolithic class that brings up key system services. This change is the first phase of refactoring it to be more configurable. Specifically, it adds a set of on/off switches used to control startup of individual services. Future plans include finer grained controls and a more explicit and consistent startup sequence for these services. Change-Id: I7299f5ce7d7b74a34eb56dffb788366fbc058532
enderscript/RenderScript.java
|
52044825aa153a447928ada15deeb1497d2cb4d9 |
01-Apr-2013 |
Tim Murray <timmurray@google.com> |
am 28c2246f: am 4134ce33: Merge "Fix blur intrinsic creation." into jb-mr2-dev * commit '28c2246f0baf4357f1205202089a6c949d62aa79': Fix blur intrinsic creation.
|
4134ce3386e791bd2e024677197e36a3b4768dbb |
01-Apr-2013 |
Tim Murray <timmurray@google.com> |
Merge "Fix blur intrinsic creation." into jb-mr2-dev
|
bddc7ffb5203602e6e84941b1840aef5d606bcb4 |
01-Apr-2013 |
Tim Murray <timmurray@google.com> |
Fix blur intrinsic creation. Change-Id: Iaf54c7395d447eec94d8b6c12986fa8d16c030f5
enderscript/ScriptIntrinsicBlur.java
enderscript/ScriptIntrinsicColorMatrix.java
enderscript/ScriptIntrinsicConvolve3x3.java
|
3395e1254143c1242d09ddc9e3ddc6c50ecbed49 |
29-Mar-2013 |
Victoria Lease <violets@google.com> |
am fef08dc1: am a4b68908: Merge "bidiFlags != SkPaint::Flags" into jb-mr2-dev * commit 'fef08dc1c23fc3c7582e36df10d8a12acd22fb62': bidiFlags != SkPaint::Flags
|
a4b68908bdfefdf6c79a8b2c3d7bda00c543532f |
29-Mar-2013 |
Victoria Lease <violets@google.com> |
Merge "bidiFlags != SkPaint::Flags" into jb-mr2-dev
|
93baebfb452bf41c97b21d54316f461af31c13f6 |
29-Mar-2013 |
kmccormick <kmccormick@google.com> |
am 0aeb824b: am af7c60be: am a25c43f5: am 3121868c: am 38e94e9f: am 4d0beb7e: am 4f414b79: Doc update: fix incorrect enum * commit '0aeb824b4a688ba74015e53b5bf975d66e3b8137': Doc update: fix incorrect enum
|
af7c60be4d18381bfd70b079f1c57480b0c3aea8 |
29-Mar-2013 |
kmccormick <kmccormick@google.com> |
am a25c43f5: am 3121868c: am 38e94e9f: am 4d0beb7e: am 4f414b79: Doc update: fix incorrect enum * commit 'a25c43f5545c7d9b7e94f2bb10d64ed7d7302b49': Doc update: fix incorrect enum
|
a25c43f5545c7d9b7e94f2bb10d64ed7d7302b49 |
29-Mar-2013 |
kmccormick <kmccormick@google.com> |
am 3121868c: am 38e94e9f: am 4d0beb7e: am 4f414b79: Doc update: fix incorrect enum * commit '3121868cb860eb47182fcbae5d55667af51afb5a': Doc update: fix incorrect enum
|
4f414b7949a969c1e1cb0597155bca1d3aa2c455 |
29-Mar-2013 |
kmccormick <kmccormick@google.com> |
Doc update: fix incorrect enum "Bug: 4980236" Change-Id: I39f8f429574a9916c5fffc5b2e4ec4715ec48803
raphics/DashPathEffect.java
|
626d3c228116103e95d4429b06dad70f9812561a |
27-Mar-2013 |
Victoria Lease <violets@google.com> |
bidiFlags != SkPaint::Flags We've a number of native functions in the text layout path that take a bidiFlags argument. We've a number of callers of those functions passing in SkPaint::Flags in that slot. This completely breaks text directionality for the affected functions, as SkPaint::kAntiAlias_Flag happens to share values with kBidi_RTL, resulting in anti-aliased SkPaints measuring text as if it were RTL, and non-anti-aliased SkPaints measuring text as if it were LTR, regardless of the actual text directionality. Oops! To address the issue, this commit replaces erroneous calls to SkPaint.getFlags() with the value of Paint.mBidiFlags, and includes the necessary plumbing to get that value where it needs to be. Bug: 8471481 Change-Id: I2d04b70defed3130fc1ad13f4c9098f5fce4ffde
raphics/Paint.java
|
da1365396454c6bf04b6e5a6a712d86472349640 |
27-Mar-2013 |
Tim Murray <timmurray@google.com> |
am 25440d39: am 8ff0201a: Merge "Revert "Remove all public mention of RS graphics from docs."" into jb-mr2-dev * commit '25440d39ed679c33303fc23ada0b862fda4d5444': Revert "Remove all public mention of RS graphics from docs."
|
8ff0201ad0354b6c43aebac6075298ee847c42ef |
27-Mar-2013 |
Tim Murray <timmurray@google.com> |
Merge "Revert "Remove all public mention of RS graphics from docs."" into jb-mr2-dev
|
275812c2bb09a82efd7ea8d90b57c99ff51eab0a |
27-Mar-2013 |
Tim Murray <timmurray@google.com> |
Revert "Remove all public mention of RS graphics from docs." This reverts commit d72f932b8cbf461ebb79c249ce92b9b811122190 Change-Id: I056b13d0b2beb508e4215bc0d289cf3e76a3a986
enderscript/FileA3D.java
enderscript/Font.java
enderscript/Mesh.java
enderscript/Program.java
enderscript/ProgramFragment.java
enderscript/ProgramFragmentFixedFunction.java
enderscript/ProgramRaster.java
enderscript/ProgramStore.java
enderscript/ProgramVertex.java
enderscript/ProgramVertexFixedFunction.java
enderscript/RSSurfaceView.java
enderscript/RSTextureView.java
enderscript/RenderScriptGL.java
enderscript/package.html
|
40f897a3126ff2f8b2428e834f3fb2925db7db05 |
27-Mar-2013 |
Tim Murray <timmurray@google.com> |
am 0e39ae10: am 8565520b: Merge "Remove all public mention of RS graphics from docs." into jb-mr2-dev * commit '0e39ae1073c38afbce02f8470dcc717fd91f9751': Remove all public mention of RS graphics from docs.
|
8565520b85bd42bc57adc551c4a72bc3f5b0025a |
27-Mar-2013 |
Tim Murray <timmurray@google.com> |
Merge "Remove all public mention of RS graphics from docs." into jb-mr2-dev
|
c2f93ee201ec040bef69e09f1b1f83ee2ea49790 |
26-Mar-2013 |
Jason Sams <jsams@google.com> |
am 8b8ca344: am f3f0e155: Merge "Add yuv get" into jb-mr2-dev * commit '8b8ca344b2ecea032fd2ba3619c3987cbcbcb5ea': Add yuv get
|
5a722cf8b2dc7c6b4acc937a6d68bc88e1702d78 |
26-Mar-2013 |
Jason Sams <jsams@google.com> |
Add yuv get Change-Id: I6df5c0a8129283c0ad600b232790da10c395b479
enderscript/Type.java
|
d72f932b8cbf461ebb79c249ce92b9b811122190 |
14-Mar-2013 |
Tim Murray <timmurray@google.com> |
Remove all public mention of RS graphics from docs. Change-Id: I50b29c89ae80ba3ae7b12dc60fee8585e17ed560
enderscript/FileA3D.java
enderscript/Font.java
enderscript/Mesh.java
enderscript/Program.java
enderscript/ProgramFragment.java
enderscript/ProgramFragmentFixedFunction.java
enderscript/ProgramRaster.java
enderscript/ProgramStore.java
enderscript/ProgramVertex.java
enderscript/ProgramVertexFixedFunction.java
enderscript/RSSurfaceView.java
enderscript/RSTextureView.java
enderscript/RenderScriptGL.java
enderscript/package.html
|
22fc72c8a8a2ddd3665fe509bf0990c3a01bae77 |
21-Mar-2013 |
Chet Haase <chet@google.com> |
am bcba9442: am 10c4d99f: Merge "Manage drawable invalidation automatically for Overlays" into jb-mr2-dev * commit 'bcba9442d4066c9e34ee7a9f050b2858465e052a': Manage drawable invalidation automatically for Overlays
|
10c4d99f04a399c78529d0ae66c1785b26a125c3 |
21-Mar-2013 |
Chet Haase <chet@google.com> |
Merge "Manage drawable invalidation automatically for Overlays" into jb-mr2-dev
|
633326e29f008d2b86e523cfeedcbb2a0883181f |
21-Mar-2013 |
Chet Haase <chet@google.com> |
Manage drawable invalidation automatically for Overlays Drawables added to a view's Overlay will now cause the Overlay to be invalidated via the normal drawable-invalidation mechanism. That is, changes to any of the drawables in the overlay should cause invalidation of the proper area of the overlay and thus the hostView, causing the appropriate area to be redrawn. Also, fixed a bug in drawable invalidation so that bounds changes will now correctly invalidate both the old and new bounds areas. Issue #8350510 Add APIs needed for future animation capabilities Change-Id: Icae5fa0e420232ee17dc39be10084345bae8dbd8
raphics/drawable/Drawable.java
|
3807312e9b4a8022f370ad7c09604c6379f567a0 |
20-Mar-2013 |
Fabrice Di Meglio <fdimeglio@google.com> |
am 0bcec06b: am 19eceaad: Merge "Fix bug #8437358 Clean any ICU related code from TextLayout / Paint and their dependencies" into jb-mr2-dev * commit '0bcec06b24e7bc67ab4922f6bb18e6bc7737ba69': Fix bug #8437358 Clean any ICU related code from TextLayout / Paint and their dependencies
|
665f02c66702b77db25e950ff433230186bc3243 |
20-Mar-2013 |
Fabrice Di Meglio <fdimeglio@google.com> |
Fix bug #8437358 Clean any ICU related code from TextLayout / Paint and their dependencies - remove the ICU related methods and update the methods using the "reserved" argument - update to CTS in another CL too Change-Id: I5509736568c342d9d17bfeafc17951117ab5d3cc
raphics/Paint.java
|
f5472fc8caae80bdecca32f613c22b5e5f8f314c |
15-Mar-2013 |
Chet Haase <chet@google.com> |
am 2c250474: am e8918c57: Merge "Fix errors in Canvas.EdgeType docs" into jb-mr2-dev * commit '2c2504744e2659af9fa8df68eb93de290e99b82d': Fix errors in Canvas.EdgeType docs
|
e8918c57bde0152a109ac05386b21c8127523018 |
15-Mar-2013 |
Chet Haase <chet@google.com> |
Merge "Fix errors in Canvas.EdgeType docs" into jb-mr2-dev
|
d320001807168f5565bab9807ef13c111096bbb3 |
15-Mar-2013 |
Chet Haase <chet@google.com> |
Fix errors in Canvas.EdgeType docs Issue #7722363 Fix Canvas EdgeType docs Change-Id: I2908ff22879eb5996da73a37dae1a4cabf82fffb
raphics/Canvas.java
|
f72b5c920aa47d94310a8cdd658e5255712b7293 |
15-Mar-2013 |
Fabrice Di Meglio <fdimeglio@google.com> |
am cf60cc9a: am 261f82ca: Merge "Revert "Clean Paint.mBidiFlags as it is no longer used"" into jb-mr2-dev * commit 'cf60cc9adedf032c6c97cd2cbb9ff211deaaf3ae': Revert "Clean Paint.mBidiFlags as it is no longer used"
|
c50fbd053167b1dbcf596b676374911576764e2e |
15-Mar-2013 |
Fabrice Di Meglio <fdimeglio@google.com> |
am 42490501: am fe099074: Merge "Revert "fix argument mismatches in Paint JNI"" into jb-mr2-dev * commit '424905012677ad35aff9a4b903f208647d4509ba': Revert "fix argument mismatches in Paint JNI"
|
da12f389eb4be0c08ca3fa9ca7663f4977858df5 |
15-Mar-2013 |
Fabrice Di Meglio <fdimeglio@google.com> |
Revert "Clean Paint.mBidiFlags as it is no longer used" This reverts commit 6d9fe5bd22b531bfce69b146254a4791c76acddc.
raphics/Canvas.java
raphics/Paint.java
|
a4bf8114a73371b51a0eba9d5d61dfeb597a1abb |
15-Mar-2013 |
Fabrice Di Meglio <fdimeglio@google.com> |
Revert "fix argument mismatches in Paint JNI" This reverts commit b61fb10fe435b74a761e82f517abd0320f22193e.
raphics/Paint.java
|
fbde30877f1f0e9312d98bdad4f45540e31114da |
09-Mar-2013 |
Chet Haase <chet@google.com> |
Merge "add getAlpha() to Drawable"
|
b1af7f3d4be6cd6bc6e1e805f22c209e19bf928f |
08-Mar-2013 |
Chet Haase <chet@google.com> |
add getAlpha() to Drawable Drawable has setAlpha(int), but no getAlpha() (although some subclasses have added the method). This makes it more tedious to use the property. For example, animations that wish to animate this property must explicitly give it a start value since this value cannot be queried from the object. The trick is that setAlpha(int) is abstract, only implemented by subclasses. We cannot take this approach for getAlpha(), as we would break all subclasses of Drawable until they implemented the method. Instead, we'll add a default method which returns an invalid value, making it easier for clients of the method to detect whether the value is valid. All subclasses of Drawble in frameworks have been changed to add an override of getAlpha() when appropriate. Issue #7485875 Drawables is missing getAlpha() Change-Id: I06b6e35f1a56d202838eca44759c85c82595020a
raphics/drawable/AnimatedRotateDrawable.java
raphics/drawable/BitmapDrawable.java
raphics/drawable/ClipDrawable.java
raphics/drawable/ColorDrawable.java
raphics/drawable/Drawable.java
raphics/drawable/DrawableContainer.java
raphics/drawable/GradientDrawable.java
raphics/drawable/InsetDrawable.java
raphics/drawable/LayerDrawable.java
raphics/drawable/NinePatchDrawable.java
raphics/drawable/RotateDrawable.java
raphics/drawable/ScaleDrawable.java
raphics/drawable/ShapeDrawable.java
|
1e645d29250731c6e34040940c59f1033213ad3e |
08-Mar-2013 |
Jason Sams <jsams@google.com> |
Fix typo Change-Id: I4e4d3aec62d1400f90a10802148ef875b5a268ef
enderscript/ScriptIntrinsic3DLUT.java
|
25a3b1ddeb470737ba8d05baabd6f3e5ad394ab0 |
05-Mar-2013 |
Adam Koch <akoch@google.com> |
am cc3fec69: am 0c8dfd7d: am 1061c578: am 095aa4b6: am 1a5bec01: Merge "Doc fix: update BitmapFactory.Options.inSampleSize javadoc Bug: 8250653" into jb-mr1-dev * commit 'cc3fec699d9fdf57a080106e6ca7b3ae845f1446': Doc fix: update BitmapFactory.Options.inSampleSize javadoc Bug: 8250653
|
e43d5714fc4b06ebab0340c92aebb79190278573 |
05-Mar-2013 |
Adam Koch <akoch@google.com> |
am 1a5bec01: Merge "Doc fix: update BitmapFactory.Options.inSampleSize javadoc Bug: 8250653" into jb-mr1-dev * commit '1a5bec0127ca4584008a1ab9e1ce49e671f8387c': Doc fix: update BitmapFactory.Options.inSampleSize javadoc Bug: 8250653
|
cc3fec699d9fdf57a080106e6ca7b3ae845f1446 |
05-Mar-2013 |
Adam Koch <akoch@google.com> |
am 0c8dfd7d: am 1061c578: am 095aa4b6: am 1a5bec01: Merge "Doc fix: update BitmapFactory.Options.inSampleSize javadoc Bug: 8250653" into jb-mr1-dev * commit '0c8dfd7d281d037df3d427ccb6bf4642b2617a63': Doc fix: update BitmapFactory.Options.inSampleSize javadoc Bug: 8250653
|
095aa4b611472f64bdbd1499d05b747cebc3f792 |
05-Mar-2013 |
Adam Koch <akoch@google.com> |
am 1a5bec01: Merge "Doc fix: update BitmapFactory.Options.inSampleSize javadoc Bug: 8250653" into jb-mr1-dev * commit '1a5bec0127ca4584008a1ab9e1ce49e671f8387c': Doc fix: update BitmapFactory.Options.inSampleSize javadoc Bug: 8250653
|
836f93dc5f00536baa56f7c035c424a130f9c2a3 |
05-Mar-2013 |
Romain Guy <romainguy@google.com> |
Merge "Never resize a Bitmap down to 0 at load time Bug #8313929" into jb-mr2-dev
|
fe28ef84f253190faaecf6fa3848898e41212ddb |
05-Mar-2013 |
Romain Guy <romainguy@google.com> |
Never resize a Bitmap down to 0 at load time Bug #8313929 Change-Id: Ic9b691319f162228c72ad1afed4dfe0b4181c422
raphics/BitmapFactory.java
|
3e7dbf5373732459b74fd698a6912d6115ed2870 |
04-Mar-2013 |
Chris Craik <ccraik@google.com> |
Merge "Document that degenerate lines wont be drawn" into jb-mr2-dev
|
a5ef27da958acb84014b9f6ca4622c02be02fe22 |
04-Mar-2013 |
Chris Craik <ccraik@google.com> |
Document that degenerate lines wont be drawn bug:7658830 Skia and the HW acceleration path don't render anything for degenerate lines. Change-Id: I5ea6fe8f16533e5045a7cd10475f4240f6c311b6
raphics/Canvas.java
|
cdac497289fd2c39a352f6167dae3f77cc608cb8 |
22-Feb-2013 |
Derek Sollenberger <djsollen@google.com> |
Deprecate read/write Pictures to streams. bug: 8241089 Change-Id: I435a534f5110cb2b8aba87c047b509020a22fd67
raphics/Canvas.java
raphics/Picture.java
|
cccd6c67db8c610bcaa469e0e1b808eb98807453 |
01-Mar-2013 |
Chris Craik <ccraik@google.com> |
Merge "Avoid trying to draw invisible ShapeDrawables" into jb-mr2-dev
|
f0e06784609bd3a62cbf86499b4348f4521b6de6 |
01-Mar-2013 |
Chris Craik <ccraik@google.com> |
Avoid trying to draw invisible ShapeDrawables This avoids work when a drawable is declared with @android:color/transparent Change-Id: I1b6d3b22751e378be047a5538dfd4d4baab3c03a
raphics/drawable/ShapeDrawable.java
|
abd5db9d37839bb47c77e03b28d00042582fbfe2 |
28-Feb-2013 |
Tim Murray <timmurray@google.com> |
Add support and better exceptions for Bitmaps with a null config. Bug: 8263427 Change-Id: I4181402e4739c6a40591f1e1416fca98643ecc57
enderscript/Allocation.java
|
8e04840f38a16f806754dfca3de50c2548e67913 |
26-Feb-2013 |
Victoria Lease <violets@google.com> |
round subpixels up to next integer in measureText DO NOT MERGE A common source of layout bugs we're seeing these days involves the output of measureText() being fed into StaticLayout's constructor. measureText() returns subpixel-accurate values, but StaticLayout only takes integral bounds, resulting in the subpixel portion of the bounds being truncated. This leaves StaticLayout with insufficient space to layout the text that was just measured, causing all manner of unexpected line breaks. This could be causing issues elsewhere, as well. Until our text pipeline is fully subpixel-perfect, it's best that measureText guarantee that the value it returns will be sufficient to contain the text, even if cast to int. Cherry-pick of Ib84947f0d0a1229287f5b19b99e7efd40f5317f7 Bug: 8164205 Change-Id: I69795ba5770112c0a3d0e752158076a8d1646b1a
raphics/Paint.java
|
add26dca07cc5a5c935bc68f57bee2c1cd96a79e |
23-Feb-2013 |
Jason Sams <jsams@google.com> |
add support for debug and profile contexts. Change-Id: I759e54e365a344a93d725eb4fa70a2c4c98bf05a
enderscript/RenderScript.java
|
fa5cb40793f6765b1f09e1253703f8bdfb7a825a |
22-Feb-2013 |
Jason Sams <jsams@google.com> |
Merge "Fix build break."
|
c089c2fc00054d6dde24b98e78226923a5364564 |
22-Feb-2013 |
Jason Sams <jsams@google.com> |
Fix build break. Change-Id: I362c96787482bc8daee7dd4a01817ab7ed79b730
enderscript/Allocation.java
|
ec39a94ac299e57c800a82814651c713f3a5f5c7 |
22-Feb-2013 |
Jason Sams <jsams@google.com> |
Merge "Implement USAGE_IO_INPUT"
|
72226e0543461133b9e177a3e78ae50b0c65e797 |
22-Feb-2013 |
Jason Sams <jsams@google.com> |
Implement USAGE_IO_INPUT Change-Id: Id5b9e3d0a17e4df15eec36d542fde6dc626138b2
enderscript/Allocation.java
enderscript/RenderScript.java
|
758333d70a749fb50276057abc585cbc0decc8d4 |
22-Feb-2013 |
Adam Koch <akoch@google.com> |
Doc fix: update BitmapFactory.Options.inSampleSize javadoc Bug: 8250653 Change-Id: I7187372ab3c742b9395d119a7425f60f071dbb4e
raphics/BitmapFactory.java
|
1b63e60abd3082f539b4e1f4562eec2005383ba5 |
21-Feb-2013 |
Derek Sollenberger <djsollen@google.com> |
Fix use case where the Java Canvas is reused. When provided with a new bitmap device the canvas will retain certain information such as it's matrix and clip. bug: 8167188 Change-Id: I20ac8a24eebc85fb7c147504a103ce9a95b530b3
raphics/Canvas.java
|
c4ca87f0f4034d4b987084d2b62ed7e5e0430557 |
20-Feb-2013 |
Chris Craik <ccraik@google.com> |
am 8a47d8ea: Merge "Clean up clipping and deferral logic" * commit '8a47d8eaec26d0937aee94a057f561f246748339': Clean up clipping and deferral logic
|
5d11676414b3606792e23c269cf75b44faa1a2af |
20-Feb-2013 |
Chris Craik <ccraik@google.com> |
Clean up clipping and deferral logic bug:8037003 -Merges replay methods -Bounds checking for DrawBitmapMesh, DrawRects and DrawDisplayList -Use clip as bounds for otherwise unbounded draw operations Clip-as-bounds is correct for drawColor and functor, but other draw operations (pos text, text on path, and layers) still need true bounds calculation Change-Id: I5d5149d2c624f01e3fe46628bf156e835e69b9d5
raphics/Canvas.java
|
ece85f3b049141164586df286c9afda388bb8a3b |
16-Feb-2013 |
Jason Sams <jsams@google.com> |
am 840b5069: Merge "Support typed YUV allocations." * commit '840b5069707c6f39ec06231dacbcbe8159d581c1': Support typed YUV allocations.
|
840b5069707c6f39ec06231dacbcbe8159d581c1 |
16-Feb-2013 |
Jason Sams <jsams@google.com> |
Merge "Support typed YUV allocations."
|
5db25eda73b85338e4e0e70178b9650509a42bb3 |
16-Feb-2013 |
Tim Murray <timmurray@google.com> |
am ab7a2919: Merge "Add MIRRORED_REPEAT." * commit 'ab7a2919a321af21b234d8db14748624c1b13634': Add MIRRORED_REPEAT.
|
ab7a2919a321af21b234d8db14748624c1b13634 |
16-Feb-2013 |
Tim Murray <timmurray@google.com> |
Merge "Add MIRRORED_REPEAT."
|
dd6c8b34f172ba699954e4d3095dba8c0fd5e930 |
16-Feb-2013 |
Jason Sams <jsams@google.com> |
Support typed YUV allocations. Change-Id: I56e7a318dc979f0b7454fcfa5773ea6d95bbaeaa
enderscript/Element.java
enderscript/Type.java
|
6b9b2caf2bf977508e223792bb5eba75091c232d |
15-Feb-2013 |
Tim Murray <timmurray@google.com> |
Add MIRRORED_REPEAT. Change-Id: I7565da24912a3c33d8f824da9ea0899a423d3c40
enderscript/RenderScript.java
enderscript/Sampler.java
|
c85637f0e60964af101a9c43a1ae92ee2d1be168 |
15-Feb-2013 |
Victoria Lease <violets@google.com> |
am c69bce2e: Merge "fix argument mismatches in Paint JNI" # Via Android (Google) Code Review (1) and Victoria Lease (1) * commit 'c69bce2e41c70da35e1b6a2ab5ec44469ab14c80': fix argument mismatches in Paint JNI
|
b61fb10fe435b74a761e82f517abd0320f22193e |
15-Feb-2013 |
Victoria Lease <violets@google.com> |
fix argument mismatches in Paint JNI Paint.getTextRunCursor() no longer has a "flags" argument on the Java side. The native side, however, still had the argument, and was being called with misaligned arguments, causing all manner of madcap fun. Also, the version of Paint.getTextRunCursor() that took String as an argument needed to lose the "flags" argument, as well, to prevent an infinite loop in the CharSequence version of the function, which was supposed to be calling the String version but was actually calling itself. Bug: 8201224 Change-Id: Iad0dabaf81185f29a082566cc64590f2ba9bc31c
raphics/Paint.java
|
c932760f667cf56ca7a1aeffde505745dc3632e1 |
14-Feb-2013 |
Chris Craik <ccraik@google.com> |
Merge "Revert "Merge remote-tracking branch 'goog/master-chromium' into 'goog/master'" DO NOT MERGE"
|
9b10e27d60765b36271848e87230e8c6ca4b1ed2 |
14-Feb-2013 |
Stephen Hines <srhines@google.com> |
Merge "Add rsnScriptForEachClipped() implementation with no param array."
|
0c33ecd209d884a9a2b9ad807cb798583b890a08 |
13-Feb-2013 |
Fabrice Di Meglio <fdimeglio@google.com> |
Merge "Clean Paint.mBidiFlags as it is no longer used"
|
7c1a49f5f5ed6613d736464bf5001b777e89ced2 |
13-Feb-2013 |
Chris Craik <ccraik@google.com> |
Revert "Merge remote-tracking branch 'goog/master-chromium' into 'goog/master'" DO NOT MERGE This reverts commit 6c0307dd0aefe9a08794b155fc03ee60ebd14f25, reversing changes made to a2cd828b749c444d55c2c41c7dbb85088ff94b9f. Conflicts: packages/SystemUI/res/values-sv/strings.xml Change-Id: Ia178efe8b14751583d47b2826bfe3d3d5463dd2e
raphics/Canvas.java
raphics/Path.java
raphics/Typeface.java
|
dac6ed0b69b23ab25757085dd5ce68092516ee2f |
13-Feb-2013 |
Stephen Hines <srhines@google.com> |
Add rsnScriptForEachClipped() implementation with no param array. JNI doesn't let us pass down a NULL parameter array (from the usrData part of our reflection). In this case, we simply clone our existing function, but remove the offending array parameter. Change-Id: Ib1d6e202f2a55ba8922eec3da5a93d8daa882250
enderscript/RenderScript.java
|
43aed48facaf8a177b84cf3ae580cabe48f2774a |
13-Feb-2013 |
Tim Murray <timmurray@google.com> |
Merge "Pass through null LaunchOption structs to standard forEach."
|
ba9dd06176cf833898832861114e225fdb428ea0 |
13-Feb-2013 |
Tim Murray <timmurray@google.com> |
Pass through null LaunchOption structs to standard forEach. Change-Id: I4dcde6996400207c7e361ff4b7723ec7db832e80
enderscript/Script.java
|
aa5d5b1931b0e83f5a3134aaf469ff9cd5b24ee2 |
12-Feb-2013 |
Stephen Hines <srhines@google.com> |
Merge "Check Element in all API levels for copy2DRangeFrom()."
|
004158032af4d930c10d224f63cd915f24f4abd8 |
12-Feb-2013 |
Stephen Hines <srhines@google.com> |
Merge "Fix copyFrom() to use proper dimensions for copying."
|
d25d037890a8af7e04f1e6c75e5508566fbc8105 |
12-Feb-2013 |
Jason Sams <jsams@google.com> |
Merge "Add FieldPacker contructor that accepts external storage."
|
6d9fe5bd22b531bfce69b146254a4791c76acddc |
12-Feb-2013 |
Fabrice Di Meglio <fdimeglio@google.com> |
Clean Paint.mBidiFlags as it is no longer used See bug #7623824 Change-Id: Ie2f9422821f6dcc73c99e8695f448e966b587b1d
raphics/Canvas.java
raphics/Paint.java
|
5f528becb09b0956bcad15b32639f87b87f40f13 |
09-Feb-2013 |
Stephen Hines <srhines@google.com> |
Check Element in all API levels for copy2DRangeFrom(). Change-Id: I561317671a16888fc9f35908ab1ae1489a14fc6c
enderscript/Allocation.java
|
a9a7b3740598c79792cbcebca6a00d1595324ae9 |
09-Feb-2013 |
Stephen Hines <srhines@google.com> |
Fix copyFrom() to use proper dimensions for copying. This change actually fixes several bugs related to stride: * copyFrom() needs to call the 2D or 1D version, depending on the dimensions of the corresponding Allocation. * Add an internal-only copy2DRangeFromUnchecked(), since we don't really want to expose it as another public API (only via copyFromUnchecked()). * Call the proper 1D/2D version in copyFromUnchecked() based on the Allocation dimensions. * Add Element checks to the "checked" copy2DRangeFrom() routines. Change-Id: I690706d36884ee749bf90937c715855f6c07368c
enderscript/Allocation.java
|
97dcc20e6d6fcce712ab1101bfe03c74aa2b6682 |
08-Feb-2013 |
Romain Guy <romainguy@google.com> |
Merge "Deprecate useless BitmapDrawable constructor Bug #2590549"
|
7ac40e38696aa74d7b7938add8fdbc47180ae424 |
08-Feb-2013 |
Romain Guy <romainguy@google.com> |
Deprecate useless BitmapDrawable constructor Bug #2590549 Change-Id: Icb45bf2d9836c43ed0825105f64d7b98afcdcdac
raphics/drawable/BitmapDrawable.java
raphics/drawable/Drawable.java
|
5b08a2dc780a26e1557cfb4806de91f9f6bfb855 |
08-Feb-2013 |
Jason Sams <jsams@google.com> |
Add FieldPacker contructor that accepts external storage. Change-Id: I9c796f925802b202eae7e0fe1750a10140ef4a47
enderscript/FieldPacker.java
|
eb8c29cb7ece3f4b7ad18e5393b07fa7418a541c |
07-Feb-2013 |
Tim Murray <timmurray@google.com> |
Add API entry points for clipped kernels. Change-Id: Idf474a5ac391c41e9215cd2f03e7f8c4bfb875fa
enderscript/RenderScript.java
enderscript/Script.java
|
3c6721899ea903ed278feac1e76a97137fa9d0c3 |
07-Feb-2013 |
Jason Sams <jsams@google.com> |
Merge "Implement rs.sendMessage()"
|
e68c1ce1d41ac43b0d59015f3556ca20bf7e4548 |
06-Feb-2013 |
Scott Main <smain@google.com> |
am 11f1c5b8: am b3a57191: am 0a00de11: am 805d2e2d: am 00f49084: Merge "docs: fix renderscript links that currently require redirect" into jb-mr1-dev # Via Android Git Automerger (4) and others * commit '11f1c5b89a98cb6794f2b1f158b8c22e38af975f': docs: fix renderscript links that currently require redirect
|
11f1c5b89a98cb6794f2b1f158b8c22e38af975f |
06-Feb-2013 |
Scott Main <smain@google.com> |
am b3a57191: am 0a00de11: am 805d2e2d: am 00f49084: Merge "docs: fix renderscript links that currently require redirect" into jb-mr1-dev # Via Android Git Automerger (3) and others * commit 'b3a57191e62e0c394ba4a3448770853a1fb7ac3b': docs: fix renderscript links that currently require redirect
|
805d2e2d98fa8749d6ae38650c77c79611174944 |
06-Feb-2013 |
Scott Main <smain@google.com> |
am 00f49084: Merge "docs: fix renderscript links that currently require redirect" into jb-mr1-dev # Via Android (Google) Code Review (1) and Scott Main (1) * commit '00f490844d89b146e5490204a5a483834950c489': docs: fix renderscript links that currently require redirect
|
23e500d168e8d649305445f6c1d2b49d8d2c00fd |
06-Feb-2013 |
Derek Sollenberger <djsollen@google.com> |
Merge "Merge remote-tracking branch 'goog/master-chromium' into 'goog/master'"
|
455d64426615e5d269a3bd05cd91b67c3811fcdf |
06-Feb-2013 |
Jason Sams <jsams@google.com> |
Implement rs.sendMessage() Change-Id: Ib4f4bb7bb4f697d0b5405ad55721394ed2456c65
enderscript/Allocation.java
enderscript/RenderScript.java
|
a4b7bc97862e01d38b483524f1d1cf433d29e294 |
06-Feb-2013 |
Jason Sams <jsams@google.com> |
Log non-fatal RS errors. Change-Id: I3e58b89453af8955ba9df825ec143e793890f44a
enderscript/RenderScript.java
|
b47fa1699a02a96d5da8e175966e9584c6bd5565 |
05-Feb-2013 |
Scott Main <smain@google.com> |
docs: fix renderscript links that currently require redirect Change-Id: Ie12ff2c4be5ca22ac43dfe3a16868c7bef8e4ae8
enderscript/Allocation.java
enderscript/Element.java
enderscript/RSSurfaceView.java
enderscript/RenderScript.java
enderscript/RenderScriptGL.java
enderscript/Type.java
enderscript/package.html
|
7f2e4efa96c6e3ab636c5e70b5fc09b0153d30e8 |
04-Feb-2013 |
Michael Jurka <mikejurka@google.com> |
am c24b1448: Merge "Don\'t mark recycled bitmaps as immutable" # Via Android (Google) Code Review (1) and Michael Jurka (1) * commit 'c24b14481527e2f87ddb3a156b8217d32c645b10': Don't mark recycled bitmaps as immutable
|
c24b14481527e2f87ddb3a156b8217d32c645b10 |
04-Feb-2013 |
Michael Jurka <mikejurka@google.com> |
Merge "Don't mark recycled bitmaps as immutable"
|
afce5a4008c494f6384e1b6b2fb4f13d33e917cb |
04-Feb-2013 |
Michael Jurka <mikejurka@google.com> |
Don't mark recycled bitmaps as immutable Helps avoid Bitmap allocations in apps that use a pool of bitmaps and recycle them Change-Id: I787455a5207bf90d6ed9f1622e0f7f7e1a4a6704
raphics/BitmapFactory.java
|
d0351a67f17d93038c17955381c5eff3d0679268 |
04-Feb-2013 |
Derek Sollenberger <djsollen@google.com> |
am 1bce2db3: Merge "Fix return type mismatch in Region\'s JNI code." # Via Android (Google) Code Review (1) and Derek Sollenberger (1) * commit '1bce2db3b4ac17156066646171c82731c87aa4d1': Fix return type mismatch in Region's JNI code.
|
250f8ef24830498c2e1753d3a562ae50e609815b |
01-Feb-2013 |
Derek Sollenberger <djsollen@google.com> |
Fix return type mismatch in Region's JNI code. bug: 7620006 Change-Id: Iddca9b3739b0c116a80a900e06cede338b868e17
raphics/Region.java
|
5a2cae1cb84c03ec889c7099b6c103a8fefb370f |
30-Jan-2013 |
Kenny Root <kroot@android.com> |
am 29449a3d: am 781bcd68: am c3ee1d9a: am 7ad885e2: Merge "One more fix for incorrect indices." # By Stephen Hines # Via Android Git Automerger (3) and others * commit '29449a3da7d859e8273612527949e0a200b8e798': One more fix for incorrect indices.
|
29449a3da7d859e8273612527949e0a200b8e798 |
30-Jan-2013 |
Kenny Root <kroot@android.com> |
am 781bcd68: am c3ee1d9a: am 7ad885e2: Merge "One more fix for incorrect indices." # By Stephen Hines # Via Android Git Automerger (2) and others * commit '781bcd68ce7d701f5d36dd0d1b07d51ef937f0bc': One more fix for incorrect indices.
|
c3ee1d9aea36bb7c33dee6211905d4c1ab2681a1 |
30-Jan-2013 |
Kenny Root <kroot@android.com> |
am 7ad885e2: Merge "One more fix for incorrect indices." # By Stephen Hines # Via Gerrit Code Review (1) and Stephen Hines (1) * commit '7ad885e2e6c845dbec4f16cd71e859240741dbf9': One more fix for incorrect indices.
|
0e1d11fc133aeb6aaeb4acbe1eecb71863e36f1e |
23-Jan-2013 |
Christopher Tate <ctate@android.com> |
am 7b3b2cfc: am e93ca308: am 0e95685f: am b5a72043: Merge "Fix array index oob in Matrix3f.loadRotate()." * commit '7b3b2cfc29081605a419c266227b88d9a27c37cb': Fix array index oob in Matrix3f.loadRotate().
|
7b3b2cfc29081605a419c266227b88d9a27c37cb |
23-Jan-2013 |
Christopher Tate <ctate@android.com> |
am e93ca308: am 0e95685f: am b5a72043: Merge "Fix array index oob in Matrix3f.loadRotate()." * commit 'e93ca308c8792b231ec921ba8a00e6c78e87f9ad': Fix array index oob in Matrix3f.loadRotate().
|
0e95685ff49c4d189464170cc03d2d74f23da475 |
23-Jan-2013 |
Christopher Tate <ctate@android.com> |
am b5a72043: Merge "Fix array index oob in Matrix3f.loadRotate()." * commit 'b5a7204313447101ad80c0c6015e930f1e6b1013': Fix array index oob in Matrix3f.loadRotate().
|
3983754bbba587512dce6ff20a4145b311c15027 |
23-Jan-2013 |
Stephen Hines <srhines@google.com> |
One more fix for incorrect indices. Change-Id: I283f2f09cd0a17eefed4a763b08df856bbae76b3
enderscript/Matrix3f.java
|
0ce7cdaffdc039c035e7eea80f4b89fc0b4e7ee5 |
23-Jan-2013 |
Stephen Hines <srhines@google.com> |
Fix array index oob in Matrix3f.loadRotate(). https://code.google.com/p/android/issues/detail?id=42860 Change-Id: Idbf18576da3ad5b84b4209147dad34cc2f9044d2
enderscript/Matrix3f.java
|
70336dd0eb4d06004687bfdeda0047b5675433e3 |
18-Jan-2013 |
Derek Sollenberger <djsollen@google.com> |
Update enum value to match those in the native header. Change-Id: Idfb921ecd138baa8570ac1e92bdeb291dbf9207e
raphics/Path.java
|
edd9f42499365b5ac30e498a8fe7093fcd632274 |
10-Jan-2013 |
Jason Sams <jsams@google.com> |
am daa944a1: Merge "Add YUV allocation creation." * commit 'daa944a167c3e7365ea6f9b6712950edd5ca2dd4': Add YUV allocation creation.
|
6a6852cfcb3e82e18f2a6ff7a7f9378ce22b57e2 |
09-Jan-2013 |
Jason Sams <jsams@google.com> |
am 16ad1770: Merge "Add 3D LUT intrinsic java class" * commit '16ad17705eb22bb02a551cddd68f65b8addaa4d6': Add 3D LUT intrinsic java class
|
b109cc78616abee7291eb42094cd156b5db3355d |
08-Jan-2013 |
Jason Sams <jsams@google.com> |
Add YUV allocation creation. Change-Id: I0d1ff72f60481eb9c28cf058eab72e689494d14b
enderscript/RenderScript.java
enderscript/Type.java
|
40f1fa6ed699b885e3270faf88085ed78f54a2f4 |
08-Jan-2013 |
Jason Sams <jsams@google.com> |
Add 3D LUT intrinsic java class Add test for 3D LUT Change-Id: I52bc20fd5458afda6de0a6015e9c8bc6a4970055
enderscript/ScriptIntrinsic3DLUT.java
|
fc615a0f643408956fc0dc1b997871e2b27cee7e |
20-Dec-2012 |
Derek Sollenberger <djsollen@google.com> |
Remove calls to SkCanvas::setBitmapDevice() Change-Id: Ib0aa2f65b77802b105c0e8a9d7cdde2e863d3673
raphics/Canvas.java
|
cdb87536f5e88a97890c2018921d7e728d76770e |
03-Jan-2013 |
Jason Sams <jsams@google.com> |
am 18483a48: Merge "Cleanup imports." * commit '18483a482a129276f462bbcccf9dbad21b29a4bd': Cleanup imports.
|
232f4214cf699c6d20343aea550ccf0aeba2f13f |
03-Jan-2013 |
Jason Sams <jsams@google.com> |
am 256377e7: Merge "yuv" * commit '256377e7469a6fbc930727a19ea4a00ca886d6dd': yuv
|
ef308ed9b3d7c5a91337f858a0abe1396a5a5800 |
02-Jan-2013 |
Jason Sams <jsams@google.com> |
Cleanup imports. Change-Id: I72690651e895ad7bafa57ccc7261eaa1168923bd
enderscript/ScriptIntrinsic.java
enderscript/ScriptIntrinsicColorMatrix.java
enderscript/ScriptIntrinsicConvolve3x3.java
enderscript/ScriptIntrinsicLUT.java
|
8140d7b0f62a6e5b54e318c959f2d501f7ee6784 |
14-Dec-2012 |
Jason Sams <jsams@google.com> |
yuv Change-Id: I3e99740250f1a3cb356bf6906528abc71f8cee2e
enderscript/Element.java
enderscript/Type.java
|
41cc867fdaaa932cd68740b18024a249436300f4 |
28-Dec-2012 |
Jason Sams <jsams@google.com> |
am 69bf687e: Merge "Add API support for 3D allocations." * commit '69bf687e5335db07d32fd68438ff64e18b9e9e8a': Add API support for 3D allocations.
|
69bf687e5335db07d32fd68438ff64e18b9e9e8a |
28-Dec-2012 |
Jason Sams <jsams@google.com> |
Merge "Add API support for 3D allocations."
|
d1c306a9e66f8e541f866a6f3740959ed8cc70a6 |
28-Dec-2012 |
Jason Sams <jsams@google.com> |
Add API support for 3D allocations. Change-Id: I19c525f90135d83caec545e77e8f61a957d220ee
enderscript/Type.java
|
9813e1729655fc34345e2898278f4382fa347f8c |
20-Dec-2012 |
Stephen Hines <srhines@google.com> |
am 696a5e04: Merge "We can only optimize bitmaps that have USAGE_SHARED." * commit '696a5e04ea43ed601f2c21555e3c475e690a37a7': We can only optimize bitmaps that have USAGE_SHARED.
|
d34dc85f8f6d095f4c65a6f75477230ec2f19578 |
20-Dec-2012 |
Stephen Hines <srhines@google.com> |
We can only optimize bitmaps that have USAGE_SHARED. Change-Id: I1149a9e25738da5ee348e3c18e7fdd7c1948e89e
enderscript/Allocation.java
|
403afae1033fe045cc6159e9504fbcc06ab18846 |
19-Dec-2012 |
Tim Murray <timmurray@google.com> |
am 0562a0dc: Merge "Add USAGE_SHARED for Allocations." * commit '0562a0dcc1bcbda59c753e659fbb2f9c3cd76869': Add USAGE_SHARED for Allocations.
|
0562a0dcc1bcbda59c753e659fbb2f9c3cd76869 |
19-Dec-2012 |
Tim Murray <timmurray@google.com> |
Merge "Add USAGE_SHARED for Allocations."
|
00bb454bd0b26c05e1dea5651b5edfd9c69ef2e0 |
18-Dec-2012 |
Tim Murray <timmurray@google.com> |
Add USAGE_SHARED for Allocations. Change-Id: I61efafffaa649df68762d9ae29e029cd1e1bc6bc
enderscript/Allocation.java
|
2fa54cef47887808d006f473a7d4f8dd5fb76704 |
19-Dec-2012 |
Derek Sollenberger <djsollen@google.com> |
Merge "Update framework to support r5967 of Skia." into master-chromium
|
d47f7d8b5fe3a3861d7cbdc5f912235407823c8e |
18-Dec-2012 |
Andy McFadden <fadden@android.com> |
Rename ISurfaceTexture and SurfaceTexture The C++ class names don't match what the classes do, so rename ISurfaceTexture to IGraphicBufferProducer, and SurfaceTexture to GLConsumer. Bug 7736700 Change-Id: I08e677faf2ebb418ef131d0a8008e01037db0e50
raphics/SurfaceTexture.java
|
eef623900c44f2629aae87db188363623ef46592 |
17-Dec-2012 |
Tim Murray <timmurray@google.com> |
Merge "Add struct for controlling clipping in Java."
|
fbfaa853630edfca25eaa840f92035713eef13ba |
15-Dec-2012 |
Tim Murray <timmurray@google.com> |
Add struct for controlling clipping in Java. Change-Id: Iac747e492c680530553909b0389b230fbc654e30
enderscript/Script.java
|
545252f4fde6fbb70b07e97a120c7d1405758017 |
11-Dec-2012 |
Svetoslav Ganov <svetoslavganov@google.com> |
Refactoring of the screen magnification feature. 1. This patch takes care of the case where a magnified window is covering an unmagnigied one. One example is a dialog that covers the IME window. bug:7634430 2. Ensuring that the UI automator tool can connect and correctly dump the screen. bug:7694696 3. Removed the partial implementation for multi display magnification. It adds unnecessary complexity since it cannot be implemented without support for input from multiple screens. We will revisit when necessary. 4. Moved the magnified border window as a surface in the window manager. 5. Moved the mediator APIs on the window manager and the policy methods on the WindowManagerPolicy. 6. Implemented batch event processing for the accessibility input filter. Change-Id: I4ebf68b94fb07201e124794f69611ece388ec116
raphics/Region.java
|
ca79cf69d09efa0c327e9b1237d86a119aea5da7 |
14-Aug-2012 |
Derek Sollenberger <djsollen@google.com> |
Update framework to support r5967 of Skia. bug: 6906025 Change-Id: Iefdb830ec3aa2ab3472c1c142484a7aa21788a15
raphics/Canvas.java
raphics/Typeface.java
|
a314551d69098537337c970da615a8f8af58e1f1 |
05-Dec-2012 |
Tim Murray <timmurray@google.com> |
Add support for Bitmap-backed Allocations in Java. Change-Id: Iab38a275aa6cdac91c76fa0d134fbc1e8f387913 Bug: 7256604
enderscript/Allocation.java
enderscript/RenderScript.java
|
507a2d985299f2c4eca9f378c2190f73518c2d6f |
28-Nov-2012 |
Adam Powell <adamp@google.com> |
am c87b053b: am b29dc7e3: am f3a39f2d: Merge "Remove overzealous mutate() sanity check in LayerDrawable" into jb-mr1.1-dev * commit 'c87b053bf92bf39644b554673bc4480606df57e3': Remove overzealous mutate() sanity check in LayerDrawable
|
c87b053bf92bf39644b554673bc4480606df57e3 |
28-Nov-2012 |
Adam Powell <adamp@google.com> |
am b29dc7e3: am f3a39f2d: Merge "Remove overzealous mutate() sanity check in LayerDrawable" into jb-mr1.1-dev * commit 'b29dc7e37bc110894cd6287f071f6ba0e4d800a7': Remove overzealous mutate() sanity check in LayerDrawable
|
dccf9337e6c549cf0bf413dace0fee68589f628f |
27-Nov-2012 |
Romain Guy <romainguy@google.com> |
Merge "Add support for face attribute to HTML string resources Bug #7480719"
|
a8f6d5f0720f400b6f59b0809aaefea83c5f51d4 |
27-Nov-2012 |
Romain Guy <romainguy@google.com> |
Add support for face attribute to HTML string resources Bug #7480719 This change also adds the alias "color" for the attribute "fgcolor". This change also unifies HTML colors parsing between the Html class and StringBlock for consistency. Change-Id: I696a6e080387901d88e9baf7cb989b892f14b9db
raphics/Color.java
|
a1dcc992ffedb9a44f2072a8100eed15a7ca93b2 |
27-Nov-2012 |
Romain Guy <romainguy@google.com> |
Undeprecate linear text API Hardware renderer support pending, but this API should not have been deprecated in the first place. Change-Id: I062dac6d65dffb5369e65d55ea159594a0971b59
raphics/Paint.java
|
bb53dad63b4a1da04b01cdc9f4b0a98b7623a824 |
27-Nov-2012 |
Adam Powell <adamp@google.com> |
Remove overzealous mutate() sanity check in LayerDrawable Child drawables of a LayerDrawable should be able to mutate() as a no-op even if they !canConstantState. Bug 7622311 Change-Id: I32c00961310f23aaf9ad868c419cbefb9d27a1d2
raphics/drawable/LayerDrawable.java
|
f6e7b2089dcde81b92617102fa78b4104df29433 |
27-Nov-2012 |
Romain Guy <romainguy@google.com> |
Merge "Add new mipMap attribute to BitmapDrawable"
|
5769fcd88a6b53aa9394d869a9428c80e61a1565 |
27-Nov-2012 |
Romain Guy <romainguy@google.com> |
Add new mipMap attribute to BitmapDrawable This attribute can be used to enable/disable mipmapping on bitmaps. See Bitmap.setHasMipMap() for details. Change-Id: I13cc800a258b6876a94e2a9605dcec4ea4f1ea48
raphics/drawable/BitmapDrawable.java
|
fdb36725acf0c5b8e540ed1522e02196018c45bb |
27-Nov-2012 |
Jason Sams <jsams@google.com> |
Merge "Add single channel blur test."
|
425c3da61ad39f5dd4aaba9fd0235f46ff079245 |
27-Nov-2012 |
Jonathan Dixon <joth@google.com> |
Fix typo in exception message Change-Id: I85390d7ceae8f89aadd808600a920a1401ef1c3a
raphics/SurfaceTexture.java
|
34583fcb9a9926c4d0e2f8e0d9102edc4d19c371 |
26-Nov-2012 |
Romain Guy <romainguy@google.com> |
Merge "Clarify Bitmap.copyTo/FromPixelBuffer documentation"
|
1f58497e7dbab1b16e97c73b65559b852d0c2803 |
26-Nov-2012 |
Romain Guy <romainguy@google.com> |
Clarify Bitmap.copyTo/FromPixelBuffer documentation Change-Id: Ifb410df392a5ad6c83d6744e19aad13b9a4e811d
raphics/Bitmap.java
|
d9c9f894b9be586b6806162389ba2701c1ce213a |
26-Nov-2012 |
Chet Haase <chet@google.com> |
am cae3eb91: am 946facaa: am a004ff88: Merge "Use correct alpha value when a color is not set on a GradientDrawable." into jb-mr1.1-dev * commit 'cae3eb91e159a48e2b4ec9ee6339a40212435c2f': Use correct alpha value when a color is not set on a GradientDrawable.
|
cae3eb91e159a48e2b4ec9ee6339a40212435c2f |
26-Nov-2012 |
Chet Haase <chet@google.com> |
am 946facaa: am a004ff88: Merge "Use correct alpha value when a color is not set on a GradientDrawable." into jb-mr1.1-dev * commit '946facaae149b4408b9b79d2804f4ee2e80c849b': Use correct alpha value when a color is not set on a GradientDrawable.
|
a004ff880e103832af4ba069e7176c18b96b62d9 |
26-Nov-2012 |
Chet Haase <chet@google.com> |
Merge "Use correct alpha value when a color is not set on a GradientDrawable." into jb-mr1.1-dev
|
458bf39e4cf9297d84a39413fcd2caa9fb81c006 |
26-Nov-2012 |
Romain Guy <romainguy@google.com> |
am 713bebda: am 6225b881: am 18bbcf7f: Merge "Copy missing state in DrawableContainer" into jb-mr1.1-dev * commit '713bebdac508bb8e6fb0866f4cae873806dad459': Copy missing state in DrawableContainer
|
8508d7ef6364920e02970f4264dde098762f1842 |
26-Nov-2012 |
Romain Guy <romainguy@google.com> |
am eb673855: am f57eaa02: am ce180c10: Merge "Cleanup: add PointF.toString()/equals()/hashcode()" into jb-mr1.1-dev * commit 'eb673855a2204e81108bfe3f481a32a347b61db9': Cleanup: add PointF.toString()/equals()/hashcode()
|
713bebdac508bb8e6fb0866f4cae873806dad459 |
26-Nov-2012 |
Romain Guy <romainguy@google.com> |
am 6225b881: am 18bbcf7f: Merge "Copy missing state in DrawableContainer" into jb-mr1.1-dev * commit '6225b881875e2ae3f84b7fa2e9e090f018f32972': Copy missing state in DrawableContainer
|
eb673855a2204e81108bfe3f481a32a347b61db9 |
26-Nov-2012 |
Romain Guy <romainguy@google.com> |
am f57eaa02: am ce180c10: Merge "Cleanup: add PointF.toString()/equals()/hashcode()" into jb-mr1.1-dev * commit 'f57eaa02ea00e538d3d5dc2b4a39831ac3e07db8': Cleanup: add PointF.toString()/equals()/hashcode()
|
18bbcf7f688be41d858b2ac2dd51e7d86371aecb |
26-Nov-2012 |
Romain Guy <romainguy@google.com> |
Merge "Copy missing state in DrawableContainer" into jb-mr1.1-dev
|
813680780f365648b39873fa26dfae0123d51aed |
21-Nov-2012 |
Chet Haase <chet@google.com> |
Use correct alpha value when a color is not set on a GradientDrawable. A previous fix ensured that color filters would have a default (black) color to interact with if no color was set on the GradientDrawable object. However, that fix assumed an opaque alpha value, which is not always the case. Specifically, calling setImageAlpha() on an ImageView with a shape drawable source (as in the bug here) caused the alpha to be set to a translucent value, which was then ignored in the fix above. The fix is to account for the current alpha value of the GradientDrawable object when setting the color used by the paint object. Issue #7592193 ImageView.setImageAlpha() broken when colorFilter is in use Change-Id: Ie622ffca776fdd8731ced78ce1f683ca6a51dec8
raphics/drawable/GradientDrawable.java
|
9f8af6546deb26d8bddb0c1b23d554fe5380b9d3 |
21-Nov-2012 |
Romain Guy <romainguy@google.com> |
Cleanup: add PointF.toString()/equals()/hashcode() PointF was missing these methods found in Point. This change also properly implements equals() and hashcode() for Point to match the PointF implementations. Change-Id: Ic97280fb9f8c7011d8a13103c67d6e898adf00c0
raphics/Point.java
raphics/PointF.java
|
fa9b396dbc58990c729fecabbad9e74257bef556 |
21-Nov-2012 |
Romain Guy <romainguy@google.com> |
Copy missing state in DrawableContainer The copy constructor of DrawableContainerState was not properly copying all the state. This change adds the missing two fields that should be copied over. Change-Id: Ic92ba17ccf8fb3c8cbb5ead18690287da21c48a4
raphics/drawable/DrawableContainer.java
|
1fc3c5f22fd0997e061b0c9cf27de03e9b267797 |
20-Nov-2012 |
Chris Craik <ccraik@google.com> |
am 29fd706a: am d5f2a8d9: am 89ac38bf: Merge "Add missing variable copies in Path copy constructor" into jb-mr1.1-dev * commit '29fd706aa1a59d542b30672a3a5d6d9cf6c34980': Add missing variable copies in Path copy constructor
|
29fd706aa1a59d542b30672a3a5d6d9cf6c34980 |
20-Nov-2012 |
Chris Craik <ccraik@google.com> |
am d5f2a8d9: am 89ac38bf: Merge "Add missing variable copies in Path copy constructor" into jb-mr1.1-dev * commit 'd5f2a8d9ee4e5ef3eeece3376ed414d83919fccf': Add missing variable copies in Path copy constructor
|
8150941098bcb44bbbb023c1f67760d69b31a16c |
17-Nov-2012 |
Jason Sams <jsams@google.com> |
Add single channel blur test. Change-Id: Iec63132ab4d88290ae1bf0d71431d4fe6ec6dd25
enderscript/ScriptIntrinsicBlur.java
|
fa0853e0b92617128531188edd6a749a72b86432 |
17-Nov-2012 |
Chris Craik <ccraik@google.com> |
Add missing variable copies in Path copy constructor bug:7564602 Also, clear isSimplePath flag for possible translates, since rect drawing path doesn't support them Change-Id: Ibb4a3e87ace0feb16bce1c6032016c5f4643f8d6
raphics/Path.java
|
7b172a49a90ea6784dbfe0002474f9d4fd4ace1a |
07-Nov-2012 |
Kenny Root <kroot@google.com> |
am 58ed5d74: am 768d9e1a: Merge "Correct executable bit for source files" * commit '58ed5d748c0b9b64845975ef5844ad313de7c3f6': Correct executable bit for source files
|
58ed5d748c0b9b64845975ef5844ad313de7c3f6 |
07-Nov-2012 |
Kenny Root <kroot@google.com> |
am 768d9e1a: Merge "Correct executable bit for source files" * commit '768d9e1a72ceee7d4a5f608776b87b62d6ce4a04': Correct executable bit for source files
|
3a084af2e90849aaa8beb3a610189e3399c63ea0 |
07-Nov-2012 |
Kenny Root <kroot@google.com> |
Correct executable bit for source files Many media files and source code files were marked as executable in Git. Remove those. Also a shell script and python script were not marked as executable. Change-Id: Ieb51bafb46c895a21d2e83696f5a901ba752b2c5
raphics/Bitmap.aidl
|
1a94c7db9fc78e8e7a9d48546622776d27a79a6a |
05-Nov-2012 |
Igor Murashkin <iam@google.com> |
Merge "Updated android.graphics.SurfaceTexture to use wp for FrameAvailableListener"
|
097d818cebe3c7a4a80b009e9e52d8d84a6f792b |
01-Nov-2012 |
Raph Levien <raph@google.com> |
am 06da2423: am 54385d91: am c01d1045: Merge "Fix for bug 7400445 regression in background drawable" into jb-mr1-dev * commit '06da2423c55bc2a61b42cdc34c0c20800fdd4977': Fix for bug 7400445 regression in background drawable
|
39824f685c33f8aabbe9526b4cc79b7411e8b37f |
31-Oct-2012 |
Raph Levien <raph@google.com> |
Fix for bug 7400445 regression in background drawable The opacity calculation for a gradient drawable of shape must take rounded corners into account - if the corner radius is nonzero, then the shape is translucent rather than opaque. Previously the code always assumed that such rectangles were fully opaque, which led to the background (visible behind the rectangle) not getting drawn. This patch simply checks for corner radius in addition to shape and computes opacity as translucent in the nonzero case. Change-Id: Iaf4d24abc6ecf49f85c82972b8f998700c83295e
raphics/drawable/GradientDrawable.java
|
c99db2bc460cc795947d99076da380e22a21e493 |
29-Oct-2012 |
Igor Murashkin <iam@google.com> |
Updated android.graphics.SurfaceTexture to use wp for FrameAvailableListener Bug: 7425644 Change-Id: I7ccdc0ef421df7240d6cff9222c37411b1ecaf01
raphics/SurfaceTexture.java
|
aaee13176efb494d28531ae3e2e7ae71c4627dcf |
23-Oct-2012 |
Chet Haase <chet@google.com> |
am 85c1aef9: am 6534dd02: am 74261d84: Merge "Don\'t null the reference to Bitmap pixels until we\'re really ready" into jb-mr1-dev * commit '85c1aef929b40f6fae31938b9c71160865d67f81': Don't null the reference to Bitmap pixels until we're really ready
|
547e66531d521eb1eadac87edb0f79f8c2f1bbe0 |
23-Oct-2012 |
Chet Haase <chet@google.com> |
Don't null the reference to Bitmap pixels until we're really ready A change in the VM triggers a native memory error more aggressively than before, showing that there's a bug in the logic of recycling bitmaps. Since the pixel memory is allocated on the Java heap, nulling out the reference to that memory in the Java level Bitmap object can cause that memory to get collected at any time. Meanwhile, we may have a reference to that memory at the native level for rendering purposes, causing an error if/when we access that memory after it has been collected by the VM. The fix is to avoid setting the reference to the pixels to null unless we are not referring to it in native code. This is determined at the time we call recycle() - we return a boolean to indicate whether the native code is still using the memory. if not, the Java code can null out the reference and allow the VM to collect it. Otherwise, it will get collected later when the encompassing Bitmap object is collected. Issue #7339156 HTML5 tests crash the app (Vellamo) Change-Id: I3a0d6b9a6c5dd3b86cc2b0ff7719007e774b5e3c
raphics/Bitmap.java
|
ef9f40f11e252d67cede28fea3a3df4880531dcd |
17-Oct-2012 |
Romain Guy <romainguy@google.com> |
am b7b30eb0: am fa71ba2c: am 1b85122b: Merge "Add API to enable mipmaps on Bitmap Bug #7353771" into jb-mr1-dev * commit 'b7b30eb0577e794c744a1e3e3079325f73081c3d': Add API to enable mipmaps on Bitmap Bug #7353771
|
1b85122bd22c4528679ae8bd67077dfc2fdf1847 |
17-Oct-2012 |
Romain Guy <romainguy@google.com> |
Merge "Add API to enable mipmaps on Bitmap Bug #7353771" into jb-mr1-dev
|
713e1bb9df6bdfc21bd5c40d1a6ecf6c822a4be5 |
17-Oct-2012 |
Romain Guy <romainguy@google.com> |
Add API to enable mipmaps on Bitmap Bug #7353771 This API can be used when scaling large images down to a small size to get nicer looking results. Change-Id: If09087eed36077eee5355f6047a3ca67747d7d9e
raphics/Bitmap.java
|
7e7b99ca93f0a3c16876ac82fdaf6d7eb0ea694c |
16-Oct-2012 |
Jason Sams <jsams@google.com> |
am f5e768c4: am 06b9df47: am 61759d99: Merge "Convert one more bind() -> setVar()." into jb-mr1-dev * commit 'f5e768c46dfaa7266a25cf9ea778479b5d493dc1': Convert one more bind() -> setVar().
|
5b4f8f90fd9bb05ea3d8e57ce5217054c5b3406f |
16-Oct-2012 |
Stephen Hines <srhines@google.com> |
Convert one more bind() -> setVar(). Bug: 7318821 Change-Id: I215c70a99c81e560a73412b2263fed39a0fdae03
enderscript/ScriptIntrinsicLUT.java
|
885934ff45f35ac4b1b93c3a34176e598d51a7a0 |
16-Oct-2012 |
Jason Sams <jsams@google.com> |
am 749c179e: am 8d0c431a: am 009d5413: Merge "Fix bugs in scriptGroup." into jb-mr1-dev * commit '749c179ed5a1cdb2f6742fbe3bb491404a19acca': Fix bugs in scriptGroup.
|
e6a7886674c167b4e17f6dc72d41d5b9c604cdd1 |
16-Oct-2012 |
Jason Sams <jsams@google.com> |
Fix bugs in scriptGroup. Intrinsics were treating inputs as fields rather than varObjs. This would generate a lot of extra work for the reflection layers. Also we would like to deprecate this path in the future. bug 7318821 Change-Id: I81e8c562ba05aae5d085d5c08e91e2c4877265c5
enderscript/ScriptIntrinsicBlur.java
enderscript/ScriptIntrinsicConvolve3x3.java
enderscript/ScriptIntrinsicConvolve5x5.java
enderscript/ScriptIntrinsicYuvToRGB.java
|
1592c79a4078bd94281b5c823f5b676a439f6746 |
13-Oct-2012 |
Jason Sams <jsams@google.com> |
am bc265564: am 08dd6d1f: am 56754193: Merge "Fix cycle detection for SGs." into jb-mr1-dev * commit 'bc265564746f7321e1d8277449a90c9e8e4ad824': Fix cycle detection for SGs.
|
091f7ccf9a97aed94383370666b592a57a1b9400 |
12-Oct-2012 |
Tim Murray <timmurray@google.com> |
Fix cycle detection for SGs. bug 7318821 Change-Id: I695d7230551d8512c6c3f0c31c57f12498da7036
enderscript/ScriptGroup.java
|
5ce5cdb6ac4f5b0705f4ff8cf4fd0101578d40d1 |
12-Oct-2012 |
Romain Guy <romainguy@google.com> |
am 6aa40ac5: am fa6e9cf6: am 86ad8662: Merge "Don\'t scale bitmaps to an empty size when targetDpi=0 Bug #7334217" into jb-mr1-dev * commit '6aa40ac59516d4286b2013e33b9f37633ec0fe91': Don't scale bitmaps to an empty size when targetDpi=0 Bug #7334217
|
86ad866283dc05c2adb8f673510e8b45b0b5ee5f |
12-Oct-2012 |
Romain Guy <romainguy@google.com> |
Merge "Don't scale bitmaps to an empty size when targetDpi=0 Bug #7334217" into jb-mr1-dev
|
0b68477f8287fe5ddac1beb1c9d0811ded034dad |
12-Oct-2012 |
Romain Guy <romainguy@google.com> |
Don't scale bitmaps to an empty size when targetDpi=0 Bug #7334217 Change-Id: I8d232a835580ffbf85334e0a3580e8d8240c8570
raphics/Bitmap.java
|
07fd8b4fc5981783f5ab3fa81c3a574d1ef39124 |
11-Oct-2012 |
Tim Murray <timmurray@google.com> |
am b97bf6c4: am ab01a9e4: am b2d55225: Merge "Add DAG validation for ScriptGroups." into jb-mr1-dev * commit 'b97bf6c458689a5e4284b902f0c012b4ebe273b0': Add DAG validation for ScriptGroups.
|
b2d552259ebe254fe3fc830e71caadef9d72a778 |
11-Oct-2012 |
Tim Murray <timmurray@google.com> |
Merge "Add DAG validation for ScriptGroups." into jb-mr1-dev
|
2a603897c6fdeba553051eedb911ec3b0b794530 |
10-Oct-2012 |
Tim Murray <timmurray@google.com> |
Add DAG validation for ScriptGroups. bug 7318821 Change-Id: If13cfe7a9f214ab253236bd52dd96df7b07aa14e
enderscript/ScriptGroup.java
|
91d7b4f3267238c0850d27aa31317c88fc9e3075 |
10-Oct-2012 |
Marco Nelissen <marcone@google.com> |
am 0419ebaf: am 450b713e: am 437e9cc3: Merge "Adjust buffer position after copying" into jb-mr1-dev * commit '0419ebafbac72ccbcb53a68b24e29265962f50fd': Adjust buffer position after copying
|
55adc145d460be4b21de0d77be1f6076c3591e3c |
08-Oct-2012 |
Marco Nelissen <marcone@google.com> |
Adjust buffer position after copying Make Bitmap.copyPixelsFromBuffer() adjust the buffer's position, making it consistent with Bitmap.copyPixelsToBuffer(). b/6948775 Change-Id: Ie26f8050b1fb4d19cd39ee1a08b6f652a732fec3
raphics/Bitmap.java
|
f671fb0b35e945e5fc1416603e3b9a1c61d9dab9 |
03-Oct-2012 |
Tim Murray <timmurray@google.com> |
Add copyFrom(Allocation a). Change-Id: Ibc334326083b5471584dcf1c068e4e810aede20f
enderscript/Allocation.java
|
bc254b959744b21fd8cb9a7bf72ee3d1ae9cbba1 |
06-Oct-2012 |
Tim Murray <timmurray@google.com> |
add resize2D to Java API Change-Id: I91c0d2292486d63b93f8b07a9ec0137fe020ac21
enderscript/Allocation.java
|
82fa5ffbbc4a0b9842c809d0d4fdbec622819f38 |
04-Oct-2012 |
Romain Guy <romainguy@google.com> |
am bf8d8e73: am 5971d03f: am f7ee2a03: Merge "Fix rendering artifacts on tiled renderers Bug #7275145" into jb-mr1-dev * commit 'bf8d8e73e4123f529845e88de6d74b62853b9786': Fix rendering artifacts on tiled renderers Bug #7275145
|
f7ee2a03c1f930db4b20c04225f496ada97e646b |
04-Oct-2012 |
Romain Guy <romainguy@google.com> |
Merge "Fix rendering artifacts on tiled renderers Bug #7275145" into jb-mr1-dev
|
dfab363807b3b44be4032e410f016e0a0d018426 |
03-Oct-2012 |
Romain Guy <romainguy@google.com> |
Fix rendering artifacts on tiled renderers Bug #7275145 This change fixes ViewRoot and adds extra debug information. It does not solve the problem entirely. Another CL will. Change-Id: I7e604ba38aad7f421769783dcbd998d6905ab2d9
raphics/drawable/ColorDrawable.java
|
5020d82cf2c4f23e9325bf2a12dc70021fef4582 |
04-Oct-2012 |
Jason Sams <jsams@google.com> |
am f055f943: am 4bc2bd51: am 833a89c6: Merge "Fix range on blur intrinsic." into jb-mr1-dev * commit 'f055f94388d540d0588ed1b3e35e37b2d0247f94': Fix range on blur intrinsic.
|
833a89c694c3cddd703dab94fbc5f73f2a79149e |
04-Oct-2012 |
Jason Sams <jsams@google.com> |
Merge "Fix range on blur intrinsic." into jb-mr1-dev
|
aba58b519f51a3a6b8b77ef8952114c7643b4b4f |
03-Oct-2012 |
Romain Guy <romainguy@google.com> |
am f265ac2e: am 27fa88dd: am 0e3984b7: Merge "Bring back Netflix progress bar Bug #7274157" into jb-mr1-dev * commit 'f265ac2e26811561a786a4710ec8d992c05563b5': Bring back Netflix progress bar Bug #7274157
|
41c769d9a8858ad20b0a6ed942a1cea19ba59d2d |
03-Oct-2012 |
Romain Guy <romainguy@google.com> |
Bring back Netflix progress bar Bug #7274157 Gradients and color filters are multiplied by the paint's color so it needs to be set to opaque black to have an effect. Change-Id: Ib5dd1e6185f758f55b57a0f4496dfae98f1a096b
raphics/drawable/GradientDrawable.java
|
31864d76a3624f2c5908218b32bf09051b1b9d24 |
03-Oct-2012 |
Jason Sams <jsams@google.com> |
Fix range on blur intrinsic. The intrinsic fails when the radius was 0. A blur of radius 0 is a nop and should be disallowed. Fix the test to allow sub-pixel radius to be selected. bug 7273437 Change-Id: I2805674e29d557615eb7ac65c7910d4dffa28b58
enderscript/ScriptIntrinsicBlur.java
|
964175b8623be1fc555ce1bc7ff0fe083a1b77bb |
02-Oct-2012 |
Romain Guy <romainguy@google.com> |
am 70c68ea5: am 77bcaaad: am 8257124c: Merge "Draw stroked rectangle as meshes instead of textures Bug #7233734" into jb-mr1-dev * commit '70c68ea5539a968be634ba431595683109153ec4': Draw stroked rectangle as meshes instead of textures Bug #7233734
|
cf8675ee176a375f873792684d38a47f78348dff |
02-Oct-2012 |
Romain Guy <romainguy@google.com> |
Draw stroked rectangle as meshes instead of textures Bug #7233734 Stroked rectangles were rendered using software generated textures which would lead to slightly misaligned results. Instead, let's use the new convex path rendering code that will do the right thing (and save a lot of bandwidth.) Change-Id: Ib95ff581e56c1ecead97e4919298e6fd146ca167
raphics/drawable/GradientDrawable.java
|
d847b594e4fa20346d23eede71a1f77575b3cc27 |
01-Oct-2012 |
Dianne Hackborn <hackbod@google.com> |
am eede0f6f: am b4bca666: am 2effc77c: Merge "Update APIs to JB MR1 level 17." into jb-mr1-dev * commit 'eede0f6fe0957bf559a01d94a1b4f5444b3743b5': Update APIs to JB MR1 level 17.
|
302b74c9a20f5590313713ba2395b88b9e79e4e8 |
01-Oct-2012 |
Romain Guy <romainguy@google.com> |
am b9a0a231: am dd2dd7bb: am 955b66d0: Merge "reset() should reset. Otherwise it would be called something else. Bug #7256095" into jb-mr1-dev * commit 'b9a0a23111b4f82004a6a321e8de9f1ad474e387': reset() should reset. Otherwise it would be called something else. Bug #7256095
|
2effc77c9a49f983779dbab656bba490bb7d4ba0 |
30-Sep-2012 |
Dianne Hackborn <hackbod@google.com> |
Merge "Update APIs to JB MR1 level 17." into jb-mr1-dev
|
fc4947491f785600b8770112fa1d19ece06d42f9 |
28-Sep-2012 |
Dianne Hackborn <hackbod@google.com> |
Update APIs to JB MR1 level 17. 17 is current, resources are fixed, cleanup is done. Change-Id: I6de446e209f59c5dd5fe1cde311776ab222817ea
raphics/drawable/ClipDrawable.java
raphics/drawable/LayerDrawable.java
raphics/drawable/StateListDrawable.java
|
885d82d4274170873919660550c28df9ee14ca1b |
29-Sep-2012 |
Romain Guy <romainguy@google.com> |
reset() should reset. Otherwise it would be called something else. Bug #7256095 Change-Id: I610bbcaccdceaf2b5bb5f9d231283335911d4cd9
raphics/Paint.java
|
fc41a7547f0b0bb4491a37bec7f004baf2778de1 |
27-Sep-2012 |
Tim Murray <timmurray@google.com> |
am 7eee3ce3: am c31c5433: Merge "fix blend intrinsics, add tests" into jb-mr1-dev * commit '7eee3ce3114a7e0f91f91dc74c26677300c0ec71': fix blend intrinsics, add tests
|
74478f73b7ecf5c6bceb214b2704184ad9e2e0ec |
26-Sep-2012 |
Tim Murray <timmurray@google.com> |
fix blend intrinsics, add tests Bug: 7190126 Change-Id: If69213377282bf5b412508e7af974a1f8d440287
enderscript/ScriptIntrinsicBlend.java
|
8c549d6ffec427ed3f8f99eb25ffefaf55003893 |
25-Sep-2012 |
Philip Milne <pmilne@google.com> |
Merge "Bug #6110465. Optical bounds support for all ViewGroup subclasses."
|
f70bb04346707c49f31d5ac4853a6fce555b715e |
22-Sep-2012 |
Jason Sams <jsams@google.com> |
Add Blend intrinsic. Change-Id: I6f679c910fc23fe7441e17ad66bcf5f3dd7425a0
enderscript/ScriptIntrinsicBlend.java
|
7b7578184567f4e4f0740ce935cc192765410cca |
20-Sep-2012 |
Philip Milne <pmilne@google.com> |
Bug #6110465. Optical bounds support for all ViewGroup subclasses. This CL generalizes the optical bounds support previously contained in the GridLayout implementation and then incorporates the new form directly into the base View and ViewGroup implementations. After this change, GridLayout is returned to an 'optical bounds' unaware state, and all layouts (including non-platform ones) inherit the ability to perform their layout operation by optical (rather than clip) bounds using their existing implementations. The "layoutMode" property of ViewGroup and its associated constants are made public in this CL. Change-Id: Ic1bba0e1c6fc14da4aeab0b28c975d562b5f82dd
raphics/drawable/Drawable.java
raphics/drawable/DrawableContainer.java
raphics/drawable/NinePatchDrawable.java
|
cd77583ed336d10c5625933a565dcadf51705c61 |
21-Sep-2012 |
Derek Sollenberger <djsollen@google.com> |
Ensure that the decoder is thread-safe. This prevents issues where one thread recycles the decoder while another thread is in the process of checking the decoder's status or in the process of decoding a region. bug: 6880937 Change-Id: I7f755bf2149d03594e528ca79c536713b1447a55
raphics/BitmapRegionDecoder.java
|
55db6865ef708d66fd2382d6e96a845b68030f20 |
19-Sep-2012 |
Jason Sams <jsams@google.com> |
Merge "Clean up and publish the YUV to RGB intrinsic." into jb-mr1-dev
|
e69e9e6b6e77d6c7b1ba2719b7aa7001bbbabb32 |
19-Sep-2012 |
Jason Sams <jsams@google.com> |
Clean up and publish the YUV to RGB intrinsic. Change-Id: Iffb346a5d751f0bae123455869bda8db37d542ff
enderscript/ScriptIntrinsicYuvToRGB.java
|
684385ddde2ac0c26de0862390ad713aff3fb149 |
19-Sep-2012 |
Romain Guy <romainguy@google.com> |
mutate() didn't work as advertised Bug #7162705 Change-Id: I15b2663fa7f1c71a2a3479134b8b7f37bfcbc607
raphics/drawable/BitmapDrawable.java
raphics/drawable/ColorDrawable.java
raphics/drawable/GradientDrawable.java
raphics/drawable/NinePatchDrawable.java
|
29d0aa73a099fde05c506857b5d215cde87b78d6 |
19-Sep-2012 |
Romain Guy <romainguy@google.com> |
Merge "Compute GradientDrawable's opacity correctly" into jb-mr1-dev
|
e91aa0fa64db892194ba82ec7d41df6fb9185471 |
19-Sep-2012 |
Romain Guy <romainguy@google.com> |
Compute GradientDrawable's opacity correctly The current implementation of GradientDrawable always assumes the shape needs to be blended. This causes all windows to be considered translucent by default. This change recomputes the opacity as needed to ensure windows are marked opaque when they should. Change-Id: Iaf291d889a6c5122ab00c9f5781df3e7f61547fa
raphics/drawable/Drawable.java
raphics/drawable/DrawableContainer.java
raphics/drawable/GradientDrawable.java
|
8b3560d3e68d6e596bc22b117b049e15cc7e1b3b |
18-Sep-2012 |
Fabrice Di Meglio <fdimeglio@google.com> |
Merge "Fix bug #7172972 API REVIEW: android.graphics.drawable.Drawable" into jb-mr1-dev
|
f358260af4cd34961acc13d849819c8b6089f309 |
18-Sep-2012 |
Fabrice Di Meglio <fdimeglio@google.com> |
Fix bug #7172972 API REVIEW: android.graphics.drawable.Drawable - add @hide Change-Id: I20dca8d7f6a58dfd1dd342135dcff912e08d4ab9
raphics/drawable/Drawable.java
|
08a81583c18a849e442ceeb8d7baeca743fb3be8 |
18-Sep-2012 |
Jason Sams <jsams@google.com> |
Add Kernel, Method, and field IDs bug 7182873 Change-Id: I066a359bb04027e9376dac088560f042c496b10e
enderscript/RenderScript.java
enderscript/Script.java
enderscript/ScriptGroup.java
enderscript/ScriptIntrinsicBlur.java
enderscript/ScriptIntrinsicColorMatrix.java
enderscript/ScriptIntrinsicConvolve3x3.java
enderscript/ScriptIntrinsicConvolve5x5.java
enderscript/ScriptIntrinsicLUT.java
|
80d819033d4687507907f787d47379b7b37eae19 |
14-Sep-2012 |
Jason Sams <jsams@google.com> |
Unhide intrinsics and document API. Change-Id: I0233245c68f9a08780213062e62cfea6cf909c13
enderscript/ScriptIntrinsic.java
enderscript/ScriptIntrinsicBlur.java
enderscript/ScriptIntrinsicColorMatrix.java
enderscript/ScriptIntrinsicConvolve3x3.java
enderscript/ScriptIntrinsicConvolve5x5.java
enderscript/ScriptIntrinsicLUT.java
|
dd4b1fec4c93c7417314febecebfd91e916f5ff6 |
13-Sep-2012 |
Romain Guy <romainguy@google.com> |
Don't crash when copying a null Rect Bug #7158068 Change-Id: I8f5f3ee12b2c4fd1fe28212b0c6de1214f2ce5f9
raphics/Rect.java
raphics/RectF.java
|
3a5b8011765906c15b5474b2bc43d80f6746cb45 |
09-Sep-2012 |
Jason Sams <jsams@google.com> |
LUT intrinsic and CrossProcess test. 5x5 convolve and test Gauss blur and test Change-Id: Ic2f5d583cbdc1793ec8c8e2beea783d4ec34a57f
enderscript/ScriptIntrinsicBlur.java
enderscript/ScriptIntrinsicConvolve5x5.java
enderscript/ScriptIntrinsicLUT.java
|
4319079375ef49668ea88e74fb899275d6bbdb19 |
08-Sep-2012 |
Jason Sams <jsams@google.com> |
Merge "Fix doc typo." into jb-mr1-dev
|
be6024d57140a81883e6c5a27cae56a7d31d10dc |
08-Sep-2012 |
Romain Guy <romainguy@google.com> |
Merge "Fix crash in ShapeDrawable" into jb-mr1-dev
|
1558cf1498ecc687532f2dad3de720053dca9309 |
08-Sep-2012 |
Romain Guy <romainguy@google.com> |
Fix crash in ShapeDrawable Change-Id: Ibc277db46912a73dc3f971f8487baa5eafa8bc84
raphics/drawable/ShapeDrawable.java
|
17fec32bba9da8df2062b52e414435574652ad50 |
08-Sep-2012 |
Jason Sams <jsams@google.com> |
Fix doc typo. Change-Id: Ib18172ac72886865dc9ae4535a577b2f8f3468e9
enderscript/ScriptIntrinsicColorMatrix.java
|
3f7bbe8cd37aba1be1a80222270057d78a032b54 |
08-Sep-2012 |
Jason Sams <jsams@google.com> |
Merge "Document ColorMatrix intrinsic and add helpers" into jb-mr1-dev
|
bae1d478964f609f4ed37d629ed3247a12ed312e |
07-Sep-2012 |
Fabrice Di Meglio <fdimeglio@google.com> |
Merge "Fix the build" into jb-mr1-dev
|
c5daf84f6647d3280c59554cd6ec9c2a4f119bfc |
07-Sep-2012 |
Fabrice Di Meglio <fdimeglio@google.com> |
Fix the build - use fully qualified name for Javadoc Change-Id: Ic75ce7e19d407dc40c96b585f9fa1827fb614ba1
raphics/drawable/Drawable.java
|
6543c292b2d1cb3547f4565f89b7cb649ad955d6 |
07-Sep-2012 |
Romain Guy <romainguy@google.com> |
Merge "The drawables cache strikes again Bug #7117785" into jb-mr1-dev
|
8fd5853c1c07c2fd3954b3c5e64702d70af31144 |
06-Sep-2012 |
Jason Sams <jsams@google.com> |
Document ColorMatrix intrinsic and add helpers Increase size of test image. Add helpers for greyscale and yuv<>rgb conversions Change-Id: I6cdd06ae23623b47f5034585ed5d385ff11348ac
enderscript/Matrix4f.java
enderscript/ScriptIntrinsicColorMatrix.java
enderscript/ScriptIntrinsicYuvToRGB.java
|
0af4b8b0c8b038bca9b4f60eb81f71e186f471ce |
12-Jun-2012 |
Fabrice Di Meglio <fdimeglio@google.com> |
Make ProgressBar / SeekBar / RatingBar widgets aware of layout direction - see bug #5429822 UI should be mirrored for RTL locales (Arabic, Hebrew, farsi) Change-Id: I8d76299090abf6b2b187696b1a83e71d7a44b1ce
raphics/drawable/ClipDrawable.java
raphics/drawable/LayerDrawable.java
raphics/drawable/StateListDrawable.java
|
5f49c3023a512efbef8bc9515d310c7a72be4af2 |
07-Sep-2012 |
Romain Guy <romainguy@google.com> |
The drawables cache strikes again Bug #7117785 Draawables created from the ConstantState cache found in Resources must be mutated before they can be safely modified by apps. Failure to do so results in all drawables sharing the same constant state to be affected by the modification. In the case of the bugreport above, the status bar code plays tricks with a background drawable and modifies its color to implement a fade in/out effect. This drawable comes from a cached resource (color 0x0) and the modifications made by the status bar apply to other clients of this drawable, most notably the recents panel. This change fixes several things: - Simplifies colors caching by removing the assetCookie from the key. This should result in better reuse of cached drawables - Makes View.setBackgroundColor() honor the mutate() contract - Ensure StateListDrawable properly mutates its children before modifying them - Optimize Bitmap/ColorDrawable to mark them mutated when they are not created from an existing ConstantSate. The same optimization should be applied to other drawables in the future Change-Id: I54adb5d5b914c7d8930bf9b46f7e3f9dcbf4bcab
raphics/drawable/BitmapDrawable.java
raphics/drawable/ColorDrawable.java
raphics/drawable/DrawableContainer.java
raphics/drawable/GradientDrawable.java
raphics/drawable/NinePatchDrawable.java
|
5729fcdf950eb909b0ab90a49af58731ed8f92cd |
05-Sep-2012 |
Jason Sams <jsams@google.com> |
Add ColorMatrix Intrinsic. Add better intrinsic testing. Include reference .rs for each intrinsic. Change-Id: I327649f16ac8f641c2bd96f7b16f51874a3e820e
enderscript/ScriptIntrinsicColorMatrix.java
|
19e1086df11567be9ee3eaf99fa1fc82c65b2b27 |
22-Aug-2012 |
Jason Sams <jsams@google.com> |
Move the kernel launch to specific intrinsic class. This allows support of both input types. Kernel source and global source. Change-Id: Iea60bebd79c786795eae81c14cbec352b470a9c0
enderscript/ScriptIntrinsic.java
enderscript/ScriptIntrinsicConvolve3x3.java
|
6ab97682fd444586ee135912a4210417a1c8781b |
10-Aug-2012 |
Jason Sams <jsams@google.com> |
Intrinsics test Change-Id: I1847ad0c9190100eb84f7e052dd9f3bff81dc447
enderscript/RenderScript.java
enderscript/ScriptIntrinsic.java
enderscript/ScriptIntrinsicConvolve3x3.java
enderscript/ScriptIntrinsicYuvToRGB.java
|
423ebcb4dc4881c3a83e8121d5212466287d0d0c |
11-Aug-2012 |
Jason Sams <jsams@google.com> |
Implement ScriptGroup and add test. Change-Id: I6ce0479c20f425d501c759c15717aa8b418c3f5f
enderscript/ScriptGroup.java
|
4ff0cf4b83605bff630c4e6f1fabe4f72a3f93a1 |
06-Aug-2012 |
Romain Guy <romainguy@google.com> |
Add new debug tool to track hardware layers updates You can setprop debug.hwui.show_layers_updates true to flash hw layers in green when they update. This is also a setting in the Dev. section of the settings app. Change-Id: Ibe1d63a4f81567dc1d590c9b088d2e7505df8abf
raphics/Bitmap.java
|
2e5746a7a807c6d9d61af48978695214ef9d6717 |
04-Aug-2012 |
Dianne Hackborn <hackbod@google.com> |
Merge "We can now (kind-of) change screen density on the fly." into jb-mr1-dev
|
dde331cebd87982faded6818ad5f9927ff994c96 |
03-Aug-2012 |
Dianne Hackborn <hackbod@google.com> |
We can now (kind-of) change screen density on the fly. Preloaded drawables now have a density associated with them, so we can load the correct drawable if we are using a different density. Window manager now formally keeps track of the density for each screen, allowing it to be overridden like you can already do with size, and relies on this density to drive itself internally and the configurations it reports. There are a new set of Bitmap constructors where you provide a DisplayMetrics so they can be constructed with the correct density. (This will be for when you can have different windows in the same app running at different densities.) ActivityThread now watches for density changes, and pushes them to the DENSITY_DEVICE and Bitmap global density values for that process. A new am command allows you to change the density.
raphics/Bitmap.java
|
f1c0aeda259dd0dbab4356c909d33fe7e1ca0d2a |
03-Aug-2012 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #6921726: Prime: Cannot make or receive phone calls... [NPE at android.graphics.drawable.Drawable.createFromResourceStream] Change-Id: I223428ffb39e883518aad817227f32851ea18aec
raphics/drawable/Drawable.java
|
908aecc3a63c5520d5b11da14a9383f885b7d126 |
01-Aug-2012 |
Dianne Hackborn <hackbod@google.com> |
Start moving away from DisplayMetrics.DENSITY_DEVICE. This puts in most of the infrastructure needed to allow us to switch between different densities at run time. The main remaining uses of the global are to initialize the Bitmap object (not sure what to do about that since it doesn't have anything passed in the constructor to get this information from), and being able to load drawables if we need a different density than what was preloaded by zygote. Change-Id: Ifdbfd6b7a5c59e6aa22e63b95b78d96af3d96848
raphics/drawable/Drawable.java
raphics/drawable/NinePatchDrawable.java
|
010835d47156b5189b0cfe3ad43ce6a5fbb96d99 |
11-Jul-2012 |
Stephen Hines <srhines@google.com> |
Merge "Fix RS matrix docs regarding row/column and x/y."
|
ec6f200cd8a882458c57a63e1740731f0563cbcc |
11-Jul-2012 |
Stephen Hines <srhines@google.com> |
Fix RS matrix docs regarding row/column and x/y. Change-Id: Ibcb90ee62e458adfa55849fc1bc79257293975fe
enderscript/Matrix2f.java
enderscript/Matrix3f.java
enderscript/Matrix4f.java
|
3849f93b3c2b29ca3873b602897dccac039a0b98 |
09-Jul-2012 |
Romain Guy <romainguy@google.com> |
Add Bitmap.isPremultiplied() This change also adds extra information in the documentation about premultiplied values. Change-Id: I51aacb8696340d23354ebf6d7284605d1a790b69
raphics/Bitmap.java
|
b8151ecd6ef4faa5c16d0a4c3abb45ec84d1f97a |
19-Apr-2012 |
Amith Yamasani <yamasani@google.com> |
Add an icon to the user information. Store the icon in the user folder under /data/system, similar to how the wallpaper is stored. Change-Id: Id8ccb55b9e2ba7b4c557505a7f69f04eca1518cf
raphics/BitmapFactory.java
|
b03b434089cf2106c467b2827a65e5c589c91d01 |
04-Jun-2012 |
Fabrice Di Meglio <fdimeglio@google.com> |
Revert "Revert "Clean up layout direction APIs for Drawable"" This reverts commit c96132ff53e5c26f5b0170edd85072006fb2bc70
raphics/drawable/BitmapDrawable.java
raphics/drawable/ClipDrawable.java
raphics/drawable/Drawable.java
raphics/drawable/ScaleDrawable.java
|
c96132ff53e5c26f5b0170edd85072006fb2bc70 |
02-Jun-2012 |
Jean-Baptiste Queru <jbq@google.com> |
Revert "Clean up layout direction APIs for Drawable" This reverts commit c1da65187a4b9de8f72bd617ef937030187c0a92.
raphics/drawable/BitmapDrawable.java
raphics/drawable/ClipDrawable.java
raphics/drawable/Drawable.java
raphics/drawable/ScaleDrawable.java
|
c1da65187a4b9de8f72bd617ef937030187c0a92 |
01-Jun-2012 |
Fabrice Di Meglio <fdimeglio@google.com> |
Clean up layout direction APIs for Drawable - see bug #6427629 Change-Id: I3119db3022bba0ee325b6d0d4471bfebd850ec10
raphics/drawable/BitmapDrawable.java
raphics/drawable/ClipDrawable.java
raphics/drawable/Drawable.java
raphics/drawable/ScaleDrawable.java
|
4405a21a6f65beeb06a37ab28ab6315849aefbac |
21-May-2012 |
Owen Lin <owenlin@google.com> |
am 5558f66e: am cb949887: Merge "Release the constraint on the requested version." into jb-dev * commit '5558f66efe43654c97b851b67a099df0de5429ad': Release the constraint on the requested version.
|
39af624f3135328ec0550888e99f4350572634b5 |
19-May-2012 |
Dianne Hackborn <hackbod@google.com> |
DO NOT MERGE: Remove a few left-over layout direction things. Change-Id: Id66b171594af939df4716aa0e0baa25fe47eecee
raphics/drawable/Drawable.java
|
3bbcbcd5f908cef5c0bf7078c3352185f1ff6ddc |
15-May-2012 |
Owen Lin <owenlin@google.com> |
Release the constraint on the requested version. Allowing to request a region that partially outsides the image. bug: 5884845 Change-Id: I32344930ab9e2a7f22a706914babb165843e8de7
raphics/BitmapRegionDecoder.java
|
f579c86ae44349b13bbbb8eed431d46a67236b65 |
14-May-2012 |
Pin Ting <pinting@google.com> |
am 4de3c27c: am 59e2a1ea: Merge "Fix typo in javadoc." into jb-dev * commit '4de3c27cc702c019e7a9304d9e548fc81340ad7e': Fix typo in javadoc.
|
852be16790d099f95fb2c4fe7b316455662ee97f |
11-May-2012 |
Pin Ting <pinting@google.com> |
Fix typo in javadoc. Change-Id: I0e5d8640764772871e72cb00d117d12f3eaeb64f
raphics/Rect.java
raphics/RectF.java
|
7054b486a321ab01e838b48ff98c5b51d8380642 |
10-May-2012 |
Dave Burke <daveburke@google.com> |
am 7156645c: am 2ed09ea4: Merge "GFX api cleanup 2 of 2" into jb-dev * commit '7156645c58d1489b87cf9ecf00cbb4d073d12534': GFX api cleanup 2 of 2
|
3db194e9e0914e6a8eb293faf8bc6ef45829ccdb |
09-May-2012 |
Stephen Hines <srhines@google.com> |
am 218c0899: am 794db6cb: Merge "GFX api cleanup 1.5 of 2" into jb-dev * commit '218c0899bdea2395f1fe56e1eecc108b633e0da6': GFX api cleanup 1.5 of 2
|
ef63d094118d86d7ce371fd98bd05415d3f17ea2 |
09-May-2012 |
Jason Sams <jsams@google.com> |
am 0916b463: am 48250c27: Merge "GFX api cleanup 1 of 2" into jb-dev * commit '0916b463598a99400840c5d55a443bee2446b626': GFX api cleanup 1 of 2
|
eb39c4bafa72b42c287480fd6aebe9688b6ac8d0 |
09-May-2012 |
Stephen Hines <srhines@google.com> |
am 9d05bd8c: am 1d56afc6: Merge "Revert "Deprecate"" into jb-dev * commit '9d05bd8c67b6c01436bfdde13ef9fe61cf9f33e9': Revert "Deprecate"
|
450743459f383249f0a08e9cdc24ae1745761d4a |
09-May-2012 |
Fabrice Di Meglio <fdimeglio@google.com> |
am e1b1cdc0: am 92d7f9ff: Merge "Fix bug #6408393 Character corruption is caused when locale is changed" into jb-dev * commit 'e1b1cdc0d45b23ad65819643ca135783ad17b976': Fix bug #6408393 Character corruption is caused when locale is changed
|
d4ca9910982853e50429ea9233f2150ca619b3d8 |
09-May-2012 |
Jason Sams <jsams@google.com> |
GFX api cleanup 2 of 2 Change-Id: Ie928b8ee7d31fcaa26fcad9a2548581bb8395a61
enderscript/Mesh.java
enderscript/ProgramFragment.java
enderscript/ProgramRaster.java
enderscript/ProgramVertex.java
enderscript/RSTextureView.java
enderscript/RenderScriptGL.java
|
e619de6a4e4326b7662b523ea2f403801291d432 |
09-May-2012 |
Jason Sams <jsams@google.com> |
GFX api cleanup 1.5 of 2 Change-Id: Ib31332ae0b7a6059d4971ea616089cd382ef6895
enderscript/Mesh.java
enderscript/RSSurfaceView.java
enderscript/RenderScriptGL.java
|
65c80f824711f084c4ece9204f543a7809534294 |
09-May-2012 |
Jason Sams <jsams@google.com> |
GFX api cleanup 1 of 2 Change-Id: Ib85784c18b1647e51f1d7cf2a4c956d17e1d2e3c
enderscript/Element.java
enderscript/FileA3D.java
enderscript/Font.java
enderscript/ProgramFragmentFixedFunction.java
enderscript/ProgramVertexFixedFunction.java
|
1d56afc6ace90e7cbd32d776b73173ef0dfa95c4 |
08-May-2012 |
Stephen Hines <srhines@google.com> |
Merge "Revert "Deprecate"" into jb-dev
|
30ca5cd11a23f06f2f8eeaa587685450826f800f |
08-May-2012 |
Fabrice Di Meglio <fdimeglio@google.com> |
Fix bug #6408393 Character corruption is caused when locale is changed - free the TextLayoutCache on Locale change - also free TextLayoutCache when memory is low Change-Id: I39a37ac8ec3c292cfb1c0eea4bb41ff71897d089
raphics/Canvas.java
|
9c9ad3f8c218954e46aab81f9af7834cea5675ca |
08-May-2012 |
Stephen Hines <srhines@google.com> |
Revert "Deprecate" This reverts commit a0c2eb27b408660b02fa248943166d6c7e447908. Conflicts: api/current.txt graphics/java/android/renderscript/Element.java graphics/java/android/renderscript/Script.java Change-Id: I3c8fa62b12da95b3dbc842b5284dbed65d3cf963
enderscript/Allocation.java
enderscript/AllocationAdapter.java
enderscript/BaseObj.java
enderscript/Byte2.java
enderscript/Byte3.java
enderscript/Byte4.java
enderscript/Double2.java
enderscript/Double3.java
enderscript/Double4.java
enderscript/Element.java
enderscript/FieldPacker.java
enderscript/FileA3D.java
enderscript/Float2.java
enderscript/Float3.java
enderscript/Float4.java
enderscript/Font.java
enderscript/Int2.java
enderscript/Int3.java
enderscript/Int4.java
enderscript/Long2.java
enderscript/Long3.java
enderscript/Long4.java
enderscript/Matrix2f.java
enderscript/Matrix3f.java
enderscript/Matrix4f.java
enderscript/Mesh.java
enderscript/Path.java
enderscript/Program.java
enderscript/ProgramFragment.java
enderscript/ProgramFragmentFixedFunction.java
enderscript/ProgramRaster.java
enderscript/ProgramStore.java
enderscript/ProgramVertex.java
enderscript/ProgramVertexFixedFunction.java
enderscript/RSDriverException.java
enderscript/RSIllegalArgumentException.java
enderscript/RSInvalidStateException.java
enderscript/RSRuntimeException.java
enderscript/RSSurfaceView.java
enderscript/RSTextureView.java
enderscript/RenderScript.java
enderscript/RenderScriptGL.java
enderscript/Sampler.java
enderscript/Script.java
enderscript/ScriptC.java
enderscript/Short2.java
enderscript/Short3.java
enderscript/Short4.java
enderscript/Type.java
|
b0aa2f53681ffd78b12f393eb7cb72b6ea4be0bb |
04-May-2012 |
Fabrice Di Meglio <fdimeglio@google.com> |
Hide Paint textLocale APIs - DO NOT MERGE - fix bug #6441521 Need to @hide Paint setTextLocale / getTextLocale - CJK support Change-Id: Ic536989243d7028e6f5fce7d60dfef4467bebffb
raphics/Paint.java
|
66388dcb09018933ccd1d38eae563f0890ba4f06 |
04-May-2012 |
Fabrice Di Meglio <fdimeglio@google.com> |
Hide RTL related APIs - DO NOT MERGE - fix bug #6441155 API review: @hide RTL layout APIs Change-Id: I13c5ea5f579cecffed9d517f06180ab0576cd26a
raphics/drawable/Drawable.java
|
163a3ae770c290f87347e5b413ec8ff9f128a311 |
03-May-2012 |
Eino-Ville Talvala <etalvala@google.com> |
Merge "Update docs for YV12 format and camera preview callbacks." into jb-dev
|
951516358e2841d2425f610bcd0175d9960135d2 |
03-May-2012 |
Eino-Ville Talvala <etalvala@google.com> |
Update docs for YV12 format and camera preview callbacks. - Define stride for YV12 when using it for preview callbacks - Include equations for calculating stride and start indexes of Y, U, and V planes for YV12. - Add more cross-references so that equations are easier to find. Bug: 6330501 Change-Id: I85a78757ec767d08173b9fe714adb715835244b4
raphics/ImageFormat.java
|
adeb809201fcb77ba2b76a814ae4cdc9dacb326b |
20-Apr-2012 |
Stephen Hines <srhines@google.com> |
Start passing element/dim information along with FieldPacker. BUG=6009244 Change-Id: I3c82c8b40c899b875831f53cf0ad82ea36c1a043
enderscript/RenderScript.java
enderscript/Script.java
|
9da1b5d0301e8d13be8c96cbd12dcda04fcf7118 |
01-May-2012 |
Stephen Hines <srhines@google.com> |
Unhide FONT. Change-Id: I86258076817bb8f34ce3bb76031df41c08750f8c
enderscript/Element.java
|
76344241719384f160ee623554f66987d0fcae41 |
30-Apr-2012 |
Dianne Hackborn <hackbod@google.com> |
Fix scaling of layout bounds. Change-Id: I9d8c8924900fed69030ee3e8d6decee89ca67820
raphics/BitmapFactory.java
|
7a23b49a8ceb07d3fa12c45fd42cd16131fd746a |
25-Apr-2012 |
Philip Milne <pmilne@google.com> |
Fixes for optical bounds feature. 1. Make the feature opt-in (ViewGroup::layoutMode defaults to CLIP_BOUNDS) without inheritance. 2. Rename COMPONENT_BOUNDS to CLIP_BOUNDS. 3. Rename LAYOUT_BOUNDS to OPTICAL_BOUNDS. 4. Complete GridLayout implementation. 5. Change the default_gap between components to 8dp, to align with the Style Guide. Change-Id: I8d40dfc5f4ca469f6424eb3ff60d07bec56e3a9f
raphics/drawable/NinePatchDrawable.java
|
a0c2eb27b408660b02fa248943166d6c7e447908 |
20-Apr-2012 |
Alex Sakhartchouk <alexst@google.com> |
Deprecate Change-Id: Idad2c5ad4f8a30f8cc60d88318f2e1809866d309
enderscript/Allocation.java
enderscript/AllocationAdapter.java
enderscript/BaseObj.java
enderscript/Byte2.java
enderscript/Byte3.java
enderscript/Byte4.java
enderscript/Double2.java
enderscript/Double3.java
enderscript/Double4.java
enderscript/Element.java
enderscript/FieldPacker.java
enderscript/FileA3D.java
enderscript/Float2.java
enderscript/Float3.java
enderscript/Float4.java
enderscript/Font.java
enderscript/Int2.java
enderscript/Int3.java
enderscript/Int4.java
enderscript/Long2.java
enderscript/Long3.java
enderscript/Long4.java
enderscript/Matrix2f.java
enderscript/Matrix3f.java
enderscript/Matrix4f.java
enderscript/Mesh.java
enderscript/Path.java
enderscript/Program.java
enderscript/ProgramFragment.java
enderscript/ProgramFragmentFixedFunction.java
enderscript/ProgramRaster.java
enderscript/ProgramStore.java
enderscript/ProgramVertex.java
enderscript/ProgramVertexFixedFunction.java
enderscript/RSDriverException.java
enderscript/RSIllegalArgumentException.java
enderscript/RSInvalidStateException.java
enderscript/RSRuntimeException.java
enderscript/RSSurfaceView.java
enderscript/RSTextureView.java
enderscript/RenderScript.java
enderscript/RenderScriptGL.java
enderscript/Sampler.java
enderscript/Script.java
enderscript/ScriptC.java
enderscript/Short2.java
enderscript/Short3.java
enderscript/Short4.java
enderscript/Type.java
|
bbd51f1e360b22eece1d74bd65c7e6a0b59dee59 |
19-Apr-2012 |
Philip Milne <pmilne@google.com> |
Share Insets instances between views that have the same background (Drawable) Change-Id: I47d93ccca6f553b678d25966d10d7a0a97cfa5ea
raphics/Insets.java
raphics/drawable/Drawable.java
raphics/drawable/DrawableContainer.java
raphics/drawable/NinePatchDrawable.java
|
d1661dcc90cb3efcad75e3fda778f3592bfc5b04 |
16-Apr-2012 |
Jamie Gennis <jgennis@google.com> |
Merge "Unhide new SurfaceTexture & TextureView APIs"
|
4e1cb3b7942d3ca05918604358b4ef83815ce448 |
16-Apr-2012 |
Philip Milne <pmilne@google.com> |
Merge "Fix for bug 6110465."
|
33efb231cb92065c40c019319adae36abc413863 |
14-Apr-2012 |
Jamie Gennis <jgennis@google.com> |
Unhide new SurfaceTexture & TextureView APIs This change unhides the new SurfaceTexture and TextureView APIs that were added to allow transferring ownership of the SurfaceTexture from the UI framework to the application. Change-Id: Ic4b781d907a59e99ff1a5974009305c1f9aee36a
raphics/SurfaceTexture.java
|
1557fd7809078e421f751efc7d2539b3efdc54b2 |
05-Apr-2012 |
Philip Milne <pmilne@google.com> |
Fix for bug 6110465. Add layout bound metadata to 9-patch files and make layouts take them into account. This CL contains a proposed API for dealing with layout bounds. This solution exposes: 1. Class: Insets - for storing layout Insets (and later possibly padding). 2. Methods: View:(get/set)LayoutInsets() - for storing layoutBounds. 3. Methods: ViewGroup:(get/set)LayoutMode() - for controlling layoutMode. It also iuncudes the changes to GridLayout to support layout bounds. Change-Id: I60c836b6530b61c5abf37f93ee9c44aad73573f1
raphics/Insets.java
raphics/drawable/Drawable.java
raphics/drawable/DrawableContainer.java
raphics/drawable/NinePatchDrawable.java
|
2b4bfa5efec7df408b4db127961cfc9aca9e57cf |
13-Apr-2012 |
Jamie Gennis <jgennis@google.com> |
SurfaceTexture: update API docs This change updates the SurfaceTexture API docs and modifies the behavior of the updateTexImage to produce an IllegalStateException when not attached to a GLES context. Change-Id: I5a0875927785108960985c567d571d5f7033256a
raphics/SurfaceTexture.java
|
069c4f3f0c8190289d60296ec54fafa56abb4776 |
13-Apr-2012 |
Fabrice Di Meglio <fdimeglio@google.com> |
Merge "Improve Paint.setTextLocale()"
|
029b6330380a21787647ed9faa9aa2d6ee93da82 |
13-Apr-2012 |
Fabrice Di Meglio <fdimeglio@google.com> |
Improve Paint.setTextLocale() Change-Id: Iffc9f8816f48dbd431b3b430a7c48f8d646703f3
raphics/Paint.java
|
ae9a5ca01f4a5385329bf2486f2040eeafefe7aa |
13-Apr-2012 |
Eino-Ville Talvala <etalvala@google.com> |
Merge "Editing fixes to ImageFormat documentation."
|
62901af52a118c61579a81c84608c9f1118931a3 |
13-Apr-2012 |
Fabrice Di Meglio <fdimeglio@google.com> |
Merge "Add Paint.setTextLocale()"
|
517825f1a9f14f92908bd7859b91b927c2eec6d9 |
07-Apr-2012 |
Fabrice Di Meglio <fdimeglio@google.com> |
Add Paint.setTextLocale() - will be used for better shaping CJK and other goodies Change-Id: If64945a337edd915f5ebb88f04b6fd18e92ca587
raphics/Paint.java
|
e267f5f2b0f2059fac3b62e5cc09d46b65fdf200 |
13-Apr-2012 |
Stephen Hines <srhines@google.com> |
Merge "Add missing support for Element.FONT()."
|
3a2914132146f340511425d7f78540098606b512 |
12-Apr-2012 |
Stephen Hines <srhines@google.com> |
Add missing support for Element.FONT(). Change-Id: Id66676958cc41d934b7f01acd65916f6d777d355
enderscript/Element.java
enderscript/RenderScript.java
|
918e840628a0b40a95fd42618f604ea5a44aebae |
11-Apr-2012 |
Alex Sakhartchouk <alexst@google.com> |
Unhiding J API's for Renderscript. Change-Id: I8c2d43ccca94549bc6ca1a914106567ccc125503
enderscript/Allocation.java
enderscript/Element.java
enderscript/Program.java
enderscript/ProgramRaster.java
enderscript/ProgramStore.java
enderscript/ProgramVertex.java
enderscript/ProgramVertexFixedFunction.java
enderscript/Sampler.java
|
9184ec307be30719b2b7bfc3fb3e0a1365ccdf73 |
11-Apr-2012 |
Eino-Ville Talvala <etalvala@google.com> |
Editing fixes to ImageFormat documentation. Change-Id: I74738a65abc3abbb49825b16f4efe3ac2eb6d28e
raphics/ImageFormat.java
|
335a6625b6540ad21feaeae3a4f593f86e200019 |
06-Apr-2012 |
Jamie Gennis <jgennis@google.com> |
Merge changes Iac9cc917,I8eed4b0d * changes: TextureView: add setSurfaceTexture method SurfaceTexture: add GL context attach & detach
|
17471d730f20ee785c9c48a99eb331a40550612b |
06-Apr-2012 |
Romain Guy <romainguy@google.com> |
Fix javadoc Change-Id: I41315ff2ff1b404de82264e6a56ee46032862a32
raphics/Bitmap.java
|
c6d993077761fc737bbb0f4db44b961a4e7b6bbb |
05-Apr-2012 |
Jamie Gennis <jgennis@google.com> |
SurfaceTexture: add GL context attach & detach This change adds Java API support for detaching a SurfaceTexture from one GLES context and then attaching it to a different one. Change-Id: I8eed4b0d0e339c11598cb0408d9f4f2d99b3aa06
raphics/SurfaceTexture.java
|
1da8f00a4cc3554b1501f60932e44b5ca56a5e7e |
04-Apr-2012 |
Amith Yamasani <yamasani@google.com> |
Merge "Embed layout padding in nine patch images"
|
ec4a50428d5f26a22df3edaf7e5b08f41d5cb54b |
04-Apr-2012 |
Amith Yamasani <yamasani@google.com> |
Embed layout padding in nine patch images - Added a new custom PNG chunk that carries the layout padding ints. - Extract the padding ticks from .9.png images and store in the chunk. - Load the padding information at runtime into Bitmap and NinePatchDrawable. - The new chunk is ordered first so that it doesn't cause a problem in older versions of the platform. Bug: 6087201 Change-Id: I5de46167a1d44b3ec21065b0c165e594b1dc8399
raphics/Bitmap.java
raphics/BitmapFactory.java
raphics/drawable/Drawable.java
raphics/drawable/NinePatchDrawable.java
|
8c8c2400923bd5b0ab1f52adc4f2232dbf690d91 |
04-Apr-2012 |
Romain Guy <romainguy@google.com> |
Merge "Optimize FBOs composition"
|
e0aa84b7dc087e999e20055dcc04cb6a48d5bd62 |
04-Apr-2012 |
Romain Guy <romainguy@google.com> |
Optimize FBOs composition Change-Id: Ifc8eada8922509373c0e4c3b2ed75b6f08d098de
raphics/Canvas.java
|
e07694b24f7d12d72b084b6651356681ebd0efd6 |
04-Apr-2012 |
Jason Sams <jsams@google.com> |
Validate context when using RS objects. BUG=6035422 Change-Id: I8586be0085b36767289e1f634111c0ff076cec3c
enderscript/Allocation.java
enderscript/AllocationAdapter.java
enderscript/BaseObj.java
enderscript/Element.java
enderscript/FieldPacker.java
enderscript/FileA3D.java
enderscript/Mesh.java
enderscript/Path.java
enderscript/Program.java
enderscript/ProgramFragment.java
enderscript/ProgramFragmentFixedFunction.java
enderscript/ProgramVertex.java
enderscript/ProgramVertexFixedFunction.java
enderscript/RenderScript.java
enderscript/Script.java
enderscript/Type.java
|
c5f519c5ec57400f04f1d0bdc69f7bfddf47f8cb |
30-Mar-2012 |
Jason Sams <jsams@google.com> |
Rename ioReceive and ioSend First checkin of Allocation IO test Change-Id: I26379e442796caab95a089dbb42b02192f4cc563
enderscript/Allocation.java
|
fb9aa9f3ef11878caaf6fcfb5ea49ffb9f7abf33 |
29-Mar-2012 |
Jason Sams <jsams@google.com> |
Convert from SurfaceTexture to Surface Change-Id: I2ad4307294d4144999ca0c12ac19849b188243fb
enderscript/Allocation.java
enderscript/RenderScript.java
|
36c0f6465896c1ad2f5e4811c275c6aa9f8ae874 |
23-Mar-2012 |
Jason Sams <jsams@google.com> |
Add getSizeBytes and cleanup docs. Change-Id: I854a41f50378590b58bfbb205906ed4bee440411
enderscript/Allocation.java
|
03d2d00dc8ce40528d232fdf81eb0b05e92023a7 |
23-Mar-2012 |
Jason Sams <jsams@google.com> |
Cleanup Allocation docs and getter funcs. Change-Id: Ic6fb92e0675d64016f0d471c1d9e5328101e4b36
enderscript/Allocation.java
|
cbe55a1c93056cf2878007ebf823a0ac2ad168b1 |
23-Mar-2012 |
Jason Sams <jsams@google.com> |
Merge "Implement USAGE_IO_INPUT"
|
fe1d5ffd1b6c4977a9f301997d2ad90e5b049a3b |
23-Mar-2012 |
Jason Sams <jsams@google.com> |
Implement USAGE_IO_INPUT Change-Id: Idbf7bb21f5ab673ad77082c5c19921d2b276c04b
enderscript/Allocation.java
enderscript/RenderScript.java
|
26e35fca60426ce375a4a0534dbc9964123c76ee |
21-Mar-2012 |
Adam Powell <adamp@google.com> |
Fix LayerDrawable#mutate Change-Id: I985b80141ffc96db969eaf36538df938cb093661
raphics/drawable/LayerDrawable.java
|
7b2f8b8fb7064a1d3b6d942b978c30c24c9d7299 |
20-Mar-2012 |
Romain Guy <romainguy@google.com> |
Pre-scale bitmaps on the native heap Change-Id: I9819b532b89a997ab775b31ffee46445f1d16e20
raphics/BitmapFactory.java
|
caf813fe1ec10dda75cd752cb3ff80872ae7ac0b |
16-Mar-2012 |
Romain Guy <romainguy@google.com> |
Remove unused private API Change-Id: Iec9c2bc275fc7376f4e0b0b9c44059c56a9dd173
raphics/BitmapFactory.java
|
a1cff5043d0fbd78fcf9c48e7658e56a5b0c2de3 |
21-Feb-2012 |
Chet Haase <chet@google.com> |
Handle view properties at the native level Basic functionality of handling View properties (transforms, left/right/top/bottom, and alpha) at the native DisplayList level. This logic is disabled for now (via compile-time flags in View.java and DisplayListRenderer.h) as we continue work on it (there is no advantage to the new approach until we optimize invalidation and rendering paths to use the new code path). Change-Id: I370c8d21fbd291be415f55515ab8dced6f6d51a3
raphics/Camera.java
|
46926698996d3857a650ed535024a88dbeaff1e1 |
12-Mar-2012 |
Romain Guy <romainguy@google.com> |
Don't allocate new typefaces when not needed. The Typeface.create(Typeface, int) API can be used to create a new typeface derived from an existing typeface. The implementation would however create a new Typeface instance on every call, creating unnecessary garbage in text-heavy applications. This changelist adds a small cache of derived typefaces to avoid allocations whenever possible. Change-Id: Ib7290b3183e372aae12cf66033690e15cd4d0691
raphics/Typeface.java
|
73ba0df14fedefe144808a2a43308811567875be |
10-Mar-2012 |
Fabrice Di Meglio <fdimeglio@google.com> |
Merge "Make Drawable RTL APIs public"
|
06e1ec6462763a2f12ba5fb1c1c826bf393bfacd |
10-Mar-2012 |
Fabrice Di Meglio <fdimeglio@google.com> |
Make Drawable RTL APIs public - also optimize imports Change-Id: I2649a539a5784293d09179981a5d57e900219246
raphics/drawable/ClipDrawable.java
raphics/drawable/Drawable.java
raphics/drawable/ScaleDrawable.java
|
3b577ddb1bca8b1c1682951fea69de24502bcf5d |
09-Mar-2012 |
Amith Yamasani <yamasani@google.com> |
Fix a typo in RectF.equals Change-Id: Idffbf9a324b68f38843049956d1d05d4a64d1345
raphics/RectF.java
|
861d5ecc7cde0bf7f77ce31d5af2d56ee23b3aee |
02-Mar-2012 |
Robert Ly <robertly@google.com> |
am b962b98b: am 67a15457: am e5e11fd6: Merge "docs: fixing bug 5942573" into ics-mr1 * commit 'b962b98bef33eba634aec41cf9d84527ce9db3bb': docs: fixing bug 5942573
|
e5e11fd666d242b099466017c6d9bd23e6d2896d |
02-Mar-2012 |
Robert Ly <robertly@google.com> |
Merge "docs: fixing bug 5942573" into ics-mr1
|
dea05e90108d7866bb41c7177cda52c842f7db74 |
02-Mar-2012 |
Robert Ly <robertly@google.com> |
am ca7d7541: am d70eaff4: am 941ff38d: Merge "fix bug 5942522" into ics-mr1 * commit 'ca7d7541c4cad188eb643113e3c3e91e63d21a5e': fix bug 5942522
|
b73644a94f090f551e24e2e658756a7ff127dbb2 |
25-Feb-2012 |
Jason Sams <rjsams@android.com> |
Merge "Make compute work without an app context."
|
1a4e1f3efd077f3a61038aedab84dc84c9c44d19 |
25-Feb-2012 |
Jason Sams <rjsams@android.com> |
Make compute work without an app context. Change-Id: I644b4711135d6f5d9866b6c2e5e6f6a5ceb1f3d4
enderscript/RenderScript.java
enderscript/RenderScriptGL.java
|
93d083b6ad4e54032f4525125d750926e2433f87 |
25-Feb-2012 |
Jason Sams <rjsams@android.com> |
Merge "Do RS caching the same way HardwareRenderer does. Eliminates the need for an application context for caching."
|
a6f338ca5f0c8359d1952167858851dd025e47e2 |
25-Feb-2012 |
Jason Sams <rjsams@android.com> |
Do RS caching the same way HardwareRenderer does. Eliminates the need for an application context for caching. Change-Id: I4374738083b5eb4ce983d2cb5409428e3668c423
enderscript/RenderScript.java
enderscript/ScriptC.java
|
e9d4c71f47f74ee9a4a490f62769ad010a17d19b |
24-Feb-2012 |
Mathias Agopian <mathias@google.com> |
deprecate L_8, LA_88 and RGB_332 in sdk re-add support for pixelformats L_8, LA_88 and RGB_332 in libui for backward compatibility. This may or may not fix 6058926 Bug: 6049685 Change-Id: Ic1b8b4cc994522f7fe664da64c0ef76b98bc6d53
raphics/PixelFormat.java
|
a23c4ebe04e97a4f5c4e25fa6c9f37c6244ebfe4 |
23-Feb-2012 |
Jason Sams <rjsams@android.com> |
Merge "start new headers"
|
cfef12374c15b11b3c2a1041582be9728152e15d |
23-Feb-2012 |
Romain Guy <romainguy@google.com> |
Perform early intersect to avoid unnecessary draws Change-Id: I48d61c4488e622f93733d8e53a50c93e6a20166d
raphics/Rect.java
|
f11ffc1178645762b74f945b6c5ee068dc6000d3 |
22-Feb-2012 |
Robert Ly <robertly@google.com> |
docs: fixing bug 5942573 Change-Id: I2479dc8916f98a8bf7dbec95dc29cbd871c51be5
enderscript/Mesh.java
|
9366ce81dbaa1c954911ef1c8d5791bb4a69d89c |
22-Feb-2012 |
Robert Ly <robertly@google.com> |
fix bug 5942522 Change-Id: Ice16e63b42d5e8c89994d0844f62adaefc8a92a1
raphics/drawable/AnimationDrawable.java
|
f70b0fc880edb7c47d5bcc97edbc125b575bc90d |
23-Feb-2012 |
Jason Sams <rjsams@android.com> |
start new headers Change-Id: I950e5db76ecd3afbc7ea2b3ec792e4cb242f57bf cpp
enderscript/Allocation.java
|
791c0d188a5f06739e689df49585f87939be3bd8 |
16-Feb-2012 |
Alex Sakhartchouk <alexst@google.com> |
Merge "Piping texture names through shader builder. Fixing uint size_t mismatch."
|
3beb60e67a23b8a7381a7ae16338f793a9ee256a |
15-Feb-2012 |
Stephen Hines <srhines@google.com> |
Vectors of non-primitive types are not allowed. BUG=6016669 Change-Id: Ibab2dfc5ce3d9ceb5513e6b5ffc53d5df8b7c6e7
enderscript/Element.java
|
2123b46ba85adb2cfb78068f8368e830640118d3 |
16-Feb-2012 |
Alex Sakhartchouk <alexst@google.com> |
Piping texture names through shader builder. Fixing uint size_t mismatch. Change-Id: Ia7c8bd9f829deaa50e1cc381ccd50f29676bbdfb
enderscript/Program.java
enderscript/ProgramFragment.java
enderscript/ProgramFragmentFixedFunction.java
enderscript/ProgramVertex.java
enderscript/ProgramVertexFixedFunction.java
enderscript/RenderScript.java
|
f6fb3ab8c02a96391340b1f21a9eb6800171c141 |
16-Feb-2012 |
Stephen Hines <srhines@google.com> |
Merge "Update Element.isCompatible() to work with NONE."
|
c107b10354566f635fb81467f4537d44f04abc2e |
15-Feb-2012 |
Jason Sams <rjsams@android.com> |
Merge "Beging IO stream out from allocation to surface texture."
|
163766cbe798baf8e86eb8201bc6c3def931d59a |
15-Feb-2012 |
Jason Sams <rjsams@android.com> |
Beging IO stream out from allocation to surface texture. Change-Id: I4d6b7f7740a896d39b811d6fe7532bb00db62373
enderscript/Allocation.java
enderscript/RenderScript.java
|
209481137147e64c72f1d5737085b17736931bda |
15-Feb-2012 |
Stephen Hines <srhines@google.com> |
Update Element.isCompatible() to work with NONE. In the past, we used a null reference to signify a user-created Element. The use of DataType.NONE for user-created Elements thus required an update to our Element compatibility check. Change-Id: I3293a645eff85c9040487c22f3a3240862f74350
enderscript/Element.java
|
79952ee29a8fc67b6d76a8db747bb72dd7d6ecd1 |
15-Feb-2012 |
Romain Guy <romainguy@google.com> |
Merge "Clarify documentation of Bitmap.createScaledBitmap/createBitmap Bug #6015472"
|
f12f6f058f169ead83a546a1c3a51e49452a30b3 |
15-Feb-2012 |
Romain Guy <romainguy@google.com> |
Clarify documentation of Bitmap.createScaledBitmap/createBitmap Bug #6015472 Change-Id: I6cf9efc2f695928d54a0dfba08b085559574ae14
raphics/Bitmap.java
|
0599d6ede37304bf8f9ecd90dadea7707c160cd8 |
14-Feb-2012 |
Stephen Hines <srhines@google.com> |
Merge "Fix typos/spacing with new APIs."
|
9069ee88cb62a62395e895eb6b3333a1dfcead73 |
14-Feb-2012 |
Stephen Hines <srhines@google.com> |
Fix typos/spacing with new APIs. Change-Id: I26b772e8e29b12381042fb50c6dfa9df012b3f63
enderscript/Allocation.java
|
cb66aec0bdd3248c526c3a1113936576a30286cb |
10-Feb-2012 |
Jason Sams <rjsams@android.com> |
Merge "Start implementing SurfaceTexture streaming into RS allocations."
|
532efd3ce261f9901bfa51d37377069fe6e8ccdf |
10-Feb-2012 |
Jason Sams <rjsams@android.com> |
Start implementing SurfaceTexture streaming into RS allocations. Change-Id: I561fbb63c63371ea59047c07fb2d68c21d16e76b Conflicts: libs/rs/rsAllocation.h
enderscript/Allocation.java
enderscript/RenderScript.java
|
cc3669ab9ce1ba6862c387839eca6f5fcbd015a1 |
08-Feb-2012 |
Justin Ho <justinho@google.com> |
am fe07b9a2: Merge "Tentative fix for mysteriously recycled bitmap" * commit 'fe07b9a2ab54305de553332d0ab278fdf7158ae4': Tentative fix for mysteriously recycled bitmap
|
4e525a6e5ac7499f79f306e0a418f6f6b72c765d |
08-Feb-2012 |
Romain Guy <romainguy@google.com> |
Tentative fix for mysteriously recycled bitmap This code should not be triggered with scale == 1.0f because of the density comparisons above though. Change-Id: I9e39e3769a3b6550c97df3b213457947ec1f554b
raphics/BitmapFactory.java
|
0b1ad704f4d66219e4b0e1e87947b4d004d3414f |
04-Feb-2012 |
Stephen Hines <srhines@google.com> |
am e05bc81c: Merge "We should not throw for non-fatal errors." * commit 'e05bc81c19838801b91de2642dc275a16dd7cf71': We should not throw for non-fatal errors.
|
be74bdd2349095f203ae0fddcc4816bfbd56bc5d |
04-Feb-2012 |
Stephen Hines <srhines@google.com> |
We should not throw for non-fatal errors. BUG=5955072 Change-Id: I731242805957a057aaff1ba96a58c69d6e474a59
enderscript/RenderScript.java
|
0a29fe1be19df6d96c1e5df0f1b551a6b14dc60c |
03-Feb-2012 |
Stephen Hines <srhines@google.com> |
am cc2daede: Merge "Properly recover from failed compilation." * commit 'cc2daede56257f0f1f490a1aebf5b9b898d9816a': Properly recover from failed compilation.
|
cc2daede56257f0f1f490a1aebf5b9b898d9816a |
03-Feb-2012 |
Stephen Hines <srhines@google.com> |
Merge "Properly recover from failed compilation."
|
98bea4a3ec6dfd0f5c6ec612b57b122f16f49b7f |
02-Feb-2012 |
Alex Sakhartchouk <alexst@google.com> |
am 7042613c: Merge "Fix an incorrect assert that doesn\'t account for element array size." * commit '7042613c653fd0de253f2f659901318902fa4584': Fix an incorrect assert that doesn't account for element array size.
|
862dadb7a7aa290e382ca02a376776e0e27987a1 |
02-Feb-2012 |
Stephen Hines <srhines@google.com> |
Properly recover from failed compilation. BUG=5955072 We used to call delete, which did not update the Context's view of the world, leading to potential segfaults on Context teardown. This change also enables exceptions to be thrown when runtime errors are encountered. Change-Id: If63578efff2d7dd03639da1049c1a5ebc69fde35
enderscript/RenderScript.java
|
bf3c3f2ab1067b647038170cb201cdd1a9a1c6d2 |
02-Feb-2012 |
Alex Sakhartchouk <alexst@google.com> |
Fix an incorrect assert that doesn't account for element array size. Change-Id: Ibcb5c55d91967603391a1721137d010a85025990
enderscript/Allocation.java
|
6019853bc7b9b1f607544212f982472f4e5ed3f4 |
31-Jan-2012 |
Romain Guy <romainguy@google.com> |
am a403a2e0: Merge "Add GradientDrawable.setColors(int[])" * commit 'a403a2e0f0d55a709821a6310de849176dc9b426': Add GradientDrawable.setColors(int[])
|
8bd9698b66d2e1219931ca1be5f81efaba3ed95a |
31-Jan-2012 |
Romain Guy <romainguy@google.com> |
Add GradientDrawable.setColors(int[]) This change also updates the documentation to warn the user about which properties require a call to mutate(). Change-Id: I84717068bf026669e3eef1ae92db665a964fe08a
raphics/LinearGradient.java
raphics/drawable/GradientDrawable.java
|
99022a322f4173b4ecde2326a72fcd720293df51 |
31-Jan-2012 |
Romain Guy <romainguy@google.com> |
am b74b84f1: Merge "Proper equals/hashCode impls in Rect and RectF" * commit 'b74b84f195e7620415784323c7160afadfcbe9c5': Proper equals/hashCode impls in Rect and RectF
|
74d7ca133a6db82abba5c0abe443fb001928e72c |
31-Jan-2012 |
Romain Guy <romainguy@google.com> |
Proper equals/hashCode impls in Rect and RectF Change-Id: Ief52d84f134018af4dfd19674de12736c056e3f8
raphics/Rect.java
raphics/RectF.java
|
68a1df6541a133e2fc5b5f23226fa30d2016ff52 |
24-Jan-2012 |
Romain Guy <romainguy@google.com> |
am 1a54368b: Merge "Add full support for Canvas.setDrawFilter()" * commit '1a54368b24a8cb88ee56ee746eae45171a43b89e': Add full support for Canvas.setDrawFilter()
|
5ff9df658230d49e42c43586997a02d8e4dd417e |
24-Jan-2012 |
Romain Guy <romainguy@google.com> |
Add full support for Canvas.setDrawFilter() Change-Id: I0ad35d0603c4eeda469014803be14c1dcdde918c
raphics/PaintFlagsDrawFilter.java
|
767a04d89692813da15cda7f2d3208ca80a945cd |
24-Jan-2012 |
Romain Guy <romainguy@google.com> |
am e575005f: Merge "Update hardware acceleration doc" * commit 'e575005f7c7a2ec26662862631ca1d0d1959d6bc': Update hardware acceleration doc
|
36d7549181af397cfaf879f46e407e762e0e8cba |
24-Jan-2012 |
Romain Guy <romainguy@google.com> |
Update hardware acceleration doc Change-Id: I3bed77b3c4e1eff96fa462e4849f25f38784c415
raphics/AvoidXfermode.java
raphics/PixelXorXfermode.java
|
86fcb90f3b126ec8fad178e7fc38c62461fba454 |
20-Jan-2012 |
Romain Guy <romainguy@google.com> |
am 22d41843: Fix the build, for real * commit '22d418437e44587cb0fba4353515719453269189': Fix the build, for real
|
22d418437e44587cb0fba4353515719453269189 |
20-Jan-2012 |
Romain Guy <romainguy@google.com> |
Fix the build, for real Change-Id: I6263f7e5e3ae2f7efe045f8b464c0ed1b87fc793
raphics/DrawFilter.java
|
dec35b81b7f6dfcd331fadea03cdd9a5ca44d15e |
20-Jan-2012 |
Romain Guy <romainguy@google.com> |
am 90bd1873: Merge "Fix build" * commit '90bd18737a5ce16708003363683744cfd0480d83': Fix build
|
65447287cb4112cf74483c87be70bcd00b622e2d |
20-Jan-2012 |
Romain Guy <romainguy@google.com> |
Fix build Change-Id: I0e0f6a613cdad3ec075da9b84e3532dd492f0162
raphics/Canvas.java
|
3e77e8e59cb2d330b3e2e2da9a516a448ad5f5d9 |
20-Jan-2012 |
Romain Guy <romainguy@google.com> |
am d2f0dcd1: Merge "Remove unused code" * commit 'd2f0dcd182fbc0423d206919e81f3845fb9b8155': Remove unused code
|
68fc1dfce050f1406f751e71cadd1b9fdb0f825c |
20-Jan-2012 |
Romain Guy <romainguy@google.com> |
Remove unused code Change-Id: Ife0a43f3cfe64a1e74401b10bf74d37cbeefb5af
raphics/Paint.java
|
4adbee3784feb8a2ea79f17a298ee924ba34aa5f |
20-Jan-2012 |
Romain Guy <romainguy@google.com> |
am bad12166: Merge "Deprecate unused APIs" * commit 'bad12166190a7e8087eb5db0ae8df9a4e5843fde': Deprecate unused APIs
|
f9d9c065ed75f1196316a9a31f92309f602cef76 |
20-Jan-2012 |
Romain Guy <romainguy@google.com> |
Deprecate unused APIs Change-Id: I0107e246b632dda96b8b025217936954f1f46283
raphics/Canvas.java
raphics/Paint.java
raphics/Picture.java
|
205c2c5fb14d8415c59762b2f71385f99ab11b4b |
19-Jan-2012 |
Romain Guy <romainguy@google.com> |
am e7bdf2d9: Merge "Don\'t crash on Canvas.drawPicture()" * commit 'e7bdf2d9d0107afadddb6498331cd21be260d23c': Don't crash on Canvas.drawPicture()
|
84fce187b0ae79adc5b4e64c26f72c8ed59e9703 |
19-Jan-2012 |
Romain Guy <romainguy@google.com> |
Don't crash on Canvas.drawPicture() Implementation yet to come but prevent app crashes. Change-Id: I81d6851ebf776a98e13c606bab272a03aec406ee
raphics/Picture.java
|
c32d232c91bea29de7e13419be2f3c918564b281 |
17-Jan-2012 |
Romain Guy <romainguy@google.com> |
am 11d06a73: Merge "Fix text encoding when drawing with drawPosText in software" * commit '11d06a73df371be0b11d5cf586e24601d796c048': Fix text encoding when drawing with drawPosText in software
|
62b6eaa7f3a8111311a7ee097f278eb55865a499 |
17-Jan-2012 |
Romain Guy <romainguy@google.com> |
Fix text encoding when drawing with drawPosText in software Change-Id: I0cd8ee526189c38c50953a1a08b50e0b31c55d8c
raphics/Canvas.java
|
615e7cee03d1a53072b0369fa9f247811ac56845 |
13-Jan-2012 |
Jason Sams <jsams@google.com> |
Start implementing SurfaceTexture streaming into RS allocations. Change-Id: I561fbb63c63371ea59047c07fb2d68c21d16e76b
enderscript/Allocation.java
enderscript/RenderScript.java
|
0136a90de90c54882d91b52bb11785f142b7e29e |
10-Jan-2012 |
Romain Guy <romainguy@google.com> |
am 10b06842: Prevent the GC from destroying the underlying native object * commit '10b0684296a1fbdc6966f54f77e821a9ce4852ad': Prevent the GC from destroying the underlying native object
|
10b0684296a1fbdc6966f54f77e821a9ce4852ad |
10-Jan-2012 |
Romain Guy <romainguy@google.com> |
Prevent the GC from destroying the underlying native object Change-Id: I9aaba5d82828af83dad8e6a270d2ab8c92b42be5
raphics/PathMeasure.java
|
d5a62bb802887134ed652b01fa6a3159a5c6ad0e |
06-Jan-2012 |
Alex Sakhartchouk <alexst@google.com> |
Adding getters to rs program obejcts. Change-Id: Iff8ccc1835109d303201d6a1adb6e5cbde8ba634
enderscript/Program.java
enderscript/ProgramVertex.java
|
a041adcb85838ed5dedd811524a1831f964f0fac |
27-Dec-2011 |
Alex Sakhartchouk <alexst@google.com> |
Merge "Missing getter and additional tests." into graphics-dev
|
60deb2d9ba186a89d5d74e45f0e928ebaac6a074 |
27-Dec-2011 |
Alex Sakhartchouk <alexst@google.com> |
Merge "Adding tests for element/mesh getters. Fixing bugs found by tests." into graphics-dev
|
fc8d7a960ac11eaa9dda07b8166ec935513fcceb |
23-Dec-2011 |
Joe Fernandez <joefernandez@google.com> |
am 2b072677: am 201469f5: am bb7f590a: Merge "docs: Add developer guide cross-references, Project ACRE, round 4" into ics-mr1 * commit '2b072677538de979961b5bf527109fdab1713731': docs: Add developer guide cross-references, Project ACRE, round 4
|
2b072677538de979961b5bf527109fdab1713731 |
23-Dec-2011 |
Joe Fernandez <joefernandez@google.com> |
am 201469f5: am bb7f590a: Merge "docs: Add developer guide cross-references, Project ACRE, round 4" into ics-mr1 * commit '201469f54522436be79d4d6665721049bfc74320': docs: Add developer guide cross-references, Project ACRE, round 4
|
3aef8e1d1b2f0b87d470bcccf37ba4ebb6560c45 |
20-Dec-2011 |
Joe Fernandez <joefernandez@google.com> |
docs: Add developer guide cross-references, Project ACRE, round 4 Change-Id: I1b43414aaec8ea217b39a0d780c80a25409d0991
raphics/drawable/AnimationDrawable.java
enderscript/Allocation.java
enderscript/Element.java
enderscript/RSSurfaceView.java
enderscript/RenderScript.java
enderscript/RenderScriptGL.java
enderscript/Type.java
enderscript/package.html
|
fd79e02e0fec8620da7affaadcf275cf0518241a |
22-Dec-2011 |
Alex Sakhartchouk <alexst@google.com> |
Missing getter and additional tests. Change-Id: I057dd0a29d2cad40d0a0627b4355faeb82bbc229
enderscript/Element.java
|
3aac0abe7965ce9e2078c7d5796805d83e39df7c |
22-Dec-2011 |
Alex Sakhartchouk <alexst@google.com> |
Adding tests for element/mesh getters. Fixing bugs found by tests. Change-Id: I6592a3b65f16b21255e7788fe8ee8aaafe268638
enderscript/Element.java
|
35afa3d1c3bcd1f0d81d2f0a64a49ef473d2f028 |
20-Dec-2011 |
Chet Haase <chet@google.com> |
am f3bd2f7a: Merge "Fix AnimationDrawable double-start bug" * commit 'f3bd2f7a3f2eadd5126b1a55ca45bdbffe80ceeb': Fix AnimationDrawable double-start bug
|
f7917e656b94ec2adfc3fa826e093665d39748d2 |
20-Dec-2011 |
Chet Haase <chet@google.com> |
Fix AnimationDrawable double-start bug AnimationDrawable.setVisible(true, true) was not correctly recording the fact that it had started the animation, so it was possible to call start(0 immediately afterwards and have two animations running on the drawable in parallel, resulting in incorrect frame ordering. Issue #5782773 Change-Id: Ifc328f755a51d10ab76b84006d1999df03d2dca1
raphics/drawable/AnimationDrawable.java
|
f5d8ac7cc35747ef7285ccc196f616b96229def9 |
16-Dec-2011 |
Alex Sakhartchouk <alexst@google.com> |
Element getters. Change-Id: Ibe570464557eeecad108b4d3cb8f02fad13943de
enderscript/Element.java
|
857d0c7017da763a420e825fffa2f260eb982c97 |
24-Nov-2011 |
Jason Sams <jsams@google.com> |
Private API to support MFF transition. Change-Id: I17cc9dc46eb37e4397428ba64305b0fd8ed3ae81
enderscript/Allocation.java
enderscript/RenderScript.java
|
e679e2ebcfb85a0d26507f7afe7547c986858bc2 |
17-Nov-2011 |
Alex Sakhartchouk <alexst@google.com> |
am e693fa3e: am a962ef29: am 4c593010: Merge "Followup to a bug fix. Addtion of synchronized to the methods triggers an API change. Per council advice, pushing synch block into the function body." into ics-mr1 * commit 'e693fa3e184f7a49f9bf912a0dac057fb339b8a4': Followup to a bug fix. Addtion of synchronized to the methods triggers an API change. Per council advice, pushing synch block into the function body.
|
e693fa3e184f7a49f9bf912a0dac057fb339b8a4 |
17-Nov-2011 |
Alex Sakhartchouk <alexst@google.com> |
am a962ef29: am 4c593010: Merge "Followup to a bug fix. Addtion of synchronized to the methods triggers an API change. Per council advice, pushing synch block into the function body." into ics-mr1 * commit 'a962ef2993099e6c5db3809a7e829e43c8cf084a': Followup to a bug fix. Addtion of synchronized to the methods triggers an API change. Per council advice, pushing synch block into the function body.
|
af9dcfe641486f6bafbd44d330f6db74c06ea1dc |
16-Nov-2011 |
Alex Sakhartchouk <alexst@google.com> |
am 5a471818: Merge "Expand RS vector3 types to vector4." * commit '5a4718183340a108b55eba7bf755b4432153caa1': Expand RS vector3 types to vector4.
|
5a4718183340a108b55eba7bf755b4432153caa1 |
16-Nov-2011 |
Alex Sakhartchouk <alexst@google.com> |
Merge "Expand RS vector3 types to vector4."
|
e60149d2277da53c4a681b7f3971cf13cd4b012b |
16-Nov-2011 |
Alex Sakhartchouk <alexst@google.com> |
Expand RS vector3 types to vector4. BUG=5609007 The underlying LLVM implementation for vector3 types does this implicitly. If RS does not adjust its implementation, we will always be misaligned for any subsequent data after a vector3 type. We previously inserted padding into the reflected layers from llvm-rs-cc (hence the skip padding part of this change). We can safely ignore the padding now that the Java/native code is updated to use the expanded size. The compiler will also need modification to ensure that we don't mistakenly skip over any end-of-struct padding. Fixing the 3 component vector padding problem. Change-Id: If68af42287deb8f4b28addcd19a9fa314656be44
enderscript/Element.java
enderscript/Mesh.java
|
38da5086a65e8065e85bbca3638da752dba1dbe7 |
15-Nov-2011 |
Alex Sakhartchouk <alexst@google.com> |
Followup to a bug fix. Addtion of synchronized to the methods triggers an API change. Per council advice, pushing synch block into the function body. Change-Id: Iaa395d9720bce499259ab750fe97149715e9f271
enderscript/RSSurfaceView.java
|
e13c5c1777a6c0403519e146c9635e6574c36831 |
15-Nov-2011 |
Mathias Agopian <mathias@google.com> |
am d8fa1ad4: am 738d8cae: am c93a151f: Merge "Define, document, and test the behavior of very large SurfaceTextures" into ics-mr1 * commit 'd8fa1ad4523b6c04cab663ff4b65181fc00594d9': Define, document, and test the behavior of very large SurfaceTextures
|
8ee964d10e0411e81b593f8d6ac9684dcd679eb1 |
15-Nov-2011 |
Alex Sakhartchouk <alexst@google.com> |
am b14d771c: am f579bb92: am cde433c5: Merge "Fixing a race condition in RSSurfaceView. Bug 5601083 When destroy is called shortly after creation, RS tries to set a surface on a partially destroyed context." into ics-mr1 * commit 'b14d771cf07479e3186a167a219fb2d42d8d4d30': Fixing a race condition in RSSurfaceView. Bug 5601083 When destroy is called shortly after creation, RS tries to set a surface on a partially destroyed context.
|
c93a151fde7d616c22b86ae458b3d015e3820d5e |
14-Nov-2011 |
Mathias Agopian <mathias@google.com> |
Merge "Define, document, and test the behavior of very large SurfaceTextures" into ics-mr1
|
cde433c5f75fd4ac2ab31e9fc34654750d1e83f8 |
14-Nov-2011 |
Alex Sakhartchouk <alexst@google.com> |
Merge "Fixing a race condition in RSSurfaceView. Bug 5601083 When destroy is called shortly after creation, RS tries to set a surface on a partially destroyed context." into ics-mr1
|
b89d88f531ee39927f8f554baaae5ecc9101ba9d |
10-Nov-2011 |
Mathias Agopian <mathias@google.com> |
Define, document, and test the behavior of very large SurfaceTextures updateTexImage() now throws a runtime exception when its native counterpart fails Bug: 5506633 Change-Id: I151a6f685d465966e7df4df624412ab2da62e95f
raphics/SurfaceTexture.java
|
0528bcc7851b4ee1d5e3e36f5d26f7ae61cb8b53 |
12-Nov-2011 |
Christopher Tate <ctate@google.com> |
am 951aa9d8: am 9acae658: am 847fbbea: Merge "Localized optimizations in views and bitmaps" into ics-mr1 * commit '951aa9d8ea71082f4ae4c46c41616e79619401fd': Localized optimizations in views and bitmaps
|
1373a8eb581fe3c8e9a036e69042015f98a7e346 |
11-Nov-2011 |
Christopher Tate <ctate@google.com> |
Localized optimizations in views and bitmaps * Don't call context.getResources() redundantly when unnecessary; similarly for Resources.getCompatibilityInfo() * During bitmap creation, don't bother clearing to 0: it's unnecessary because now that the raw bits are stored in a VM-side byte array, it was cleared at initialization time. Also, don't use the sanity- checking public entry point to erase to a color, because we know that we're by definition in a "legal" path to erase to the initial contents and don't need to incur the overhead of the (inappropriate) sanity checking. Change-Id: Idaca4d64fdecefd5d51337646ead32e1db510e02
raphics/Bitmap.java
|
93c47f10285df8311601fa94ab3c627b0d0cd4be |
11-Nov-2011 |
Alex Sakhartchouk <alexst@google.com> |
Fixing a race condition in RSSurfaceView. Bug 5601083 When destroy is called shortly after creation, RS tries to set a surface on a partially destroyed context. Change-Id: I7a382a701efde3264e5cd9b9a9b428ade5eb4a9a
enderscript/RSSurfaceView.java
|
18cd212f192118b098a773405e67ea7bee538e34 |
11-Nov-2011 |
Jason Sams <rjsams@android.com> |
Merge "Path rendering" into graphics-dev
|
f15ed0124ea7f7f87e4188a1dd15cc4917a62ee9 |
31-Oct-2011 |
Jason Sams <rjsams@android.com> |
Path rendering Change-Id: I5379a676c9ec6a9b25f21bc1e050053f27e411dd
enderscript/Path.java
enderscript/RenderScript.java
|
d211b4882a662409b85a1f90c71e28faa9c54464 |
09-Nov-2011 |
Jamie Gennis <jgennis@google.com> |
Merge "SurfaceTexture: unhide setDefaultBufferSize" into ics-mr1
|
2aafe742e5d2d63d77c49df032ec580966661597 |
04-Nov-2011 |
Jamie Gennis <jgennis@google.com> |
SurfaceTexture: unhide setDefaultBufferSize Change-Id: Ia4d3e1829339acaecaa7f10023945a432c581d72
raphics/SurfaceTexture.java
|
68d91733c873d80eb107b6e7a46228d9397b373e |
03-Nov-2011 |
Dianne Hackborn <hackbod@google.com> |
Some optimizations for view inflation. Change-Id: I8e5e6dda4d4c9776961d4a070549d5753588e582
raphics/drawable/NinePatchDrawable.java
|
74b2b9547329a0b05e0bd5701057696007b854bb |
29-Oct-2011 |
Joe Fernandez <joefernandez@google.com> |
am 09848bc8: Merge "docs: add developer guide cross references, Project ACRE, round 3" into ics-mr0 * commit '09848bc89de999416e2de82a7693b2deec6bf802': docs: add developer guide cross references, Project ACRE, round 3
|
61fd1e8d8c3ccf2d6b7d4af1c19e8f0988d5a1ec |
26-Oct-2011 |
Joe Fernandez <joefernandez@google.com> |
docs: add developer guide cross references, Project ACRE, round 3 Change-Id: I6125315ecdf0f78dd947c514a9944729d723e95d
raphics/Canvas.java
raphics/drawable/Drawable.java
raphics/drawable/NinePatchDrawable.java
raphics/drawable/ShapeDrawable.java
|
7d5f5e7c8943e043a422ad51c85d4e1684c37e28 |
18-Oct-2011 |
Alex Sakhartchouk <alexst@google.com> |
adding getters to Sampler ProgramRaster, ProgramStore, Element. Element adds ability to get subelement info. Tests for new stuff. Change-Id: I4a77b91e4e0e73c95ab28b42c50732a64e71e7b9
enderscript/Element.java
enderscript/ProgramRaster.java
enderscript/ProgramStore.java
enderscript/RenderScript.java
enderscript/Sampler.java
|
098ffcd521cd272ee3a63174759cceeda618d2ef |
11-Oct-2011 |
Romain Guy <romainguy@google.com> |
Don't call saveLayer() when it's not required Bug #5435653 saveLayer() can be extremely expensive on some GPU architectures. Avoiding this call greatly improve the rendering performance of drawables with strok + fill. Change-Id: Ib414174ba05d5bad56d942b8e67ab784e7d60b9e
raphics/drawable/GradientDrawable.java
|
85397d8dcbcbe098c805b90fe7779206125e2399 |
07-Oct-2011 |
Jason Sams <rjsams@android.com> |
Simplify the way we get the version info. Reduces startup overhead. Change-Id: Id9556dfe553c23bf3f870a524ca5e687bb9fe777
enderscript/RenderScript.java
|
94aaed38467c71a6c804f0e18b41346a4013c25b |
23-Sep-2011 |
Jason Sams <rjsams@android.com> |
Remove unused fields in ProgramRaster Change-Id: I70c9d47674c956ec850c178c7aaa9a5e3dd9dffb
enderscript/ProgramRaster.java
enderscript/RenderScript.java
|
2f2eea704ef82878c7aa909a1f7dbdf19851b0fb |
13-Sep-2011 |
Chet Haase <chet@google.com> |
Merge "Fix wobbly spinners"
|
e5cdb6c8394e321266fb8940fdd0c97b2f87b2f3 |
12-Sep-2011 |
Chet Haase <chet@google.com> |
Fix wobbly spinners Some progress bars use AnimatedRotateDrawable, which suffered from the same bug as AnimationDrawable (until a recent fix). The code would not account for the left/top offset of the drawable in its view, so it would rotate the drawable around the wrong center, causing it to wobble and not get erased properly. Change-Id: I3f34f797e595973d9eb1d952d92026c769c7ec0a
raphics/drawable/AnimatedRotateDrawable.java
|
f68832bcc1069c70ef27248da6d82e9f9056955a |
12-Sep-2011 |
Romain Guy <romainguy@google.com> |
Turn hinting back on The difference is not obvious when compared to no hinting, and turning off hinting has undesirable side effects because of the lack of sub- pixel positioning when rendering text. Change-Id: If2162ba079f68f33b33aed444e80036fdbf015bb
raphics/Paint.java
|
ddb715b238c098d8b561a44b9687f0bc67a4c141 |
09-Sep-2011 |
Dianne Hackborn <hackbod@google.com> |
Pull animation attributes out of main view class. These are now in a separate class that is only allocated when needed by the view. Change-Id: I9601bb43b3b4bfdabd982b02f7cd7534437b8ac3
raphics/Matrix.java
|
2273b1e4eae27fa60b0b90d16a1891b4526c9b9c |
08-Sep-2011 |
Fabrice Di Meglio <fdimeglio@google.com> |
Hide RTL related APIs Change-Id: Idda458fcdebe7afeb9b95e328e552fcbc7939157
raphics/drawable/Drawable.java
|
a1b92c5e8b750d8f5b2dc5ca7e8b4edc97de5575 |
03-Sep-2011 |
Adam Powell <adamp@google.com> |
Fix bug 5231904 - Fix wobbly progress spinners Make ProgressBar maintain aspect ratio on indeterminate progress drawables. Make RotateDrawable tolerate left/top bounds != 0. Change-Id: Iee03030caa98f72a8745f1ae3fb0de108ff663d4
raphics/drawable/RotateDrawable.java
|
41bff38d3060dbcb55133cedaf5d962c3082efc2 |
30-Aug-2011 |
Chet Haase <chet@google.com> |
Tweaks to NotificationPanel animation The animation that runs when the NotificationPanel appears used to start, then pause for a long time as the window/surface/layer was created, then by the time it started to be visible, the animation was over. This new approach delays starting the animation until the layer has been drawn, so the animation can actually run a few frames after that before finishing. Change-Id: I998f01fd48cb762178021ad99e2b919b58a1ef3f
raphics/drawable/ColorDrawable.java
|
8b5a8b5bed98bd1c048864abcf39dfc3875518cb |
01-Sep-2011 |
Fabrice Di Meglio <fdimeglio@google.com> |
Merge "Code cleaning"
|
7d892dcc8a18376f499527a160c6c0ed664e22b1 |
01-Sep-2011 |
Fabrice Di Meglio <fdimeglio@google.com> |
Code cleaning - remove unused constant - fix spelling Change-Id: I0053129b33c2ee472db84e14d4b2ace5d97d20a8
raphics/Paint.java
|
d040edbae968d826aa2c82d382345811a45c646b |
31-Aug-2011 |
Dianne Hackborn <hackbod@google.com> |
Use floating point window positions. Gets rid of gapps between windows during animations. Change-Id: I17d2ef0af214008f0eabd7eb19268f145fe83b39
raphics/RectF.java
|
e7197a996ff9c4a51d32dd2f918aab97d2b191ef |
31-Aug-2011 |
Fabrice Di Meglio <fdimeglio@google.com> |
Merge "Fix bug #5233207 android.graphics.cts.PaintTest#testBreakText fails on IRK56F trygon-userdebug"
|
0d32b317c2d1cacfa5acd34253cc626d6a776ec0 |
31-Aug-2011 |
Jeff Sharkey <jsharkey@android.com> |
Accessors for frame count and duration. Bug: 5233703 Change-Id: If6a758540248dc9bff56b64add04984ebd7b6833
raphics/drawable/AnimatedRotateDrawable.java
|
8fa6503feb1954d8c11a0591a567e6acedf7abe9 |
30-Aug-2011 |
Fabrice Di Meglio <fdimeglio@google.com> |
Fix bug #5233207 android.graphics.cts.PaintTest#testBreakText fails on IRK56F trygon-userdebug - Paint.breakText() API was regressing on the argument validation: a count < 0 is a valid one Change-Id: I6d09294ee9f21901ba00017ce0d73f757fc7b147
raphics/Paint.java
|
bb66c21f01b42f533878613f57d5894817c32c93 |
28-Aug-2011 |
Jeff Sharkey <jsharkey@android.com> |
Make Paint.set() copy shadow config. Also unify all Java variable copying into single method. Change-Id: I8fefa615f6f164ae5662913d612b388b46890089
raphics/Paint.java
|
554366d158a0ec330a339f4343fb0a3164257f1e |
24-Aug-2011 |
Jamie Gennis <jgennis@google.com> |
SurfaceTexture: disable sync-mode SurfaceTextures This change removes the ability to create a SurfaceTexture that is capable of operating in synchronous-mode from the public APIs. Bug: 5167959 Change-Id: I09995832bb9a5f5063a67ddc3e0e1ab124d4e893
raphics/SurfaceTexture.java
|
fc8fa638617efb5695a1f89ea75375faebbe2a40 |
18-Aug-2011 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #5128639: SystemUI grows by 10MB after taking a screenshot We now do the screenshot in a separate process. Also change the recents panel to not use hardware acceleration on lower-end devices. And improve how it gets shown to not load all data up-front which results in a long delay when you have lots of recents. Change-Id: Ia309a90f9939e5405758621b3f7114597bd0c02a
raphics/drawable/LayerDrawable.java
|
f43fa5746ee5b81a6e386d36594094d079ac8160 |
13-Aug-2011 |
Dianne Hackborn <hackbod@google.com> |
Turn off hinting by default for higher density displays. Also adds an API for apps to control whether hinting is used. Change-Id: I1a06b06255fbb8d0f02a8ce48c2cd60019088ed3
raphics/Paint.java
|
1213697980d58d4285cc77a5dd80a453f008a077 |
12-Aug-2011 |
Justin Ho <justinho@google.com> |
Merge "Replacing sans serif system font with Roboto"
|
1ee60119c4fa51ebfa781cf5fdc33f192e8551b8 |
26-Jul-2011 |
Ted Bonkenburg <tedbo@google.com> |
Remove ParcelSurfaceTexture and update MediaPlayer This removes the ParcelSurfaceTexture class since that functionality has been folded into Surface.java. The change also updates the MediaPlayer to get rid of setParcelSurfaceTexture() and modifies setTexture() to use the new Surface functionality in order to simplify the code. Change-Id: Iafa75ea3188263928128325d8a726786971b4de4
raphics/ParcelSurfaceTexture.aidl
raphics/ParcelSurfaceTexture.java
|
c88ba95921444946443794cbaca5911f1a924720 |
12-Aug-2011 |
Xavier Ducrohet <xav@android.com> |
Merge "Make some methods/fields package private so that layoutlib can access them."
|
03f156e96f5b1b9427473197c2de3a8454d7039c |
12-Aug-2011 |
Romain Guy <romainguy@google.com> |
Merge "Remove unnecessary private API"
|
9d865512f1a39bac6bed612b24023213d5a1fb1d |
12-Aug-2011 |
Romain Guy <romainguy@google.com> |
Remove unnecessary private API Change-Id: I2ecb367528ec0691c07153a3d163b82a6ca33fdf
raphics/Canvas.java
|
beb2b5cfdb79ac9147296e3a6bd21970a947a6f4 |
10-Aug-2011 |
Christian Robertson <robertsonc@google.com> |
Replacing sans serif system font with Roboto Change-Id: Ibe0aa11e2259898e65dc422c7794ab4065a0a90e
enderscript/Font.java
|
7f9f99ea11051614a7727dfb9f9578b518e76e3c |
11-Aug-2011 |
Xavier Ducrohet <xav@android.com> |
Make some methods/fields package private so that layoutlib can access them. Change-Id: I4aeadfbaf8a4f6a459fa19937c21ac23d9e5fb64
raphics/Bitmap.java
raphics/Paint.java
raphics/Path.java
raphics/Typeface.java
|
37cc31c6040cf1b304e947eb0fe2d0341a909890 |
10-Aug-2011 |
Romain Guy <romainguy@google.com> |
Merge "Add a return value for SurfaceTextureListener#onSurfaceTextureDestroyed."
|
402f05530352f34d5320c2d23be43c274d97c4e2 |
10-Aug-2011 |
Grace Kloba <klobag@google.com> |
Add a return value for SurfaceTextureListener#onSurfaceTextureDestroyed. If returns true, the SurfaceTexture will be released by TextureView. If returns false, the client needs to release the SurfaceTexture. Change-Id: I946f71e337ad4170c168854ac27e028b82489c8c
enderscript/RSTextureView.java
|
8984b41665f7ea2f0fdbc8ce00556b9e7762668e |
10-Aug-2011 |
Fabrice Di Meglio <fdimeglio@google.com> |
Add more Paint text APIs parameters checks Change-Id: Idd04e9937b821180f46852451405bb9c6d59da37
raphics/Paint.java
|
15c097a1c23105cdc0dd66dd5605ff35467d7118 |
08-Aug-2011 |
Fabrice Di Meglio <fdimeglio@google.com> |
Add more optimizations for Text measuring / breaking / getting advances - do not go to native if this is not needed (empty or null text) - do expandMetricsFromPaint() in TextLine when needed instead of calling handleText() with emty string just for doing expandMetricsFromPaint() Change-Id: I1f566ccef66cbc990ebbb77ef149899119e37e84
raphics/Paint.java
|
4c7dbc04958cb585a2b68eaa664e816f0d84da9f |
08-Aug-2011 |
Fabrice Di Meglio <fdimeglio@google.com> |
Fix bug #4584320 Single Line EditText not drawing correctly with spans applied (ICS) - provide a better fix by still using the full context of the text (versus using the text only) Change-Id: I542335e98117921d75c191e90a9b2018ca356ac9
raphics/Paint.java
|
253267256997b2bd5cf1c40e1302a4a1240d756f |
08-Aug-2011 |
Fabrice Di Meglio <fdimeglio@google.com> |
Merge "Fix bug #4584320 Single Line EditText not drawing correctly with spans applied (ICS)"
|
f2ce877c1dde094ab599f0d3103145c9381ab260 |
06-Aug-2011 |
Fabrice Di Meglio <fdimeglio@google.com> |
Fix bug #4584320 Single Line EditText not drawing correctly with spans applied (ICS) - use correct 0 index for computing advance thru the char buffer (the buffer is created from TextUtils.getChars()) - udpate unit tests Change-Id: Iaeb07658b79ecdf5e17395d55afb7c84965bb0fc
raphics/Paint.java
|
8f019d63055ad76b94710b7b96e29625173584c4 |
05-Aug-2011 |
Stephen Hines <srhines@google.com> |
Merge "Start using bcinfo components within librs."
|
09f6d67f37d77853dd19fde79523edc524c7c9cd |
04-Aug-2011 |
Wu-cheng Li <wuchengli@google.com> |
Merge "Add camera bayer image format."
|
70fb9085044c5e6f52c33c970d238b764cf2373b |
02-Aug-2011 |
Wu-cheng Li <wuchengli@google.com> |
Add camera bayer image format. The API are hidden. bug:5086073 Change-Id: Ic9a53e5d5007ad3f12a28406ee25098227f14cbc
raphics/ImageFormat.java
|
4382467a80dd12c6362d57edca7f2367f7ae877c |
02-Aug-2011 |
Stephen Hines <srhines@google.com> |
Start using bcinfo components within librs. BUG=4942491 Change-Id: I3a46783511c4954bac9eadbbbefe5abf85498c16
enderscript/RenderScript.java
enderscript/RenderScriptGL.java
|
ec46b4e1ca89d7c3a9ad70ded58da08b5e19f08f |
04-Aug-2011 |
Mathias Agopian <mathias@google.com> |
Add a 'release' method to the SurfaceTexture public Java API Bug: 5063618 Change-Id: I689cb0c01c14e597ccfb4eb0972e64fa570bd4e8
raphics/SurfaceTexture.java
|
6311d0a079702b29984c0d31937345be105e1a5e |
03-Aug-2011 |
Dianne Hackborn <hackbod@google.com> |
Clear the bitmap from the canvas in a lot of places. Change-Id: I6b2071ac7b348c473b9bdd1b972d095aebbb4fb3
raphics/Bitmap.java
|
b1216dd916e0f5fdec29684120c5bcc904800916 |
02-Aug-2011 |
Romain Guy <romainguy@google.com> |
Copy constructors should actually copy stuff. Bug #5027094 Change-Id: Iab6bf652e0b9bdd1bbc794e7c4218f46bafdd1a4
raphics/Paint.java
raphics/drawable/BitmapDrawable.java
|
0965a3244b4c3009d08db2e084cdcb681ef66d26 |
02-Aug-2011 |
Romain Guy <romainguy@google.com> |
Allow Canvas.setBitmap() to receive a null Bitmap. Change-Id: I6096f0b44866e532ccd96a29c816bf34d48c1dc2
raphics/Canvas.java
|
34235c6eded32fa6840db7a0f38e0e2905aff8b0 |
19-Jul-2011 |
Scott Main <smain@google.com> |
cherrypick Change-Id: Iaada8d42f97786d393743cd7fc3011da1d21f22e docs: resolve issue 5044273 and fix markup error Change-Id: Ic028292245c14cca218ea9ac771f292254577e7c
raphics/drawable/AnimationDrawable.java
|
804b3d76c39eca09cbbd8b7c3fa1718e7ad094cc |
27-Jul-2011 |
Alex Sakhartchouk <alexst@google.com> |
Merge "Add getName to renderscript base object"
|
0400b07c6bfc3fca49bc10db0a2040aba8664c8e |
26-Jul-2011 |
Alex Sakhartchouk <alexst@google.com> |
Add getName to renderscript base object Change-Id: Ia28f88d2c9d679692778641548fdac08c1041d02
enderscript/BaseObj.java
|
684b23513c9137ddc04b06ac05a4b15be06ad2f4 |
26-Jul-2011 |
Jason Sams <rjsams@android.com> |
Unhide new RS apis. Change-Id: I83505156bd8a0ffabf0da3aef937693eaee9d9cd
enderscript/RSTextureView.java
enderscript/RenderScriptGL.java
enderscript/Script.java
|
796cc96243a57cd1b652bd90c4e7ba7823c6c2fe |
16-Jul-2011 |
Fabrice Di Meglio <fdimeglio@google.com> |
Clean test APIs for Harfbuzz support - also update unit tests Change-Id: I557f61e84c4c4b6165163b783d9c679a6b3b4106
raphics/Canvas.java
|
ac7f69bac34e6fbfc497cbb8f3f5a060bc70df6d |
12-Jul-2011 |
Jason Sams <rjsams@android.com> |
Merge "Add error checks for AllocationAdapters being used in unsupported ways."
|
ef72ff220c8bf6c8d7753f30ddaad89d4d8cada9 |
11-Jul-2011 |
Logan Chien <loganchien@google.com> |
Use resource entry name instead of mangled name. Change-Id: I833fa1b529fe505ce20ede12b7f4b5952a6ac1f0
enderscript/ScriptC.java
|
fcc8fae91e74a24eba8bb20c80d7f29aaf31a828 |
09-Jul-2011 |
Romain Guy <romainguy@google.com> |
Merge "Correctly render nested rectangles with different winding rules."
|
d4b5795e5efd05be7e482e013dfdec519ad2601e |
09-Jul-2011 |
Romain Guy <romainguy@google.com> |
Correctly render nested rectangles with different winding rules. Change-Id: I331d9dc1c17aee62a2fa213692c62a5ba1bb079a
raphics/Path.java
|
48fe534838d8b9d10f98ea2662eec258320ab4e7 |
08-Jul-2011 |
Jason Sams <rjsams@android.com> |
Add error checks for AllocationAdapters being used in unsupported ways. Change-Id: If6506e04d65a7b3d79203ac7a20a7961368ef04f
enderscript/Allocation.java
enderscript/AllocationAdapter.java
|
d015327223e1b333d479e69db64f512a0fe7b6e0 |
08-Jul-2011 |
Jason Sams <rjsams@android.com> |
Merge "Fix more type info caching bugs."
|
ad37cb26cd8d8a05077152ebc5b841a5629cfbbd |
08-Jul-2011 |
Jason Sams <rjsams@android.com> |
Fix more type info caching bugs. Change-Id: I917a1190ec12fe954c9bf51ffd446ef564837e68
enderscript/Allocation.java
|
3055353fd4037e58bb7a7081ca50c0a76935959b |
08-Jul-2011 |
Jason Sams <rjsams@android.com> |
Merge "Fix defered type creation when loading from A3D."
|
452a7661e8b06459b75493b441d33244939c1153 |
08-Jul-2011 |
Jason Sams <rjsams@android.com> |
Fix defered type creation when loading from A3D. Change-Id: I09387c0859dcc9fe77014bc7486109d81742f298
enderscript/Allocation.java
|
e4827389e78770088be1c36b46b8d54922e8689f |
08-Jul-2011 |
Jason Sams <rjsams@android.com> |
Merge "AllocationAdapter cleanup."
|
ba862d1544a06528151550be1784a926ee986580 |
08-Jul-2011 |
Jason Sams <rjsams@android.com> |
AllocationAdapter cleanup. Change-Id: Ia7eb0925e410779bbd6a925af721e3834dcf83f8
enderscript/Allocation.java
enderscript/AllocationAdapter.java
|
f61970fc79e9c5cf340fa942597628242361864a |
07-Jul-2011 |
Romain Guy <romainguy@google.com> |
Add an API to query maximum bitmap/texture size on Canvas. Change-Id: I2c576c9a4ecad9f33cc6636bcbc29786acdf052d
raphics/Canvas.java
|
03f9435273df3c8d6f342adfc391844a18535adf |
02-Jul-2011 |
Glenn Kasten <gkasten@google.com> |
Merge "Bug 4571308 Provide correct video frame timestamps"
|
3cf7cf575138bcbe5b49c32eb4ae401f92e4c8f7 |
28-Jun-2011 |
Jamie Gennis <jgennis@google.com> |
Merge changes I9fb59763,I8b2c6e00 * changes: SurfaceTexture: consume buffers after err checks SurfaceTexture: change onFrameAvailable behavior
|
bd5404d0312752e7c8946e8540129f0d2d97bcd7 |
27-Jun-2011 |
Jamie Gennis <jgennis@google.com> |
SurfaceTexture: change onFrameAvailable behavior This change alters the conditions under which the onFrameAvailable callback gets called by the C++ SurfaceTexture class. The new behavior is to call the callback whenever a frame gets queued that will be visible to the buffer consumer. This means that buffers queued in synchronous mode always trigger the callback, as those buffers will remain pending until they are consumed. Buffers queued in asynchronous mode will only trigger the callback if there was not previously an unconsumed buffer pending. The new behavior means that a consumer should perform a draw operation exactly once for every onFrameAvailable call that it recieves. This change also modifies SurfaceFlinger and the SurfaceTexture JNI to support of the new behavior. Change-Id: I8b2c6e00961d3d58b11c6af50b555b6e4c5f5b40
raphics/SurfaceTexture.java
|
a2c8a7b5739c1febf8ffbf9461334343bdadab16 |
27-Jun-2011 |
Jean-Baptiste Queru <jbq@google.com> |
am ec5039b3: am 99c070d8: am 4fea5373: Merge "Add WEBP to the list of Image formats that support Compression." * commit 'ec5039b3720ee9b92fb2a2c6dd9f468d2dcd7172': Add WEBP to the list of Image formats that support Compression.
|
5c2faf3dc310b100707eb9e32e1e5ae8ceffd0c6 |
27-Jun-2011 |
Glenn Kasten <gkasten@google.com> |
Bug 4571308 Provide correct video frame timestamps Change-Id: I0f726817fc02d3e2a4cf82ed801ef977994e6bcc
raphics/SurfaceTexture.java
|
f670be372ba8e23c098e77b3a749b6333af0435d |
25-Jun-2011 |
Jeff Sharkey <jsharkey@android.com> |
Merge "Finish any enter animation when jumping to state."
|
a0ac98bd5cb550319221c1d60277e07a9d2e3a91 |
25-Jun-2011 |
Jeff Sharkey <jsharkey@android.com> |
Finish any enter animation when jumping to state. When jumpDrawablesToCurrentState(), finish any alpha animation in progress. Fixes bug where drawable with enter fade would remain transparent until next state change. Change-Id: Ia087f935566a8d78e0efdcb0a1a2f791db05c70e
raphics/drawable/DrawableContainer.java
|
ec5039b3720ee9b92fb2a2c6dd9f468d2dcd7172 |
24-Jun-2011 |
Jean-Baptiste Queru <jbq@google.com> |
am 99c070d8: am 4fea5373: Merge "Add WEBP to the list of Image formats that support Compression." * commit '99c070d8eb9f1ff9ea5c38991f15f091040226c2': Add WEBP to the list of Image formats that support Compression.
|
0904d0af81e8a0a5404d6c03f4dcea02bea8170d |
24-Jun-2011 |
Grace Kloba <klobag@google.com> |
Add allowSynchronousMode to SurfaceTexture constructor. Change-Id: I54f30a3c16bbe6b813f3bcd1d389da5627531304
raphics/SurfaceTexture.java
|
7c1747c13c75eb0197db979d48cb4f9c59d52201 |
24-Jun-2011 |
Stephen Hines <srhines@google.com> |
Merge "Remove verbose logging, update test app and docs."
|
3d782666d73c3ce0ffb77e71db7309bc3297ecb8 |
24-Jun-2011 |
Stephen Hines <srhines@google.com> |
Remove verbose logging, update test app and docs. Change-Id: I6659c5e51a747011239128dc2682a5d78aecfa26
enderscript/Font.java
|
0694cfe49a889788e185a265deed0c231fe31f4b |
23-Jun-2011 |
tedbo <tedbo@google.com> |
Merge "Add method to create a ParcelSurfaceTexture from android.view.Surface."
|
b950b8e23e18cbe23069b791bca93c8cfbbab5ce |
23-Jun-2011 |
Jamie Gennis <jgennis@google.com> |
Merge "Fix the issue where onFrameAvailable is not triggered if SurfaceTexture is in sync mode."
|
2305ac9e4a262ed09fd034ae417e9b1dda4c0ccb |
23-Jun-2011 |
Vikas Arora <vikasa@google.com> |
Add WEBP to the list of Image formats that support Compression. Note: The integrator of this change to Android internal code-repo will have to run one extra step 'make update-api' to update 'api/current.txt' file corresponding to approved API. The AOSP branch didn't have this file, hence I could not add the same to this change. The updated file 'api/current.txt' has to be submitted along with this change. Change-Id: I29909e907a2e82d801e16654322190a808c5bda9
raphics/Bitmap.java
|
cf559377b750271472aa0a717bf3b7d34abc0b39 |
23-Jun-2011 |
Grace Kloba <klobag@google.com> |
Add onSurfaceTextureUpdated to the TextureView listener. The app needs a way to throttle the producer side. Expose this to enable it. Change-Id: I04b6a3fc444117a9fc2449fb87c3c834247c8ef1
enderscript/RSTextureView.java
|
4e8a5c922c287ec97fec847194e930f8598a1941 |
23-Jun-2011 |
tedbo <tedbo@google.com> |
Add method to create a ParcelSurfaceTexture from android.view.Surface. Change-Id: I05e343ab7e327478f60322af9373574b70c148f5
raphics/ParcelSurfaceTexture.java
|
ad4f70306b2089a273635b73a101fe48aa36cbe2 |
22-Jun-2011 |
Chet Haase <chet@google.com> |
Fix flashing artifacts caused by invalidation bugs Therea re 2 fixes here: - We sometimes cleared a flag in ViewAncestor too soon that controlled how invalidated areas were redrawn (related to whether the invalidates happened on opaque views or not). - TransitionDrawable was always setting/restoring alpha values on its drawables every time it was drawn. setAlpha on BitmapDrawable causes an invalidation, so essentially this was an infinite invalidation/redrawing loop. The fix was to notice when the animation was done and to simply draw the appropriate drawable[s]. Change-Id: I1849a5a909b0039a0e9bce0aa3cfc33c50f8f854
raphics/drawable/BitmapDrawable.java
raphics/drawable/TransitionDrawable.java
|
925bcaabde5a21687b51caa7ab329310a819f068 |
22-Jun-2011 |
Grace Kloba <klobag@google.com> |
Fix the issue where onFrameAvailable is not triggered if SurfaceTexture is in sync mode. If there is more frame after updateTexImage, trigger the listener again. Change-Id: I1415ae9a914cc8bb139cb369464b1f6a2aa24058
raphics/SurfaceTexture.java
|
dbe03ae5d0f372beee906558af73f32c55382b22 |
22-Jun-2011 |
Jason Sams <rjsams@android.com> |
Merge "Fix bugs in AllocationAdapter."
|
ee2d809ab099e67698a37f13a42d22eaa2251f77 |
22-Jun-2011 |
Jason Sams <rjsams@android.com> |
Fix bugs in AllocationAdapter. Change-Id: Ib530fc719de3587f44eed88bd1d16e22dd5af64a
enderscript/AllocationAdapter.java
|
419091185f3c9c2d22c0673daca38c92985244c5 |
22-Jun-2011 |
Stephen Hines <srhines@google.com> |
Merge "Support missing RS vector types."
|
79ad3f25bc224a86487aa6cf7b2c7ffe617ee77d |
21-Jun-2011 |
Stephen Hines <srhines@google.com> |
Support missing RS vector types. Change-Id: I87eae3cc79c3963d5a8edf16cc26eee6d93d81d7
enderscript/FieldPacker.java
|
faa32b33b50ad941f631716dd0915e936bdc3ac5 |
21-Jun-2011 |
Jason Sams <rjsams@android.com> |
First cut at RSTextureView. Change-Id: I920950f33079b6bb7e48bb8970201ab9737bb021
enderscript/RSTextureView.java
enderscript/RenderScript.java
enderscript/RenderScriptGL.java
|
3c0618be2fdad66f8d2249bd8b83a436b8aadec4 |
20-Jun-2011 |
Stephen Hines <srhines@google.com> |
Merge "Add support for more vector types to RS."
|
dc122622307579fa0c46a597aff5a5017617d64c |
17-Jun-2011 |
Stephen Hines <srhines@google.com> |
Merge "POSITVE -> POSITIVE typo fix"
|
2b1382de8c50f483b0595b54fd87a482e6eba834 |
17-Jun-2011 |
Stephen Hines <srhines@google.com> |
Merge "Add isCompatible() to RS Element."
|
f257e513a11cb89a6cf5200ecf5ae14714cdaf39 |
14-Jun-2011 |
Stephen Hines <srhines@google.com> |
Add isCompatible() to RS Element. BUG=4203264 Change-Id: Id68aead685f6cbc71c2fbe461cb38382e0563f43
enderscript/Element.java
|
20fbd01335f3a41ab78e0bb9f70124665afb1e3b |
17-Jun-2011 |
Stephen Hines <srhines@google.com> |
POSITVE -> POSITIVE typo fix Change-Id: Ib26eb35fad0c93543f69f6c200820f04c435c2af
enderscript/Allocation.java
enderscript/AllocationAdapter.java
enderscript/Type.java
|
e5e0c50f7dfaccc220725c5595080e921ffda1e4 |
16-Jun-2011 |
Romain Guy <romainguy@android.com> |
Properly refcount SurfaceTexture in the JNI layer. Change-Id: I4b4c8020c13b8d6ce0d302fe42410033bf5785a6
raphics/SurfaceTexture.java
|
e460e6d7181282937fc79119e3271bb8a80cffcf |
15-Jun-2011 |
Fabrice Di Meglio <fdimeglio@google.com> |
Merge "Add View.getResolvedLayoutDirection()"
|
c0053223bedf33581b0830fb87be32c1f26e5372 |
13-Jun-2011 |
Fabrice Di Meglio <fdimeglio@google.com> |
Add View.getResolvedLayoutDirection() - update Callback2 interface - update Gravity.getAbsoluteGravity() and Gravity.apply() to be more generic by changing "boolean isRtl" parameter to "int layoutDirection" - fix BiDiTests for RTL FrameLayout Change-Id: I97bb456c22d5fd3ecb34f08564ce4dbed37e7459
raphics/drawable/BitmapDrawable.java
raphics/drawable/ClipDrawable.java
raphics/drawable/Drawable.java
raphics/drawable/ScaleDrawable.java
|
304b1f5497155bcf91e7b855cfab7a675e80bf26 |
14-Jun-2011 |
Alex Sakhartchouk <alexst@google.com> |
Allocation copy functions. Change-Id: Idce6d44a4f4bb2e399284a40c0f90dc1bff912fd
enderscript/Allocation.java
enderscript/AllocationAdapter.java
enderscript/RenderScript.java
|
4532c5e49cc0d029c53a3aee3e0b1fdf8ffd2ec4 |
10-Jun-2011 |
Jamie Gennis <jgennis@google.com> |
Merge "Add ParcelSurfaceTexture Java class to enable ISurfaceTexture sharing via Binder."
|
d54f3f41c4b41955b7b4382a08b97a356b31fde4 |
10-Jun-2011 |
Stephen Hines <srhines@google.com> |
Merge "Override equals()/hashCode() for RS BaseObj."
|
050316184b01c0d1a01c46afae7429b89a27c31b |
07-Jun-2011 |
tedbo <tedbo@google.com> |
Add ParcelSurfaceTexture Java class to enable ISurfaceTexture sharing via Binder. This adds a new ParcelSurfaceTexture.java class that can be instantiated with a SurfaceTexture and used to send the corresponding ISurfaceTexture interface to another process via Binder. The ParcelSurfaceTexture java object can then be used to create an ANativeWindow based on the SurfaceTextureClient interface. Change-Id: Ie38ea948b866e52f36a6d0f6cde19b54a8546817
raphics/ParcelSurfaceTexture.aidl
raphics/ParcelSurfaceTexture.java
raphics/SurfaceTexture.java
|
705d2ea63a4b3c2345af83eec9dabdeea29cfa9f |
09-Jun-2011 |
Stephen Hines <srhines@google.com> |
Override equals()/hashCode() for RS BaseObj. This will be used by slang reflection to type-check parameters to functions that are of Allocation types (such as what happens with forEach). BUG=4203264 Change-Id: I2ba94531bbf53becf7695b253e1faa3dff099894
enderscript/BaseObj.java
|
aece2ccccbf65cfeba642d11fa4bd0c794498f23 |
06-Jun-2011 |
Alex Sakhartchouk <alexst@google.com> |
Merge "Unhiding render target code for renderscript"
|
85dae045a2c3ac7b9d4bcad7a83ec587d0b7813e |
06-Jun-2011 |
Alex Sakhartchouk <alexst@google.com> |
Unhiding render target code for renderscript Change-Id: I32d80e6c49dbda955402f7ddffdb213c70ddbec9
enderscript/Allocation.java
|
6e66725e1cd631007c226e9ea7b99211bd1276e5 |
05-Jun-2011 |
Shih-wei Liao <sliao@google.com> |
Fix the false-alarm bug when we skip to the end, which should be OK. Fix the bug b/4540617. Change-Id: I64a77b8c5d89bcd35f81d196928a671c954e9a28
enderscript/FieldPacker.java
|
e27832acc083fa889e86b4c629b6aedd8855ceca |
03-Jun-2011 |
Stephen Hines <srhines@google.com> |
Improve validation in RS FieldPacker. Change-Id: I9f6a58048129db4978c893c2dc591b0ed825d05f
enderscript/FieldPacker.java
|
260c77a4f741c3db76057cc4ea2ee54fe335ecf9 |
02-Jun-2011 |
Glenn Kasten <gkasten@google.com> |
Use android.os.Process.THREAD_PRIORITY_* symbols As part of latency project, searching for and replacing hard-coded thread priorities by symbols. Change-Id: I113c07af95f8808b889b665e884b6b41d3440f8d
enderscript/RenderScript.java
|
836c4a58a7f03485ef433dcdb61837cbc0c39735 |
01-Jun-2011 |
Stephen Hines <srhines@google.com> |
Add support for more vector types to RS. Change-Id: If1bc34ef6670b6b5de3c1b6b3b3325637b8c7b43
enderscript/Allocation.java
enderscript/Element.java
enderscript/RenderScript.java
|
f5534a0785db9dfa239d8b6c20b011993742d534 |
27-May-2011 |
Chet Haase <chet@google.com> |
Fixes for AnimationDrawable Set up AnimationDrawable with an initial frame when it is constructed from code (via addFrame()). This is equivalent to what is done when it is constructed via xml resources. Change-Id: I86784a241268aa2d03af8edecbc80a7cc3548e19
raphics/drawable/AnimationDrawable.java
|
6a03640539405afbdefe72894759281b98aa6e6f |
23-May-2011 |
Fabrice Di Meglio <fdimeglio@google.com> |
Add support for Gravity BEFORE and AFTER - update layouts - add Callback2 for RTL aware Drawable - add unit tests Change-Id: Ic64d0291e262170aff7297c6580b0b422eaa8d89
raphics/drawable/BitmapDrawable.java
raphics/drawable/ClipDrawable.java
raphics/drawable/Drawable.java
raphics/drawable/ScaleDrawable.java
|
edbfabdb98a2974f973d6c042e6efd547dc02fc5 |
18-May-2011 |
Jason Sams <rjsams@android.com> |
Core to client fifo on sockets. Change-Id: I3b84a7d4c3c5fa0d764ad4db22dfd142d5cfa95b
enderscript/RenderScript.java
|
f97ed771979162c4a2a75959c57fb793438a3a8b |
16-May-2011 |
Dianne Hackborn <hackbod@google.com> |
am d90a2c4d: am 1e662c32: Merge "DO NOT MERGE. Integrate from master: Rework display size access." into honeycomb-mr2 * commit 'd90a2c4d4463085155444efb07eba2d6579b444a': DO NOT MERGE. Integrate from master: Rework display size access.
|
ac8dea12c17aa047e03a358110aeb60401d36aa2 |
21-Apr-2011 |
Dianne Hackborn <hackbod@google.com> |
DO NOT MERGE. Integrate from master: Rework display size access. Applications now get the display size from the window manager. No behavior should be changed yet, this is just prep for some real changes. Change-Id: I47bf8b55ecd4476c25ed6482494a7bcc5fae45d2
raphics/Point.aidl
raphics/Point.java
raphics/PointF.aidl
raphics/PointF.java
|
25999a08a6652ff5d7d0973f279f1e92e04b3506 |
12-May-2011 |
Alex Sakhartchouk <alexst@google.com> |
Cleanup mesh creation. Change-Id: Iaf5e060711dcb6341ac0f337dfb274528cb68d3e
enderscript/Mesh.java
enderscript/RenderScript.java
|
a89094aa3bc059c6e03b20b4c5b1ede4582f3da9 |
05-May-2011 |
Alex Sakhartchouk <alexst@google.com> |
Code Cleanup and better Sampler creation method Change-Id: I9e35081ee6034cb619f43a47f8f22f38977f5d12
enderscript/RenderScript.java
enderscript/Sampler.java
|
2698536b3ff60bfee85e47e4a8d4b25fdfdf4db5 |
04-May-2011 |
Jason Sams <rjsams@android.com> |
Fix error checks on compute context creation. Remove GL init for compute scripts. Change-Id: I1bce8e4112babf4345fa56a30a9bed753734d8d6
enderscript/RenderScript.java
|
8f0095cd33558e9cc8a440047908e53b68906f5f |
03-May-2011 |
Romain Guy <romainguy@google.com> |
Allows to render with an OpenGL context inside a TextureView. Change-Id: I59453f7fc3997f0502a1c5d325d37fed376fabc7
raphics/SurfaceTexture.java
|
e7cb25916c70625e9086386293247ec604753d5c |
02-May-2011 |
Conley Owens <cco3@android.com> |
am 1eb31b43: am 718516f3: am 9fd8e057: Merge "Fix memory leak of SkMovie class" * commit '1eb31b434fdc325c55b65ecf1783c63b2fdfa669': Fix memory leak of SkMovie class
|
1eb31b434fdc325c55b65ecf1783c63b2fdfa669 |
30-Apr-2011 |
Conley Owens <cco3@android.com> |
am 718516f3: am 9fd8e057: Merge "Fix memory leak of SkMovie class" * commit '718516f3b73468c480ef8d2283a1c80a6223658d': Fix memory leak of SkMovie class
|
17f83df9604ef9239694e8fd5a9efb894fd28453 |
30-Apr-2011 |
Conley Owens <cco3@android.com> |
am 7dcdfd79: am f26ec38c: am 501f7bca: Merge "Eliminating dead logic - bitmap state simply cannot be null here." * commit '7dcdfd7988d1e57c7a705a2d7294e8bfa2b8afc9': Eliminating dead logic - bitmap state simply cannot be null here.
|
7dcdfd7988d1e57c7a705a2d7294e8bfa2b8afc9 |
29-Apr-2011 |
Conley Owens <cco3@android.com> |
am f26ec38c: am 501f7bca: Merge "Eliminating dead logic - bitmap state simply cannot be null here." * commit 'f26ec38c344af8cf91575b461028a3033b940d49': Eliminating dead logic - bitmap state simply cannot be null here.
|
9fd8e0579fb3306f61ba1716b1977562ae3626e1 |
29-Apr-2011 |
Conley Owens <cco3@android.com> |
Merge "Fix memory leak of SkMovie class"
|
5ac02e73c313935b1af8a536e47f74b616986dfe |
28-Apr-2011 |
Stephen Hines <srhines@google.com> |
am 697f8b33: am 00df8e23: Merge "Check setName() for null string + fix rsRand()." into honeycomb-mr1 * commit '697f8b331bb339e4db716efbb96e2182aac40255': Check setName() for null string + fix rsRand().
|
6e494d3ab606be8c06f8d4930fbec572bbfa15c2 |
28-Apr-2011 |
Jason Sams <rjsams@android.com> |
Add dalvik code for forEach. Change-Id: I26533fc553315b99b8f177ab62d9735a177b26b0
enderscript/RenderScript.java
enderscript/Script.java
|
4658d779e37b0127060438b4cb364c3e0eab5956 |
20-Apr-2011 |
Alex Sakhartchouk <alexst@google.com> |
Check setName() for null string + fix rsRand(). Change-Id: I5e0042930209861e2eb9acc91380e9473dac0997
enderscript/BaseObj.java
|
64e00980a335d86402e2c318bcf19f58d11b8163 |
26-Apr-2011 |
Stephen Hines <srhines@google.com> |
Merge "Start ICS header cleanup and finish type matrix."
|
e1c6ff4b91072a4071589938c74dd65d66f88fb5 |
26-Apr-2011 |
Romain Guy <romainguy@google.com> |
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
raphics/drawable/GradientDrawable.java
|
ee6d5cfdff475f6c1119f060b139bdc1b621fa8b |
26-Apr-2011 |
Romain Guy <romainguy@google.com> |
Copy the solid color when mutating a gradient drawable. Change-Id: If3eed36b81f54bb5a56eab7784feda3e3786f8fc
raphics/drawable/GradientDrawable.java
|
4a123c4d69a1a73d0e16834700c3fe95034fe66e |
26-Apr-2011 |
Romain Guy <romainguy@google.com> |
Allow bitmap filtering on NinePatchDrawable. There's no reason to not allow it anymore. Change-Id: Id1881784e6abb49f1965af6595a77391b88b426f
raphics/drawable/NinePatchDrawable.java
|
6cc888e77e17ac522f75bf61403307de8ace2ef3 |
23-Apr-2011 |
Jason Sams <rjsams@android.com> |
Start ICS header cleanup and finish type matrix. Change-Id: If65f96f08c958d330862c543d85dd9d4a0f90e06
enderscript/Byte2.java
enderscript/Byte3.java
enderscript/Byte4.java
enderscript/Double2.java
enderscript/Double3.java
enderscript/Double4.java
enderscript/Int2.java
enderscript/Int3.java
enderscript/Int4.java
enderscript/Long2.java
enderscript/Long3.java
enderscript/Long4.java
enderscript/Short2.java
enderscript/Short3.java
enderscript/Short4.java
|
0a1413e4bf9dcda2a8abb2287e43f612a7fb2453 |
22-Apr-2011 |
Fabrice Di Meglio <fdimeglio@google.com> |
Clean getTextRunAdvances() APIs - remove ICU reference in API names - use a "reserved" int parameter to pass either "0" for Harfbuzz or "1" for "ICU" Change-Id: I88b4f76feafd203a6999cd7349402fa36a9a4b2a
raphics/Paint.java
|
44bc17c6b517aef35a390c81b5aa79c4f284f744 |
21-Apr-2011 |
Dianne Hackborn <hackbod@google.com> |
Rework display size access. Applications now get the display size from the window manager. No behavior should be changed yet, this is just prep for some real changes. Change-Id: I2958a6660895c1cba2b670509600014e55ee9273
raphics/Point.aidl
raphics/Point.java
raphics/PointF.aidl
raphics/PointF.java
|
e42143aa575dcb8ab0616080b2e9b4614a1a4167 |
19-Apr-2011 |
Jozef BABJAK <jozef.babjak@gmail.com> |
Eliminating dead logic - bitmap state simply cannot be null here. Change-Id: I33fdf650b06242efa22ca30b3f7252f6854b42f6
raphics/drawable/BitmapDrawable.java
|
0343a7eb6d7cd2bd44dabe5119e2366e84427c93 |
08-Apr-2011 |
Fabrice Di Meglio <fdimeglio@google.com> |
Merge "TextLayoutCache - add glyphs caching"
|
fcf2be1846935e7983ea2fe87fdd4d7af27764b6 |
06-Apr-2011 |
Fabrice Di Meglio <fdimeglio@google.com> |
TextLayoutCache - add glyphs caching - cache glyphs after Harfbuzz shaping - use "m" prefix for member variables - add temporary API for drawing text with glyphs - update BiDiTest app Change-Id: I619b3f313b15f010018daad21b3e5e486619b4e4
raphics/Canvas.java
|
43a17654cf4bfe7f1ec22bd8b7b32daccdf27c09 |
07-Apr-2011 |
Joe Onorato <joeo@google.com> |
Remove the deprecated things from Config.java. These haven't been working since before 1.0. Change-Id: Ic2e8fa68797ea9d486f4117f3d82c98233cdab1e
enderscript/Mesh.java
enderscript/Program.java
enderscript/ProgramFragment.java
enderscript/ProgramFragmentFixedFunction.java
enderscript/ProgramRaster.java
enderscript/ProgramStore.java
enderscript/ProgramVertex.java
enderscript/ProgramVertexFixedFunction.java
enderscript/RenderScript.java
enderscript/RenderScriptGL.java
enderscript/Sampler.java
|
bd184c55850997a5c5e285357998dadbe95b7b5d |
06-Apr-2011 |
Jason Sams <rjsams@android.com> |
Cleanup character limits. Change-Id: Icb127248d6e3a0b662ed3b13c9a6646f4f81129a
enderscript/RenderScript.java
|
331bf9b14b1c5c1e88f5c4092b6e24fae887fb3b |
06-Apr-2011 |
Jason Sams <rjsams@android.com> |
Seperate ProgramRaster. Cleanup ProgramRaster and ProgramStore creation. Change-Id: If25ea74355238d405340f0ccfb8117ad6e1307b7
enderscript/ProgramRaster.java
enderscript/ProgramStore.java
enderscript/RenderScript.java
|
78a9f6a8227d1e9b465acb84f8476a30c5af9c13 |
04-Apr-2011 |
Alex Sakhartchouk <alexst@google.com> |
Merge "First draft of fbo in renderscript. Updating samples and benchmark"
|
ef353dde086a6833471deff4da58a6eaf8a1ef36 |
31-Mar-2011 |
Stephen Hines <srhines@google.com> |
Make BaseObj a public class. BUG=4156151 Change-Id: Ia5d5ae08ab8e176ad3ca1f38c2c33ef4e9551213
enderscript/BaseObj.java
|
8e90f2bc1fa35a2dc7bd2aab8b8241b628800218 |
01-Apr-2011 |
Alex Sakhartchouk <alexst@google.com> |
First draft of fbo in renderscript. Updating samples and benchmark Change-Id: I469bf8b842fca72b59475c8fa024c12cf0e14954
enderscript/Allocation.java
enderscript/Element.java
|
eee49c699c035ffba188417489f40d34f587d65c |
25-Mar-2011 |
Fabrice Di Meglio <fdimeglio@google.com> |
Fix text redering issue where the text was sometimes truncated - mostly was visible in Settings apps / Wi-Fi networks summary info for each network - correctly setup the local SkPaint for advances computation - improve test app for adding live resizing Change-Id: Ia031fe1b115b521ba55c7e68f2a26300f02e48ca
raphics/Paint.java
|
a3cbe69ae693004b2fa459d95578b4b3189c86fb |
30-Mar-2011 |
Romain Guy <romainguy@google.com> |
Merge "Move the drawable state to the correct class. Bug #4170455"
|
2660a3ec8564918a243b1b02e3652c514bc93bfc |
30-Mar-2011 |
Romain Guy <romainguy@google.com> |
Move the drawable state to the correct class. Bug #4170455 The state tracking whether the Paint's shader should be rebuilt was kept in the wrong class. This lead to the Drawable keeping track of the dirty status of the Paint stored in the ConstantState. This of course does not work properly when several drawables are inflated form the same ConstantState. This change fixes the issue by moving the dirty Paint state to the ConstantState class. This is allowed to work because of the single-thread rule enforced by the UI toolkit. Change-Id: I9bb31d8e7335d6bb418470b59ae25d9085d7bd23
raphics/drawable/BitmapDrawable.java
|
37c1bbb51a5013f4319447106f834a4a9e0511cb |
29-Mar-2011 |
Brad Fitzpatrick <bradfitz@android.com> |
am 8ef609ab: am a4206029: am 5d5a0ca5: Merge "Fixing the wrong link in YuvImage JavaDoc." * commit '8ef609abe56c9872c93fc304037d1e52d4475e5e': Fixing the wrong link in YuvImage JavaDoc.
|
8ef609abe56c9872c93fc304037d1e52d4475e5e |
29-Mar-2011 |
Brad Fitzpatrick <bradfitz@android.com> |
am a4206029: am 5d5a0ca5: Merge "Fixing the wrong link in YuvImage JavaDoc." * commit 'a4206029cbb8f6c02c47db52f84b7d52e154e35a': Fixing the wrong link in YuvImage JavaDoc.
|
08d7778f081aae745e6ad9e5350221b21dbf352e |
28-Mar-2011 |
Kimiyoshi Kusaka <kusaka.kimiyoshi@sharp.co.jp> |
Fix memory leak of SkMovie class Movie class doesn't have finalize method. So memory leak of SkMovie class of native Skia occurs when Movie class is released. I add finalize method to Movie class (Movie.java) and jni destructor method to SkMovie class (Movie.cpp). Change-Id: I4dae9dd95f128cbfade50bef978b219ba99321dd
raphics/Movie.java
|
a5d42c857818036375fff2da9f0d0ab34219d773 |
24-Mar-2011 |
Eino-Ville Talvala <etalvala@google.com> |
Merge "NEW_API: Add getTimestamp() to SurfaceTexture."
|
ee0c116ab2bd5acdfe50db36441cf4784d3a10b4 |
24-Mar-2011 |
Romain Guy <romainguy@google.com> |
Always apply the tile mode. Bug #4170455 Change-Id: Id537a226a0b59bfa65b54bcea062aa5bf1a730b8
raphics/drawable/BitmapDrawable.java
|
5d5a0ca5ebc3f4f60b5ad2afc161b3b8b33953e7 |
23-Mar-2011 |
Brad Fitzpatrick <bradfitz@android.com> |
Merge "Fixing the wrong link in YuvImage JavaDoc."
|
aa5eb64a0c0709a05731a934c033f213d6dbcc2f |
23-Mar-2011 |
Fabrice Di Meglio <fdimeglio@google.com> |
Merge "Use Harfbuzz instead of ICU4C for computing advances"
|
9f82b580d744ce4baf057b061994394dcf239eed |
08-Mar-2011 |
Fabrice Di Meglio <fdimeglio@google.com> |
Use Harfbuzz instead of ICU4C for computing advances - use Harfbuzz shaper for shaping and getting glyphs - add test app for showing result of drawText() and drawGlyphs() - add private API in Canvas and Paint for test app Change-Id: Ia15be216f8636d2d864066e9b7de2f53008c30f6
raphics/Canvas.java
raphics/Paint.java
|
e309a0fd2e528039b3c1f1372a9a7095bcd852cc |
21-Mar-2011 |
Eino-Ville Talvala <etalvala@google.com> |
NEW_API: Add getTimestamp() to SurfaceTexture. Like getTransformMatrix, getTimestamp provides a timestamp for the OpenGL texture produced by the latest call to updateTexImage(). Timestamps are measured in nanoseconds, and are monotonically increasing. Other properties of the timestamps (zero point, comparability) depend on the source providing frames to the SurfaceTexture, and need to be documented by the source. bug:3300707 Change-Id: I380d94926d0e9f1c77bb5c1576b72d5ef4e2eba1
raphics/SurfaceTexture.java
|
e4a06c5fc738bf219f2a495e12a637b2d0871651 |
17-Mar-2011 |
Jason Sams <rjsams@android.com> |
Start seperating out RS compute implementation. Create hal layer to seperate from runtime. Change-Id: Idf5c1261be4131690d25c15948e98324e979b4f9
enderscript/RenderScript.java
enderscript/ScriptC.java
|
ce06ebfda4bd7c511cef3d98aacf7291a743ea46 |
17-Mar-2011 |
Eino-Ville Talvala <etalvala@google.com> |
Merge "Add support for timestamps into SurfaceTexture."
|
c5f94d8a4779050125145396ca83fbc862c7ed6b |
18-Feb-2011 |
Eino-Ville Talvala <etalvala@google.com> |
Add support for timestamps into SurfaceTexture. API addition: The timestamps are represented as nanoseconds from some arbitrary time point. Like the SurfaceTexture transform matrix, the timestamp retrieved by getTimestamp is for the last frame sent to the GL texture using updateTexImage(). Camera HAL change: Expect vendors to set these timestamps using native_window_set_buffers_timestamp(). For now, they are autogenerated by SurfaceTextureClient if set_buffers_timestamp() is never called, but such timing is likely not accurate enough to pass a CTS test. bug:3300707 Change-Id: Ife131a0c2a826ac27342e11b8a6c42ff49e1bea7
raphics/SurfaceTexture.java
|
b4a5f95b8e44d8029827722225ef7f93023ab1b3 |
17-Mar-2011 |
Alex Sakhartchouk <alexst@google.com> |
am 6ff211e0: am 8f6c5226: am 55a9be3d: Merge "Fix for bug 3434228" into honeycomb-mr1 * commit '6ff211e08a7c5d51e3899d10be53878c05c244b5': Fix for bug 3434228
|
2c74ad9aae29cc64fece926f353825a7925792c2 |
17-Mar-2011 |
Alex Sakhartchouk <alexst@google.com> |
Fix for bug 3434228 Change-Id: I57973faf782b487e7913a096f0ab6012dc1c9415
enderscript/RenderScript.java
enderscript/RenderScriptGL.java
|
d50349de17784f924f8cca6ef2fb2708b9fd2ecd |
17-Mar-2011 |
Stephen Hines <srhines@google.com> |
Merge "Check setName() for null string + typo fixes."
|
84a97cae1e53400676a4dfd6c7bf75f9ac230fce |
16-Mar-2011 |
Stephen Hines <srhines@google.com> |
Check setName() for null string + typo fixes. Change-Id: Ibf5fd3bcf908df8370eac2848e2b329328b9e8d3
enderscript/BaseObj.java
|
ef65bb30ed093d625476b5d77737217fd7750a87 |
15-Mar-2011 |
Stephen Hines <srhines@google.com> |
2X2 matrix needs 4 float elements. BUG=4104094 Change-Id: I175bde5839d6f1c56b2fd7499853be723e85120f
enderscript/Matrix2f.java
|
8cecbb5293f73e3f63f2601dda68016762c58a0c |
01-Mar-2011 |
Stephen Hines <srhines@google.com> |
DO NOT MERGE: Fix typos in RenderScript docs. Change-Id: Ie5f326c5c682ca7b604328ab25d7402cf01f7890
enderscript/RenderScript.java
enderscript/RenderScriptGL.java
|
f7d75b34d4b514413c64f502a1cb196bd6e43177 |
03-Mar-2011 |
Stephen Hines <srhines@google.com> |
Merge "Fix typos in RenderScript docs."
|
98e88ca2dcb8cb6fb3280cd571b917a4c5de191c |
03-Mar-2011 |
Alex Sakhartchouk <alexst@google.com> |
Merge "Fixing element count bug in renderscript."
|
971ec7a65ba9523651643aabfdafff7eb0734734 |
02-Mar-2011 |
Mathias Agopian <mathias@google.com> |
Merge changes I9a202210,If26ef8be * changes: fix YV12 documentation reformat file, which contained tabs instead of spaces
|
58a7775d3e12efdc5aaaf19d0ac5e487d622cf36 |
01-Mar-2011 |
Mathias Agopian <mathias@google.com> |
fix YV12 documentation Change-Id: I9a2022101930721a3b3bacc95b02ca21d05f21bb
raphics/ImageFormat.java
|
9ea30a69d5c1d5b137b0186116eb74261b3b5a5e |
02-Mar-2011 |
Alex Sakhartchouk <alexst@google.com> |
Fixing element count bug in renderscript. Change-Id: I0e795561db00e647d6dd5a9de7d25baf626d01a6
enderscript/Type.java
|
9c4086a6765cca1eb215f9a307038544b295792b |
01-Mar-2011 |
Stephen Hines <srhines@google.com> |
Fix typos in RenderScript docs. Change-Id: I4ff14b86551f99ffe984877a3f34b7140511c448
enderscript/RenderScript.java
enderscript/RenderScriptGL.java
|
525af5d5b0fcd4de9bac2f4be016cdd2f3534a40 |
01-Mar-2011 |
Mathias Agopian <mathias@google.com> |
reformat file, which contained tabs instead of spaces Change-Id: If26ef8be8c80a7894d256572cb3b9e60742dce57
raphics/ImageFormat.java
|
347697710d033036c533bd6cee409c4b4c19d437 |
01-Mar-2011 |
Alex Sakhartchouk <alexst@google.com> |
Discovered a matrix element bug while writing cts unit tests. Change-Id: I56709df188a5085611efca804582470340369dc0
enderscript/Element.java
|
858873271250e80a704c29c71ff0578a87bd9d31 |
23-Feb-2011 |
Jamie Gennis <jgennis@google.com> |
Expand on the SurfaceTexture API docs. This change adds additional documentation explaining how a SurfaceTexture should be used in OpenGL ES. It describes some of the limitations of using the GL_TEXTURE_EXTERNAL_OES texture target. Change-Id: I7424c1b422e4f402e87372e8b361391fbec82c5c
raphics/SurfaceTexture.java
|
dc02e18d154ed6271bbd7bc346de619f2698bd9a |
25-Feb-2011 |
Jamie Gennis <jgennis@google.com> |
Revert "Merge "Expand on the SurfaceTexture API docs."" This reverts commit 069d748da85559ffb2d09d181b186b1f71e350e7, reversing changes made to b607b884bd94d4f75fb4b2ead7457f2027ceb850.
raphics/SurfaceTexture.java
|
069d748da85559ffb2d09d181b186b1f71e350e7 |
24-Feb-2011 |
Jamie Gennis <jgennis@google.com> |
Merge "Expand on the SurfaceTexture API docs."
|
373ed6fc79e6c41f4b5dbb8eb72363033f2e40b3 |
24-Feb-2011 |
Glenn Kasten <gkasten@google.com> |
Merge "Bug 3438258 Add SurfaceTexture as MediaPlayer sink"
|
47b8adec3904535c8d8ce2b6e42ecd736f2d90ce |
24-Feb-2011 |
Romain Guy <romainguy@google.com> |
Add a new Camera API to control the camera's location Change-Id: Id9a082d2def803eb527e1987875e0d8a22c6e8aa
raphics/Camera.java
|
4a317db43d2bbc992284dd1f651751f13734d017 |
24-Feb-2011 |
Romain Guy <romainguy@google.com> |
More documentation for Canvas.drawArc() Change-Id: I007a1db94306e05cf4e245f876aa1921f518c113
raphics/Canvas.java
|
ed7894352f8addfe3d0da75cc7fe8bc6fef201dc |
24-Feb-2011 |
Romain Guy <romainguy@google.com> |
Add dither XML attribute support to Gradient and ShapeDrawable. Change-Id: I4b60a0ba6766b7e7b176e78dc7f15f8467e2b890
raphics/drawable/GradientDrawable.java
raphics/drawable/ShapeDrawable.java
|
cc562a3576a6a8096626387472e05e8bee03352a |
09-Feb-2011 |
Glenn Kasten <gkasten@google.com> |
Bug 3438258 Add SurfaceTexture as MediaPlayer sink This change enables the use of a SurfaceTexture in place of a Surface as the video sink for an android.media.MediaPlayer. The new API MediaPlayer.setTexture is currently hidden. This includes: - New Java and C++ interfaces - C++ plumbing and implementation (JNI, Binder) - Stagefright AwesomePlayer and NuPlayer use ANativeWindow (either Surface or SurfaceTextureClient) Change-Id: I2b568bee143d9eaf3dfc6cc4533c1bebbd5afc51
raphics/SurfaceTexture.java
|
acf33974b3a870d904e662ae927947460c0d6b3f |
23-Feb-2011 |
Jamie Gennis <jgennis@google.com> |
Expand on the SurfaceTexture API docs. This change adds additional documentation explaining how a SurfaceTexture should be used in OpenGL ES. It describes some of the limitations of using the GL_TEXTURE_EXTERNAL_OES texture target. Change-Id: I9d3446a012376166b6c598b827a0aa0e9585d00f
raphics/SurfaceTexture.java
|
39c512b623eff1d7a7b17f68a42723fbda9bf483 |
23-Feb-2011 |
Romain Guy <romainguy@google.com> |
Don't swap bottom left and bottom right corner radii. Change-Id: If57b6627f67998edc384de15e3d970f8edf18211
raphics/BitmapFactory.java
raphics/drawable/GradientDrawable.java
|
f7f9d9c39df22ad6929f001f07588469f77e8bf5 |
17-Feb-2011 |
Jesse Wilson <jessewilson@google.com> |
Expose an API to get a bitmap's size in bytes. Change-Id: I960c3b02b1ba8d3a8d92aaa98955a159e6f3a228 http://b/3184897
raphics/Bitmap.java
|
8a9f9d880da83877206d0a52d03c784e936d3814 |
16-Feb-2011 |
Brian Muramatsu <btmura@google.com> |
Fix Paint#breakText(char[]..) JavaDoc The JavaDoc says that if the "...count is negative then the characters before index are measured in reverse order. This allows for measuring the end of string." However, the native code doesn't work its way backwards from the given index when the count is negative. It always passes Skia the substring starting from index and the absolute value of count. Its better to fix the JavaDoc rather than the behavior, since this API is public and has been this way for some time. It is also used by TextUtils.ellipsize indirectly, so its best to avoid breaking that sensitive code. Change-Id: I8bd51def6ec98251e355370710eb44f58fb737c4
raphics/Paint.java
|
676b17391fb6583e5df944c36b1bd4c1be835689 |
14-Feb-2011 |
Romain Guy <romainguy@google.com> |
Deprecate ARGB_4444. It looks awful. Don't use it. Use ARGB_8888, it's much better. If you think you need ARGB_4444, you are wrong. You are. Change-Id: I4d6963cf98b6a8fb34cebcd0d24b9fd66b5a0fbf
raphics/Bitmap.java
|
272fc4547b459190310fca3a0c9eb7c02e0b7301 |
11-Feb-2011 |
Robert Ly <robertly@google.com> |
am affeaaed: am bbdc4ce2: Merge "clean up and add javadocs" into honeycomb * commit 'affeaaed8ef0776455fbecbf70627df3dd842030': clean up and add javadocs
|
11518acc8c416023d8c2192b441a1767205676d9 |
09-Feb-2011 |
Robert Ly <robertly@google.com> |
clean up and add javadocs Change-Id: I7f628106247de887cd91c4a4b4b55d3ebfa700c8
enderscript/Allocation.java
enderscript/Byte2.java
enderscript/Byte3.java
enderscript/Byte4.java
enderscript/Element.java
enderscript/FieldPacker.java
enderscript/FileA3D.java
enderscript/Float2.java
enderscript/Float3.java
enderscript/Float4.java
enderscript/Font.java
enderscript/Int2.java
enderscript/Int3.java
enderscript/Int4.java
enderscript/Long2.java
enderscript/Long3.java
enderscript/Long4.java
enderscript/Matrix2f.java
enderscript/Matrix3f.java
enderscript/Matrix4f.java
enderscript/Mesh.java
enderscript/ProgramFragment.java
enderscript/ProgramFragmentFixedFunction.java
enderscript/ProgramRaster.java
enderscript/ProgramStore.java
enderscript/ProgramVertex.java
enderscript/RSSurfaceView.java
enderscript/Sampler.java
enderscript/Short2.java
enderscript/Short3.java
enderscript/Short4.java
enderscript/Type.java
enderscript/package.html
|
366a84056c9a695ee6702d9d30bf9f3b521ba7cc |
08-Feb-2011 |
Romain Guy <romainguy@google.com> |
Expose several useful Bitmap APIs. Bug #3408073 Bitmap.setHasAlpha() in particular is very useful for applications that use ARGB_8888 bitmaps but want/need to benefit from an extra speed boost. Change-Id: I73d081b7e43bd725baffd1a9892c72d8729816f7
raphics/Bitmap.java
|
7fb597df52c7c6569a1c9ebacfb7629cf3dc6dc1 |
04-Feb-2011 |
Keiji Ariyama <keiji_ariyama@c-lis.co.jp> |
Fixing the wrong link in YuvImage JavaDoc. Change-Id: Ie6334e16424e59b75274ef265f10d26ba484316a
raphics/YuvImage.java
|
2fc941e4650d618ff6e122f28b616d9032ffa134 |
04-Feb-2011 |
Romain Guy <romainguy@google.com> |
Fixes cache misses and extra allocations. Bug #3421454 Change-Id: If4d5c960a7e4c581a9d213073e658284b4e1c497
raphics/Canvas.java
|
feeea8f07c854e6b0ae2fec3aa2d239c17f32b5b |
01-Feb-2011 |
Romain Guy <romainguy@google.com> |
Assume ARGB_8888 for unknown configs. Bug #3327175 Change-Id: If712a255ec65014cd2e007de1e4c6a1d67c19250
raphics/Bitmap.java
|
f6a362a5f65c1470399d869f0c39caac40e561a3 |
01-Feb-2011 |
Romain Guy <romainguy@google.com> |
Don't convert 4444 images to 565. Bug #3327175 Change-Id: I46d970e41947278f4c2476b347fd2403fe9a05e8
raphics/Bitmap.java
|
5f8b6653e0b5b99097db7d8f41d5251f7b398704 |
31-Jan-2011 |
Jamie Gennis <jgennis@google.com> |
Add SurfaceTexture docs for getTransformMatrix. Change-Id: Ib08d00525c7932b23ba5066c07c7470f813b74f8
raphics/SurfaceTexture.java
|
e1df07fc5a88da0242a6ade054423ec464c5318f |
28-Jan-2011 |
Gilles Debunne <debunne@google.com> |
Merge "Fix for an IOOBoundsException in Paint." into honeycomb
|
3c0f91b0e1312287a271ba890d52cdb8bb75e52d |
28-Jan-2011 |
Jamie Gennis <jgennis@google.com> |
Merge "Add docs about threading to SurfaceTexture." into honeycomb
|
1feba8bb02d26225f6ab013d50889a4d2e0c56f3 |
28-Jan-2011 |
Gilles Debunne <debunne@google.com> |
Fix for an IOOBoundsException in Paint. Bug 3331706 The temporary buffer starts at index 0 and shifts indexes by contextStart. offset has to be changed accordingly. Note that I didn't try to reproduce the monkey bug after this fix, but it seems like a perfect explanation for the exception. Change-Id: Ie69adc413670caed283bc46effc69f17a102922c
raphics/Paint.java
|
37cec0fc50760fe89614863eded14011f9412534 |
28-Jan-2011 |
Jamie Gennis <jgennis@google.com> |
Add docs about threading to SurfaceTexture. This is a docs-only change. Bug: 3362397 Change-Id: I5fad19a8ae112af73b1e235cf3d54bd2179d165a
raphics/SurfaceTexture.java
|
f4f05b8f24183b9e0d6959fe8b71fb88543edd9b |
07-Jan-2011 |
Scott Main <smain@google.com> |
Update package descriptions with editorial revisions. Notably, this removes exessive info about resources from the content package, because it's not a good location and the info is avilable in the dev guide, but also added some of the info to the Resources class description. Change-Id: Ie78af26c9cec66314deb98e53078f48e16c08e70
raphics/drawable/package.html
|
2b1847ea60650a9f68372abe860415f18b55081d |
26-Jan-2011 |
Romain Guy <romainguy@google.com> |
Remove unused API Change-Id: I1714fd82a64b752f0350ef4ef9179ce19e089c6a
raphics/Canvas.java
|
a566b7c3aada08d37cf08096c972e3e641bed773 |
24-Jan-2011 |
Romain Guy <romainguy@google.com> |
Fix bitmap meshes to work in display lists. Change-Id: Ie226d049840942d9ad9cf58e0c19132f49d62a75
raphics/Canvas.java
|
8418474dab412596c44c71497c0f4a3c39de597e |
21-Jan-2011 |
Jason Sams <rjsams@android.com> |
Merge "fix bug 3375251 Copying arrays of objects would generate an exception due to excessive internal type checking." into honeycomb
|
ed5bab93c6851dc4143d6e0d23ebf288e026936b |
21-Jan-2011 |
Jason Sams <rjsams@android.com> |
fix bug 3375251 Copying arrays of objects would generate an exception due to excessive internal type checking. Change-Id: Ic89c24962408f1a95dc0385b74618a70d6ff5859
enderscript/Allocation.java
|
a383b3f646cbc1fd870f2694d4fac24340834916 |
21-Jan-2011 |
Patrick Dubroy <dubroy@google.com> |
Update Bitmap.recycle() doc for heap-allocated pixel data
raphics/Bitmap.java
|
99d49118b857df4051a864b35254e275bc8a68b6 |
21-Jan-2011 |
Romain Guy <romainguy@google.com> |
Merge "Add support for drawBitmapMesh()." into honeycomb
|
5a7b466a2b4b7ced739bd5c31e022de61650545a |
21-Jan-2011 |
Romain Guy <romainguy@google.com> |
Add support for drawBitmapMesh(). Change-Id: Ic77f9c534bb90dc7b9458299544bd50b8b6ae6a5
raphics/Canvas.java
|
e9f5c1894bb3fd0d86b769329037790a474f14c1 |
21-Jan-2011 |
Stephen Hines <srhines@google.com> |
Properly use Long2 for "UInt2" for FieldPacker. We were misusing this API, since it requires the additional precision of the next size up on unsigned versions of types. Change-Id: Ic3c87f681ac6705ae0b36a3464ce0d63737945fd
enderscript/FieldPacker.java
|
1368436e428e2af1241bf88cb0688f288f96da1c |
20-Jan-2011 |
Jason Sams <rjsams@android.com> |
Merge "Check and propogate errors from llvm." into honeycomb
|
9dd9d021896e350df983baf7174d980a43533e69 |
20-Jan-2011 |
Jason Sams <rjsams@android.com> |
Merge "Expose unchecked copyFrom variants." into honeycomb
|
fdc54a97ee588bbd6c981a5708050fd97f01baec |
20-Jan-2011 |
Jason Sams <rjsams@android.com> |
Check and propogate errors from llvm. Change-Id: Id99a724f746d1f64eabcdf67c12646cc32ff8f9d
enderscript/ScriptC.java
|
4fa3eed8e03348e2629abd539b3476a86b44135e |
20-Jan-2011 |
Jason Sams <rjsams@android.com> |
Expose unchecked copyFrom variants. Change-Id: I452d082bb4adbd578b6300bf5829dc59e91e517a
enderscript/Allocation.java
|
120856c50a56595c0954ae1bf6f05888386937b9 |
19-Jan-2011 |
Joe Onorato <joeo@google.com> |
Pass SkRegion::toString() through to java. Change-Id: I3814b491c689313c1f8da811a104d913175f6268
raphics/Region.java
|
d1ac98149737299513da1357e36f68cbb6d74425 |
19-Jan-2011 |
Jason Sams <rjsams@android.com> |
Fix race condition between GC thread and the teardown of RS. The RS context was going away while the objects were being deleted within the finializer. Add more debugging for playCoreCommands. Change-Id: I391f0b4db948f43f54017b47b062ab47d6a1ef64
enderscript/RenderScript.java
|
4b26247e8b45850afc78e414a7007266dbdc5d18 |
18-Jan-2011 |
Owen Lin <owenlin@google.com> |
Merge "Change to stream decoding mode if the file descriptor cannot support seek." into honeycomb
|
a9d0d47076ecf2d1739bb3534abc9deead8ebebd |
18-Jan-2011 |
Owen Lin <owenlin@google.com> |
Change to stream decoding mode if the file descriptor cannot support seek. bug: 3298498 Change-Id: Id7ae46bf8e885a417753edbd6648332052fee469
raphics/BitmapFactory.java
|
44593df6fa741c22bfc76d1608160f053b91bd05 |
18-Jan-2011 |
Alex Sakhartchouk <alexst@google.com> |
Merge "More docs" into honeycomb
|
3240339cfe25b95c04871bb78b09d666ad0e7010 |
18-Jan-2011 |
Jason Sams <rjsams@android.com> |
Merge "Add error checks to the copyFrom functions." into honeycomb
|
ec0d3353b16741c69681577eb43ccfea435eb4ba |
18-Jan-2011 |
Alex Sakhartchouk <alexst@google.com> |
More docs Change-Id: I3dfea7d83bf8525efda59cef6fafa854b5aa9fe3
enderscript/FileA3D.java
enderscript/Matrix2f.java
enderscript/Matrix3f.java
enderscript/Matrix4f.java
enderscript/Mesh.java
|
1689c3459b27657b6900429ae64ac5323c584ce3 |
17-Jan-2011 |
Romain Guy <romainguy@google.com> |
Merge "Add BitmapFactory.Options.inMutable to load mutable bitmaps." into honeycomb
|
2361098da3b9d9c3eeed410dc72ba62c0e9177cf |
17-Jan-2011 |
Romain Guy <romainguy@google.com> |
Add BitmapFactory.Options.inMutable to load mutable bitmaps. Change-Id: Iaa222127520f3aa55072d44af12ee3477908b876
raphics/Bitmap.java
raphics/BitmapFactory.java
|
cf18c4788af740773c9b2720a1c4ed5f45454b8e |
17-Jan-2011 |
Jamie Gennis <jgennis@google.com> |
Merge "Implement SurfaceTexture frame-available callback." into honeycomb
|
376590d668e22a918439877b55faf075427b13f3 |
13-Jan-2011 |
Jamie Gennis <jgennis@google.com> |
Implement SurfaceTexture frame-available callback. This change implements the onFrameAvailable callback for the SurfaceTexture java class. It includes the C++ SurfaceTexture code as well as the JNI and Java code to enable the callback. Change-Id: Ifd8b8e7ad46ee70cba6da1c2e96dab8045d1ea30
raphics/SurfaceTexture.java
|
b97b251c26b801b26f2630e3a2e3f93e4088f2c5 |
17-Jan-2011 |
Jason Sams <rjsams@android.com> |
Add error checks to the copyFrom functions. Change-Id: Iac064c52eb58b05a94fa1c432304c6216256555b
enderscript/Allocation.java
enderscript/Mesh.java
enderscript/ProgramFragmentFixedFunction.java
enderscript/ProgramVertexFixedFunction.java
|
21b4103e42cb0fa004cc4a978f49f63e7668ab0b |
17-Jan-2011 |
Jason Sams <rjsams@android.com> |
unhide functions used by reflected files for SDK. Change-Id: I7cfbfa94cb21207cc5c91e08a60a7184da3f583a
enderscript/Allocation.java
enderscript/Script.java
enderscript/ScriptC.java
|
dd4a1e3825f4f379ba36fd721f78de0101bb1833 |
15-Jan-2011 |
Dianne Hackborn <hackbod@android.com> |
am 7d234fab: Merge "Don\'t drop the drawable cache completely on configuration change" * commit '7d234fabe61cd5f034fe4ff4484209fbf5130c4d': Don't drop the drawable cache completely on configuration change
|
0b08c5cb14e848f41eb33093c3e8198ab416e0ab |
15-Jan-2011 |
Dianne Hackborn <hackbod@google.com> |
Merge "Don't drop the drawable cache completely on configuration change" into honeycomb
|
6efd2bad954e0e5bd74916a32f036a0f149dcd4d |
13-Jan-2011 |
Christopher Lais <chris+android@zenthought.org> |
Don't drop the drawable cache completely on configuration change There was a lot of fancy code just above the clear to ensure that drawables that aren't affected by the change are kept, then the entire array was cleared. This patch removes the clear, so that the drawables that haven't changed are really kept, matching the logs, comments and larger part of the code. This patch also fixes the various constant states to return correct ChangingConfigurations. Change-Id: Ic11f6179537318d3de16dc58286989eb62a07f15 Old-Change-Id: I22495e6ed232dfe056207ce5155405af1fa82428
raphics/drawable/AnimatedRotateDrawable.java
raphics/drawable/BitmapDrawable.java
raphics/drawable/ClipDrawable.java
raphics/drawable/ColorDrawable.java
raphics/drawable/DrawableContainer.java
raphics/drawable/GradientDrawable.java
raphics/drawable/InsetDrawable.java
raphics/drawable/LayerDrawable.java
raphics/drawable/NinePatchDrawable.java
raphics/drawable/RotateDrawable.java
raphics/drawable/ScaleDrawable.java
raphics/drawable/ShapeDrawable.java
|
0473ff1ef653434a1a0f3c07be00f7ebcbb472ad |
14-Jan-2011 |
Alex Sakhartchouk <alexst@google.com> |
Removing things that shouldn't be public Change-Id: I23ea748f7f4ba27307807d7e1d56e49b7c10a827
enderscript/Program.java
|
8d71769b9bc3d0e72b26217d9059ce4473a91fe5 |
13-Jan-2011 |
Christopher Lais <chris+android@zenthought.org> |
Don't drop the drawable cache completely on configuration change There was a lot of fancy code just above the clear to ensure that drawables that aren't affected by the change are kept, then the entire array was cleared. This patch removes the clear, so that the drawables that haven't changed are really kept, matching the logs, comments and larger part of the code. This patch also fixes the various constant states to return correct ChangingConfigurations. Change-Id: Ic11f6179537318d3de16dc58286989eb62a07f15 Old-Change-Id: I22495e6ed232dfe056207ce5155405af1fa82428
raphics/drawable/AnimatedRotateDrawable.java
raphics/drawable/BitmapDrawable.java
raphics/drawable/ClipDrawable.java
raphics/drawable/ColorDrawable.java
raphics/drawable/DrawableContainer.java
raphics/drawable/GradientDrawable.java
raphics/drawable/InsetDrawable.java
raphics/drawable/LayerDrawable.java
raphics/drawable/NinePatchDrawable.java
raphics/drawable/RotateDrawable.java
raphics/drawable/ScaleDrawable.java
raphics/drawable/ShapeDrawable.java
|
f5c876e82d7cc647ba94d29eb914e64b7977c303 |
13-Jan-2011 |
Alex Sakhartchouk <alexst@google.com> |
Docs plus removing some junk per API review. Change-Id: I45f995b656754550be68c78e467071d6e59b348f
enderscript/Allocation.java
enderscript/FileA3D.java
enderscript/Mesh.java
enderscript/ProgramFragment.java
enderscript/ProgramFragmentFixedFunction.java
enderscript/ProgramStore.java
enderscript/ProgramVertex.java
enderscript/ProgramVertexFixedFunction.java
enderscript/Sampler.java
|
62cd5c9788abbd5b715ec2a6eaf64dd3945fdbaf |
13-Jan-2011 |
Wei-Ta Chen <weita@google.com> |
am 61d9ffbf: Merge "Do not merge." into gingerbread * commit '61d9ffbfd86dfe6bacce431b8ed9eebe1cfd8178': Do not merge.
|
9aba2324ac8d7216732b42346bfcaf0be71eb22e |
13-Jan-2011 |
Jamie Gennis <jgennis@google.com> |
Merge "Add getTransformMatrix to the SurfaceTexture API." into honeycomb
|
623c54dd1605d802bb6bfdd0d266a191d4f2d88c |
13-Jan-2011 |
Alex Sakhartchouk <alexst@google.com> |
Documentation Change-Id: Idb5f87f9d2c0f7fb4677b1b45c232502d66b4668
enderscript/Allocation.java
enderscript/ProgramStore.java
|
208a1c68ee21930112a3704bf8c46a9f27d8d04d |
13-Jan-2011 |
Jason Sams <rjsams@android.com> |
Merge "Implement more of copy2DRange*" into honeycomb
|
fb9f82ca4f11cf7e43a001f3e6fd1b381cc86210 |
12-Jan-2011 |
Jason Sams <rjsams@android.com> |
Implement more of copy2DRange* Change-Id: Id6be481c4abc968df27e5bba1ed044262ec0f293
enderscript/Allocation.java
|
b11e3d2b0edb03a5e3ea535d58b0cbe2d920ed16 |
12-Jan-2011 |
Stephen Hines <srhines@google.com> |
Unhide more of the RS APIs. Change-Id: I7ec5de42680a4184d3a1380ea7c35b6ba3cf13bf
enderscript/AllocationAdapter.java
enderscript/FileA3D.java
enderscript/Font.java
enderscript/Long2.java
enderscript/Long3.java
enderscript/Long4.java
enderscript/Mesh.java
enderscript/RSDriverException.java
enderscript/RSIllegalArgumentException.java
enderscript/RSInvalidStateException.java
enderscript/RSRuntimeException.java
enderscript/RSSurfaceView.java
|
8f597fdfacd1b9cda6dfebf4f3a1c34d1ffb5b2f |
12-Jan-2011 |
Jason Sams <rjsams@android.com> |
Merge "Cleanup bitmap uploads Implement standalone mipmap generation." into honeycomb
|
f7086090cfc8d97b5bd3b4d7801a27af11f7c207 |
12-Jan-2011 |
Jason Sams <rjsams@android.com> |
Cleanup bitmap uploads Implement standalone mipmap generation. Change-Id: Ie3a9781bbe50e2f58adca6f184d84fea50e40263
enderscript/Allocation.java
enderscript/RenderScript.java
|
cf894c91a9b6c7749c9bb325c9e54336b97df900 |
12-Jan-2011 |
Romain Guy <romainguy@google.com> |
Merge "Fix CTS test. Bug #3345445" into honeycomb
|
9454fe1080458812db76599dd02a8b91a2e1e8f4 |
12-Jan-2011 |
Romain Guy <romainguy@google.com> |
Fix CTS test. Bug #3345445 Change-Id: I3e9fa6002d173e6c9182ee5798420829e4bd2e30
raphics/Shader.java
|
27d116085ebbb112ec1fd959763a027ec08f7179 |
12-Jan-2011 |
Alex Sakhartchouk <alexst@google.com> |
Merge "Adding ability to load cubemaps from individual faces." into honeycomb
|
b0ba48c95ea8768a051100c5adb4c906caa1e080 |
10-Jan-2011 |
Jamie Gennis <jgennis@google.com> |
Add getTransformMatrix to the SurfaceTexture API. Change-Id: Icd11ed4982220be9d08b00498aef02531610ce1f
raphics/SurfaceTexture.java
|
4b9adfbe7d0cf578b82eb7794c506ad1986854b9 |
12-Jan-2011 |
Wei-Ta Chen <weita@google.com> |
Merge "Correct the API comments." into honeycomb
|
96d3b5e38301f5d4eff01de8730b6021eb167af9 |
12-Jan-2011 |
Wei-Ta Chen <weita@google.com> |
Correct the API comments. BitmapRegionDecoder supports PNG as well. Change-Id: I5f1b95c20c3ae87738f9814cfc16d6a4c5af2bf5
raphics/BitmapRegionDecoder.java
|
25bce3a673afef6a7858270afae4395b4ab53de3 |
24-Dec-2010 |
Wei-Ta Chen <weita@google.com> |
Do not merge. Backport changes related to BitmapRegionDecoder from HoneyComb to Gingerbread. Bug: 3309014 //////////////////////////////////////////////////// This is a combination of 7 commits. Revert "Do not merge." This reverts commit f7681f84918c27f6a626681ce37ed2a236c44e82. Change-Id: I46fd710600b1649773eaea2d9abc2b21a592f9a6 Fix a initialization bug in BitmapRegionDecoder. Change-Id: I6c1151fd34970a84d4de52d664d9a5dc464892c5 Fix segfault when tring to throw IOException. Change-Id: I530cc4409ba4ca17cec933afad077c5f60ba554f Fix 3122139, where previewing an attachment for the second time will fail. Use AutoFDSeek to mark and restore the position before we read data from the descriptor. Change-Id: I3d4f012dce486e19b113bc90a98b94031cfa8195 Add inPreferQualityOverSpeed into BitmapFactory.Options. The new field allows a developer to use a more accurate by slightly slower IDCT method in JPEG decode. This in turns improves the quality of the reconstructed image. The field by default is not set and thus does not affect existing applications. Bug: 3238925 Change-Id: I93d55b7226e47a43e639325cd1a677694d6f2ee4 Unhide inPreferQualityOverSpeed in BitmapFactory.Options. The new field allows a developer to use a more accurate by slightly slower IDCT method in JPEG decode. This in turns improves the quality of the reconstructed image. The field by default is not set and thus does not affect existing applications. Bug: 3238925 Related changes: https://android-git.corp.google.com/g/#change,83291 and https://android-git.corp.google.com/g/#change,83294 Change-Id: I969f5c413f9b2179454aeb90e18ae8222ee583b4 Correct the API comments. BitmapRegionDecoder supports PNG as well.
raphics/BitmapFactory.java
raphics/BitmapRegionDecoder.java
|
252c07802f7039f15f723751162e64a6621e6998 |
12-Jan-2011 |
Jason Sams <rjsams@android.com> |
Add error checks to bitmap uploads. Fix java side calculation for pixel sizes. Change-Id: I2636db2ccdc9a330214fe9d8b26617b33e52ec8e
enderscript/Allocation.java
enderscript/Element.java
|
dcc231955d81c66309ce97cca05a25f79ee7d5ea |
11-Jan-2011 |
Alex Sakhartchouk <alexst@google.com> |
Adding ability to load cubemaps from individual faces. Change-Id: Ic8b6693f625c181e031d4393ba8fac40049da88b
enderscript/Allocation.java
|
3b703f2d11f20efaa953ad31d6c97fe3561efb03 |
11-Jan-2011 |
Romain Guy <romainguy@google.com> |
Hide Canvas.getGL() Change-Id: I6d81cf9f43ce0c990fe30b3b3159c95ac738ae79
raphics/Canvas.java
|
fe852e216fdfab20e7b3d3e55247f70634d267b9 |
11-Jan-2011 |
Alex Sakhartchouk <alexst@google.com> |
Updating cubemap loading code. Change-Id: I93bb00e5fd1ccc622d17eba70a510664c2093723
enderscript/Allocation.java
|
67e3d206ca80dd97309ca63169503088cb509bde |
09-Jan-2011 |
Jason Sams <rjsams@android.com> |
Hide and delete some code that should not be public. Change-Id: Ibe201c235fc81ef1fecb120d6049d6e56222462c
enderscript/Script.java
enderscript/ScriptC.java
|
6c191768f112d17f926e9b3bf5ed581af7273cb8 |
09-Jan-2011 |
Alex Sakhartchouk <alexst@google.com> |
Merge "Adding comments to the renderscript program classes." into honeycomb
|
df27202debdc2573b7882405010fba31ee4d46e6 |
09-Jan-2011 |
Alex Sakhartchouk <alexst@google.com> |
Adding comments to the renderscript program classes. Change-Id: I989575951df1218c1e753dfa12193d560266bf11
enderscript/Mesh.java
enderscript/Program.java
enderscript/ProgramFragment.java
enderscript/ProgramFragmentFixedFunction.java
enderscript/ProgramVertex.java
enderscript/ProgramVertexFixedFunction.java
|
fa445b9353972735d8d65e8a936786b1afe9886d |
08-Jan-2011 |
Jason Sams <rjsams@android.com> |
Cleanup subdata apis Change-Id: I70d0d5e4ca2b42f3a9cbf854fe47917cee8f46df
enderscript/Allocation.java
enderscript/RenderScript.java
|
b0253ea6969bdd27bf574e0da7fa91aa6d09f44f |
07-Jan-2011 |
Alex Sakhartchouk <alexst@google.com> |
Additional loading methods for fonts and a3d files. Cleaned up error messages. Change-Id: Id33b7149671df23c37cc11375d844a7837dac750 Change-Id: I6663ce54f7b9bbaf285935ca658d93ba417f8179
enderscript/FileA3D.java
enderscript/Font.java
enderscript/RenderScript.java
|
6714efc5e0c52953b65e774de0003e22377e7d39 |
20-Dec-2010 |
Jamie Gennis <jgennis@google.com> |
Add the SurfaceTexture java class. This class exposes to Java the application-side interface to the SurfaceTexture C++ class. Change-Id: I0dba42aad90257c7adbde6fa362658c0717b70d0
raphics/SurfaceTexture.java
|
70588bf864f961974c93aace7586d3e2773a54a8 |
05-Jan-2011 |
Brad Fitzpatrick <bradfitz@android.com> |
resolved conflicts for merge of 3a2c6bf0 to master Change-Id: I1963d8fc391bb84de1054f2b20ce4e082d764cbe
|
3a2c6bf0fcae9421cccf113ff972df7aaeb6d3e9 |
05-Jan-2011 |
Brad Fitzpatrick <bradfitz@android.com> |
am 69ea4e15: Documentation fixes found over vacation hacking. * commit '69ea4e15e52c456537575d21443ac1efdb03a902': Documentation fixes found over vacation hacking.
|
69ea4e15e52c456537575d21443ac1efdb03a902 |
05-Jan-2011 |
Brad Fitzpatrick <bradfitz@android.com> |
Documentation fixes found over vacation hacking. Change-Id: I28900026465d66d950cf4f05f0c202b46c3c2d43
raphics/drawable/Drawable.java
|
cfc2330c4eb42c8e71d00d1a13e84089adcbd595 |
05-Jan-2011 |
Jason Sams <rjsams@android.com> |
fix build Change-Id: I4991e3e11b2f44328ee272dcb498c6b9fd90c5ee
enderscript/Type.java
|
334108b56c60ecb0aec25b63708aa2f9668e2926 |
05-Jan-2011 |
Jason Sams <rjsams@android.com> |
Random cleanup Change-Id: Ife6f19d51e8229b6cf1ca8689df7baba2fcb4dc9
enderscript/Dimension.java
enderscript/RenderScriptGL.java
|
a23d4e792cb13090c540edfdd5cee03799bb9d48 |
05-Jan-2011 |
Jason Sams <rjsams@android.com> |
unhide renderscript Change-Id: I44dd19aec0a994316da22ea8bea01b9962f54680 api update Change-Id: I77f5365b8b7a919cd572ceb65a9ab3871b9495d0
enderscript/Allocation.java
enderscript/BaseObj.java
enderscript/Byte2.java
enderscript/Byte3.java
enderscript/Byte4.java
enderscript/Element.java
enderscript/FieldPacker.java
enderscript/Float2.java
enderscript/Float3.java
enderscript/Float4.java
enderscript/Int2.java
enderscript/Int3.java
enderscript/Int4.java
enderscript/Matrix2f.java
enderscript/Matrix3f.java
enderscript/Matrix4f.java
enderscript/Program.java
enderscript/ProgramFragment.java
enderscript/ProgramFragmentFixedFunction.java
enderscript/ProgramRaster.java
enderscript/ProgramStore.java
enderscript/ProgramVertex.java
enderscript/ProgramVertexFixedFunction.java
enderscript/RenderScript.java
enderscript/RenderScriptGL.java
enderscript/Sampler.java
enderscript/Script.java
enderscript/ScriptC.java
enderscript/Short2.java
enderscript/Short3.java
enderscript/Short4.java
enderscript/Type.java
|
6b1f6e6ac1d8c8cff778ee161f430e077a82082e |
05-Jan-2011 |
Romain Guy <romainguy@google.com> |
Merge "Keep a reference to the local matrix. Bug #3299324"
|
a9ebfa6bcce62d7fee69693fe3dee6027afd3f0e |
05-Jan-2011 |
Romain Guy <romainguy@google.com> |
Keep a reference to the local matrix. Bug #3299324 This is needed for ADT, which does not rely on Skia's reference counting to correctly keep track of the native objects. Change-Id: Ia2fc5c1ec2b80bad226bc549fefc6bb064784609
raphics/Shader.java
|
b341df446ba852d6c092da7f76dc5b8d685047e7 |
04-Jan-2011 |
Michael Jurka <mikejurka@google.com> |
Merge "Fixed bug with reverseTransition"
|
69011ff5e1e306d7f3e635be1b3681b622c51d67 |
30-Dec-2010 |
Jason Sams <rjsams@android.com> |
Merge "Move adapter2D to a derived class from Allocation."
|
49a05d7b82956009f03acbb92a064eed054eb031 |
29-Dec-2010 |
Jason Sams <rjsams@android.com> |
Move adapter2D to a derived class from Allocation. Change-Id: I7e9d8b0028ba95956476f253da38dbe64564d0da
enderscript/Allocation.java
enderscript/AllocationAdapter.java
enderscript/RenderScript.java
enderscript/Type.java
|
b3b89f63af148031817c046ba8023b76241c1e7c |
29-Dec-2010 |
Alex Sakhartchouk <alexst@google.com> |
Fixing a bug in the load function. Change-Id: Ie5e72836dec7f77d42c8cb9afb8c3d5591ff35a7
enderscript/Matrix2f.java
enderscript/Matrix3f.java
enderscript/Matrix4f.java
|
b4d7bb6872f523b4318144202e119766ed9054ed |
21-Dec-2010 |
Alex Sakhartchouk <alexst@google.com> |
API cleanup for renderscript. This will be a multiproject commit. Change-Id: Ida62d3a155285a20725be9daa62217faef1c3734
enderscript/FieldPacker.java
enderscript/Matrix2f.java
enderscript/Matrix3f.java
enderscript/Matrix4f.java
enderscript/Mesh.java
enderscript/Primitive.java
enderscript/Program.java
enderscript/ProgramFragment.java
enderscript/ProgramFragmentFixedFunction.java
enderscript/ProgramRaster.java
enderscript/ProgramStore.java
enderscript/ProgramVertex.java
enderscript/ProgramVertexFixedFunction.java
enderscript/RenderScript.java
enderscript/Sampler.java
|
65e293273a2bd1598af46e3a070733bfc5688ac3 |
21-Dec-2010 |
Michael Jurka <mikejurka@google.com> |
Fixed bug with reverseTransition - calling this multiple times very quickly left the transition showing the wrong drawable
raphics/drawable/TransitionDrawable.java
|
96abab264e4d96071dc169b4828e950c1ae59681 |
21-Dec-2010 |
Patrick Dubroy <dubroy@google.com> |
Merge "Ensure bitmaps aren't freed while referenced from a display list"
|
f890fab5a6715548e520a6f010a3bfe7607ce56e |
20-Dec-2010 |
Patrick Dubroy <dubroy@google.com> |
Ensure bitmaps aren't freed while referenced from a display list Also removes the reference queue finalizers. They aren't necessary anymore now that Bitmaps are allocated in the heap.
raphics/BitmapShader.java
|
e688213f6f2b2e10eb7a5c70b43fe0c3ad45db81 |
20-Dec-2010 |
Jason Sams <rjsams@android.com> |
Merge "Clean up Allocation buffer object api."
|
d19524047fa2d12ecd45ebcf69543836e1b45579 |
20-Dec-2010 |
Jason Sams <rjsams@android.com> |
Clean up Allocation buffer object api. Change-Id: Id3e2391a93a99f4c414a805ee33cfd113242a7e6
enderscript/Allocation.java
enderscript/Mesh.java
|
eeca435dc6134a285b9bbb832cd6a1a88f34e85f |
20-Dec-2010 |
Shih-wei Liao <sliao@google.com> |
Stale cache management to address a P1 bug # 3296131. Change-Id: I593f35a91c4a14c055828f8989fe01b9e7790039
enderscript/RenderScript.java
enderscript/ScriptC.java
|
2118b25ad422e946d4d87e191c5710bfacd7503e |
18-Dec-2010 |
Carl Shapiro <cshapiro@google.com> |
Eliminate tracked allocations and the inNativeAlloc option. Change-Id: Ic10b2b41a26925d799e5d1e50be77fc480ec0f17
raphics/BitmapFactory.java
|
e27cdeeecba5b445e307d653d9cb7da007adfac3 |
17-Dec-2010 |
Alex Sakhartchouk <alexst@google.com> |
API reaview cleanup Change-Id: Ib1aaf81130ffa6b5e6c60096c27c969e8891db3f
enderscript/FieldPacker.java
enderscript/FileA3D.java
enderscript/Font.java
enderscript/Matrix2f.java
enderscript/Matrix3f.java
enderscript/Matrix4f.java
enderscript/RenderScript.java
|
27c1d4debb3848f5accd5673fffeeacad3e61648 |
16-Dec-2010 |
Chet Haase <chet@google.com> |
Fix minor animation and doc issues Change-Id: I0ea077d9434ac3e22e8600f22ca4a24a6a46965c
raphics/Paint.java
|
e5d3712d9eaef7ebbf142b508bd740414d930cb0 |
16-Dec-2010 |
Jason Sams <rjsams@android.com> |
Remove outdated texture upload functions. Change-Id: Ie3f9ba64a94425fa96b1924cb4b70dd36b71e294
enderscript/Allocation.java
|
0857196107d55bae312c12b72b115d25d5fee4f9 |
15-Dec-2010 |
Alex Sakhartchouk <alexst@google.com> |
Cleanup and refactoring of an earlier cl. Change-Id: I5e356ed88375a1620846e0c500659e3b7ead5030
enderscript/Sampler.java
|
6d8eb266dd398abf0511685fdaf98abba3396174 |
15-Dec-2010 |
Jason Sams <rjsams@android.com> |
Fix mipmap bug introduced with Allocation cleanup. Add syncAll to rsg headers. Change-Id: I02c953f3fddab3c6f4e98570cdad45a59711bbde
enderscript/Allocation.java
|
82d4a3ab858f0652c6fe76fc429e5f4f9c55fafe |
15-Dec-2010 |
Romain Guy <romainguy@google.com> |
Merge "Make Drawable.mCallback a WeakReference."
|
f2a47782f31b58d2d31bd00b50fe43604af8b9c2 |
15-Dec-2010 |
Romain Guy <romainguy@google.com> |
Make Drawable.mCallback a WeakReference. Many memory leaks occur because of long lived drawables. This should help. Change-Id: I2e9e8dee26579ec56e8e73f08f6b1d62be7812d9
raphics/drawable/AnimatedRotateDrawable.java
raphics/drawable/ClipDrawable.java
raphics/drawable/Drawable.java
raphics/drawable/DrawableContainer.java
raphics/drawable/InsetDrawable.java
raphics/drawable/LayerDrawable.java
raphics/drawable/RotateDrawable.java
raphics/drawable/ScaleDrawable.java
|
982b71bf4713d57b0fdb9acaaf9f9465a817aacb |
15-Dec-2010 |
Patrick Dubroy <dubroy@google.com> |
Merge "Allocate bitmap backing buffers in the Java heap."
|
e4ac2d6b5723c95e648c489b187ddde449452c13 |
01-Dec-2010 |
Patrick Dubroy <dubroy@google.com> |
Allocate bitmap backing buffers in the Java heap. Change-Id: I60f6ccff13357c1c518e9d56b02fe0171637edd1
raphics/Bitmap.java
raphics/Canvas.java
|
6b32fab1dbfd8bc1cc176557fe0a7b2ebd4966bd |
10-Dec-2010 |
Shih-wei Liao <sliao@google.com> |
1. Add Context to a RenderScript or RenderScriptGL instance. This is to allow RenderScript to better interact with the Android environment. E.g., per-app cache. 2. Plumbing, testing. 3. Added getApplicationContext in RenderScript.java. Change-Id: I85edeebe38825e20b2e86f4f4815689dfc332ef9
enderscript/RSSurfaceView.java
enderscript/RenderScript.java
enderscript/RenderScriptGL.java
enderscript/ScriptC.java
|
d4b23b54445b13dacaafad97d100999abb36ea6f |
14-Dec-2010 |
Jason Sams <rjsams@android.com> |
More API updates. Change-Id: I754dc645ac08fa25019eed8fd8b7b3c47f178ff2
enderscript/Allocation.java
enderscript/Mesh.java
enderscript/RenderScript.java
|
ad3ec1b9cb7885a7c5a18012764d63bdc0cdbb88 |
13-Dec-2010 |
Chet Haase <chet@google.com> |
Merge "Add ability to reuse bitmaps when decoding PNG content"
|
decc8cd41eca3770c8f5ee13d81b9cd5f0c25ccd |
11-Dec-2010 |
Chet Haase <chet@google.com> |
Add ability to reuse bitmaps when decoding PNG content Change-Id: Ic74b62c6280954ff80bcf64f3989a36c7c0b5615
raphics/BitmapFactory.java
|
4ef6650bd05a39a09958ea1db92f120ea4949cb1 |
11-Dec-2010 |
Jason Sams <rjsams@android.com> |
Remove CreateFromBitmapRef and add CopyTo(bitmap) replacement. Change-Id: Ib73fb9f4bfe5f468eaf0f8f1bf68a93759eef00d
enderscript/Allocation.java
enderscript/Element.java
enderscript/RenderScript.java
enderscript/RenderScriptGL.java
|
37f74cad46c6f1799aec3c52e8f47598237f43d4 |
09-Dec-2010 |
Chet Haase <chet@google.com> |
Add ability to reuse bitmaps when loading new content Change-Id: Ic5f5f40ee39787403977fb372b335dc21cf07243
raphics/BitmapFactory.java
|
5476b450e50939940dcf3f15c92335cee2fc572d |
09-Dec-2010 |
Jason Sams <rjsams@android.com> |
Allocation API update. Change-Id: I9b4a71f9e94c7d3978f06b7971051ab4f8472503
enderscript/Allocation.java
enderscript/BaseObj.java
enderscript/Mesh.java
enderscript/RenderScript.java
enderscript/Script.java
|
0e007d7ab9ae4f1be506f4976182609d80d75a5c |
07-Dec-2010 |
Wei-Ta Chen <weita@google.com> |
Unhide inPreferQualityOverSpeed in BitmapFactory.Options. The new field allows a developer to use a more accurate by slightly slower IDCT method in JPEG decode. This in turns improves the quality of the reconstructed image. The field by default is not set and thus does not affect existing applications. Bug: 3238925 Related changes: https://android-git.corp.google.com/g/#change,83291 and https://android-git.corp.google.com/g/#change,83294 Change-Id: I969f5c413f9b2179454aeb90e18ae8222ee583b4
raphics/BitmapFactory.java
|
bf6ef8d78fffbce6c1849a4a28fb3f4401ad039e |
07-Dec-2010 |
Jason Sams <rjsams@android.com> |
API review cleanup. Change-Id: Ieae7d450308b5637ed4253fe9baed3634c6ed141
enderscript/Allocation.java
enderscript/BaseObj.java
enderscript/Element.java
enderscript/Mesh.java
enderscript/Program.java
enderscript/ProgramFragment.java
enderscript/ProgramVertex.java
enderscript/RSSurfaceView.java
enderscript/RenderScript.java
enderscript/RenderScriptGL.java
enderscript/Sampler.java
enderscript/Type.java
|
953f9094a2ec14594fa8501d5f3e2d9e300b1b62 |
03-Dec-2010 |
Wei-Ta Chen <weita@google.com> |
Add inPreferQualityOverSpeed into BitmapFactory.Options. The new field allows a developer to use a more accurate by slightly slower IDCT method in JPEG decode. This in turns improves the quality of the reconstructed image. The field by default is not set and thus does not affect existing applications. Bug: 3238925 Change-Id: I93d55b7226e47a43e639325cd1a677694d6f2ee4
raphics/BitmapFactory.java
|
8c7a580b34d67fefd5f777c7bd6247b2d3960608 |
03-Dec-2010 |
Dianne Hackborn <hackbod@google.com> |
Some theme cleanup. - Add new dialog themes without a title bar. - Add new Theme.Holo.NoActionBar.DialogWhenLarge. - Remove old Extended and Theme.Light.Holo themes. - Reorder the public definitions to keep things nice. Also @hide the MipmapDrawable class. Change-Id: Ic69a56e9b28aacf441780633f37f0bc6a475d08a
raphics/drawable/Drawable.java
raphics/drawable/MipmapDrawable.java
|
0bb000931bb841e75903d655552d1626ae158707 |
03-Dec-2010 |
Gilles Debunne <debunne@google.com> |
Fix in vertical measurement in text lines with different text sizes The last span of the TextLine was defining the FontMetrics, instead of min/maxing the different values. Bug 3220698 Change-Id: I7394b1699a15aeee4cc38462d561faf329d3e1f6
raphics/Paint.java
|
2970c499388b4dcd1232cd622a9b80b395eeb2b4 |
09-Nov-2010 |
Chet Haase <chet@google.com> |
various fixes for animations and javadocs Issues around threading of animations and AnimatorSet bugs are fixed in this change. Unrelated fixes to javadocs in other framework classes are also part of the change. Change-Id: I35f7e03ffdec9143bc2eb155e8f9384798ad35b3
raphics/ComposeShader.java
|
add9d9633205f76cc34f04368b8482c2c369ba63 |
23-Nov-2010 |
Jason Sams <rjsams@android.com> |
More error checks Change-Id: Id2b9ab7a76bbdf2ed745f5e36e552dc9b101982f
enderscript/RenderScript.java
|
67f2e442a31b8395e3c1951f8e91139ec7f2be99 |
19-Nov-2010 |
Alex Sakhartchouk <alexst@google.com> |
Support for cubemaps. Change-Id: Iaf6087f614451a8e233b3e5bc49c834ab0ad08ee
enderscript/Allocation.java
enderscript/Program.java
enderscript/ProgramFragment.java
enderscript/ProgramVertex.java
enderscript/RenderScript.java
|
a914f340ae5b267dc3ab36c1156c795b8fa18f5d |
08-Nov-2010 |
Shih-wei Liao <sliao@google.com> |
Add caching support of BCC binaries. Change-Id: I1e75bb84d88319cb6f1bbe6d907cf6e8ed546142
enderscript/RenderScript.java
enderscript/ScriptC.java
|
e70b375c4b9d73d1165a21a421cfd73170cd06cc |
18-Nov-2010 |
Joe Onorato <joeo@google.com> |
Add an opacity attribute to LayerDrawable that lets you control the opacity directly instead of collecting the values from the children-- a task that is much harder to get right than we want to spend startup time on. Change-Id: Idf5b1d612472c6accfdc935c6a6fadb1eb239a73
raphics/drawable/LayerDrawable.java
|
68f0a32d103d3861103bce3763b222bde99c0a4c |
17-Nov-2010 |
Jason Sams <rjsams@android.com> |
Merge "Fix ref counting for globals when set from java code."
|
6f4cf0b8885403ead157ae00fd43cf1282331c23 |
17-Nov-2010 |
Jason Sams <rjsams@android.com> |
Fix ref counting for globals when set from java code. Change-Id: I415b6ddeaab277e60233e905a6bae357cd5193eb
enderscript/RenderScript.java
enderscript/Script.java
|
4bd1a3dbcad2ae424293e276434b45ebee97248d |
16-Nov-2010 |
Jeff Sharkey <jsharkey@android.com> |
Show Bitmap.Config value when unable to handle. Part of investigating http://b/3201172. Change-Id: I76a31c968b4c60beb079349a0722aa9a4ea5921c
enderscript/Allocation.java
|
6af97e1c20df4d7010fafd7059c95d9b4113e4a6 |
12-Nov-2010 |
Adam Powell <adamp@google.com> |
Revised assets for progress bars and indeterminate progress spinners. Add support in ActionBar for activity-wide progress APIs. Add ability for progress bars to set a target framerate rather than the 5fps previously used. Clean up some more dialog layouts using hardcoded styles rather than theme attributes. Change-Id: I8e88c7595e27c0b6f7829b598f2b084ac8501ae3
raphics/drawable/RotateDrawable.java
|
7194a7bacd67105ce8a19cbccb9a9fbd2b4874a7 |
13-Nov-2010 |
Jason Sams <rjsams@android.com> |
Merge "Document RS element and type and add validity checking to type creation."
|
a1b13ed0912a7e08f9848196b4ca64dcb5db9d0b |
12-Nov-2010 |
Jason Sams <rjsams@android.com> |
Document RS element and type and add validity checking to type creation. Change-Id: Ic96c0199e27785b3eabde2c6e95ed514915328e9
enderscript/Element.java
enderscript/Type.java
|
d99a7be36ebf5f145bbe7f73e50251f2b3cc5fcb |
12-Nov-2010 |
Jason Sams <rjsams@android.com> |
Merge "More documentation."
|
021aad952bee3ac9ee4a98c09f1a012359088dd2 |
10-Nov-2010 |
Adam Powell <adamp@google.com> |
First pass at styling progress bars for Holo. Added attribute to let scale drawables size based on the intrinsic width and height as a minimum. This helps prevent artifacts when some 9-patches are used in situations like progress bars. Change-Id: I168a232d3225afe9b5578a05a9b8634a1084404c
raphics/drawable/LayerDrawable.java
raphics/drawable/ScaleDrawable.java
|
449bb119c954e6beacdfc7074c4d4a8254a07a13 |
11-Nov-2010 |
Chet Haase <chet@google.com> |
Merge "Add invalidation to Drawable when its properties change"
|
9891e1fce5f29d0421d34aa481037417bd70853d |
11-Nov-2010 |
Chet Haase <chet@google.com> |
Add invalidation to Drawable when its properties change invalidateSelf() already exists on Drawable. This triggers a call to callback listeners so that they know the drawable has been invalidated. For example, the background drawable on View will cause the View itself to be invalidated. Change-Id: I45b231a7600dcf3bc139e4059b7c9940ff49f60c
raphics/drawable/BitmapDrawable.java
raphics/drawable/ColorDrawable.java
raphics/drawable/Drawable.java
raphics/drawable/GradientDrawable.java
raphics/drawable/NinePatchDrawable.java
raphics/drawable/PaintDrawable.java
raphics/drawable/ShapeDrawable.java
|
27676fe24be7444a174c15df476e49adc5335d03 |
11-Nov-2010 |
Jason Sams <rjsams@android.com> |
More documentation. Change-Id: I423ff081edd4dab9173bc13d05850bb39839b6d3
enderscript/BaseObj.java
enderscript/RenderScript.java
enderscript/RenderScriptGL.java
|
06d69de78845659e6904ae4964e606a7f1a6a4a8 |
10-Nov-2010 |
Jason Sams <rjsams@android.com> |
Continue error check improvements and write some docs. Change-Id: I345b08490da21d9ee715ff1ddc80c1a816b579f4
enderscript/Allocation.java
enderscript/BaseObj.java
enderscript/Element.java
enderscript/FileA3D.java
enderscript/Mesh.java
enderscript/Program.java
enderscript/ProgramFragment.java
enderscript/ProgramRaster.java
enderscript/ProgramStore.java
enderscript/ProgramVertex.java
enderscript/RenderScript.java
enderscript/Script.java
enderscript/ScriptC.java
enderscript/Type.java
|
1c41517124a90fcfdb95dc069fc492c6fcf1ff25 |
09-Nov-2010 |
Jason Sams <rjsams@android.com> |
Handle user message ID 0 Pass RS runtime errors back to java. throw exceptions for runtime errors. Change-Id: Ifcf16cbbf9b98137971dced5076f8a5563eb016c
enderscript/RenderScript.java
|
9d71e2180062931416092f26276a07e55b318f62 |
09-Nov-2010 |
Alex Sakhartchouk <alexst@google.com> |
Moving attrib creation to Mesh. Adding arrays as shader inputs. Removing fixed size arrays. Change-Id: I0213e403a2f1283dd43f21bea770aeb059561903
enderscript/Mesh.java
enderscript/RenderScript.java
|
afb9965fe883f86374c89baeea5ba7d6dcf2184c |
05-Nov-2010 |
Jason Sams <rjsams@android.com> |
Merge "More RS exceptions cleanup. Remove some dead code."
|
c1d6210fb5cc558ccea95a59a2b33bb9015fc7de |
04-Nov-2010 |
Jason Sams <rjsams@android.com> |
More RS exceptions cleanup. Remove some dead code. Change-Id: If97e3fdfe6de7bb28f22e1c5ee748c81cea3db93
enderscript/BaseObj.java
enderscript/Element.java
enderscript/Program.java
enderscript/RenderScript.java
enderscript/RenderScriptGL.java
enderscript/Type.java
|
8ad4b47920a88c6317c270514f0ce7b0b053d0a4 |
04-Nov-2010 |
Romain Guy <romainguy@google.com> |
Merge "Fix possible rendering issue when drawing a path."
|
1041aded2df45094c36831028245fb7c5e9b67b7 |
04-Nov-2010 |
Romain Guy <romainguy@google.com> |
Fix possible rendering issue when drawing a path. Change-Id: I25f2e609589f0dd9294bcf7930de6398c0d7e377
raphics/drawable/GradientDrawable.java
|
6b81399aa1aebfcd02a0dff142996d13b75eacb7 |
04-Nov-2010 |
Jason Sams <rjsams@android.com> |
Merge "Update ScriptC constructor to remove depricated param."
|
3ba02b3d2f6fb49677466a2e93c96f307d2a7a41 |
04-Nov-2010 |
Jason Sams <rjsams@android.com> |
Update ScriptC constructor to remove depricated param. Change-Id: Id36e325834526c6b5416fd78d5cf4259d7df97e9
enderscript/ScriptC.java
|
079e23575024e103358c982152afb7a720ae1a8a |
19-Oct-2010 |
Dianne Hackborn <hackbod@google.com> |
Add new fade in/out feature for drawable containers. This is used to allow list view's pressed and activated indicators to fade in an out, though of course it can be used elsewhere as well. There is a lot of complexity in supporting this in list view. The two main things that are being dealt with: - When recycling views, we need to make sure that the view's drawable state doesn't get animated from an old row's state. The recycler now keeps track of which position a view was last in, and if it is reused at a new position there is a new View/Drawable API to tell it to jump to its current state instead of animating. - For the pressed indicator to fade out, we need to keep displaying it after it is hidden. There are new variables and code to keep track of this state, and tweaks in various places to be able to remember the last selected position and continue updating the drawable bounds as needed. Change-Id: Ic96aa1a3c05e519665abf3098892ff2cc4f0ef2f
raphics/drawable/Drawable.java
raphics/drawable/DrawableContainer.java
raphics/drawable/StateListDrawable.java
|
d5f06300341df0990be3e0b7a26fa49b13c6fc19 |
03-Nov-2010 |
Jason Sams <rjsams@android.com> |
RS Error cleanup. Thow java exception during init if the GL driver fails rather than native crash. Change-Id: Ie96ef5a2ac12e64f9456545d86157c4c95179a8e
enderscript/RSDriverException.java
enderscript/RSIllegalArgumentException.java
enderscript/RSInvalidStateException.java
enderscript/RSRuntimeException.java
enderscript/RenderScriptGL.java
enderscript/Type.java
|
7d5411fd3f08326d88142bc8f83ad41405893471 |
02-Nov-2010 |
Jason Sams <rjsams@android.com> |
Merge "Fix race condition in resize that was created when GetType for allocation and Types became async."
|
d26297fa562d8bb203df1bb5e6ded7f62c56cdb7 |
02-Nov-2010 |
Jason Sams <rjsams@android.com> |
Fix race condition in resize that was created when GetType for allocation and Types became async. Change-Id: Ie7036f9481cececf9565d30b25be82480f176ff2
enderscript/Allocation.java
|
70d4ba15b1f0c1133c5aabc86de828b41e482fff |
06-Oct-2010 |
Chet Haase <chet@google.com> |
Performance optimizations for animations and toolkit Change-Id: I316a48273a9cbb428a965e4b849b3e5e9e8202f1
raphics/drawable/ColorDrawable.java
|
5585e36a413dcc70a4bdd04063ea31db2519ea8d |
29-Oct-2010 |
Jason Sams <rjsams@android.com> |
Balls test app. Change-Id: I842f43e37145f8112120e2bd49925f81c588c40c
enderscript/RenderScriptGL.java
enderscript/ScriptC.java
|
581cc64028e8b8f66cec8105bf530b16d5fb34eb |
27-Oct-2010 |
Alex Sakhartchouk <alexst@google.com> |
Adding nvidia extension for limited npot support. Updating a3d loading to be async. Change-Id: I4be71d2002b9ad6ab8896d63e625f031e6b7ea6c
enderscript/FileA3D.java
|
64eb351cff16db2aeaf2c279fbcce9c6a80d0047 |
27-Oct-2010 |
Jason Sams <rjsams@android.com> |
Merge "Begin adding async allocation creation."
|
31a7e42f4baa059352f0db119de38428e655eab2 |
26-Oct-2010 |
Jason Sams <rjsams@android.com> |
Begin adding async allocation creation. Change-Id: I5d1381699e2b334c1d824f357bd6b310a5f79be8 Implement async bitmap upload and clean up types. Change-Id: Icbe9894e04c1319351c1cd75b0e0017855198f20
enderscript/Allocation.java
enderscript/Script.java
|
ad93c2bb63dfc813b2eefa1043aa63afbddce655 |
23-Oct-2010 |
Chet Haase <chet@google.com> |
Optimizing ColorFilter in display lists Change-Id: Ie4d5e5b0bc45e0ce47bba144049303c270762e54
raphics/ColorMatrixColorFilter.java
raphics/LightingColorFilter.java
raphics/PorterDuffColorFilter.java
|
98bfe5d02a81c15fff52570178a2edd830701665 |
19-Oct-2010 |
Alex Sakhartchouk <alexst@google.com> |
Some cleanup Change-Id: Ie10746d2f77318d63101d919214e76f778159fa0
enderscript/FileA3D.java
|
3b9c52ab8c1ab240d2299358d01a8efbe392d111 |
15-Oct-2010 |
Jason Sams <rjsams@android.com> |
Async type creation. Change-Id: I4d98446fabbf7e8a98c97f85b573a58c8a0c58c2
enderscript/RenderScript.java
enderscript/Type.java
|
838c6a15783b3ca9adc1ab49b25043ee272f63de |
14-Oct-2010 |
Alex Sakhartchouk <alexst@google.com> |
Merge "Changing scenegraph sample to use arrays."
|
c9332fa3e9e9e0897482a9c26cf9d997e57376b7 |
13-Oct-2010 |
Bjorn Bringert <bringert@android.com> |
Delete unused WebView drag tracking code This also removes android.graphics.utils.BoundaryPatch which was only used by the Browser for the unused drag tracking (and by a demo app that I'm also removing). Change-Id: I48253ae005ab11cb4c70d132bc1ea4f2692e2bd2
raphics/utils/BoundaryPatch.java
|
0726fd9e835579019f6b23ab50d7b45401e11dbe |
14-Oct-2010 |
Jason Sams <rjsams@android.com> |
Merge "Begin hooking up SurfaceConfig."
|
11c8af9ded3a319635b4e91a639a616ec97fc7e3 |
14-Oct-2010 |
Jason Sams <rjsams@android.com> |
Begin hooking up SurfaceConfig. Change-Id: I328138f29affbed11fcfb5e9ed0872d4ba22d241
enderscript/RenderScript.java
enderscript/RenderScriptGL.java
|
9e401bcd88a0fdeea96f53cb776e5de7b5b084cb |
13-Oct-2010 |
Alex Sakhartchouk <alexst@google.com> |
Changing scenegraph sample to use arrays. Change-Id: Ifa454d503c1445efcad6e31243b65d75e62e3035
enderscript/Element.java
|
41030da16856c8869e1e51d4a0405432fa96614e |
13-Oct-2010 |
Romain Guy <romainguy@google.com> |
Add a getNativeMatrix() API. This API can be used by WebView to apply the appropriate transform on its rendering. Change-Id: I79aa39a29805f462fb08226370328815e74bdc52
raphics/Canvas.java
|
4bb942083a0d4db746adf95349108dd8ef842e32 |
13-Oct-2010 |
Romain Guy <romainguy@google.com> |
Optimize 9patch rendering. This change detects empty quads in 9patches and removes them from the mesh to avoid unnecessary blending. Change-Id: I4500566fb4cb6845d64dcb59b522c0be7a0ec704
raphics/NinePatch.java
|
9db91243c5ace4421091557b76a0b1cbd2312fec |
12-Oct-2010 |
Romain Guy <romainguy@google.com> |
Simplify black texture fragment shader. Change-Id: If2d43f92f4c98ec128692761a670b0f31207a3c0
raphics/drawable/NinePatchDrawable.java
|
52d836332f6aae74ed97fda1b53681f36710af64 |
12-Oct-2010 |
Stephen Hines <srhines@google.com> |
Support for unsigned long and unsigned long long. Change-Id: I2f9cfb7f352e2e7e7fd49eac42a821c03b5fcb9f
enderscript/Element.java
enderscript/RenderScript.java
|
26ae3904e8050eae655722caf93ee5d3f0ab195a |
11-Oct-2010 |
Alex Sakhartchouk <alexst@google.com> |
Update allocation from bitmap. GL attribute cleanup in type. Change-Id: I504dcf6744ad13d65e068e784b6608c999ab48c6
enderscript/Allocation.java
enderscript/RenderScript.java
|
031ec58cfc7a20927302a5300eba3f5fc1709b50 |
11-Oct-2010 |
Stephen Hines <srhines@google.com> |
Fix support for 64-bit integers. Change-Id: I4e2146a5fda41f280ee3f6f685a34f3cff28f05e
enderscript/RenderScript.java
enderscript/Script.java
|
2222aa90031604e9752ebc2909303a84139b8b18 |
11-Oct-2010 |
Jason Sams <rjsams@android.com> |
Cleanup error message for null binding address. Only print the debug if script debugging is enabled. Change-Id: I72b9c2a73d49987a73b354442e9defec02b93bc6 Implement inner utiliy class to specify surface formats. Remove boxed bitmap upload functions. Change-Id: I3ff5ca59e53d02b9d75277afa947ea3d218459eb
enderscript/Allocation.java
enderscript/RSSurfaceView.java
enderscript/RenderScript.java
enderscript/RenderScriptGL.java
|
38d509697c7d1f989509281cbd9cfaacf9a20ac3 |
07-Oct-2010 |
Alex Sakhartchouk <alexst@google.com> |
Merge "changing vec4 to vec2 for perf reasons."
|
d2091639be426574c04f74969fe553162d7a51c9 |
06-Oct-2010 |
Alex Sakhartchouk <alexst@google.com> |
changing vec4 to vec2 for perf reasons. Change-Id: Ic885a6dc697af4fd82e184158772863673f041bd
enderscript/ProgramFragment.java
enderscript/ProgramVertex.java
|
68159aabb3d116ec06671fef3900be6fab2de502 |
05-Oct-2010 |
Jason Sams <rjsams@android.com> |
Merge "Implement allocation resizing."
|
5edc608a0749ed4b7074b5c1243043eb722c3c31 |
05-Oct-2010 |
Jason Sams <rjsams@android.com> |
Implement allocation resizing. Change-Id: Ie38d42419d595cec730a8721cc1321c5edb6b4d6
enderscript/Allocation.java
enderscript/RenderScript.java
|
5e9f64ce24b3381ee48f9e12242aba5216f136a4 |
04-Oct-2010 |
Brad Fitzpatrick <bradfitz@android.com> |
am b12bfbd4: am eb6e22f2: Merge "Document Bitmap.createScaledBitmap" into gingerbread Merge commit 'b12bfbd4df985041ab0e584ef5a746328baac038' * commit 'b12bfbd4df985041ab0e584ef5a746328baac038': Document Bitmap.createScaledBitmap
|
95930e13faac8c17dabfaa1478089baa772f091b |
04-Oct-2010 |
Romain Guy <romainguy@google.com> |
Apply all Canvas transformations to ColorDrawable. Change-Id: I29252c58224b236d0770ec005da9842990ef2c06
raphics/drawable/ColorDrawable.java
|
b12bfbd4df985041ab0e584ef5a746328baac038 |
04-Oct-2010 |
Brad Fitzpatrick <bradfitz@android.com> |
am eb6e22f2: Merge "Document Bitmap.createScaledBitmap" into gingerbread Merge commit 'eb6e22f29ded58e7e51702c34878fd01e20ff802' into gingerbread-plus-aosp * commit 'eb6e22f29ded58e7e51702c34878fd01e20ff802': Document Bitmap.createScaledBitmap
|
02d9102b3bdebac6989c2b7d12c080fb7c1f8e2b |
04-Oct-2010 |
Brad Fitzpatrick <bradfitz@android.com> |
Document Bitmap.createScaledBitmap Change-Id: Ife6a42bc08d17c56274e78a1f5d2c100c2fe4dc8
raphics/Bitmap.java
|
2b282d312dfc359258934cb60e2c6bc833bb19a7 |
04-Oct-2010 |
Brad Fitzpatrick <bradfitz@android.com> |
am 3d019a37: am 83d52229: Doc fix: duplicate word \'of\' Merge commit '3d019a374fa41a11fb7b718770076e61235d1c45' * commit '3d019a374fa41a11fb7b718770076e61235d1c45': Doc fix: duplicate word 'of'
|
3d019a374fa41a11fb7b718770076e61235d1c45 |
04-Oct-2010 |
Brad Fitzpatrick <bradfitz@android.com> |
am 83d52229: Doc fix: duplicate word \'of\' Merge commit '83d522290e56f614d0d9373d47c2b54b9e207795' into gingerbread-plus-aosp * commit '83d522290e56f614d0d9373d47c2b54b9e207795': Doc fix: duplicate word 'of'
|
83d522290e56f614d0d9373d47c2b54b9e207795 |
04-Oct-2010 |
Brad Fitzpatrick <bradfitz@android.com> |
Doc fix: duplicate word 'of' Change-Id: I45a4ca443becc2f2cf02cbca2bd61ef2ee590b5c
raphics/Canvas.java
|
42ca268c6ac7f710a438436ae487579bf2403c2c |
02-Oct-2010 |
Stephen Hines <srhines@google.com> |
Merge "Support for 64-bit integer type."
|
ef1dac28d3bf98bd61cd9874fb3ccab42105e9b6 |
02-Oct-2010 |
Stephen Hines <srhines@google.com> |
Support for 64-bit integer type. b/3050131 exported renderscript structures don't appear to support int64_t Change-Id: I9aea676425b694a3a6457e63e38b00e591847e20
enderscript/Element.java
enderscript/RenderScript.java
|
eeac43ad3c9b41c1679f3ab36064fa611106faf2 |
01-Oct-2010 |
Wei-Ta Chen <weita@google.com> |
am f7681f84: Do not merge. Merge commit 'f7681f84918c27f6a626681ce37ed2a236c44e82' into gingerbread-plus-aosp * commit 'f7681f84918c27f6a626681ce37ed2a236c44e82': Do not merge.
|
f7681f84918c27f6a626681ce37ed2a236c44e82 |
01-Oct-2010 |
Wei-Ta Chen <weita@google.com> |
Do not merge. Fix 3052285 by not publishing the BitmapRegionDecoder API until the honeycomb release. Bug: 3052285 Change-Id: Ie339e414c1a5581e1d38684621e0e97162616977
raphics/BitmapRegionDecoder.java
|
be0488db81f6e156c25899cd1001e4d50a513df3 |
01-Oct-2010 |
Romain Guy <romainguy@google.com> |
Merge "Make simple paths made of lines work."
|
d79991277043d6bdbd90bb63fd8aff73ef9e06a5 |
01-Oct-2010 |
Romain Guy <romainguy@google.com> |
Make simple paths made of lines work. Bug #3041098 Change-Id: Ife9c3f01ded10e2bb35b1cdf1a54734d8347fee4
raphics/Path.java
|
02f41705199336f808ece50d81585450e7f8f61f |
01-Oct-2010 |
Stephen Hines <srhines@google.com> |
Finish plumbing for double RS elements. Change-Id: Ic708dcaeda4966bb2121ecb6834f56cfa68ad58e
enderscript/Element.java
enderscript/FieldPacker.java
enderscript/RenderScript.java
|
f5b3510c706ed1f7611760dff0c94f2111531c68 |
30-Sep-2010 |
Alex Sakhartchouk <alexst@google.com> |
Adding anisotropic filtering and related samples. Change-Id: Idb173274417feb5e25bfd64c5e9fa2492a23a17e
enderscript/RenderScript.java
enderscript/Sampler.java
|
ab98bb6e8b95bef7415c1ad239be71f93322fbad |
24-Sep-2010 |
Stephen Hines <srhines@google.com> |
Fix RS bug with message ID 0. Clamp RSTest list to nice viewable range. Change-Id: I0909511e16984ec78150cda17c22e22af1fa0cdb
enderscript/RenderScript.java
|
d45a33554ca6c18ed81e45320998b9e4f4680379 |
15-Sep-2010 |
Sonia Serafimova <sonia.serafimova@sonyericsson.com> |
Prevent unhandled exception in NinePatchDrawable Added null check in computeBitmapSize() to avoid unhandled exception "java.lang.NullPointerException" at android.graphics.Rect.<init>(Rect.java:72). This problem was discovered in the wild. Change-Id: I9d40629a052f1390e1811288af6209d8cc3f679b
raphics/drawable/NinePatchDrawable.java
|
81859bc3d4d18f558b903db1306e76d0db115cf6 |
26-Sep-2010 |
Jean-Baptiste Queru <jbq@google.com> |
am ca3f968c: am 7d9c73fb: Merge "Prevent unhandled exception in NinePatchDrawable" Merge commit 'ca3f968c6f0acbf94988d00bf21a82a2e8f49b86' * commit 'ca3f968c6f0acbf94988d00bf21a82a2e8f49b86': Prevent unhandled exception in NinePatchDrawable
|
ca3f968c6f0acbf94988d00bf21a82a2e8f49b86 |
26-Sep-2010 |
Jean-Baptiste Queru <jbq@google.com> |
am 7d9c73fb: Merge "Prevent unhandled exception in NinePatchDrawable" Merge commit '7d9c73fb6f6f79f7f92b77482a0edbd7b89f2564' into gingerbread-plus-aosp * commit '7d9c73fb6f6f79f7f92b77482a0edbd7b89f2564': Prevent unhandled exception in NinePatchDrawable
|
04b5dd4b04df45eea0b568ac8d7ad5c4903c5cf5 |
24-Sep-2010 |
Alex Sakhartchouk <alexst@google.com> |
Merge "Adding support for all allowed textures. Cleaning up unused code Adding error messages"
|
b89aaacb2ca9d062e0a17a32e3d4dbf3f6948a17 |
24-Sep-2010 |
Alex Sakhartchouk <alexst@google.com> |
Adding support for all allowed textures. Cleaning up unused code Adding error messages Change-Id: I3a92476738ff7699d49feeafcd3eee6f70621acb
enderscript/Program.java
enderscript/ProgramFragment.java
enderscript/ProgramVertex.java
enderscript/RenderScript.java
|
a23cdda0a5fad7798454ecb05a7855cb9211ea22 |
23-Sep-2010 |
Wei-Ta Chen <weita@google.com> |
am ac487f70: am 6b849e21: Unhide BitmapRegionDecoder. Merge commit 'ac487f708f7b58dbd4f3021b520c6ed5975daebe' * commit 'ac487f708f7b58dbd4f3021b520c6ed5975daebe': Unhide BitmapRegionDecoder.
|
ac487f708f7b58dbd4f3021b520c6ed5975daebe |
23-Sep-2010 |
Wei-Ta Chen <weita@google.com> |
am 6b849e21: Unhide BitmapRegionDecoder. Merge commit '6b849e2123be98eb2a1a25b8abf0b13a279ce952' into gingerbread-plus-aosp * commit '6b849e2123be98eb2a1a25b8abf0b13a279ce952': Unhide BitmapRegionDecoder.
|
6b849e2123be98eb2a1a25b8abf0b13a279ce952 |
07-Sep-2010 |
Wei-Ta Chen <weita@google.com> |
Unhide BitmapRegionDecoder. 1. Rename LargeBitmap to BitmapRegionDecoder 2. Move the instantiations of BitmapRegionDecoder out of BitmapFactory. 3. Remove the use of MemoryFile in BitmapRegionDecoder, since MemoryFile's API had been modified in master. Otherwise, the change will break the master build. 4. Move AssetStreamAdaptor, AutoFDSeek and nullObjectReturn to Utils.h because BitmapFactory.cpp and BitmapRegionDecoder.cpp both need to use these utility functions. Most of the modifications, except for (2) and (3), were reviewed in https://android-git.corp.google.com/g/#change,64716 . However, that change broke the master build due to (3) and was reverted eventually. So, instead of withdrawing this change and waiting for that change to be checked in again, I merge the two changes into one. Change-Id: I2202c0fbbbd6d6676bbd9637e690023ea4099c40
raphics/BitmapFactory.java
raphics/BitmapRegionDecoder.java
|
353a48e8ed90c028fb51fe145dae6113661f03e4 |
22-Sep-2010 |
Jason Sams <rjsams@android.com> |
Merge "Fix two minor RS bugs. 1: index set size was populated with bad value in java, 2: bad error check in uploadToBufferObject."
|
1bfccb45dfe53da00e0618e5af5062c1e37a6c18 |
22-Sep-2010 |
Jason Sams <rjsams@android.com> |
Fix two minor RS bugs. 1: index set size was populated with bad value in java, 2: bad error check in uploadToBufferObject. Change-Id: I5946053cdfba0b2fbbaa34d562a9ec53e26ce9f2
enderscript/Mesh.java
|
76f609118574a76b10cb90bcf061b15546bc38ee |
22-Sep-2010 |
Romain Guy <romainguy@google.com> |
Merge "Add support for circular gradients to the GL renderer."
|
ddb80bebb0776e6d852aab6e8bba5d5591847a55 |
21-Sep-2010 |
Romain Guy <romainguy@google.com> |
Add support for circular gradients to the GL renderer. This change also adds full support for local transformation matrices on sweep and radial gradients. Change-Id: Id8773bc0766575190e3f3d51984fc5e57b266c3f
raphics/RadialGradient.java
|
7aa150c0967b725850cf27de58f50a25a960b092 |
21-Sep-2010 |
Jason Sams <rjsams@android.com> |
Detect and throw exception for using objects after explicitly destroying them. Change-Id: Ic50d6974c80672846140c7f9435ec9468855f0bc
enderscript/BaseObj.java
|
a86c1a622fb61d8157dac9ef3d66084a6ac2f0e0 |
21-Sep-2010 |
Stephen Hines <srhines@google.com> |
Merge "Add support for Float64 (double) to RenderScript."
|
ee916f14cbd1fe1422c063ce2ef7b185e2bc5c6f |
21-Sep-2010 |
Romain Guy <romainguy@google.com> |
Add support for SweepGradient in the GL renderer. Change-Id: I7aa397ed4e34655ead9ba1f5b4ce087665e0f022
raphics/Shader.java
raphics/SweepGradient.java
|
ca54ec302f5bddd1674ea1f36cd3b7c540b2fbca |
21-Sep-2010 |
Stephen Hines <srhines@google.com> |
Add support for Float64 (double) to RenderScript. Change-Id: Iad1c4adadf657a46aa38a3fad7813927e643e29d
enderscript/RenderScript.java
enderscript/Script.java
|
227e68687893253120c2ca3fd82f0cce974611e9 |
17-Sep-2010 |
Adam Cohen <adamcohen@google.com> |
Merge "Adding some documentation to Matrix.mapVectors methods."
|
3a58ec108bb430b81a328adb2062035f860159b4 |
17-Sep-2010 |
Adam Cohen <adamcohen@google.com> |
Adding some documentation to Matrix.mapVectors methods. Change-Id: I6c59c40ac9ebd39d9c5fc189917172da983cc766
raphics/Matrix.java
|
a8bf9429b29743b3489817feb21bde2416acc465 |
16-Sep-2010 |
Jason Sams <rjsams@android.com> |
Fix race condition on exit. Change-Id: I1ae1818122604dde5993b2b8ef702bda5194d87d
enderscript/RenderScript.java
|
279d006b1d194c597a4c6b0a72f66ea6128851fa |
15-Sep-2010 |
Sonia Serafimova <sonia.serafimova@sonyericsson.com> |
Prevent unhandled exception in NinePatchDrawable Added null check in computeBitmapSize() to avoid unhandled exception "java.lang.NullPointerException" at android.graphics.Rect.<init>(Rect.java:72). This problem was discovered in the wild. Change-Id: I8a4729ceadcfc9744f11b8ceafdf24d6de88c645
raphics/drawable/NinePatchDrawable.java
|
c984dd73c6f96d16e11813ae433ef70f7648ae77 |
14-Sep-2010 |
Alex Sakhartchouk <alexst@google.com> |
Shader changes to allow for more flexible constant binding. Change-Id: Ic66e6e2a371c6e3d5dce1b00f63acab8c09bd110
enderscript/ProgramFragment.java
enderscript/ProgramVertex.java
|
94db0238a3b6cba3cbf0e037af74e898a4741204 |
10-Sep-2010 |
Joseph Wen <josephwen@google.com> |
am 219eb7ec: Merge "Fix bug in JNI BitmapFactory" into gingerbread Merge commit '219eb7ec8403ef9b98125f2b58cc27669ae69712' into gingerbread-plus-aosp * commit '219eb7ec8403ef9b98125f2b58cc27669ae69712': Fix bug in JNI BitmapFactory
|
2dcfbefbbeac406d16ec379c6430dd9ee9fd23a1 |
10-Sep-2010 |
Joseph Wen <josephwen@google.com> |
Fix bug in JNI BitmapFactory In nativeCreateLargeBitmapFromFileDescriptor() if the file descriptor can not be rewinded isShareable should be set to false. Change-Id: I7dd545c9d52d21c226e11b8921e35a1d9bba9515
raphics/BitmapFactory.java
|
a78eca95ff54989c280405b70d143b0909854409 |
09-Sep-2010 |
Gilles Debunne <debunne@google.com> |
Merge "Progress Dialog documentation example uses onPrepareDialog"
|
d90f23e24a4d1768d5a7ed0e7072e67af6330a45 |
09-Sep-2010 |
Romain Guy <romainguy@google.com> |
Do not convert 8888 bitmaps to 565 when doing a copy. Bug #2988077 This change keeps the 8888 format for new bitmaps and also keeps, when possible, the opaque flag. Change-Id: Ia61f2e89936916b329212a4c59a7d815c329f84e
raphics/Bitmap.java
|
6e1df0e981c8c588e411b8ad6e55554fe4815655 |
09-Sep-2010 |
Gilles Debunne <debunne@google.com> |
Progress Dialog documentation example uses onPrepareDialog Change-Id: I7afebdb321e28d8e4b1687ba4f503bde7d6031a0
raphics/BitmapFactory.java
|
7b29804ba2b0db1a627b680b3fe2c5036139513b |
08-Sep-2010 |
Wei-Ta Chen <weita@google.com> |
am 8fc6f8b2: am 1b214be9: Merge "Revert "Rename LargeBitmap to BitmapRegionDecoder for having a better API."" into gingerbread Merge commit '8fc6f8b2152564cab6ede025644f9bc3ee61ce16' * commit '8fc6f8b2152564cab6ede025644f9bc3ee61ce16': Revert "Rename LargeBitmap to BitmapRegionDecoder for having a better API."
|
8fc6f8b2152564cab6ede025644f9bc3ee61ce16 |
08-Sep-2010 |
Wei-Ta Chen <weita@google.com> |
am 1b214be9: Merge "Revert "Rename LargeBitmap to BitmapRegionDecoder for having a better API."" into gingerbread Merge commit '1b214be92ac206d8ac6ef4967db6e2859d91ab49' into gingerbread-plus-aosp * commit '1b214be92ac206d8ac6ef4967db6e2859d91ab49': Revert "Rename LargeBitmap to BitmapRegionDecoder for having a better API."
|
340ce75b446f6a6afc12b0582be3fc34ac3a5364 |
08-Sep-2010 |
Wei-Ta Chen <weita@google.com> |
Revert "Rename LargeBitmap to BitmapRegionDecoder for having a better API." This reverts commit 50ba3d2c09a9131f3578d271adf2bc8258ca1742.
raphics/BitmapRegionDecoder.java
|
50cb7dc458e65b75fb69a3a3fed972e7ed913703 |
08-Sep-2010 |
Wei-Ta Chen <weita@google.com> |
am a295a390: am b356f8ac: Merge "Rename LargeBitmap to BitmapRegionDecoder for having a better API." into gingerbread Merge commit 'a295a3908befeb9dd30203c612d95411d68492ed' * commit 'a295a3908befeb9dd30203c612d95411d68492ed': Rename LargeBitmap to BitmapRegionDecoder for having a better API.
|
a295a3908befeb9dd30203c612d95411d68492ed |
08-Sep-2010 |
Wei-Ta Chen <weita@google.com> |
am b356f8ac: Merge "Rename LargeBitmap to BitmapRegionDecoder for having a better API." into gingerbread Merge commit 'b356f8acec9fdfd36f01e5cca4fe3a28ecd6e628' into gingerbread-plus-aosp * commit 'b356f8acec9fdfd36f01e5cca4fe3a28ecd6e628': Rename LargeBitmap to BitmapRegionDecoder for having a better API.
|
70d4e5024298f71edb3b04867e05568f5495b4ce |
03-Sep-2010 |
Jason Sams <rjsams@android.com> |
Add arrays to elements. Change-Id: I624b03bfc1fd26136afd9305a96026b91b1fad3c
enderscript/Element.java
enderscript/RenderScript.java
|
50ba3d2c09a9131f3578d271adf2bc8258ca1742 |
07-Sep-2010 |
Wei-Ta Chen <weita@google.com> |
Rename LargeBitmap to BitmapRegionDecoder for having a better API. Move AssetStreamAdaptor, AutoFDSeek and nullObjectReturn to Utils.h because BitmapFactory.cpp and BitmapRegionDecoder.cpp both need to use these utility functions. Change-Id: I3e60c7fe4abd0289e1384e69a08fd20fe6fb0e10
raphics/BitmapRegionDecoder.java
|
0eb9b77eec4abb201a6c90cf543172df6473a19e |
01-Sep-2010 |
Jason Sams <rjsams@android.com> |
Merge "Remove functions for reflecting dalvik classes to rs types."
|
e447a786357c91d7c48f2475605e692de5b12da1 |
01-Sep-2010 |
Jason Sams <rjsams@android.com> |
Remove functions for reflecting dalvik classes to rs types. Change-Id: I41bc7fd704772d177f8035c04256d0ca63e4398b Change-Id: I4df3673a1db1e79c309ab4eb41d2145802ed322c
enderscript/Allocation.java
enderscript/RenderScript.java
enderscript/Type.java
|
73ea9beaf8eb3d0027e78cbc0ac5e626c3f8deb4 |
01-Sep-2010 |
Alex Sakhartchouk <alexst@google.com> |
Merge "Cleaning up the api"
|
32fc363c8cbe0cc74c0d02b8173e2076deccb96b |
01-Sep-2010 |
Alex Sakhartchouk <alexst@google.com> |
Cleaning up the api Change-Id: I86632cfde07216be7623177516710db5d9a57522
enderscript/ProgramRaster.java
|
49bdaf0293408159df18a1d8540360f9623c40f7 |
31-Aug-2010 |
Jason Sams <rjsams@android.com> |
SubElementData data upload functions. Change-Id: I5f8c738b5457ae7f6085fc4cd331cf3d13ad75cf
enderscript/Allocation.java
enderscript/RenderScript.java
|
da8532c6f48b4c10b5e2ccb9e08690341efa1616 |
31-Aug-2010 |
Romain Guy <romainguy@google.com> |
Add hooks for hardware accelerated WebView. Change-Id: I907cdec8a67594f87749ac46bda85f04af5a2003
raphics/Canvas.java
|
a41174ecb03331d770614ecc6351cbc890874c28 |
28-Aug-2010 |
Alex Sakhartchouk <alexst@google.com> |
Fixing renderscript uniform binding bugs. Working on custom shaders. Change-Id: I0d51e879e1c2b46ef5ab696b35162898f4196fc8
enderscript/Program.java
enderscript/ProgramVertex.java
|
1d45c47975ab2a8cef6db5a8976276de31e1e8d0 |
25-Aug-2010 |
Jason Sams <rjsams@android.com> |
Add matrix component types. Fix potental overflow in script -> java messages. Change-Id: Ie6fd9dc376be4043fc938a1517106936937689c8
enderscript/Element.java
enderscript/FieldPacker.java
enderscript/RenderScript.java
|
d36f248eaf06c569010649902df653da1a9e2acc |
24-Aug-2010 |
Alex Sakhartchouk <alexst@google.com> |
More work on the renderscript sample Change-Id: Ib1812bbaa38180ca63d6d53c9cc3aeeee4134725
enderscript/ProgramRaster.java
enderscript/ProgramStore.java
enderscript/RenderScript.java
enderscript/Sampler.java
|
104422039b2dc5ced7e341e067a5a80e6534218b |
24-Aug-2010 |
Romain Guy <romainguy@google.com> |
am 5a14271a: am d6f7f225: Merge "Load bitmaps in the correct format." into gingerbread Merge commit '5a14271aacb932ba0d52978c939f74e4c685f7d6' * commit '5a14271aacb932ba0d52978c939f74e4c685f7d6': Load bitmaps in the correct format.
|
a1f1174b396cda7bdff469a2e974a737600c5eb0 |
23-Aug-2010 |
Alex Sakhartchouk <alexst@google.com> |
Merge "Renderscript samples. Resolving name conflict in model viewer. Adding fov projection matrix function. Adding helper methods for blending."
|
32e09b5891da0174f161d99e2d3ebe67d6efa39c |
23-Aug-2010 |
Alex Sakhartchouk <alexst@google.com> |
Renderscript samples. Resolving name conflict in model viewer. Adding fov projection matrix function. Adding helper methods for blending. Change-Id: Ibd3f1510436811398787c285845d050158bd6de8
enderscript/ProgramStore.java
enderscript/ProgramVertex.java
enderscript/RenderScript.java
enderscript/Sampler.java
|
d51a933b94ea0f4fc780fb09ef6cd0059e3506c5 |
22-Aug-2010 |
Chih-Chung Chang <chihchung@google.com> |
am 72ecb00a: Merge "Revert "Don\'t recycle native bitmap after the finalizer is called."" into gingerbread Merge commit '72ecb00a89b7a49eadb9c3bb880102eef97c8eb6' into gingerbread-plus-aosp * commit '72ecb00a89b7a49eadb9c3bb880102eef97c8eb6': Revert "Don't recycle native bitmap after the finalizer is called."
|
601ede9aa3337bb6d54dfb0633b54835421b5720 |
21-Aug-2010 |
Chih-Chung Chang <chihchung@google.com> |
Revert "Don't recycle native bitmap after the finalizer is called." Bitmap should not be accessed from multiple threads. This reverts commit 966803ab81f8e9bfefa502fcb533de023825a389.
raphics/Bitmap.java
|
5a14271aacb932ba0d52978c939f74e4c685f7d6 |
21-Aug-2010 |
Romain Guy <romainguy@google.com> |
am d6f7f225: Merge "Load bitmaps in the correct format." into gingerbread Merge commit 'd6f7f225689ecd33dc54699acc01cfafc781c20d' into gingerbread-plus-aosp * commit 'd6f7f225689ecd33dc54699acc01cfafc781c20d': Load bitmaps in the correct format.
|
f92a0a6d4e95660b0e7ebe259323de17d821c50f |
21-Aug-2010 |
Romain Guy <romainguy@google.com> |
Load bitmaps in the correct format. Bug #2936873 Change-Id: Ide93ffd8227cea6c610dde625163ccffb4590e90
enderscript/Allocation.java
|
3a59ddc67c6ad33c01d36338603586f90d94e71b |
20-Aug-2010 |
Chih-Chung Chang <chihchung@google.com> |
am dc2eabd1: Merge "Don\'t recycle native bitmap after the finalizer is called." into gingerbread Merge commit 'dc2eabd10847d8e7f016fec5232d40b723ce2828' into gingerbread-plus-aosp * commit 'dc2eabd10847d8e7f016fec5232d40b723ce2828': Don't recycle native bitmap after the finalizer is called.
|
966803ab81f8e9bfefa502fcb533de023825a389 |
20-Aug-2010 |
Chih-Chung Chang <chihchung@google.com> |
Don't recycle native bitmap after the finalizer is called. If an object A's finalizer calls Bitmap B's recycle() when B's finalizer is already called, we will have trouble because the native bitmap is already freed in the finalizer. Change-Id: Ic0be8ed75fb3aacee9ce6e3d9908178a55151eb9
raphics/Bitmap.java
|
a842d143d2dcad07906830a30deaf0ffce86f5d9 |
20-Aug-2010 |
Gilles Debunne <debunne@google.com> |
am d018a0ce: Merge "Text selection without trackball." into gingerbread Merge commit 'd018a0ce72124f668d859b19fe3e73f5637d3c7c' into gingerbread-plus-aosp * commit 'd018a0ce72124f668d859b19fe3e73f5637d3c7c': Text selection without trackball.
|
d018a0ce72124f668d859b19fe3e73f5637d3c7c |
20-Aug-2010 |
Gilles Debunne <debunne@google.com> |
Merge "Text selection without trackball." into gingerbread
|
b0d6ba1ec4f71b96cab7d1ff62b846d5cf162c4f |
18-Aug-2010 |
Gilles Debunne <debunne@google.com> |
Text selection without trackball. Backported from HC. Squashed commit of the following: commit af214a595c7a9fdd11a2dc384f7d4665abf751c0 Fixes in TextView's selection. commit eb9fd59ebe6500a66c2003d46b5802299970ae8d TextView with Selection Contextual Mode commit 4c4c338ef355b369ce4b57d6c6fba7ee8f9dddf4 Cosmetic changes around TextView. commit d4b4b054e87480d984ad18766f5e76553e3080d8 Double and one and a half tap removed from TextView. commit 897c2847ba1fca8ef01eadadd1bc3de007af3ee5 Selection handlers in TextView commit 832be74a5394649e28927484d9a86c6d53b430e7 New cursor controller in TextViews. Change-Id: I01cc64736e2abea605317ee53907a1713617fc17
raphics/Rect.java
|
d88e0680edd88e10870d5f6f303633cea839d686 |
20-Aug-2010 |
Romain Guy <romainguy@google.com> |
am 288471d8: DO NOT MERGE. Load assets in place instead of deferring until draw. Merge commit '288471d8a57e1c318742cbfc28697877436fdb87' into gingerbread-plus-aosp * commit '288471d8a57e1c318742cbfc28697877436fdb87': DO NOT MERGE. Load assets in place instead of deferring until draw.
|
288471d8a57e1c318742cbfc28697877436fdb87 |
19-Aug-2010 |
Romain Guy <romainguy@google.com> |
DO NOT MERGE. Load assets in place instead of deferring until draw. Before this change, all framework assets would be decoded at drawing time outside of zygote. This was forcing all apps to re-decode the assets and zygote to keep an in-memory copy of each asset. This behavior is now opt-in by setting the inPurgeable flag on BitmapFactory.Options. Change-Id: Ief823139163d8071b8ee1267746622faf52eb8ec
raphics/BitmapFactory.java
|
e0cac8402a82f383d4c34eb9481641cdc4b6d14f |
19-Aug-2010 |
Romain Guy <romainguy@google.com> |
Merge "Load assets in place instead of deferring until draw."
|
207b3ab604bcbe47fa55f26f358cde60cf8a784d |
19-Aug-2010 |
Romain Guy <romainguy@google.com> |
Load assets in place instead of deferring until draw. Before this change, all framework assets would be decoded at drawing time outside of zygote. This was forcing all apps to re-decode the assets and zygote to keep an in-memory copy of each asset. This behavior is now opt-in by setting the inPurgeable flag on BitmapFactory.Options. Change-Id: Ic703f57adb26b2a701ecff0a653d35a93e26d47c
raphics/BitmapFactory.java
|
646b64cf9d52100ad31e8de45256792b5057cbdb |
19-Aug-2010 |
Romain Guy <romainguy@google.com> |
Merge "Load opaque assets in RGB-565 until Bitmap.hasAlpha() works properly."
|
4b7cc6402892a92b820423561d1443d18e25b755 |
19-Aug-2010 |
Romain Guy <romainguy@google.com> |
Load opaque assets in RGB-565 until Bitmap.hasAlpha() works properly. Change-Id: I1106855e9f2255c1b78fd76a3fe1c116b3c2fb87
raphics/BitmapFactory.java
|
3e5ea4a814fae0162273cfcf8b85e69f4e85ad48 |
19-Aug-2010 |
Alex Sakhartchouk <alexst@google.com> |
Merge "Renderscript samples. Merged two model related projects. Cleanup."
|
27f50523a45100f3b4861762b6263e0b9ba6e22e |
19-Aug-2010 |
Alex Sakhartchouk <alexst@google.com> |
Renderscript samples. Merged two model related projects. Cleanup. Change-Id: I6fdc70420eee7dfecf0b051fd687e5797c6580ce
enderscript/Font.java
|
2ea56efb1fd3d846e02e8fe0189f4f4e352362d8 |
18-Aug-2010 |
Jason Sams <rjsams@android.com> |
Merge "Remove OOB object destruction."
|
a006b47298539d89dc7a06b54c070cb3e986352a |
14-Apr-2010 |
Bjorn Bringert <bringert@android.com> |
New API and implementation of DB and memory-backed FDs This depends on a kernel patch that implements read(2) in the ashmem driver. Bug http://b/issue?id=2595601 Change-Id: Ie3b10aa471aada21812b35e63954c1b2f0a7b042
raphics/BitmapFactory.java
|
fb545906ad59b226d7121d0b50debed7f2a2a32f |
18-Aug-2010 |
Jason Sams <rjsams@android.com> |
Merge "Make java entry points for native fifo synchronized."
|
d78be37d81f6c1aba75180c7608753a027a881ee |
18-Aug-2010 |
Jason Sams <rjsams@android.com> |
Remove OOB object destruction. Change-Id: Icaa06aca4a701ec663c124d3141d9dbb633d7dc1
enderscript/BaseObj.java
enderscript/RenderScript.java
|
2e1872fe07cf8952812a417985e6e1f61bdeab5d |
18-Aug-2010 |
Jason Sams <rjsams@android.com> |
Make java entry points for native fifo synchronized. Change-Id: I1baf2beb920016f0202042982075cbce1e67df42
enderscript/Light.java
enderscript/RenderScript.java
|
1b10d3d23512f9f9a091e1f4c27bb3dc47806f6c |
17-Aug-2010 |
Joseph Wen <josephwen@google.com> |
am 81dcea60: am f1f48bc7: Do JPEG tile-based decoding. Merge commit '81dcea6093dfcdadd52982505249a5eacf47a81b' * commit '81dcea6093dfcdadd52982505249a5eacf47a81b': Do JPEG tile-based decoding.
|
81dcea6093dfcdadd52982505249a5eacf47a81b |
17-Aug-2010 |
Joseph Wen <josephwen@google.com> |
am f1f48bc7: Do JPEG tile-based decoding. Merge commit 'f1f48bc7f200f54c76b22d845d8ba8419879b375' into gingerbread-plus-aosp * commit 'f1f48bc7f200f54c76b22d845d8ba8419879b375': Do JPEG tile-based decoding.
|
f1f48bc7f200f54c76b22d845d8ba8419879b375 |
19-Jul-2010 |
Joseph Wen <josephwen@google.com> |
Do JPEG tile-based decoding. Change-Id: I5c1b4ac3c02eb4350ef0ba9a7877b22cfd730cfb
raphics/BitmapFactory.java
raphics/LargeBitmap.java
|
1e45aae5de003657e5d18f74d34998f5de5db5b7 |
14-Aug-2010 |
Romain Guy <romainguy@google.com> |
Add drop shadows. Change-Id: Ic6a72409d4785968d1fbdff229f17ee5c00b240b
raphics/Paint.java
|
04ba60895adb80e4d542e22fae56e147b5eeebdd |
13-Aug-2010 |
Alex Sakhartchouk <alexst@google.com> |
Merge "Renderscript scenegraph prototype."
|
094a068bc46f725a7358ff84317cff2ca4528601 |
13-Aug-2010 |
Alex Sakhartchouk <alexst@google.com> |
Renderscript scenegraph prototype. Change-Id: Ic4daaf6eca8850caf46bd766e148cf12eb6c6ca1
enderscript/Float2.java
enderscript/Float3.java
enderscript/Float4.java
|
e0b8d3cbf73a3694a24f366ab43488bfaef9da71 |
13-Aug-2010 |
Romain Guy <romainguy@google.com> |
Merge "Fix GC issue, fix local shader transformations."
|
0ba681bce12d522c5575dfccb5a6ca12f0fba746 |
13-Aug-2010 |
Romain Guy <romainguy@google.com> |
Fix GC issue, fix local shader transformations. Change-Id: I208bdf89815dcd18dcadd43df932a77362918435
raphics/BitmapShader.java
|
4199175ff34c7c15120c3cc3714d454d84e7afcf |
12-Aug-2010 |
Jason Sams <rjsams@android.com> |
Merge "Fix field packer bug for U32 data. Fix initial refcounts in allocations. Support null references in allocations."
|
ee73498ddf896f6ed003e9ce1fab87aefda90173 |
12-Aug-2010 |
Jason Sams <rjsams@android.com> |
Fix field packer bug for U32 data. Fix initial refcounts in allocations. Support null references in allocations. Change-Id: Ifba6406ba750e69737bd77fa7df5d7fb8e27a5b4
enderscript/FieldPacker.java
|
0de9444aa6c25d2c586e8204a6168d10e67376e0 |
11-Aug-2010 |
Alex Sakhartchouk <alexst@google.com> |
Preparing renderscript java code for use with phanton references. Changing rs_quaternion to be float4 Change-Id: Ibf49f412be8979eaa04cb252b407467eacd9dbf0
enderscript/Allocation.java
enderscript/BaseObj.java
enderscript/Element.java
enderscript/FileA3D.java
enderscript/Font.java
enderscript/Light.java
enderscript/Mesh.java
enderscript/Program.java
enderscript/ProgramRaster.java
enderscript/ProgramStore.java
enderscript/RenderScriptGL.java
enderscript/Sampler.java
enderscript/Script.java
enderscript/Type.java
|
6416d5d79299e14204f41bdd9eb1a752315c68b2 |
11-Aug-2010 |
Romain Guy <romainguy@google.com> |
Merge "Fix crash in Market."
|
3f9b5a253fc8229bd46d53950af9033e0f63c097 |
11-Aug-2010 |
Romain Guy <romainguy@google.com> |
Fix crash in Market. Bug #2911272 Change-Id: I065e21b9d005ad693e1af1ad82755b5c2ae7b722
raphics/ComposeShader.java
|
0dde1f89a434fef356e12fbbbc3a322dfae3bb0d |
11-Aug-2010 |
Alex Sakhartchouk <alexst@google.com> |
Merge "Adding quaternion functions to math library."
|
8918190a198f5a0c602dd5d126e5fab8e537fda0 |
11-Aug-2010 |
Romain Guy <romainguy@google.com> |
Support non-PorterDuff xfermodes with Xfermode. Change-Id: Icef17b72da2d047a24aaac1ddf5cdae77b40d5b4
raphics/ComposeShader.java
raphics/PorterDuffXfermode.java
raphics/Xfermode.java
|
facd6fc4be5706f4ca5def9702a69bec94eb6adf |
11-Aug-2010 |
Alex Sakhartchouk <alexst@google.com> |
Adding quaternion functions to math library. Change-Id: I692214648892120943ca7d3b00034e27d1c330cf
enderscript/Matrix4f.java
|
a48a1a87ba17f20f7006eaab21dcedf86c015c13 |
10-Aug-2010 |
Romain Guy <romainguy@google.com> |
Fast text selection drawing. Change-Id: I93fb1312b47bc05345defa9b6cfe47c0658bb329
raphics/Path.java
|
61c8c9c5b2006d18e9310b6521c65b36ffe75ce4 |
10-Aug-2010 |
Romain Guy <romainguy@google.com> |
Fix tons of bugs and add new text rendering support. Change-Id: I326c66b10784006f6df2f12d38e120cef94cd0d7
raphics/Path.java
raphics/Region.java
raphics/drawable/GradientDrawable.java
|
02890fd0f98b3b8d98baf0bda1ea906afd723d8b |
07-Aug-2010 |
Romain Guy <romainguy@google.com> |
Replace Bitmap's finalizers with PhantomReferences. This change also removes the use of SoftReferences for View's drawing cache. A bitmap now creates a PhantomReference enqueued in a reference queue provided by the new Finalizers class. This queue is polled from a thread started after forking zygote. That thread is in charge of clearing the references after GC runs and of calling reclaim() on them. The reclaim() method is now how finalizers are run. Note that a PhantomReference cannot be kept in the instance it refers to, which is why they are kept in a separate List. Change-Id: If3c1a5e9dc23fa49e34857860d730f5cf5ad5926
raphics/Bitmap.java
|
163935113919a184122b8b3bd672ef08c8df65dc |
08-Aug-2010 |
Romain Guy <romainguy@android.com> |
Make libhwui entirely optional. The makefile variable USE_OPENGL_RENDERER must be set to true to compile libhwui and the related code in the JNI layer. This change also removes obsolete APIs from Canvas that must not be used and would be confusing if left in. These APIs were remnants of our first attempt at an OpenGL renderer for the view hierarchy and had not been taken out before Android 1.0 was released. Change-Id: I2475ff1307212bab26c926724f3c508681c7dae1
raphics/Canvas.java
|
de0547c07a65b59d5330588cdd8b1e410a613e9c |
08-Aug-2010 |
Romain Guy <romainguy@android.com> |
Prevent memory leak with ComposeShader. Change-Id: I926186c96b3c61085cdb6173d56d3a15a04ac95b
raphics/ComposeShader.java
|
9e044aed219adf52e27629d36f8ff7d670700a52 |
06-Aug-2010 |
Romain Guy <romainguy@google.com> |
Fix NPE in RoundRectShape. Change-Id: I3cef1b2723e5ebf3583f91b1bfe8121c0f6d253d
raphics/drawable/shapes/RoundRectShape.java
|
7fbcc0492fca03857e3c45064f4aa040af817d55 |
05-Aug-2010 |
Romain Guy <romainguy@google.com> |
Add support for paths. Rendering is implementing by rasterizing the paths into A8 textures. This cna be extremely inefficient if the path changes often. Change-Id: I609343f304ae38e0d319359403ee73b9b5b3c93a
raphics/Path.java
|
518f033b68649c151cc8725ea8c557eae01cc567 |
05-Aug-2010 |
Alex Sakhartchouk <alexst@google.com> |
Adding more matrix math functions. Fixing build. Change-Id: Ie0f6724ba063ada94d1d44d99bbe56e21d9bd72f
enderscript/Matrix2f.java
enderscript/Matrix3f.java
enderscript/Matrix4f.java
|
442a647424e6537e94341654e3ae5d52efd84862 |
05-Aug-2010 |
Jason Sams <rjsams@android.com> |
Support constant and varying colors in ProgramFragment. Change-Id: I16ce84ff427016f3a1923594efc718eca32dd7f2
enderscript/ProgramFragment.java
|
fb10c16a0528a418053e4b8e75eebe57476b86ef |
04-Aug-2010 |
Alex Sakhartchouk <alexst@google.com> |
Added ability to set font color. Propagating the name of meshes and allocations from native a3d to java Change-Id: If781f55340b5369459610e5e92ea69e240dcd24e
enderscript/Allocation.java
enderscript/Mesh.java
enderscript/RenderScript.java
|
cf9a44cdf3647c8b31499ad6250f63259c0e34e2 |
04-Aug-2010 |
Alex Sakhartchouk <alexst@google.com> |
Adding matrix class methods. Change-Id: I597b1b3955e29921394909f302800034571e6a50
enderscript/Matrix2f.java
enderscript/Matrix3f.java
|
db1938e0e6ef816e228c815adccebd5cb05f2aa8 |
03-Aug-2010 |
Romain Guy <romainguy@google.com> |
Add support for ColorFilters. Color filters are fully supported and can be used with shaders. Change-Id: Id90ccf1c81cb462f2431f366f3f8f710d7971e04
raphics/ColorFilter.java
raphics/ColorMatrixColorFilter.java
raphics/LightingColorFilter.java
raphics/PorterDuffColorFilter.java
|
06f96e2652e4855b6520ad9dd70583677605b79a |
31-Jul-2010 |
Romain Guy <romainguy@google.com> |
Refactor Skia shaders handling. With this change, Skia shaders can easily be applied to any mesh. This change also supports ComposeShader. For instance, this can be used to blend a gradient and a bitmap togehter and paint a string of text with the result. Change-Id: I701c2f9cf7f89b2ff58005e8a1d0d80ccf4a4aea
raphics/BitmapShader.java
raphics/ComposeShader.java
raphics/LinearGradient.java
raphics/Shader.java
|
694b519ac647fe998fd396fe0784cc8e179aadc4 |
22-Jul-2010 |
Romain Guy <romainguy@google.com> |
Add text rendering. Change-Id: Ibe5a9fa844d531b31b55e43de403a98d49f659b9
raphics/Paint.java
|
a1db574036c9bc2d397b69f8200594027e1fff16 |
20-Jul-2010 |
Romain Guy <romainguy@google.com> |
Add preliminary support for text rendering. Change-Id: I547eb631dbda24d13960d54b4144fb8908fd8a49
raphics/Paint.java
raphics/TemporaryBuffer.java
|
f9764a4f532561f6e2e985ff3b25112f1132ce44 |
17-Jul-2010 |
Romain Guy <romainguy@android.com> |
Add program for linear gradient. This change adds a new DrawLinearGradientProgram class to enable the drawing of linear gradients. Two new vertex and fragment shaders are introduced, based on DrawTextureProgram's shaders. Change-Id: I885afc076bb6cef8cd3962ae21a086fa6a03bf96
raphics/LinearGradient.java
raphics/Shader.java
|
7fac2e18339f765320d759e8d4c090f92431959e |
17-Jul-2010 |
Romain Guy <romainguy@android.com> |
Add plumbing to support gradients in OpenGL renderer. The LinearGradient class keeps a copy of the various parameters that define the gradient. The copies are native arrays to avoid copying Java arrays on every draw call. The gradient code path is implemented until OpenGLRenderer::drawRect() (see TODO.) The actual gradient implementation will be added in a latter change. Change-Id: I9300d250ef5e2e9c2e097c3116ee71dfc9d752d8
raphics/LinearGradient.java
|
079ba2c85b15e882629b8d188f5fbdb42f7f8eea |
16-Jul-2010 |
Romain Guy <romainguy@android.com> |
Improve clip support (add intersect, union and replace.) This change also modifies the way the clip is stored. The clip is now always stored in screen-space coordinates. Change-Id: I96375784d82dfe975bc6477a159e6866e7052487
raphics/Region.java
|
51b7ebc652e320ee89b546f3e699ba31e9394a2c |
16-Jul-2010 |
Alex Sakhartchouk <alexst@google.com> |
Merge "Populate java objects with native data from a3d file. Remove legacy constructor from programraster Make a3d object creation synchronous"
|
c96cdc9844d60d54683fb7700fc5908fdb8ff856 |
15-Jul-2010 |
Romain Guy <romainguy@google.com> |
Merge "Add support for BitmapShader."
|
d27977d1a91d5a6b3cc9fa7664ac7e835e7bd895 |
15-Jul-2010 |
Romain Guy <romainguy@google.com> |
Add support for BitmapShader. This change also fixes an issue with the clip and layers. Change-Id: I5fd9832098d8cf7ae8eb781ff9bffe7defaea279
raphics/Shader.java
|
dfac814c18f73dd7289f9927edca3e3b6ec6bc00 |
15-Jul-2010 |
Alex Sakhartchouk <alexst@google.com> |
Populate java objects with native data from a3d file. Remove legacy constructor from programraster Make a3d object creation synchronous Change-Id: Ic7d7547cf6eee6f9a7c6e3ee12cd104e80056a7b
enderscript/Allocation.java
enderscript/Element.java
enderscript/FileA3D.java
enderscript/ProgramRaster.java
enderscript/RenderScript.java
enderscript/Type.java
|
506821b406181ff9b9a10c2fc078d16b79a8cf92 |
15-Jul-2010 |
Jim Shuma <jshuma@google.com> |
Merge "Making Program*.Builder classes' setters return 'this'"
|
288c8711a64893acb3f4a31caf69153be9809d17 |
07-Jul-2010 |
Jim Shuma <jshuma@google.com> |
Making Program*.Builder classes' setters return 'this' This is for better correspondence with the Builder pattern. See also: Effective Java, 2nd edition. Change-Id: Iecccd42be49dea2ed8e4b8cc38ce96379cf3c11c
enderscript/Program.java
enderscript/ProgramFragment.java
enderscript/ProgramRaster.java
enderscript/ProgramStore.java
enderscript/ProgramVertex.java
|
82e2b4cb51e869a5c2014f56e5b0cf38569ff09a |
15-Jul-2010 |
Scott Main <smain@google.com> |
am 4fd41688: am 5352d237: am 38137d7a: Merge "docs: lots of additions to the resources docs new drawable resources add <merge> and <include> to layout resource update drawable class descriptioons to point to resources guide add ID resource type" into froyo Merge commit '4fd416880e53c172bac4a51b2eafea699b58badf' * commit '4fd416880e53c172bac4a51b2eafea699b58badf': docs: lots of additions to the resources docs
|
4fd416880e53c172bac4a51b2eafea699b58badf |
15-Jul-2010 |
Scott Main <smain@google.com> |
am 5352d237: am 38137d7a: Merge "docs: lots of additions to the resources docs new drawable resources add <merge> and <include> to layout resource update drawable class descriptioons to point to resources guide add ID resource type" into froyo Merge commit '5352d2378d2f92ebe0657e4caedb4498492fc404' into gingerbread-plus-aosp * commit '5352d2378d2f92ebe0657e4caedb4498492fc404': docs: lots of additions to the resources docs
|
5352d2378d2f92ebe0657e4caedb4498492fc404 |
15-Jul-2010 |
Scott Main <smain@google.com> |
am 38137d7a: Merge "docs: lots of additions to the resources docs new drawable resources add <merge> and <include> to layout resource update drawable class descriptioons to point to resources guide add ID resource type" into froyo Merge commit '38137d7a27b037611c70a9d900aa53b4c15563bf' into gingerbread * commit '38137d7a27b037611c70a9d900aa53b4c15563bf': docs: lots of additions to the resources docs
|
172b79e9df9a5689681cf0355921ec2445bc9f6f |
15-Jul-2010 |
Mathias Agopian <mathias@google.com> |
am 98704f14: am 38eea8bf: Merge "Remove the YV16 format for simplicity\'s sake." into gingerbread Merge commit '98704f14eaeef6c9bcb73fea162f4941dd9bbd87' * commit '98704f14eaeef6c9bcb73fea162f4941dd9bbd87': Remove the YV16 format for simplicity's sake.
|
98704f14eaeef6c9bcb73fea162f4941dd9bbd87 |
15-Jul-2010 |
Mathias Agopian <mathias@google.com> |
am 38eea8bf: Merge "Remove the YV16 format for simplicity\'s sake." into gingerbread Merge commit '38eea8bf990540360b45b963195a7766c30b55d2' into gingerbread-plus-aosp * commit '38eea8bf990540360b45b963195a7766c30b55d2': Remove the YV16 format for simplicity's sake.
|
058d0390a44f68b67788021bae9ca1775812997b |
07-Jul-2010 |
Mathias Agopian <mathias@google.com> |
Remove the YV16 format for simplicity's sake. Change-Id: Iee03d100933ba0c67b13d51e0435be3b4cd953cf
raphics/ImageFormat.java
|
e5e285509fdba2b996006e610e0d2888450230f0 |
14-Jul-2010 |
Romain Guy <romainguy@google.com> |
Merge "Enable 32-bits only assets."
|
594f4065141a53427cad6f4fc89219d2f27e1a7d |
14-Jul-2010 |
Romain Guy <romainguy@google.com> |
Enable 32-bits only assets. Go away dithering! Change-Id: Iee5ee2e9430606e732d9b0abb3adc9f68275bd6d
raphics/BitmapFactory.java
|
f35c96bb498ffa7b3348b4bf17e9e7475f6bb324 |
13-Jul-2010 |
Kenny Root <kroot@google.com> |
Merge "Support bidi/shaping for getTextPath"
|
250fd1144f238ce40ba7c40c7ad4d77c20a44695 |
13-Jul-2010 |
Alex Sakhartchouk <alexst@google.com> |
Merge "Work on synchronizing a3d created files and java layer. Adding culling to ProgramRaster"
|
6926c72e25b8dec3dd4b84af0819fa1937ae7296 |
13-Jul-2010 |
Romain Guy <romainguy@google.com> |
Correctly support pre-multiplied alpha, optimizations, more stuff. Add support for the following drawing functions: - drawBitmap(int[]...) - drawPaint() Optimizes shader state changes by enabling/disabling attribute arrays only when needed. Adds quick rejects when drawing trivial shapes to avoid unnecessary OpenGL operations. Change-Id: Ic2c6c2ed1523d08a63a8c95601a1ec40b6c7fbc9
raphics/BitmapShader.java
|
80a4c2cd34aedb4f1a2e5e7d1ac26a9aeebe41ae |
13-Jul-2010 |
Alex Sakhartchouk <alexst@google.com> |
Work on synchronizing a3d created files and java layer. Adding culling to ProgramRaster Change-Id: I58ccc82d37edc9539289d5eba44ea0e720874af5
enderscript/Allocation.java
enderscript/BaseObj.java
enderscript/Mesh.java
enderscript/ProgramRaster.java
enderscript/RenderScript.java
|
f7cb1f75fdaedf996cab7c4690b080adc7bc5b97 |
02-Jul-2010 |
Doug Felt <dougfelt@google.com> |
Support bidi/shaping for getTextPath Move layout-related code into separate class since it's needed by both canvas and paint. Change-Id: Iba89a1d94d7cca650255ffa3cbc952b988a51b54
raphics/Paint.java
|
3a70b20ee5aa2c0d451f1d2a5701bf9c43c8ca6f |
10-Jul-2010 |
Gilles Debunne <debunne@google.com> |
Merge "New cursor controller in TextViews."
|
cc3ec6cdb2b892eb29513e72d8b205acbe997b25 |
23-Jun-2010 |
Gilles Debunne <debunne@google.com> |
New cursor controller in TextViews. Editable TextView now display a cursor controller under the insertion point so that it can be precisely moved. Change-Id: Ia2e6ddc57d249647ff6683e10e4226db3df27223
raphics/Canvas.java
raphics/Rect.java
|
53a93d5e917038504ba4422e4ad346ae37131365 |
10-Jul-2010 |
Jason Sams <rjsams@android.com> |
Remove points from fixed function. Add basic GL performance test. Change-Id: I421a41b6683b2c5f70045cdd0f610a6939105fee
enderscript/ProgramRaster.java
enderscript/RenderScript.java
|
f26d01a7cede78d1c865f56b0b526db20710c3a4 |
08-Jul-2010 |
Jason Sams <rjsams@android.com> |
Merge "Add boolean support for setVar."
|
deba785f122a47915756ffd991f5540d952cf937 |
08-Jul-2010 |
Romain Guy <romainguy@google.com> |
Add support to draw 9patches in OpenGL. This change only adds the necessary API and stubs. The implementation will be added in another change. Change-Id: Ie50b8aff5868e78796cee331df15bdbf990d2ea1
raphics/Canvas.java
raphics/NinePatch.java
raphics/drawable/NinePatchDrawable.java
|
0b9a22cf782ab8f837161bf3357e08471ff5b9f2 |
03-Jul-2010 |
Jason Sams <rjsams@android.com> |
Add boolean support for setVar. Change-Id: Id64f3b2e43e19fc2a2d5fd81bb98d9ca67aae843
enderscript/Script.java
|
4beb8ff7175ebd14b96942724a658f407d0b9951 |
09-Jun-2010 |
Doug Felt <dougfelt@google.com> |
Support bidi layout for drawTextOnPath. Change-Id: Ie5867fdb66fe15336774e20d65fa63e0d05bf6fe
raphics/Canvas.java
|
8287a9bc5e184f1bbb91866591c4358a3a9eb168 |
02-Jul-2010 |
Alex Sakhartchouk <alexst@google.com> |
Cleanup pass on the mesh api change. Removed all the simple mesh related calls and temporary objects. Change-Id: Ic64a72a894e0314f216f10e1cfc0d45b17e2e182
enderscript/RenderScript.java
enderscript/SimpleMesh.java
|
164aaedf7f24827c3da84acc733325ae985930d6 |
02-Jul-2010 |
Alex Sakhartchouk <alexst@google.com> |
Start of mesh API cleanup. Switched all native code to go through Mesh class. Removed SimpleMesh Added java Mesh class Will need to port all existing code to use java Mesh, then remove java SimpleMesh. Change-Id: Idb9c03d0b06b4ef87db28dffcffa1881d39120e5
enderscript/FileA3D.java
enderscript/Mesh.java
enderscript/RenderScript.java
|
ce0537b80087a6225273040a987414b1dd081aa0 |
30-Jun-2010 |
Romain Guy <romainguy@google.com> |
Add hooks for drawBitmap(). Change-Id: I58e962c3a8b2bc75c2605fe369ad3002579d86e0 Add texture cache. Change-Id: I1c0e5581d228869e114438258a1014e33e024ad7
raphics/Bitmap.java
raphics/Canvas.java
|
c7d53494f1fbd9f9d74af89053ff9fdb1ccbac6c |
25-Jun-2010 |
Romain Guy <romainguy@android.com> |
Implement quickReject() and drawRect(). The OpenGL ES 2.0 renderer can now draw colored rectangles. At least there's something on screen now. Change-Id: I80a13ccc1dd56784edf74f2670a364f30700234a
raphics/Canvas.java
raphics/Paint.java
|
9b949fce39f0f39ce9275b71d7c347210775e7a8 |
25-Jun-2010 |
Alex Sakhartchouk <alexst@google.com> |
Adding freetype font rendering to renderscript. Change-Id: I3a10ffe27092a41df156341c9cb3f7aa19c49f19
enderscript/Allocation.java
enderscript/Font.java
enderscript/RenderScript.java
|
8f31bd6b68c796d4a4176721a6e13bfdba2166e0 |
24-Jun-2010 |
Jason Sams <rjsams@android.com> |
Merge "Add matrix ops to RSH headers."
|
fae3f6b4153ff39c4f9e00dcf635b413d0ae4e85 |
24-Jun-2010 |
Jason Sams <rjsams@android.com> |
Add matrix ops to RSH headers. Change-Id: I7e2843983a12e0155114b4a18813799e4341d26f
enderscript/FieldPacker.java
|
f6a11b8a9e25ff9861bbba19251bea84d8a5daf2 |
24-Jun-2010 |
Romain Guy <romainguy@google.com> |
Add support for transformations. This change adds partial support for the following transforms: - scale() - translate() - rotate() - setMatrix() - getMatrix() The transform is stored in a snapshot and saved/restored as needed. The transform is currently not applied to the clip rect and is not mapped to the vertex shader. Change-Id: Id48993453311200804149917d0c126a4d0471226
raphics/Matrix.java
|
03f0292744094ec107ffce71301c394503a31ded |
09-Jun-2010 |
Gilles Debunne <debunne@google.com> |
New XmlDocumentProvider class. Minor changes in the Adapters.java helper class. Extracts data out of a XML document using an XPath-like syntax. Change-Id: I0617b0783f11c86118b42cd8485d54440810c805
raphics/BitmapFactory.java
|
85bf02fc16784d935fb9eebfa9cb20fe46ff7951 |
22-Jun-2010 |
Romain Guy <romainguy@google.com> |
Fix the simulator build. Change-Id: Ie404f7c2c308f0657f273af19a56e8c039b61898
raphics/PorterDuff.java
|
9e2b0c505af55a56171db0d025368e7ea6c15458 |
22-Jun-2010 |
Jason Sams <rjsams@android.com> |
Fix build error. Change-Id: Ife0ec056c33654a56f270a5673f614820cfc2e29
enderscript/FieldPacker.java
|
f110d4b787b91dabe968a812e76e5c1f8d953487 |
22-Jun-2010 |
Jason Sams <rjsams@android.com> |
Move ImageProcessing and ModelViewer to reflected files. Implement boolean support. Change-Id: Iac2dc28067ac430b3e413fc651dfaa0b96214e2e
enderscript/Element.java
enderscript/FieldPacker.java
enderscript/RenderScript.java
|
dfe5c204403bc56c29bb36410574eab8b1950417 |
09-Jun-2010 |
Scott Main <smain@google.com> |
docs: lots of additions to the resources docs new drawable resources add <merge> and <include> to layout resource update drawable class descriptioons to point to resources guide add ID resource type Change-Id: I733eec50bb2671f28c9e6dd7dec14eb6586f5193
raphics/drawable/AnimationDrawable.java
raphics/drawable/BitmapDrawable.java
raphics/drawable/ClipDrawable.java
raphics/drawable/Drawable.java
raphics/drawable/GradientDrawable.java
raphics/drawable/InsetDrawable.java
raphics/drawable/LayerDrawable.java
raphics/drawable/LevelListDrawable.java
raphics/drawable/RotateDrawable.java
raphics/drawable/ScaleDrawable.java
raphics/drawable/ShapeDrawable.java
raphics/drawable/StateListDrawable.java
raphics/drawable/TransitionDrawable.java
|
020bb7b5ac26a6e2d2f6852952a84bb246445fcf |
18-Jun-2010 |
Jason Sams <rjsams@android.com> |
Add skip to field packer. remove hsb functions from env headers. add RS_PACKED define for packed structures. Change-Id: Idc661edff85c0047baa201f43e0839ac82c74593
enderscript/FieldPacker.java
|
d4824c256cc510cedb8d50e84767d1122886b547 |
16-Jun-2010 |
Romain Guy <romainguy@google.com> |
Merge "Add new API to check whether a Bitmap was modified."
|
0bbae0836426ba2704e38e7f90a9d0ca502ab71d |
16-Jun-2010 |
Romain Guy <romainguy@google.com> |
Add new API to check whether a Bitmap was modified. Bitmap.getGenerationId() can be used by caches to find out if a Bitmap has been modified. This simply exposes an existing Skia API. This change also adds a small test app for Canvas hardware acceleration. The new Bitmap API is required to implement a texture cache. Change-Id: I8547b146cd14c8afe1a2327fcd6d71b1b1cb68fc
raphics/Bitmap.java
|
96ed4cfa62dd09aafb3f9da01e047661b4fe3c95 |
15-Jun-2010 |
Jason Sams <rjsams@android.com> |
Remove InvokeData and add ContextFinish to generate a sync point. Change-Id: I27da8bf5fba2c8a428964cb6a5e66dd7a94958d8
enderscript/RenderScript.java
enderscript/Script.java
|
0c702b88c5d0d4380930b920f5be6e66dd95a0d8 |
14-May-2010 |
Doug Felt <dougfelt@google.com> |
Move shaping to native. Add internal API (getTextRunAdvances) to Paint, use when measuring. Add internal API (getTextRunCursor) to Paint, use when determining valid cursor positions. Remove java-level shaping code. Remove 'prep' code in TextLine (except for replacement text) since shaping now is done on the fly as needed in native. Provide explicit shaping context bounds to internal text measuring, cursor movement, and rendering APIs. Update for to changes in external API in ushape.h. Change-Id: I146958b624802ce8553125e5c3c6c03031bc9608
raphics/Canvas.java
raphics/Paint.java
|
2d6145993e19d2bb664766dbaf3c1e9ad3d12cdc |
10-Jun-2010 |
Romain Guy <romainguy@google.com> |
Move OpenGL support out of ViewRoot into a new HardwareRenderer class. Change-Id: Iffaed924a5defc3c4df26223c390dc27eee115b1
raphics/Canvas.java
|
cbe4a73fef42602f68c698462ecc2e4b358d91b6 |
09-Jun-2010 |
Jason Sams <rjsams@android.com> |
Merge "Begin using reflected files."
|
e29f3e74f71ea730519ff8ae1d8dd4c1630bbaf9 |
09-Jun-2010 |
Jason Sams <rjsams@android.com> |
Begin using reflected files. Change-Id: I5307a0eac9c206b85c0cf7451d3f8300134bf8e3
enderscript/Element.java
enderscript/RenderScript.java
enderscript/SimpleMesh.java
|
d994dcbd816d5431dfaa59de7457e28bdfc8f523 |
08-Jun-2010 |
The Android Open Source Project <initial-contribution@android.com> |
am cefdedc3: merge from froyo-plus-aosp
|
c1038e778ff9f1efe6334ca71b74df5f720e6970 |
08-Jun-2010 |
The Android Open Source Project <initial-contribution@android.com> |
merge from open-source master Change-Id: I1a36964a723bce72139f1bc2402520b7f8d5e47b
|
aae74ad6144470c66e72b075ac3afeddb186fa98 |
04-Jun-2010 |
Alex Sakhartchouk <alexst@google.com> |
Creating the jni and java layer to integrate a3d Change-Id: I438359633bae59bf9188cd2c4664a92ca16c5f37
enderscript/FileA3D.java
enderscript/RenderScript.java
|
92ce5734b52ef014c80cc6335112a027188b3eb6 |
02-Jun-2010 |
Erik Faye-Lund <kusmabite@googlemail.com> |
Canvas.drawVertices: correct color range-check The range-check in drawVertices previously checked that the color count was equal to the vertex count. However, the vertex count is specified in array elements, and there's two array elements per vertex for the positions, but only one array element per vertex for the colors. Correct the code so the check is consistent with the element count. Change-Id: Id043f1003f9245f18adc91bac49dc33727ca765e
raphics/Canvas.java
|
8cb39de03aef6097a90033600d11a60ae000a6e4 |
02-Jun-2010 |
Jason Sams <rjsams@android.com> |
Remove RS_KIND from vertex arrays types. Legacy vertex programs now bind by name just like the user programs. This removes the need for two different ways of declairing the same information. Change-Id: I0178c0962842a1bbffb6726984ae1b8f5bb7529c
enderscript/Element.java
enderscript/RenderScript.java
enderscript/SimpleMesh.java
|
d79b2e9f8b0fa43f6734aaa5e9d0d389d5da5109 |
20-May-2010 |
Jason Sams <rjsams@android.com> |
Begin naming cleanup for renderscript runtime. Prefix functions with "rs" or "rsg". Change-Id: I4435b486831bfab1ea473ccfad435b404e68f1c9
enderscript/RenderScript.java
enderscript/Script.java
|
1de0b87168837cfcd9318bec5c97d2e7d78d3293 |
17-May-2010 |
Jason Sams <rjsams@android.com> |
Remove more pieces of setRoot. Add pointer to allocation lookup for scripts. Change-Id: I2c3075d2056f02bb834bfad403dc72da991f3156
enderscript/RenderScript.java
enderscript/ScriptC.java
|
b42315d37ab22e64ef88d3aed38ed75fd7071eed |
15-May-2010 |
Jason Sams <rjsams@android.com> |
Delete old createFromClass methods. It no longer makes sense to create type info from Java since this cannot be exported to scripts. The new flow is in the opposite direction. Change-Id: I9b46e3f57abf84c01326bd9b9b834f3ff0f7c504
enderscript/Element.java
enderscript/Type.java
|
54db59c3594e887a412a24713fc3daa1c2404593 |
14-May-2010 |
Jason Sams <rjsams@android.com> |
Rename ProgramFragmentStore to ProgramStore. Change-Id: Ia8ad9ac856944838ced38a2f1e8f07387050bdfd
enderscript/ProgramStore.java
enderscript/RenderScript.java
enderscript/RenderScriptGL.java
|
f47d7405bbcb25d7cdf89ebb059f41520fe9ab87 |
22-Apr-2010 |
Doug Felt <dougfelt@google.com> |
Modify Canvas drawText to run bidi and shape. Adds drawTextRun as internal API on Canvas and GraphicsOperations. Adds implementation to implementors of GraphicsOperations. Adds state and API on Paint to control the bidi algorithm when used by Canvas. This API is currently hidden. The drawText changes are incomplete since shaping is not yet available in the native code. Change-Id: I4368048aef9545df0953a349381771603e04b619
raphics/Canvas.java
raphics/Paint.java
|
4d3399337d18ef04116bc8a2e5799274655d0c30 |
11-May-2010 |
Jason Sams <rjsams@android.com> |
Convert renderscript from using ACC to LLVM for its compiler. This will also require application to be updated to support the new compiler and data passing models. Change-Id: If078e3a5148af395ba1b936169a407d8c3ad727f
enderscript/RenderScript.java
enderscript/Sampler.java
enderscript/Script.java
enderscript/ScriptC.java
|
6430c943f9c32ea1503c6723302a944dcb18dac5 |
07-May-2010 |
Romain Guy <romainguy@google.com> |
Set a layered drawable's child callback to be the container. Change-Id: I959ad03883931d727d464f384073926e8fa9e2d2
raphics/drawable/LayerDrawable.java
|
79a63f7ddb5bfb32a37dfbfd3e7748389c5076ad |
07-May-2010 |
Romain Guy <romainguy@google.com> |
Make sure that a drawable replacing a layer in a LayerDrawable gets a callback. Change-Id: Iefac7d280b3c16e05f45688da655e17e21a3098b
raphics/drawable/LayerDrawable.java
|
417675cab0f8f2fb73ff067071b5347186a81c19 |
26-Apr-2010 |
Peter Eliasson <peter.eliasson.x@sonyericsson.com> |
Improved error handling when font loading fails. Without this patch, an application could trigger a platform crash by calling: Typeface typeface = Typeface.createFromFile(""); boolean isbold = typeface.isBold(); The crash occurs since the Skia error that occurs when font loading fails is not propagated. With this patch, the Typeface constructor throws an IllegalStateException when Skia fails to load the font (i.e. when the native instance is null). Change-Id: I1002b37b7b32840cb7eeef6819d2982cb18c9003
raphics/Typeface.java
|
d404d6f162cfd4071c8ff3a2d44b1077307e2102 |
14-Apr-2010 |
Mike Reed <reed@google.com> |
update dox for FILL_AND_STROKE style Change-Id: I7835068a376dfa4d8c18d8bb20d97941a058e89f http://b/issue?id=2590047
raphics/Paint.java
|
1e91b3fde0a1a76388c7f2a7fd67562c66818f2e |
13-Apr-2010 |
Gilles Debunne <debunne@google.com> |
Added documentation in Drawable. Documentation on the ConstantState added. Removed all warnings in Eclipse. Change-Id: Ib1daf7eef1aff5660e805483f9dcae6fcd5a595e
raphics/drawable/Drawable.java
|
20fc9bfe3ad16c5f36026fc43c85d0647b75cc40 |
12-Apr-2010 |
Gilles Debunne <debunne@google.com> |
Fixed links in MipmapDrawable documentation. Fix for 78aaa97b77d56e35e994611406deb398eb9005db Change-Id: I3b4a3b987560d5d3934776cdc7ae98c954bfab32
raphics/drawable/Drawable.java
raphics/drawable/MipmapDrawable.java
|
78aaa97b77d56e35e994611406deb398eb9005db |
10-Apr-2010 |
Gilles Debunne <debunne@google.com> |
New MipmapDrawable class. This Drawable holds different scaled version of a Drawable and use the appropriate one depending on its actual bounds to minimize scaling artifacts. Change-Id: I4ced045d73c1ddd8982d9aaf39c3599b3ac58a16
raphics/drawable/Drawable.java
raphics/drawable/DrawableContainer.java
raphics/drawable/MipmapDrawable.java
|
bb2890d40bba7f690055bf8ee7bda749171a3a53 |
03-Apr-2010 |
Romain Guy <romainguy@android.com> |
Add Overlay mode to the PorterDuff list of supported modes. Change-Id: I2ec03b9a1039db3e3c16786222e4fde4782ed67e
raphics/PorterDuff.java
|
b7248b7b810ed501d0a07ce762aee597f3b1c1a2 |
30-Mar-2010 |
The Android Open Source Project <initial-contribution@android.com> |
merge from open-source master Change-Id: Iad50c5ab4915d0868b3f79ea6ba0d657a6f98525
|
758e8d1d1daaa20fe65e9ff31153e657343aa011 |
29-Mar-2010 |
The Android Open Source Project <initial-contribution@android.com> |
am 2438894d: am 5849606d: merge from open-source master
|
5849606df71fb3d5ce88b966cff8382deccd56b6 |
29-Mar-2010 |
The Android Open Source Project <initial-contribution@android.com> |
merge from open-source master Change-Id: I6a7542e696e69bc8788f3b3b77fcec50512ba81c
|
5f3445dc609fb3dd64b023c1ba9c1ee3ba95b868 |
28-Mar-2010 |
David Hoover <karma@deadmoose.com> |
Fix typos in comment. Change-Id: Ia2a9ea0802bcc5773bb4fd52d7e07f9492242bfd
raphics/Color.java
|
2d71bc7b4c46a32cead32a35e6e137d13e8315ea |
27-Mar-2010 |
Jason Sams <rjsams@android.com> |
Update Script java classes and llvm samples. Change-Id: I05c8d63fcca095d4fea6abb1ff5736ab9d78a3e6
enderscript/Script.java
enderscript/ScriptC.java
|
a70f416c9cf2fc6cc5e132c1d656ce07441d6b82 |
26-Mar-2010 |
Jason Sams <rjsams@android.com> |
Checkin new types for RS. Change-Id: I3d7a1a91c45cc1c97c60f3615f32e54e98e12f91
enderscript/Allocation.java
enderscript/Byte2.java
enderscript/Byte3.java
enderscript/Byte4.java
enderscript/Element.java
enderscript/FieldPacker.java
enderscript/Float2.java
enderscript/Float3.java
enderscript/Float4.java
enderscript/Int2.java
enderscript/Int3.java
enderscript/Int4.java
enderscript/Long2.java
enderscript/Long3.java
enderscript/Long4.java
enderscript/RenderScript.java
enderscript/Short2.java
enderscript/Short3.java
enderscript/Short4.java
enderscript/Vector2f.java
enderscript/Vector3f.java
enderscript/Vector4f.java
|
8e10a7b7c82209bf52ab8545d21777ea1728f81e |
26-Mar-2010 |
The Android Open Source Project <initial-contribution@android.com> |
merge from open-source master Change-Id: I4d8f34986fd9e16ead8a22909263069dbb819d3e
|
54900e8c05e92a0783e8468ad7c4513eb66adc80 |
25-Mar-2010 |
Mike Reed <reed@google.com> |
update dox that we ignore the exact parameter on computeBounds Change-Id: I6051210ea2a73b4d1c6cd631a285209ab130b4e5
raphics/Path.java
|
1be46d7920dbdce24f878d6f4889ea8591ab75c6 |
25-Mar-2010 |
viral.vkm <viral.vkm@gmail.com> |
setCornerRadii should be called when either of corners radius is specified as 0dp and thus while checking for condition, it should be ORed and not ANDed. It solves Android Issue: 939 http://code.google.com/p/android/issues/detail?id=939 Change-Id: Ic18fae769480972f763f634e7462c6ed3853220b
raphics/drawable/GradientDrawable.java
|
a8551b1efa89841c01d3b6a01ac65e57084a3234 |
11-Mar-2010 |
Romain Guy <romainguy@android.com> |
Fix the build. Change-Id: I0caef1fd522d231d803e0fd9e0b8fdf3272db168
enderscript/RSSurfaceView.java
|
76d1e01d5e65c4631c827831e98ad4e300d99eab |
05-Mar-2010 |
Mike Reed <reed@google.com> |
hidden api sameAs() to compare the pixels of 2 bitmaps for equality
raphics/Bitmap.java
|
8a64743f37ed35af7c2204acd18bb3d62d8f66d5 |
02-Mar-2010 |
Jason Sams <rjsams@android.com> |
Add support for linking to a skia bitmap rather than always copying the data from the bitmap.
enderscript/Allocation.java
enderscript/RenderScript.java
|
c2908e60c9b021fb4bb69acff8d49981dd4dade8 |
24-Feb-2010 |
Jason Sams <rjsams@android.com> |
Support defered generation of mipmaps. With this change we support mipmap generation when the texture is uploaded to GL without requiring RS to retain the full chain.
enderscript/Allocation.java
enderscript/RenderScript.java
|
a696f5d667227365da732481770767dcb330dd23 |
18-Feb-2010 |
Mathias Agopian <mathias@google.com> |
Add ImageFormat.java and move the Camera/YUV constants from PixelFormat to it. PixelFormat's corresponding constansts are now deprecated.
raphics/ImageFormat.java
raphics/PixelFormat.java
raphics/YuvImage.java
|
35d2621b3a62e8ab0a19bb9f760346838f9680dd |
18-Feb-2010 |
Mike Reed <reed@google.com> |
Merge "update dox"
|
2b95c2413838c2e2b127ebab8fb4fead7d52e460 |
09-Feb-2010 |
Jeff Sharkey <jsharkey@android.com> |
Added more @RemotableViewMethod methods, mutate ImageView. Catch some View methods missed during the first pass of marking with @RemotableViewMethod annotation. Also adds new ImageView.setColorFilter(int) to match the android:tint XML attribute. When ImageView touches ColorFilter or alpha, mutate the underlying Drawable. Fix NPE in StateListDrawable.mutate().
raphics/drawable/StateListDrawable.java
|
7df951595fa99bb4ead7891a2d70e3281314c51e |
17-Feb-2010 |
Mike Reed <reed@google.com> |
update dox
raphics/AvoidXfermode.java
|
79b646ffe51c532f00b69dc4967ee51ca28986cf |
12-Feb-2010 |
Jason Sams <rjsams@android.com> |
am 0b9bbb6d: DO NOT MERGE. Merge Froyo renderscript to Eclair to support live wallpapers on droid. This gives the necessary CPU reduction to allow the wallpapers to work on the slower CPU. Merge commit '0b9bbb6dc5d7dabecf23e8c6bb4a267ba8c34fe8' into eclair-plus-aosp * commit '0b9bbb6dc5d7dabecf23e8c6bb4a267ba8c34fe8': DO NOT MERGE. Merge Froyo renderscript to Eclair to support live wallpapers on droid. This gives the necessary CPU reduction to allow the wallpapers to work on the slower CPU.
|
0b9bbb6dc5d7dabecf23e8c6bb4a267ba8c34fe8 |
12-Feb-2010 |
Jason Sams <rjsams@android.com> |
DO NOT MERGE. Merge Froyo renderscript to Eclair to support live wallpapers on droid. This gives the necessary CPU reduction to allow the wallpapers to work on the slower CPU. Committer: Jason Sams <rjsams@android.com> On branch droid Changes to be committed: (use "git reset HEAD <file>..." to unstage) modified: libs/rs/rsAllocation.cpp modified: libs/rs/rsAllocation.h modified: libs/rs/rsContext.cpp modified: libs/rs/rsContext.h modified: libs/rs/rsProgram.cpp modified: libs/rs/rsProgram.h Delete the old rollo sample which is obsolete. Fix film init Begin gl2 support. Renderscript still uses GL1.1 by default. However, 2.0 can be enabled and will render most tests correctly. Fix film Beging GL2 user shaders. Switch master to using GL2 by default. Implement RS tracked defered texture and buffer object uploads. Committer: Jason Sams <rjsams@android.com> On branch droid Changes to be committed: (use "git reset HEAD <file>..." to unstage) modified: libs/rs/rsAllocation.cpp modified: libs/rs/rsAllocation.h modified: libs/rs/rsContext.h modified: libs/rs/rsProgramFragment.cpp modified: libs/rs/rsSimpleMesh.cpp Remove check for surface valid that is no longer valid. Continue development of es2.0 user shader support for renderscript. This change cleans up ProgramVertex creation and adds support for passing input, output, and constant type info. Continue es2 shader dev Conflicts: graphics/java/android/renderscript/Program.java graphics/java/android/renderscript/ProgramVertex.java Place shader logging behind prop to declutter logs. Fix emulated glColor in es2 mode. Fix live wallpaper many. Z coordinate was being ignored for draw quad call. Add argument checking to sampler builder to disallow illegal modes. Move texture bindings to base program object. Change ProgramFragment creation to require a texture format in 1.0 mode. Element restructuring. Add support for new basic Element types including the RS objects and vectors(2-4). In theory this paves the way for maintaining type info for RS objects, passing elements for GLSL uiforms/attribs/varyings, and supporting nested structures. This will break some apps, checkings for other projects will follow to unbreak them. Disable excessive RS logging. Add RS support for generic attribs as input to vertex programs. More complete support for named attribs. Adds user typed attribs as available to programVertex. Non user attribs are not treated like user for GL2 for simplicity. Support npot on es 2.0 HW. Change user attribs to look for empty slot rather than using them in order. Prevents conflict with numbered legacy slots. Fix npot but where mipmap level sizes were rounding in the wrong direction. Should always be floor. Implement type generation for user uniforms in vertex shader. Remove excessive logging, fix error in GLSL uniform generation. Fix RS mipmap generation for 8 bit alpha textures. Cleanup seperation of Legacy and user attribs. All user programs now use the new names. Legacy vertex attribs are given default names. Fix some minor bugs with GL state setup that were exposed by Droids driver. Implement drawSpriteCropped on es2.0
enderscript/Allocation.java
enderscript/BaseObj.java
enderscript/Element.java
enderscript/Program.java
enderscript/ProgramFragment.java
enderscript/ProgramVertex.java
enderscript/RenderScript.java
enderscript/Sampler.java
enderscript/SimpleMesh.java
enderscript/Type.java
|
3941411a21b0ccbfb2843dd8c7c7fbe9f8e85abb |
11-Feb-2010 |
The Android Open Source Project <initial-contribution@android.com> |
am 1e90ab54: merge from open-source master Merge commit '1e90ab542d675616e9370ab7e5add99d7af12587' * commit '1e90ab542d675616e9370ab7e5add99d7af12587': Fixs the incorrect message for SecurityException Default RotateDrawable's pivot set to (50%, 50%)
|
1e90ab542d675616e9370ab7e5add99d7af12587 |
11-Feb-2010 |
The Android Open Source Project <initial-contribution@android.com> |
merge from open-source master
|
d2391faa5d21a7513f321c03da0945277e291ad7 |
05-Feb-2010 |
Wei-Ta Chen <weita@google.com> |
Modify the API of YuvImage, so that callers do not need to deal with the yuv format when specifying a rectangle region. Bug: 2285598
raphics/YuvImage.java
|
704ff64b099406bb328898a7443921f22dbffd6d |
10-Feb-2010 |
Jason Sams <rjsams@android.com> |
Preview seperating RenderScript into RenderScript and RenderScriptGL
enderscript/RSSurfaceView.java
enderscript/RenderScript.java
enderscript/RenderScriptGL.java
|
b81b1447d2cfa9dc5bcc02c8a1b7193400a97ab6 |
06-Feb-2010 |
Cyril Mottier <cyrilmottier@gmail.com> |
Default RotateDrawable's pivot set to (50%, 50%) In order to define the pivot in an XML-instanciated RotateDrawable, android:pivotX and android:pivotY had to be set in your XML. Forgetting to set those attributes ended up in a NullPointerException (tv = null) that were caught by the Resources.getDrawable() method (caught as an Exception). As a result a not-very-accurate message was logged: "Resource not found ...". Defining a default pivot value seems like a great fix. Some other fixes would be to modify the documentation or notify the user with a better explanation than "Resource not found ...".
raphics/drawable/RotateDrawable.java
|
57405b93f194851eb2187a8ed3362be18a483a17 |
03-Feb-2010 |
Jason Sams <rjsams@android.com> |
Merge "Hide field packer."
|
42d6c9e1e794713022d1370ba844ce05c7b2793f |
03-Feb-2010 |
Jason Sams <rjsams@android.com> |
Hide field packer.
enderscript/FieldPacker.java
|
2a594b1a240d40db70fd41140d3e29b9828d5274 |
03-Feb-2010 |
Jason Sams <rjsams@android.com> |
Merge "Implement holders for Matrix and Vector data."
|
25430d0734d12d12ca2d2d7a9d18c0cf3c5bdc4e |
03-Feb-2010 |
Jason Sams <rjsams@android.com> |
Implement holders for Matrix and Vector data.
enderscript/FieldPacker.java
enderscript/Matrix.java
enderscript/Matrix2f.java
enderscript/Matrix3f.java
enderscript/Matrix4f.java
enderscript/ProgramVertex.java
enderscript/Vector2f.java
enderscript/Vector3f.java
enderscript/Vector4f.java
|
c58ffe8253ca76160908d153242d8150f668ea32 |
27-Jan-2010 |
Wei-Ta Chen <weita@google.com> |
Unhide YuvImage, which supports compressing a YUV rectangle region to JPEG. Bug: 2285598
raphics/YuvImage.java
|
5dbfe93b3f15f3a837836d024958635fd8f9ad14 |
27-Jan-2010 |
Jason Sams <rjsams@android.com> |
Fix some minor bugs with GL state setup that were exposed by Droids driver.
enderscript/Allocation.java
enderscript/RenderScript.java
|
bca2d613e0d6d2630fedd302c0d779b7610adbcf |
30-Nov-2009 |
Wei-Ta Chen <weita@google.com> |
Add a Java API that converts yuv data to a jpeg. The compression is done in the native layer via calling libjpeg. Bug: 2285598
raphics/YuvImage.java
|
ab4a0c164b5a44d5bfd37069cfe499db31e7620c |
26-Jan-2010 |
Mike Reed <reed@google.com> |
add API to change default config on image decoders. May be called by the browser to get high-quality images when running in a 32bit window
raphics/BitmapFactory.java
|
6dc9232c1c9a7ddffba24d4bd218e46894f8414d |
21-Jan-2010 |
Mike Reed <reed@google.com> |
am a66baccc: Merge "Do not merge" into eclair Merge commit 'a66baccc8fa9f6fa5f1630845e3c6370cb3418eb' into eclair-plus-aosp * commit 'a66baccc8fa9f6fa5f1630845e3c6370cb3418eb': Do not merge
|
12bcbdc681c3195069f55bd9abda900da0886c70 |
20-Jan-2010 |
Mike Reed <reed@google.com> |
Do not merge port stretchy from master
raphics/utils/BoundaryPatch.java
|
ea87e96959895ef94cc3aa9576f41a660d2bbf03 |
12-Jan-2010 |
Jason Sams <rjsams@android.com> |
Implement type generation for user uniforms in vertex shader.
enderscript/Allocation.java
enderscript/Program.java
|
6d7b907ab5c4580542426aa3ebd8ff275077c7c4 |
07-Jan-2010 |
Jason Sams <rjsams@android.com> |
Merge "Support npot on es 2.0 HW."
|
74e02ef2000ff2783e526d6916e2f0b5d517593e |
07-Jan-2010 |
Jason Sams <rjsams@android.com> |
Support npot on es 2.0 HW.
enderscript/Allocation.java
|
9027696bf01d712658db9ff3003d0c11a89ddc2a |
06-Jan-2010 |
Cary Clark <cary@android.com> |
am 9e5f3ec9: am e3bbaf6c: Merge "set nine patch padding initially to an empty rectangle" into eclair-mr2 Merge commit '9e5f3ec97d468702aa3f3a59e94009e807715189' * commit '9e5f3ec97d468702aa3f3a59e94009e807715189': set nine patch padding initially to an empty rectangle
|
9e5f3ec97d468702aa3f3a59e94009e807715189 |
06-Jan-2010 |
Cary Clark <cary@android.com> |
am e3bbaf6c: Merge "set nine patch padding initially to an empty rectangle" into eclair-mr2 Merge commit 'e3bbaf6c4f51f8201922cae29daa7e46f6c43bda' into eclair-mr2-plus-aosp * commit 'e3bbaf6c4f51f8201922cae29daa7e46f6c43bda': set nine patch padding initially to an empty rectangle
|
a09a6e145b778861f7abee86ce17e59507ed221e |
06-Jan-2010 |
Jason Sams <rjsams@android.com> |
More complete support for named attribs. Adds user typed attribs as available to programVertex. Non user attribs are not treated like user for GL2 for simplicity.
enderscript/Element.java
|
e57b7b09b198699adea91b6f9729007fda00834e |
06-Jan-2010 |
Cary Clark <cary@android.com> |
set nine patch padding initially to an empty rectangle Formerly, the padding state was set to null. Copying the padding state fails when the null rectangle contents are referenced. fixes http://b/2219785
raphics/drawable/NinePatchDrawable.java
|
225ef52bd68f09ed7e52798f1a77422750926d87 |
05-Jan-2010 |
Jason Sams <rjsams@android.com> |
Merge "Add RS support for generic attribs as input to vertex programs."
|
e17964e150e459bacced5658ae36fe1c56082e37 |
05-Jan-2010 |
Jason Sams <rjsams@android.com> |
Add RS support for generic attribs as input to vertex programs.
enderscript/RenderScript.java
enderscript/Type.java
|
7bcbd511731e13b9f2778e6aa6c633417d266f5e |
23-Jun-2009 |
Marco Nelissen <marcone@google.com> |
Don't round size to page size. Ashmem will do this internally as needed.
raphics/BitmapFactory.java
|
7d46f612a25fc9f190358e9bd807b71d424ce7d2 |
23-Dec-2009 |
Jason Sams <rjsams@android.com> |
Disable excessive RS logging.
enderscript/Element.java
enderscript/SimpleMesh.java
|
718cd1f322ee5b62b6a49cb36195bcb18a5ab711 |
23-Dec-2009 |
Jason Sams <rjsams@android.com> |
Element restructuring. Add support for new basic Element types including the RS objects and vectors(2-4). In theory this paves the way for maintaining type info for RS objects, passing elements for GLSL uiforms/attribs/varyings, and supporting nested structures. This will break some apps, checkings for other projects will follow to unbreak them.
enderscript/Allocation.java
enderscript/BaseObj.java
enderscript/Element.java
enderscript/ProgramVertex.java
enderscript/RenderScript.java
enderscript/SimpleMesh.java
enderscript/Type.java
|
873c0318617670bd5cb3197537f83ec85fcb7cc9 |
18-Dec-2009 |
Android (Google) Code Review <android-gerrit@google.com> |
Merge change I68afd01e * changes: Move texture bindings to base program object. Change ProgramFragment creation to require a texture format in 1.0 mode.
|
68afd01ec9fd37774d8291192952a25e5605b6fb |
18-Dec-2009 |
Jason Sams <rjsams@android.com> |
Move texture bindings to base program object. Change ProgramFragment creation to require a texture format in 1.0 mode.
enderscript/Program.java
enderscript/ProgramFragment.java
enderscript/RenderScript.java
|
f7ed3a2b0fd00c517671cc986b4b44d29b60ac28 |
17-Dec-2009 |
Mike Reed <reed@google.com> |
am 0249c83e: am 31a69fdb: throw if we have a null typeface native instance (so we don\'t crash in native code) we may still have to native-destroy a Typeface with a null ref, so check for that Merge commit '0249c83ed014cc6a36caac30e55db62c29c204e2' * commit '0249c83ed014cc6a36caac30e55db62c29c204e2': throw if we have a null typeface native instance (so we don't crash in native code)
|
0249c83ed014cc6a36caac30e55db62c29c204e2 |
17-Dec-2009 |
Mike Reed <reed@google.com> |
am 31a69fdb: throw if we have a null typeface native instance (so we don\'t crash in native code) we may still have to native-destroy a Typeface with a null ref, so check for that Merge commit '31a69fdbe1edd8d686043e8ca7d278289f65808e' into eclair-mr2-plus-aosp * commit '31a69fdbe1edd8d686043e8ca7d278289f65808e': throw if we have a null typeface native instance (so we don't crash in native code)
|
31a69fdbe1edd8d686043e8ca7d278289f65808e |
14-Dec-2009 |
Mike Reed <reed@google.com> |
throw if we have a null typeface native instance (so we don't crash in native code) we may still have to native-destroy a Typeface with a null ref, so check for that
raphics/Typeface.java
|
8bb41dd61474e977aa61048ba8f733a984a3b22d |
17-Dec-2009 |
Jason Sams <rjsams@android.com> |
Add argument checking to sampler builder to disallow illegal modes.
enderscript/Sampler.java
|
7e5ab3b177b10fee304d011b3a4b9ee03e2b18b5 |
15-Dec-2009 |
Jason Sams <rjsams@android.com> |
Continue es2 shader dev Conflicts: graphics/java/android/renderscript/Program.java graphics/java/android/renderscript/ProgramVertex.java
enderscript/Program.java
enderscript/ProgramFragment.java
enderscript/ProgramVertex.java
enderscript/RenderScript.java
|
0011bcf57ff711a221a3a4c73f2a79125111647d |
15-Dec-2009 |
Jason Sams <rjsams@android.com> |
Continue development of es2.0 user shader support for renderscript. This change cleans up ProgramVertex creation and adds support for passing input, output, and constant type info.
enderscript/Program.java
enderscript/ProgramVertex.java
enderscript/RenderScript.java
|
11fbdf50206abc9d21fd72ce7536648f083b9148 |
15-Dec-2009 |
Jason Sams <rjsams@android.com> |
Remove check for surface valid that is no longer valid.
enderscript/RenderScript.java
|
c7b74e3412a752f4d60820afdaca002a7c60364e |
08-Dec-2009 |
Jason Sams <rjsams@android.com> |
am 54f5ca41: am ffacbc34: am fd2f6358: Merge change I771bebb9 into eclair Merge commit '54f5ca4115b776eb5a1e04a4c014acccb916ef9c' * commit '54f5ca4115b776eb5a1e04a4c014acccb916ef9c': Add Java exceptions to catch RS calls with no context or no surface.
|
54f5ca4115b776eb5a1e04a4c014acccb916ef9c |
07-Dec-2009 |
Jason Sams <rjsams@android.com> |
am ffacbc34: am fd2f6358: Merge change I771bebb9 into eclair Merge commit 'ffacbc3419825ec1c786dd3c27f3e2a8cd071d8f' into eclair-mr2-plus-aosp * commit 'ffacbc3419825ec1c786dd3c27f3e2a8cd071d8f': Add Java exceptions to catch RS calls with no context or no surface.
|
ffacbc3419825ec1c786dd3c27f3e2a8cd071d8f |
07-Dec-2009 |
Jason Sams <rjsams@android.com> |
am fd2f6358: Merge change I771bebb9 into eclair Merge commit 'fd2f6358321e95d661f24ba4e08327268035aa59' into eclair-mr2 * commit 'fd2f6358321e95d661f24ba4e08327268035aa59': Add Java exceptions to catch RS calls with no context or no surface.
|
387488fb1f728b8986bd8d252130b2c46fb965ae |
07-Dec-2009 |
Jason Sams <rjsams@android.com> |
am fd2f6358: Merge change I771bebb9 into eclair Merge commit 'fd2f6358321e95d661f24ba4e08327268035aa59' into eclair-plus-aosp * commit 'fd2f6358321e95d661f24ba4e08327268035aa59': Add Java exceptions to catch RS calls with no context or no surface.
|
771bebb94054d06f97284379c93a2620613513c3 |
07-Dec-2009 |
Jason Sams <rjsams@android.com> |
Add Java exceptions to catch RS calls with no context or no surface.
enderscript/Allocation.java
enderscript/Element.java
enderscript/Light.java
enderscript/ProgramFragment.java
enderscript/ProgramRaster.java
enderscript/ProgramStore.java
enderscript/ProgramVertex.java
enderscript/RenderScript.java
enderscript/Sampler.java
enderscript/Script.java
enderscript/SimpleMesh.java
|
8da7873f94d5a3722b5bb2dd73d51377ce3dff8a |
03-Dec-2009 |
Joe Onorato <joeo@android.com> |
am dbed5350: am b28632a5: am c7a63eea: Add a new field to Intent that allows you to give a hint about what on screen caused the intent to be sent. Merge commit 'dbed53504f515337ccc2f60248bb589dff0f24fb' * commit 'dbed53504f515337ccc2f60248bb589dff0f24fb': Add a new field to Intent that allows you to give a hint about what on screen caused the intent to
|
dbed53504f515337ccc2f60248bb589dff0f24fb |
03-Dec-2009 |
Joe Onorato <joeo@android.com> |
am b28632a5: am c7a63eea: Add a new field to Intent that allows you to give a hint about what on screen caused the intent to be sent. Merge commit 'b28632a5206d11844db39ca1ab5f64a99ec74e29' into eclair-mr2-plus-aosp * commit 'b28632a5206d11844db39ca1ab5f64a99ec74e29': Add a new field to Intent that allows you to give a hint about what on screen caused the intent to
|
b28632a5206d11844db39ca1ab5f64a99ec74e29 |
03-Dec-2009 |
Joe Onorato <joeo@android.com> |
am c7a63eea: Add a new field to Intent that allows you to give a hint about what on screen caused the intent to be sent. Merge commit 'c7a63eea8d3d346addaaf892b5bbe0aa80651640' into eclair-mr2 * commit 'c7a63eea8d3d346addaaf892b5bbe0aa80651640': Add a new field to Intent that allows you to give a hint about what on screen caused the intent to
|
03cd88b3ffee71fc22a2355eb462b6f99891411c |
03-Dec-2009 |
Joe Onorato <joeo@android.com> |
am c7a63eea: Add a new field to Intent that allows you to give a hint about what on screen caused the intent to be sent. Merge commit 'c7a63eea8d3d346addaaf892b5bbe0aa80651640' into eclair-plus-aosp * commit 'c7a63eea8d3d346addaaf892b5bbe0aa80651640': Add a new field to Intent that allows you to give a hint about what on screen caused the intent to
|
c7a63eea8d3d346addaaf892b5bbe0aa80651640 |
03-Dec-2009 |
Joe Onorato <joeo@android.com> |
Add a new field to Intent that allows you to give a hint about what on screen caused the intent to be sent.
raphics/Rect.java
|
54c0ec14e016e4a1bf3ceab40ed6ca5447da4725 |
30-Nov-2009 |
Jason Sams <rjsams@android.com> |
Beging GL2 user shaders. Switch master to using GL2 by default.
enderscript/ProgramFragment.java
enderscript/ProgramVertex.java
enderscript/RenderScript.java
|
f630904134a81e9e5edbd7b2bd77e402c180782f |
18-Nov-2009 |
Jason Sams <rjsams@android.com> |
am f56f317f: am fa0394c9: Merge change I715333b8 into eclair Merge commit 'f56f317fb941c354c3a10e9fbf36d194656fa7d4' into eclair-mr2-plus-aosp * commit 'f56f317fb941c354c3a10e9fbf36d194656fa7d4': Add support for dumping RS objects to aid in debugging of white blocks bug.
|
bd2b773c23d6e5c07d5af2b1f6c25ad858b949d5 |
18-Nov-2009 |
Jason Sams <rjsams@android.com> |
am fa0394c9: Merge change I715333b8 into eclair Merge commit 'fa0394c9f89f13b53c6db2470253825b88cafb64' into eclair-plus-aosp * commit 'fa0394c9f89f13b53c6db2470253825b88cafb64': Add support for dumping RS objects to aid in debugging of white blocks bug.
|
f56f317fb941c354c3a10e9fbf36d194656fa7d4 |
18-Nov-2009 |
Jason Sams <rjsams@android.com> |
am fa0394c9: Merge change I715333b8 into eclair Merge commit 'fa0394c9f89f13b53c6db2470253825b88cafb64' into eclair-mr2 * commit 'fa0394c9f89f13b53c6db2470253825b88cafb64': Add support for dumping RS objects to aid in debugging of white blocks bug.
|
715333b832fb448c32165c7d97d408a3fa43f7cb |
18-Nov-2009 |
Jason Sams <rjsams@android.com> |
Add support for dumping RS objects to aid in debugging of white blocks bug.
enderscript/RenderScript.java
|
234e509a67eb32606f3051d21eb3ea25b272d80d |
16-Nov-2009 |
Jason Sams <rjsams@android.com> |
am 22186a2c: am ec8178eb: Merge change I9c1bad53 into eclair Merge commit '22186a2c15cc752cfaaf8a12d415a3c097d338e0' into eclair-mr2-plus-aosp * commit '22186a2c15cc752cfaaf8a12d415a3c097d338e0': Add setPriority to allow wallpapers to run at lower cpu priority than default.
|
7b159b4a634a3a2cad6d2a385ae2c4ebf4eb59e0 |
16-Nov-2009 |
Jason Sams <rjsams@android.com> |
am ec8178eb: Merge change I9c1bad53 into eclair Merge commit 'ec8178eb0fb10e1ed753be4d065cf7f004355575' into eclair-plus-aosp * commit 'ec8178eb0fb10e1ed753be4d065cf7f004355575': Add setPriority to allow wallpapers to run at lower cpu priority than default.
|
22186a2c15cc752cfaaf8a12d415a3c097d338e0 |
16-Nov-2009 |
Jason Sams <rjsams@android.com> |
am ec8178eb: Merge change I9c1bad53 into eclair Merge commit 'ec8178eb0fb10e1ed753be4d065cf7f004355575' into eclair-mr2 * commit 'ec8178eb0fb10e1ed753be4d065cf7f004355575': Add setPriority to allow wallpapers to run at lower cpu priority than default.
|
7d787b4722eaeb79cab42c36060336e092b77b5f |
15-Nov-2009 |
Jason Sams <rjsams@android.com> |
Add setPriority to allow wallpapers to run at lower cpu priority than default.
enderscript/RenderScript.java
|
478de466ce0504b9af639c3338b883893670a8e8 |
15-Nov-2009 |
Jean-Baptiste Queru <jbq@google.com> |
merge from eclair
|
8a4e470fc2c1351d58a6ab2d99eb12d01c5c2656 |
15-Nov-2009 |
Jean-Baptiste Queru <jbq@google.com> |
merge from open-source master
|
373329d477d2db20c66a85aa3e23a696d76a9954 |
13-Nov-2009 |
Android (Google) Code Review <android-gerrit@google.com> |
Merge change I736c525a into eclair-mr2 * changes: update dox to account for different behavior between AVOID and TARGET modes
|
9db3d07b9620b4269ab33f78604a36327e536ce1 |
13-Nov-2009 |
Jean-Baptiste Queru <jbq@google.com> |
eclair snapshot
raphics/Bitmap.java
raphics/BitmapFactory.java
raphics/BlurMaskFilter.java
raphics/Color.java
raphics/DashPathEffect.java
raphics/Paint.java
raphics/PixelFormat.java
raphics/TableMaskFilter.java
raphics/Typeface.java
raphics/drawable/AnimatedRotateDrawable.java
raphics/drawable/AnimationDrawable.java
raphics/drawable/BitmapDrawable.java
raphics/drawable/ClipDrawable.java
raphics/drawable/ColorDrawable.java
raphics/drawable/Drawable.java
raphics/drawable/DrawableContainer.java
raphics/drawable/GradientDrawable.java
raphics/drawable/InsetDrawable.java
raphics/drawable/LayerDrawable.java
raphics/drawable/LevelListDrawable.java
raphics/drawable/NinePatchDrawable.java
raphics/drawable/RotateDrawable.java
raphics/drawable/ScaleDrawable.java
raphics/drawable/ShapeDrawable.java
raphics/drawable/StateListDrawable.java
raphics/drawable/TransitionDrawable.java
enderscript/Allocation.java
enderscript/BaseObj.java
enderscript/Dimension.java
enderscript/Element.java
enderscript/Light.java
enderscript/Matrix.java
enderscript/Primitive.java
enderscript/ProgramFragment.java
enderscript/ProgramRaster.java
enderscript/ProgramStore.java
enderscript/ProgramVertex.java
enderscript/RSSurfaceView.java
enderscript/RenderScript.java
enderscript/Sampler.java
enderscript/Script.java
enderscript/ScriptC.java
enderscript/SimpleMesh.java
enderscript/Type.java
|
da8bb292db289bdd0e02b672daec09e2a3f9f462 |
13-Nov-2009 |
Jason Sams <rjsams@android.com> |
am 59175ac2: Merge change I81b1421a into eclair Merge commit '59175ac269df2a584241e9786dc70ac35cb973e3' into eclair-mr2 * commit '59175ac269df2a584241e9786dc70ac35cb973e3': Defer EGL init until the surface changed call comes in. Pass w,h along with surface for verification of driver state.
|
1e75deb288b06a87a75c027b23521195992016da |
13-Nov-2009 |
Jason Sams <rjsams@android.com> |
am 59175ac2: Merge change I81b1421a into eclair Merge commit '59175ac269df2a584241e9786dc70ac35cb973e3' into eclair-plus-aosp * commit '59175ac269df2a584241e9786dc70ac35cb973e3': Defer EGL init until the surface changed call comes in. Pass w,h along with surface for verification of driver state.
|
736c525a04a4d5e1c83541deca009ca97b99ef92 |
13-Nov-2009 |
Mike Reed <reed@google.com> |
update dox to account for different behavior between AVOID and TARGET modes http://b/issue?id=2034547
raphics/AvoidXfermode.java
|
3bc47d438171dce294e816366d53bc9eca772c5b |
13-Nov-2009 |
Jason Sams <rjsams@android.com> |
Defer EGL init until the surface changed call comes in. Pass w,h along with surface for verification of driver state.
enderscript/RSSurfaceView.java
enderscript/RenderScript.java
|
7e2b4f602a1a876475da2756c5b92297552e0bc8 |
11-Nov-2009 |
Jean-Baptiste Queru <jbq@google.com> |
merge from open-source master
|
83387a484c515e5234bd60f741578a6ac894bff5 |
05-Nov-2009 |
Olivier Goutet <olivier.goutet@gmail.com> |
Correction of an error in the setRotate method of the ColorMatrix class. The matrix rotation params around the 2nd axis was not set correctly: Initial matrix for axis 2 (green): cos 0 sin 0 0 0 1 0 0 0 -sin 0 0 0 0 0 0 cos 1 0 After correction: cos 0 -sin 0 0 0 1 0 0 0 sin 0 cos 0 0 0 0 0 1 0
raphics/ColorMatrix.java
|
a1c3681fb84e9baa3055709a18c635dc77c1b041 |
04-Nov-2009 |
Jason Sams <rjsams@android.com> |
am decc139b: Merge change I7a824efc into eclair Merge commit 'decc139b232721ea1b0521d144521c8082636f0c' into eclair-mr2 * commit 'decc139b232721ea1b0521d144521c8082636f0c': Support applications changing the surface attached to the RS.
|
efd9b6fb2e0f31b50db089352118e5daeb268879 |
03-Nov-2009 |
Jason Sams <rjsams@android.com> |
Support applications changing the surface attached to the RS.
enderscript/RSSurfaceView.java
enderscript/RenderScript.java
|
58d30b69071363aba38307bc5ee3b2d81f22f09d |
30-Oct-2009 |
Mike Reed <reed@google.com> |
am 1864d01f: Merge change Iae849da2 into eclair Merge commit '1864d01f2be0e82da7d8844fa91bee8880282041' into eclair-mr2 * commit '1864d01f2be0e82da7d8844fa91bee8880282041': add table maskfilter
|
0e1e62301112a51d9b91ac4ac31c406d726f93ab |
29-Oct-2009 |
Mike Reed <reed@google.com> |
add table maskfilter hidden for now, since it need only be seen by Launcher2 http://b/issue?id=2210685
raphics/TableMaskFilter.java
|
e4133ec1296f23142eabf7783db417ecc8f1bb05 |
30-Oct-2009 |
Jason Sams <rjsams@android.com> |
am ec1f1e3d: Merge change Ieab4c75b into eclair Merge commit 'ec1f1e3df1ca5e73e262df479bf91a92f3ccafde' into eclair-mr2 * commit 'ec1f1e3df1ca5e73e262df479bf91a92f3ccafde': Fix type in Java enums. Not currently used, easier to fix now than when apps are using it.
|
eab4c75b09aa81ea093c2b9fbb3dbc2016c9bd6e |
29-Oct-2009 |
Jason Sams <rjsams@android.com> |
Fix type in Java enums. Not currently used, easier to fix now than when apps are using it.
enderscript/ProgramStore.java
|
c04851fd0af87f44a7d7351e0c17442fa1d3fc28 |
28-Oct-2009 |
Mike Reed <reed@google.com> |
add boundary patch
raphics/utils/BoundaryPatch.java
|
7299c83bd8f7053dec84d62a4914392bd91661ac |
16-Oct-2009 |
Jason Sams <rjsams@android.com> |
Fix bug exposed by filmstrip. The updated and expanded SimpleMesh had an ordering bug with component coordinates when both texture and normals were used.
enderscript/SimpleMesh.java
|
bd2197fb0038acd2dc4b17ad3ed3c69cc29dcce2 |
08-Oct-2009 |
Jason Sams <rjsams@android.com> |
Add script to script call support. Add exception to catch out of bound index data when added to TriangleMeshBuilder.
enderscript/SimpleMesh.java
|
a78b0a2d9ebb38b86ed802b3d86de07d0b301262 |
07-Oct-2009 |
Mike Reed <reed@google.com> |
add (hidden) setHasAlpha() to allow clients like the view's cache to hint that a bitmap is opaque. Knowing that a 32bit bitmap is opaque is a performance boost for some blits.
raphics/Bitmap.java
|
516c31911578db8ce53529483c3ded918ac7dc6b |
06-Oct-2009 |
Jason Sams <rjsams@android.com> |
Implement data push from scripts. Fixes the problem where apps would have to poll to monitor a scripts state. Fix bug in StoreState where state could be overridden by the default unless the script used more than one state. Change only impacts renderscript and renderscript apps.
enderscript/RenderScript.java
|
7f047786d9e2027a15001a653675dae5a80f9390 |
03-Oct-2009 |
Jason Sams <rjsams@android.com> |
Update the SimpleMesh API to support new attribute types. Also spilt add/set commands to avoid permutation explosion.
enderscript/SimpleMesh.java
|
bbed0d68c815446400193bdc8b16fbf73e1ee664 |
01-Oct-2009 |
Mike Reed <reed@google.com> |
hide setGammaForText, which is only used for calibrating new devices
raphics/Typeface.java
|
29e4a3c566f435c32f0b95e4ac8e8b33cac6faba |
01-Oct-2009 |
Dianne Hackborn <hackbod@google.com> |
Update from API review. Change-Id: I16b1c566f91167aac9615ac59dd297a154c828ea
raphics/drawable/BitmapDrawable.java
|
4e03999ca20fd326e4ded3d7444ddd5c14f369c7 |
29-Sep-2009 |
Mike Reed <reed@google.com> |
if we have a single value for roundrect radius, manually clamp it before drawing. Skia will clamp the radius independently in X and Y to ensure it is not larger than 1/2 the width (or height). If the caller to our drawable gives us a single value, we'll assume they want it to be circular, and not an oval. To do that, we clamp it up front, so we get (possibly smaller) circular corners, rather than potentially elliptical ones. This makes the progress bar look "nicer" when it is very thin in one dimension.
raphics/drawable/GradientDrawable.java
|
c20a9608f379b23aee473f992a327ac26a31ba17 |
29-Sep-2009 |
Dianne Hackborn <hackbod@google.com> |
Whoops, these shouldn't be public. Change-Id: I66057b1fb63b97ad79cea7056849274c6a7b3ed4
raphics/Paint.java
|
490d5222ae985f7e606cdf503d292062c80e7328 |
29-Sep-2009 |
Android (Google) Code Review <android-gerrit@google.com> |
Merge change I6cacaa0d into eclair * changes: Hack to fix issue #2125365: Sports Trivia compatability with Eclair
|
5235cf3f41cfcfe39c7072fddf1ead52db31292d |
29-Sep-2009 |
Jason Sams <rjsams@android.com> |
Fix but processing raster state pragma. rename stateFragmentStore to stateStore
enderscript/BaseObj.java
|
afa78967b8553443aa32579d78970a076d7581f6 |
29-Sep-2009 |
Dianne Hackborn <hackbod@google.com> |
Hack to fix issue #2125365: Sports Trivia compatability with Eclair Adds a mechanism to tell Paint the scaling factor its target canvas will have, for it to compute font metrics based on the correct font size. Only TextView uses this, but that is enough for the large majority of apps. Change-Id: I6cacaa0dd26d40ee3ad959bed0028678d6e9016e
raphics/Paint.java
|
3c0dfbab807a459622aeade4940daddf482dec66 |
28-Sep-2009 |
Jason Sams <rjsams@android.com> |
Improve logging code to dump more detaild rs object info. Fix bug with predefined elements not being recreated for contexts after one was destroyed. Add stricter type enforcement.
enderscript/Element.java
enderscript/ProgramVertex.java
enderscript/RenderScript.java
enderscript/SimpleMesh.java
enderscript/Type.java
|
66b2771d745aa66df5cf80b300b5ba0f936ff22e |
26-Sep-2009 |
Jason Sams <rjsams@android.com> |
Reduce debugging spew and add props to selectivly re-enable it. change-id: Ib59ed5d7a9d479ccd1af456029735dbc65ae1efe
enderscript/RSSurfaceView.java
|
a9e7a05b84470257637c97d65f6562aa832c66ef |
25-Sep-2009 |
Jason Sams <rjsams@android.com> |
Improve renderscript context teardown. Track object in the system and then force their cleanup by releasing all user references once destroy context is called. Java layer will no longer send destroy notifications for objects garbage collected once a context is destroyed.
enderscript/BaseObj.java
enderscript/RenderScript.java
|
5fda65f182231b0e9ad61b1a6803c7603e29344f |
25-Sep-2009 |
Joe Onorato <joeo@android.com> |
Add a method to destroy the RS object.
enderscript/RSSurfaceView.java
|
65e7aa56f56097418d617663683544c25b3988ea |
25-Sep-2009 |
Jason Sams <rjsams@android.com> |
Implement pause/resume for the RS thread.
enderscript/RSSurfaceView.java
enderscript/RenderScript.java
|
6b9dec00afec359f091ed353f371f08ff150278a |
24-Sep-2009 |
Jason Sams <rjsams@android.com> |
Remove depricated triangleMesh.
enderscript/RenderScript.java
|
de0dfb7b65a02d4dd74c271b558adee0973fc267 |
23-Sep-2009 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #2125720 Weather Forecast Widget - graphics do not scale I forgot to add the new density field to the Bitmaps' parcelable data. Change-Id: I77cf3e93e356297e0caed6fc71b62b5cd8f79124
raphics/Bitmap.java
|
5dd7c726f45fd7b7ab473471dc504c00012a6856 |
23-Sep-2009 |
Android (Google) Code Review <android-gerrit@google.com> |
Merge change 26667 into eclair * changes: Add raster object to control point and line params. Add flag to force SW rendering.
|
ebfb436a49673693b98469683451bd9ede797557 |
23-Sep-2009 |
Jason Sams <rjsams@android.com> |
Add raster object to control point and line params. Add flag to force SW rendering.
enderscript/ProgramRaster.java
enderscript/RSSurfaceView.java
enderscript/RenderScript.java
|
b8a9f12802ca5d1738a098a1769a8ed7959f248b |
23-Sep-2009 |
Dianne Hackborn <hackbod@google.com> |
Fix #2101821: Cut labels of menu items in "SnapTell" market app. Ummmm... this turns out to be pretty bad. NinePatchDrawable was not scaling its reported padding for compatibility mode, causing spacing to be off. All over the place. This change should improve things quite a bit (and magically makes nearly all of the menu flaws go away). Change-Id: I94a8310d95b908b6f087db97d9afaed654ca6de5
raphics/drawable/NinePatchDrawable.java
|
768bc02d815a94ad29146f1ed60c847d1af118cc |
22-Sep-2009 |
Jason Sams <rjsams@android.com> |
Implement more type checks on Allocations. Add tracking for allocations created using the "sized" helper. Add more param validation for data upload calls.
enderscript/Allocation.java
enderscript/Element.java
enderscript/RenderScript.java
enderscript/SimpleMesh.java
enderscript/Type.java
|
eb68c46a40c773eb56ef7bcf8e7ece5c6a5a8d23 |
18-Sep-2009 |
Chih-Chung Chang <chihchung@google.com> |
Fix 2092386: Support yuyv for camera preview format. Change-Id: I3ef821fed2132a9faf92983324c7e036d0f5641e
raphics/PixelFormat.java
|
d9497f7dd98da28da320ac2231c6e94a243ce257 |
17-Sep-2009 |
Android (Google) Code Review <android-gerrit@google.com> |
Merge change 25394 into eclair * changes: Add StateListDrawable's dither flag to the constant state.
|
a41581ed4033004c73115113f45b9844e9b0210f |
17-Sep-2009 |
Romain Guy <romainguy@android.com> |
Add StateListDrawable's dither flag to the constant state. Change-Id: Ie377bfe3dfb83c33df3c0cc5a02810332a60a322
raphics/drawable/DrawableContainer.java
|
07e62d1de9ca3c0f6f49973b549e8aa1e802ee5e |
17-Sep-2009 |
Android (Google) Code Review <android-gerrit@google.com> |
Merge change 25185 into eclair * changes: Implement renderscript Invokables.
|
be2e84193f709419634de4cc3ba0e67acf6976f3 |
17-Sep-2009 |
Jason Sams <rjsams@android.com> |
Implement renderscript Invokables.
enderscript/RenderScript.java
enderscript/Script.java
|
ffff38420c8b4713470011b909ae2238b5675f7c |
16-Sep-2009 |
Romain Guy <romainguy@android.com> |
Build the BitmapShader if it hasn't been built yet. This was causing a bug in the InCall UI where the background would be stretched. Change-Id: Ie25a7d09f4779f166e267b2f921d40441ce361d2
raphics/drawable/BitmapDrawable.java
|
df4cf29715146d67306595108c565d9848a6ae1a |
15-Sep-2009 |
Mike Reed <reed@google.com> |
redraw once more on a touch-up if we've been dragging, so we can redraw in high-quality mode update dox on BlurMaskFilter
raphics/BlurMaskFilter.java
|
ffa18dfac0b5e9e665897c9b1c107cb4268006b2 |
15-Sep-2009 |
Android (Google) Code Review <android-gerrit@google.com> |
Merge change 25100 into eclair * changes: Implement Object readback.
|
5f43fd289abbd5380b6068766daf721b555d0053 |
15-Sep-2009 |
Jason Sams <rjsams@android.com> |
Implement Object readback.
enderscript/Allocation.java
enderscript/RenderScript.java
|
c2974809373697147cbe5754835cc871fb93aef1 |
14-Sep-2009 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #2116977: buttons are huge and bent Now that we are using preloaded drawables in compatibilty mode, when constructing them from their constant state we need to set the new drawable's target density appropriately. Change-Id: I3665cbea09d38b9ac5f45f8c380dc8641f86b266
raphics/drawable/AnimatedRotateDrawable.java
raphics/drawable/AnimationDrawable.java
raphics/drawable/BitmapDrawable.java
raphics/drawable/ClipDrawable.java
raphics/drawable/ColorDrawable.java
raphics/drawable/Drawable.java
raphics/drawable/DrawableContainer.java
raphics/drawable/GradientDrawable.java
raphics/drawable/InsetDrawable.java
raphics/drawable/LayerDrawable.java
raphics/drawable/LevelListDrawable.java
raphics/drawable/NinePatchDrawable.java
raphics/drawable/RotateDrawable.java
raphics/drawable/ScaleDrawable.java
raphics/drawable/ShapeDrawable.java
raphics/drawable/StateListDrawable.java
raphics/drawable/TransitionDrawable.java
|
8cae124af2142687a6833dbaab8a43df6dd67b43 |
10-Sep-2009 |
Dianne Hackborn <hackbod@google.com> |
Various cleanup around resources and nine-patches. Remove the stuff that doesn't use preloaded drawables when in compatibility mode, since this works fine ever since we were able to deal with drawables in a different density than the canvas. Change the snapshot function on View to return a snapshot at the same size that will actually be drawn on screen (when in compatibility mode), to be able to show scaling artifacts and all. This change was original an attempt to fix issue #2101917: Text field edges appears to be improperly rounded. That turns out to probably be something deeper in the graphics system, but also included here is the debugging code I did to try to track down the problem to make it easy to turn on again later. Change-Id: I34bfca629639c7ff103f3989d88874112ef778d9
raphics/drawable/NinePatchDrawable.java
|
211db4a2874f1a2d0e7a8cb8d33e81fa08801763 |
11-Sep-2009 |
Mike Reed <reed@google.com> |
change default for dither to true
raphics/drawable/BitmapDrawable.java
raphics/drawable/DrawableContainer.java
raphics/drawable/NinePatchDrawable.java
raphics/drawable/StateListDrawable.java
|
da0a56df963353a1f1bd1914fa31f870d982dd5a |
11-Sep-2009 |
Scott Main <smain@google.com> |
resolved conflicts for merge of e0408aa1 to eclair
|
df4578e8ab7008a7e528d5af2ae761b33cf2bdf4 |
10-Sep-2009 |
Scott Main <smain@google.com> |
docs only. add documentation to notify developers about variable camera specifications and add some more links Change-Id: I46ef9811af17858cbc6547f88e626becb481b043
raphics/PixelFormat.java
|
d9512a30d8e5c7780c3faf2fa59c076010f67b9e |
10-Sep-2009 |
Mike Reed <reed@google.com> |
default dithering to ON (cheap, looks good) officially ignore filtering (expensive, no real improvement)
raphics/drawable/NinePatchDrawable.java
|
ea84a7c51790f9ba5f2194a66d6cf4ea8d879776 |
04-Sep-2009 |
Jason Sams <rjsams@android.com> |
Remove "predefined" elements from Java layer. Static elements continue to exist but are no longer treated as a special version of element.
enderscript/Allocation.java
enderscript/Element.java
enderscript/RenderScript.java
|
2525a815220652b37e2e390fe8c62394a6d0e574 |
04-Sep-2009 |
Jason Sams <rjsams@android.com> |
Improve structure support using symbol lookup of named structures in scripts to allow them to appear as just pointers to structs.
enderscript/Allocation.java
enderscript/Element.java
enderscript/RenderScript.java
enderscript/SimpleMesh.java
|
650a3eb7d621dc8e81573142a4498bbd07bcde27 |
31-Aug-2009 |
Romain Guy <romainguy@android.com> |
Load bitmap resources entirely from native code. Change-Id: I6660baec241794c40611bce79b7f9ce9479e52ba
raphics/BitmapFactory.java
enderscript/Allocation.java
enderscript/RenderScript.java
|
07ae40623737a6060b8a925fd2e6bba76780dcd4 |
28-Aug-2009 |
Jason Sams <rjsams@android.com> |
Implement async data/subData. Implement TriangleMeshBuilder in SimpleMesh which replaces TriangleMesh. Update Film to use new builder.
enderscript/Allocation.java
enderscript/Element.java
enderscript/RenderScript.java
enderscript/SimpleMesh.java
|
67c6844ea0577b7894c3053952eb4ee39fa3134c |
26-Aug-2009 |
Jason Sams <rjsams@android.com> |
Remove bogus comments and logging.
enderscript/RSSurfaceView.java
|
f5b4596a383b6ab83f92edecfe054e80b555c2d0 |
25-Aug-2009 |
Jason Sams <rjsams@android.com> |
Implement java interface for RS shutdown and fix shutdown deadlock with the command fifo.
enderscript/RenderScript.java
|
b13ada5071f55c96054c47bbd88d8801cd2c0f15 |
25-Aug-2009 |
Jason Sams <rjsams@android.com> |
Add support for selecting the color bit depth and if the application used a depth buffer.
enderscript/RSSurfaceView.java
enderscript/RenderScript.java
|
dbade9d6a075b1d5b8ebe10ee8961a5de296c93b |
25-Aug-2009 |
Mike Reed <reed@google.com> |
expose runtime changes to gamma
raphics/Typeface.java
|
4a51c20ce607c74914f90fd897f04080121ac13b |
22-Aug-2009 |
Dianne Hackborn <hackbod@google.com> |
I am getting tired of the java doc warnings, so fix them. Change-Id: I2205eebae419eaf4a0992c9f5b7cd807eb843fe1
raphics/drawable/BitmapDrawable.java
raphics/drawable/NinePatchDrawable.java
|
6afa16feb32d44c4977b3eb6007246a99f22fdbf |
20-Aug-2009 |
Jeff Sharkey <jsharkey@android.com> |
Add dither XML flag to StateListDrawable. We currently allow the dither="true" flag to be set on individual <bitmap> and <nine-patch> objects, but that flag is overridden when they are included in a <selector>. This change adds the dither="true" flag to StateListDrawable so they can be dithered when desired. Fixes http://b/issue?id=2068024
raphics/drawable/StateListDrawable.java
|
d8e4161f114331343b897cbacea927e7e60e7b17 |
21-Aug-2009 |
Jason Sams <rjsams@android.com> |
Allow null to be re-bound as a root script. This was always legal from native and just a limitation of the java binding for the API.
enderscript/RenderScript.java
|
25ffcdc9d7e32c9c1eeb2b48cc2f17d1353e9fae |
21-Aug-2009 |
Jason Sams <rjsams@android.com> |
Point Sprites
enderscript/Element.java
enderscript/ProgramFragment.java
enderscript/RenderScript.java
|
484d57f4355ab3979025beaddeb0cbecb1a5b81f |
19-Aug-2009 |
Romain Guy <romainguy@android.com> |
Move the sky
enderscript/Type.java
|
730ee65d4ddb307898053b623120bad1655fadad |
19-Aug-2009 |
Jason Sams <rjsams@android.com> |
Implement OOB destroy method that can be called from the java finalizer removing the need to explicitly destroy objects.
enderscript/BaseObj.java
enderscript/RenderScript.java
|
7ce033d797e5df5e2131e2ed459fba181eaf4658 |
18-Aug-2009 |
Jason Sams <rjsams@android.com> |
Cleanup of object destruction. No need to have a per-class destruction function. This was a legacy of the distant past when the classes did not have a common base.
enderscript/Allocation.java
enderscript/BaseObj.java
enderscript/Element.java
enderscript/Light.java
enderscript/ProgramFragment.java
enderscript/ProgramStore.java
enderscript/ProgramVertex.java
enderscript/RenderScript.java
enderscript/Sampler.java
enderscript/Script.java
enderscript/SimpleMesh.java
enderscript/Type.java
|
948ee251276e1ce7f5c5517b24bf88a75e99f160 |
18-Aug-2009 |
Android (Google) Code Review <android-gerrit@google.com> |
Merge change 21660 into eclair * changes: Optimized Galaxy
|
4f7136c6595ba862be49a660180f084dad17325b |
18-Aug-2009 |
Romain Guy <romainguy@android.com> |
Optimized Galaxy
enderscript/Element.java
|
5fe1afe9cc24969d25496d57d911e8aae8b3ba7a |
18-Aug-2009 |
Android (Google) Code Review <android-gerrit@google.com> |
Merge change 21603 into eclair * changes: Fix infinite recursion.
|
46407d831ef31c0935e6d069198ffb275c840d83 |
18-Aug-2009 |
Dianne Hackborn <hackbod@google.com> |
Fix infinite recursion.
raphics/drawable/Drawable.java
|
334ea0c98f051b5a6b85bc616c93304651854298 |
17-Aug-2009 |
Jason Sams <rjsams@android.com> |
Update fountain and add writable flag to script slots.
enderscript/Element.java
enderscript/RenderScript.java
enderscript/Script.java
|
7341d7a104b47996445d069a695e155a07184606 |
14-Aug-2009 |
Dianne Hackborn <hackbod@google.com> |
More work on wallpapers. - Do better about figuring out when to stop them and other related window management. - Fix problem where we were not redrawing the surface when the orientation changed. This was the cause of the device hang.
raphics/BitmapFactory.java
raphics/drawable/Drawable.java
|
81e4640d18d451992cb504b356ff4d2dc1b7f297 |
15-Aug-2009 |
Romain Guy <romainguy@android.com> |
Add Galaxy wallpaper
enderscript/Element.java
|
e14e70a1b0bce377d90183e53c67688ce7067c0e |
14-Aug-2009 |
Mike Reed <reed@google.com> |
fix documentation
raphics/DashPathEffect.java
|
317a6280cc109e873646e4652be1582d870eedfd |
14-Aug-2009 |
Mathias Agopian <mathias@google.com> |
Surface::GPU and Surface::HARDWARE are now deprecated; they will be set automatically if needed. this also ripples into the window manager API by making some constant there deprecated as well.
enderscript/RSSurfaceView.java
|
fbf0b9ecda03fbdbd4ebabfd18da09a789686249 |
13-Aug-2009 |
Jason Sams <rjsams@android.com> |
Implement named slots and convert script.addType to script.setType to remove ordering restrictions.
enderscript/RenderScript.java
enderscript/Script.java
enderscript/Type.java
|
1b52aae4d908fcf749e9a8d86bb0a33c70728c56 |
13-Aug-2009 |
Jason Sams <rjsams@android.com> |
Fix build break.
enderscript/Type.java
|
43ee06857bb7f99446d1d84f8789016c5d105558 |
13-Aug-2009 |
Jason Sams <rjsams@android.com> |
Implement reflecting Java objects into the ACC enviroment.
enderscript/Allocation.java
enderscript/Element.java
enderscript/RenderScript.java
enderscript/Script.java
enderscript/Type.java
|
b3c61e7decf4b9fb00ac18937c756208d9ffb717 |
12-Aug-2009 |
Romain Guy <romainguy@android.com> |
Fix the build
enderscript/RenderScript.java
|
f415cf2d78cb214b0a661e0f03905b4279656ea8 |
11-Aug-2009 |
Joe Onorato <joeo@android.com> |
Add two addDefines methods to ScriptC.Builder. They add #defines from the fileds on a class or object that you pass in.
enderscript/ScriptC.java
|
5d3b13150d126e6d7f04978f4b142900311758ed |
11-Aug-2009 |
Android (Google) Code Review <android-gerrit@google.com> |
Merge change 20657 * changes: Fix possible NPE when mutating a DrawableContainer
|
1010ac9b7c52b1e2a64e8e1f4dcdb4d79f4d32cc |
11-Aug-2009 |
Romain Guy <romainguy@android.com> |
Fix possible NPE when mutating a DrawableContainer
raphics/drawable/DrawableContainer.java
|
40a29e8e28772b37ab0f9fe9708ecdcba24abb84 |
10-Aug-2009 |
Jason Sams <rjsams@android.com> |
Implement basic allocation readback. Add Get height, width to ScriptC_Lib.
enderscript/Allocation.java
enderscript/RenderScript.java
|
d7b3774da62d3c70cc7e8cf549967a1c823501e6 |
10-Aug-2009 |
Joe Onorato <joeo@android.com> |
Let java put #defines into renderscript
enderscript/RenderScript.java
enderscript/ScriptC.java
|
1bada8cd6e4f340de93cff4a2439835fc3b1456c |
10-Aug-2009 |
Jason Sams <rjsams@android.com> |
Begin implementing SimpleMesh and fix some bugs with refcounting and java object destruction tracking.
enderscript/Allocation.java
enderscript/BaseObj.java
enderscript/Element.java
enderscript/Primitive.java
enderscript/ProgramFragment.java
enderscript/ProgramStore.java
enderscript/ProgramVertex.java
enderscript/RenderScript.java
enderscript/Script.java
enderscript/SimpleMesh.java
enderscript/Type.java
|
9bee51c42eb8c3daffe7d6fa483edbb1689b94d2 |
05-Aug-2009 |
Jason Sams <rjsams@android.com> |
Remove useless slot from ProgramVertex. Optimize GL state setup.
enderscript/ProgramVertex.java
enderscript/RenderScript.java
|
110195fe9ff96255242bfa4df1d15c6a56b140d6 |
05-Aug-2009 |
Jason Sams <rjsams@android.com> |
Seperate ProgramVertex from RenderScript.java and merge ProgramVertexAlloc into the ProgramVertex class.
enderscript/Light.java
enderscript/ProgramFragment.java
enderscript/ProgramVertex.java
enderscript/ProgramVertexAlloc.java
enderscript/RenderScript.java
|
0835d42be9b215f845e30db03211c86670cfa12a |
05-Aug-2009 |
Jason Sams <rjsams@android.com> |
Seperate Light and Sampler from RenderScript.java
enderscript/Light.java
enderscript/ProgramFragment.java
enderscript/RenderScript.java
enderscript/Sampler.java
|
22534176fb5c1257130ef4ee589739ca42766a32 |
05-Aug-2009 |
Jason Sams <rjsams@android.com> |
Split ProgramFragment and ProgramStore from RenderScript.java. Update Element and Type to new cached builder for easier app developement.
enderscript/Element.java
enderscript/ProgramFragment.java
enderscript/ProgramStore.java
enderscript/RenderScript.java
enderscript/Script.java
enderscript/Type.java
|
69f0d31e576c0110c2cbbafc3b9bd46e73fc1afc |
04-Aug-2009 |
Jason Sams <rjsams@android.com> |
Split ScriptC from RenderScript.java. Implement state caching in the Builder objects.
enderscript/RenderScript.java
enderscript/Script.java
enderscript/ScriptC.java
|
9df76c7c2f94cf3a66a61b28432b7c5d68869255 |
04-Aug-2009 |
Android (Google) Code Review <android-gerrit@google.com> |
Merge change 9551 * changes: Implement the jni bindings for Adapter2D. Fix a refcount bug in the native adapter implementation. Use adapters in Film to border the mipmaps.
|
bd1c3ad0cdf8e60b849a009cdc0b36764cc1dacb |
04-Aug-2009 |
Jason Sams <rjsams@android.com> |
Implement the jni bindings for Adapter2D. Fix a refcount bug in the native adapter implementation. Use adapters in Film to border the mipmaps.
enderscript/Allocation.java
enderscript/RenderScript.java
|
0391107e13e1e6388a3175399d15b246d726b88f |
03-Aug-2009 |
Jean-Baptiste Queru <jbq@google.com> |
merge from donut
|
a32d100b34d048cf0c765d8f31d87b81ab88d1eb |
01-Aug-2009 |
Romain Guy <romainguy@android.com> |
Add new utility methods to rsScriptC_Lib, android.util.MathUtil and android.graphics.Color. Fixes RS compilation.
raphics/Color.java
|
b8c5a84e7c23746a3fc26013e0880d3d95ca6588 |
01-Aug-2009 |
Jason Sams <rjsams@android.com> |
Split RenderScript Type and Allocation into seperate classes.
enderscript/Allocation.java
enderscript/Dimension.java
enderscript/ProgramVertexAlloc.java
enderscript/RenderScript.java
enderscript/Type.java
|
5c1207be90fdf296c1b83034b7c68915e1749284 |
01-Aug-2009 |
Jean-Baptiste Queru <jbq@google.com> |
donut snapshot
raphics/Bitmap.java
raphics/BitmapFactory.java
raphics/Canvas.java
raphics/NinePatch.java
raphics/drawable/BitmapDrawable.java
raphics/drawable/Drawable.java
raphics/drawable/DrawableContainer.java
raphics/drawable/NinePatchDrawable.java
|
36e612a488511940b61f09803b270aa1c61b68e0 |
01-Aug-2009 |
Jason Sams <rjsams@android.com> |
Begin splitting up RenderScript.java into seperate classes. First piece split off Element.
enderscript/BaseObj.java
enderscript/Element.java
enderscript/ProgramVertexAlloc.java
enderscript/RenderScript.java
|
584a375df68ed7d62b38389078c6804edf228f9c |
31-Jul-2009 |
Romain Guy <romainguy@android.com> |
First pass at implementing the Grass live wallpaper in RenderScript. This change also adds second(), minute() and hour() to the RS library.
enderscript/RenderScript.java
|
afcf686cb070313ae5ce6c54ac381a3a86a60ed2 |
31-Jul-2009 |
Android (Google) Code Review <android-gerrit@google.com> |
am 25dff70f: Merge change 9039 into donut Merge commit '25dff70f153529b87f5ad4a92f4de21e8950b1de' * commit '25dff70f153529b87f5ad4a92f4de21e8950b1de': Fix #2018814: System cannot correctly render assets with "wrap_content" attribute in QVGA
|
dba3ba5b5bf6026abceced921b1b0d231b0faefd |
30-Jul-2009 |
Jason Sams <rjsams@android.com> |
Implement bitmap resource loaders for utility. cleanup rolloRS and checkin maps.png which was missing.
enderscript/RenderScript.java
|
0d221012ff5fd314711c00ed30e9b807b9c454c1 |
30-Jul-2009 |
Dianne Hackborn <hackbod@google.com> |
Fix #2018814: System cannot correctly render assets with "wrap_content" attribute in QVGA It turns out we were not returning the density for anything retrieved from a TypedArray... which basically means any bitmap references from a layout or style...!!! This is now fixed. Also fiddle with the density compatibility mode to turn on smoothing in certain situations, helping the look of things when they need to scale and we couldn't do the scaling at load time.
raphics/Canvas.java
|
61e4248f8f6ae8a8f40550cc0800e5190cd1dc09 |
29-Jul-2009 |
Jean-Baptiste Queru <jbq@google.com> |
merge from donut
|
a8675f67e33bc7337d148358783b0fd138b501ff |
29-Jul-2009 |
Jean-Baptiste Queru <jbq@google.com> |
donut snapshot
raphics/Bitmap.java
raphics/BitmapFactory.java
raphics/Canvas.java
raphics/Rect.java
raphics/drawable/ShapeDrawable.java
|
a590434559a15b70693acb1767d06635706fcc9c |
28-Jul-2009 |
Android (Google) Code Review <android-gerrit@google.com> |
Merge change 8835 * changes: Add "boxed" bitmap uploads which simply place a non-pow2 bitmap into the smallest larger pow texture. The added space is filled black.
|
b0ec1b46d6f5b5612e33fe43a828abea79b87a00 |
28-Jul-2009 |
Jason Sams <rjsams@android.com> |
Add "boxed" bitmap uploads which simply place a non-pow2 bitmap into the smallest larger pow texture. The added space is filled black.
enderscript/RenderScript.java
|
2c3fc83ac5b267d6a551deb36b30064a2e617944 |
27-Jul-2009 |
Android (Google) Code Review <android-gerrit@google.com> |
am ef9fd18d: Merge change 8616 into donut Merge commit 'ef9fd18d90829ecbd37769cc05a8d5288aff821c' * commit 'ef9fd18d90829ecbd37769cc05a8d5288aff821c': Fiddle with default densities to try to sanitize the API.
|
96e240f25a97c10bba863df328ed73a82c34ff61 |
27-Jul-2009 |
Dianne Hackborn <hackbod@google.com> |
Fiddle with default densities to try to sanitize the API. An issue with the density API is that bitmaps assumed the old default density, so new programs would have to explicitly set the correct density for every bitmap they create. This is an attempt to fix that situation, by define the default density of bitmaps to be the main screen's density, except for old apps where it is the original default density. Actually implementing this is not so great, though, because the Bitmap constructors can't really know anything about who is calling them to know which density to use. So at this level the compatibility mode is defined per-process -- meaning the initial package loaded into a process defines the default bitmap density, and everyone else loaded in later on has to live with that. In practice this shouldn't be much of a problem, there shouldn't be much mixing of old vs. new apps in a process. It does mean that, going forward, if a developer is going to use shared user IDs for this, they will need to make sure either that all of their apps are in the same compatibility mode, or that their code explicitly sets the density of bitmaps it receives. This isn't all that great, but I think it is worth the benefit of allowing people who write modern apps to not have to deal with bitmap densities. This change also does some cleanup of the density management (making sure to always copy over bitmap densities, etc) and adds java docs to explain the various ways density is set and used by the system.
raphics/Bitmap.java
raphics/Canvas.java
|
2af1b3db3d4f687d008db74b150f149e956b4bc6 |
26-Jul-2009 |
Jean-Baptiste Queru <jbq@google.com> |
Merge korg/donut into korg/master
|
e2dba02441b42afbae725109ac779877a4b72aa0 |
25-Jul-2009 |
Dianne Hackborn <hackbod@google.com> |
am 11ea3347: Allow for screen density drawables in compatibility mode. Merge commit '11ea33471e1a14a8594f0b2cd012d86340dd3bd8' * commit '11ea33471e1a14a8594f0b2cd012d86340dd3bd8': Allow for screen density drawables in compatibility mode.
|
11ea33471e1a14a8594f0b2cd012d86340dd3bd8 |
23-Jul-2009 |
Dianne Hackborn <hackbod@google.com> |
Allow for screen density drawables in compatibility mode. This change allows us to use drawables that match the current screen density even when being loaded in compatibility mode. In this case, the bitmap is loaded in the screen density, and the bitmap and nine-patch drawables take care of accounting for the density difference. This should be safe for existing applications, for the most part, since they shouldn't really be pulling the bitmap out of the drawable. For the small rare chance of them breaking, it worth getting the correct graphics. Also this will only happen when there is actually a resource of the matching density, and no existing apps should have resources for anything besides the default density (though of course all of the framework resources will be available in the native density). As part of this, the bitmap density API has been changed to a single integer provider the DPI unit density.
raphics/Bitmap.java
raphics/BitmapFactory.java
raphics/Canvas.java
raphics/NinePatch.java
raphics/drawable/BitmapDrawable.java
raphics/drawable/Drawable.java
raphics/drawable/NinePatchDrawable.java
|
bc512021ee967bf106561e58af946814bff02da1 |
24-Jul-2009 |
Android (Google) Code Review <android-gerrit@google.com> |
Merge change 8279 * changes: Move the java and jni renderscript files to the proper location.
|
e29d471e5ca9781d8772d445ec7832e94856fd14 |
24-Jul-2009 |
Jason Sams <rjsams@android.com> |
Move the java and jni renderscript files to the proper location.
enderscript/Matrix.java
enderscript/ProgramVertexAlloc.java
enderscript/RSSurfaceView.java
enderscript/RenderScript.java
|
8aea2f5f749e48ef0fe3532ab2fc258922c3239b |
22-Jul-2009 |
Android (Google) Code Review <android-gerrit@google.com> |
am 59c25cba: Merge change 8218 into donut Merge commit '59c25cbaf0dd690e503b881392510127441d9074' * commit '59c25cbaf0dd690e503b881392510127441d9074': DrawableContainer was not respecting the value returned by Drawable.getPadding(Rect).
|
5140141c2637b89ad0d86c3b715459a1e7b92729 |
22-Jul-2009 |
Romain Guy <romainguy@android.com> |
DrawableContainer was not respecting the value returned by Drawable.getPadding(Rect). Before this change, DrawableContainer would always return true from getPadding(Rect) even if all of its children were returning false from getPadding(Rect). This change modifies this behavior to respect getPadding(Rect): mConstantPadding is kept null when getPadding(Rect) returns false for all of the children and a flag is set to avoid recomputing that value every time getConstantPadding() is invoked.
raphics/drawable/DrawableContainer.java
|
fead9b8ad0c6e64066fb73f4285b088ab68f452b |
22-Jul-2009 |
Android (Google) Code Review <android-gerrit@google.com> |
am fe6f45c8: Merge change 8098 into donut Merge commit 'fe6f45c81463d2d28e11ac6083f2653e1286c5ef' * commit 'fe6f45c81463d2d28e11ac6083f2653e1286c5ef': cast is floor. Use round instead.
|
61324e58c549670c015010d0be14c6af76e3e9f7 |
22-Jul-2009 |
Mitsuru Oshima <oshima@google.com> |
cast is floor. Use round instead. This fixes a few layout issues (that was due to smaller widnow size)
raphics/Rect.java
|
cf4550c3198d6b3d92cdc52707fe70d7cc0caa9f |
21-Jul-2009 |
Jean-Baptiste Queru <jbq@google.com> |
donut snapshot
raphics/Bitmap.java
raphics/BitmapFactory.java
raphics/Canvas.java
raphics/NinePatch.java
raphics/drawable/Animatable.java
raphics/drawable/AnimatedRotateDrawable.java
raphics/drawable/AnimationDrawable.java
raphics/drawable/Drawable.java
raphics/drawable/DrawableContainer.java
raphics/drawable/GradientDrawable.java
|
bec99bffeecacb1af603966391014895f9a16025 |
20-Jul-2009 |
Android (Google) Code Review <android-gerrit@google.com> |
am 5c536e91: Merge change 7840 into donut Merge commit '5c536e9162721c460699a041959a0d67de1d20db' * commit '5c536e9162721c460699a041959a0d67de1d20db': Fix issue where scaled bitmap sizes could be wrong.
|
469b4c67adc77a87eb2c9ed9217edf1778002828 |
20-Jul-2009 |
Android (Google) Code Review <android-gerrit@google.com> |
am aad0fcc9: Merge change 7783 into donut Merge commit 'aad0fcc9619eb72c18a6afff48ebc9d4011f0f54' * commit 'aad0fcc9619eb72c18a6afff48ebc9d4011f0f54': Add "nodpi" density, and expose a bunch of density-related APIs.
|
2784ff0af88128f66ae690b73d48fb7e4a211e68 |
19-Jul-2009 |
Dianne Hackborn <hackbod@google.com> |
Fix issue where scaled bitmap sizes could be wrong. The Bitmap functions to get the scaled width/height couldn't actually do the right thing because they didn't know the destination they would be drawing to. Now there are two forms of them, taking an explicit parameter specifying the destination.
raphics/Bitmap.java
|
a53b828635fce8b6b2d3e3377d74d72070056623 |
17-Jul-2009 |
Dianne Hackborn <hackbod@google.com> |
Add "nodpi" density, and expose a bunch of density-related APIs. Also update the DpiTest app to use nodpi images, and try to have a mode where it turns off compatibility though it's not quite working.
raphics/Bitmap.java
raphics/BitmapFactory.java
raphics/Canvas.java
|
c634fdd8035cc06c34663b77ab199d29697273b4 |
18-Jul-2009 |
Android (Google) Code Review <android-gerrit@google.com> |
am 09a903ab: Merge change 7696 into donut Merge commit '09a903ab5b8d940605783ae4ee591c0f090a31d1' * commit '09a903ab5b8d940605783ae4ee591c0f090a31d1': add hidden Options field for native allocations
|
1b22b979256cf163ab9bbfd4fcfa16a8ce862ed1 |
17-Jul-2009 |
Mike Reed <reed@google.com> |
add hidden Options field for native allocations
raphics/BitmapFactory.java
|
eabdb7c252d7e245932891482458486e67ab93d2 |
08-Jul-2009 |
Android (Google) Code Review <android-gerrit@google.com> |
am 6b532800: Merge change 6478 into donut Merge commit '6b5328006ff9e844713eb26b40621d72bee0bdd1' * commit '6b5328006ff9e844713eb26b40621d72bee0bdd1': Fix ShapeDrawable.inflateTag() to accept proper dimension specs for padding
|
90cfa9df3f3b586eae49ee2d2533a05238d391a4 |
08-Jul-2009 |
Phil Dubach <phillipd@google.com> |
Fix ShapeDrawable.inflateTag() to accept proper dimension specs for padding ShapeDrawable.inflateTag() handles the 'padding' tag with the standard attributes android:left, etc. The attribute values for these standard attributes should be dimension specifications, e.g. '4dp'. ShapeDrawable.inflateTag() was wrongly parsing the attribute values as plain integers.
raphics/drawable/ShapeDrawable.java
|
0f07b2c850ee1462ca4cf3137a954a9fc4bdf773 |
27-Apr-2009 |
Brad Fitzpatrick <brad@danga.com> |
Lazily allocate the mBounds Rect in Drawable. For background, see: http://kohlerm.blogspot.com/2009/04/analyzing-memory-usage-off-your-android.html Thanks, Markus!
raphics/drawable/Drawable.java
|
fbc7c1a784b3e9b003feaa9bd39d4283b316308e |
02-Jul-2009 |
Android (Google) Code Review <android-gerrit@google.com> |
am 9848f11f: Merge change 5826 into donut Merge commit '9848f11fd8788b985330183aeb83cc589b8b14ae' * commit '9848f11fd8788b985330183aeb83cc589b8b14ae': Fix NullPointerException in NinePatch constructor
|
0901c82336c79ca3e3d67b1df8a5cb7ee45ec13e |
02-Jul-2009 |
Android (Google) Code Review <android-gerrit@google.com> |
am 91c91b74: Merge change 5817 into donut Merge commit '91c91b74df12e40c31a50ecb807ac60bed2ccb58' * commit '91c91b74df12e40c31a50ecb807ac60bed2ccb58': Replace indeterminate progress animated asset with new ones
|
91a546d4a9b63e590cd2b56f1195981c50334e54 |
01-Jul-2009 |
Android (Google) Code Review <android-gerrit@google.com> |
am 083928fe: Merge change 5718 into donut Merge commit '083928fefde7060eb69f7f45cd8e2180efa9bfe1' * commit '083928fefde7060eb69f7f45cd8e2180efa9bfe1': Fix NullPointerException in DrawableContainer.mutate()
|
54285f2cbfb6e307d594ca264f7230b4e1e3cdce |
30-Jun-2009 |
Phil Dubach <phillipd@google.com> |
Fix NullPointerException in NinePatch constructor NinePatch.mPaint may be null and most methods in this class handle that case properly. However, the constructor which derives a new NinePatch from an existing instance assumes that mPaint is non-null. This results in an unexpected NullPointerException, for example when attempting to call NinePatchDrawable.mutate() on an instance that was created from a resource. Small unrelated fix in same file: Remove unused private mRect member.
raphics/NinePatch.java
|
b5537c452271634b6ff3981b0624fa65384abd5b |
30-Jun-2009 |
Romain Guy <romainguy@android.com> |
Replace indeterminate progress animated asset with new ones
raphics/drawable/Animatable.java
raphics/drawable/AnimatedRotateDrawable.java
raphics/drawable/AnimationDrawable.java
|
4658e8ece61f5f1eb8734850f18eb6438e4ebc80 |
30-Jun-2009 |
Android (Google) Code Review <android-gerrit@google.com> |
am 05ebcb51: Merge change 5609 into donut Merge commit '05ebcb5172679a6c196cbf23d7174c04dd9f6ae0' * commit '05ebcb5172679a6c196cbf23d7174c04dd9f6ae0': Update spinner's drawables. Clean up resources, pave the way for new animation.
|
6be507cc66863a08f08d6c0675e5bc11e5a45d32 |
30-Jun-2009 |
Phil Dubach <phillipd@google.com> |
Fix NullPointerException in DrawableContainer.mutate() DrawableContainerState.mDrawables is an array which may be only partially filled, as can be seen in the constructor and the addChild() method. DrawableContainer.mutate() wrongly assumed that the array does not contain null references.
raphics/drawable/DrawableContainer.java
|
f4f7046183f0daedd17703fa16cf9026442bdaee |
27-Jun-2009 |
Romain Guy <romainguy@android.com> |
Update spinner's drawables. Clean up resources, pave the way for new animation.
raphics/drawable/AnimatedRotateDrawable.java
raphics/drawable/Drawable.java
|
82c88fc3a7a38af75e9064a4a73940da7c49e6ab |
25-Jun-2009 |
Android (Google) Code Review <android-gerrit@google.com> |
am a2a60a21: Merge change 5142 into donut Merge commit 'a2a60a215030ca2171bc59aaeeac4179816f0796' * commit 'a2a60a215030ca2171bc59aaeeac4179816f0796': Fix NPE in GradientDrawable constructor
|
562bf17c6c7c5226b2220e27a1543d4a43543d6c |
24-Jun-2009 |
Phil Dubach <phillipd@google.com> |
Fix NPE in GradientDrawable constructor The mColors member can be null, as can be seen in GradientDrawable.setSolidColor() or the plain constructor. In that case, an NPE will be thrown on attempts to derive a new GradientDrawable from the instance using the private constructor GradientDrawable(GradientDrawable). The problem also occurs when inflating a GradientDrawable from XML without defining the start, center and end colors and then calling mutate() on the instance.
raphics/drawable/GradientDrawable.java
|
ce1311a3a0806d39dc675a3c702eebbfe741dec8 |
22-Jun-2009 |
Android (Google) Code Review <android-gerrit@google.com> |
am 766d7236: Merge change 4737 into donut Merge commit '766d7236c84f636b816d71189e309e67db1f593a' * commit '766d7236c84f636b816d71189e309e67db1f593a': Add prepareToDraw() to Bitmap for fixing http://b/issue?id=1907995.
|
8cdcb12752b716d0407733fecefcf1d9e926310a |
18-Jun-2009 |
Wei-Ta Chen <weita@google.com> |
Add prepareToDraw() to Bitmap for fixing http://b/issue?id=1907995. The function is used to rebuild any caches associated with the bitmap. In the case of purgeable bitmaps, this call ensures that the pixels are decoded for drawing, and therefore prefetching techniques implemented by callers can be leveraged.
raphics/Bitmap.java
|
903ccf479f7c06cd17f581b6633f2575d7dc7a60 |
19-Jun-2009 |
Android (Google) Code Review <android-gerrit@google.com> |
am 2b1aed10: Merge change 4527 into donut Merge commit '2b1aed1021fb472de83c4c0143f2c4452244a0af' * commit '2b1aed1021fb472de83c4c0143f2c4452244a0af': Fix Canvas.finalize() for the case where the constructor throws an exception
|
4566b79736f236c0f605c57130d1fa954f4642d6 |
18-Jun-2009 |
Phil Dubach <phillipd@google.com> |
Fix Canvas.finalize() for the case where the constructor throws an exception before the native canvas instance was created. If the canvas constructors throw an exception (because the bitmap passed in is immutable or already recycled), the constructor terminates early without allocating the native canvas instance. For the most part, that's okay, since the Canvas instance will never be returned to the application. However, the GC will still call finalize() on the half-initialized Canvas. The native methods for Canvas all assume that the canvas pointer passed down is not null.
raphics/Canvas.java
|
984b5df3830fe26a45bee39c7e8dd86714c99ed0 |
17-Jun-2009 |
Marco Nelissen <marcone@google.com> |
Add support to BitmapFactory for decoding a bitmap from a MemoryFile FileDescriptor.
raphics/BitmapFactory.java
|
683f3bed89d15c673b9fd391dc258c088e9316ae |
04-Jun-2009 |
Wei-Ta Chen <weita@google.com> |
Unhide inInputShareable in BitmapFactory.Options. The variable works together with inPurgeable, which has been unhidden in https://android-git.corp.google.com/g/Gerrit#change,2870.
raphics/BitmapFactory.java
|
eb949674fd3b83b706f795fc6b16ab1c66250c93 |
02-Jun-2009 |
Wei-Ta Chen <weita@google.com> |
Unhide inPurgeable in BitmapFactory.Options. The correctness and effectiveness of the usage of the parameter are evaluated in: https://android-git.corp.google.com/g/Gerrit#change,2768
raphics/BitmapFactory.java
|
843ef36f7b96cc19ea7d2996b7c8661b41ec3452 |
20-May-2009 |
Jean-Baptiste Queru <jbq@google.com> |
donut snapshot
raphics/Bitmap.java
raphics/BitmapFactory.java
raphics/Canvas.java
raphics/Matrix.java
raphics/Paint.java
raphics/Rect.java
raphics/Region.java
raphics/Typeface.java
raphics/drawable/Drawable.java
raphics/drawable/DrawableContainer.java
|
60b88edea7132ddce90f2dced07c6706f1502270 |
14-May-2009 |
Ken Shirriff <kens@google.com> |
Fix typos.
raphics/Bitmap.java
|
33a31b314f571ddcbef003e8a399c20ddeff6905 |
12-May-2009 |
Dirk Dougherty <nobody@android.com> |
AI 148752: Fix description of breakText() param. BUG=1790234 Automated import of CL 148752
raphics/Paint.java
|
807f23b2d8c7148cf6fc95bb88cfc2f78e4be66a |
13-May-2009 |
Android (Google) Code Review <android-gerrit@google.com> |
Merge change 1057 into donut * changes: * Add regoin scaling for transparent support
|
b10f138e125b5656e810901d14c5f956ff5d9b64 |
12-May-2009 |
Mitsuru Oshima <oshima@google.com> |
* Add regoin scaling for transparent support
raphics/Region.java
|
a87a132ebf1c2dd733cf52feff6e44525257c961 |
12-May-2009 |
Romain Guy <romainguy@android.com> |
Fixes #1847219. Add a new API to load fonts from arbitrary files: Typeface.createFromFile(String/File).
raphics/Typeface.java
|
83b2107c4d2f07f46b6ae663115421749486f8b1 |
12-May-2009 |
Romain Guy <romainguy@android.com> |
Fixes #1846038. DrawableContainer was wrongly returning its opacity by ignoring the visibility of the currently selected layer. This change simply reports a TRANSPARENT opacity if there is no currently selected layer of if the selected layer is not visible. Otherwise it reports the opacity computed by the state class.
raphics/drawable/DrawableContainer.java
|
13735a255dedd2c2e3b0cff66f0be2e17671f553 |
29-Apr-2009 |
Mitsuru Oshima <> |
Merge branch 'readonly-p4-donut' into donut
|
8169daed2f7a8731d478b884b1f455c747b88478 |
29-Apr-2009 |
Mitsuru Oshima <> |
AI 147976: Compatibility mode support. Part 2. * Introduced ApplicationScale (may not be good name. CompatibilityScale? CanvasScale? Pls let me know if you have better idea) * Changes to RootView / SurfaceView - Makes the app believe it's running in the supported density/resolution. - Makes the window manager believe it's running at the right density/resolution. * Added methods to Rect/Event for scaling up/down. Known issues: * certain kind of images (such as nine patch for buttons) seesm to be loaded not by app, thus does not take the scale into account, which, in turn, is causing layout issue. * ZoomButton in MapView is rendered in wrong place * Transparent region on Surface is not correct * Specifying different densities in one process is not working. BUG=1770627 Automated import of CL 147976
raphics/Rect.java
|
4924ae8d1f7610b8639e55b1088f6b4a993bfd40 |
28-Apr-2009 |
Android (Google) Code Review <android-gerrit@google.com> |
Merge change 618 into donut * changes: Fixes #1816088. Avoid initializing empty Rects when they are useless, especially in Zygote.
|
23bd84ce6c448b73847eb404f3a1cc7b10afb6d6 |
28-Apr-2009 |
Romain Guy <romainguy@google.com> |
Fixes #1816088. Avoid initializing empty Rects when they are useless, especially in Zygote.
raphics/drawable/Drawable.java
|
caf0df1b7f99736aed1a0b923ef278fc4fd0fcca |
27-Apr-2009 |
Mike Reed <reed@google.com> |
Add call to (new) Canvas.freeCaches() in response to low-memory This is in conjunction with removing a similar call made by the browser. Now it will be centralized, and the browser's call site will be removed.
raphics/Canvas.java
|
7bc2202d9af2fc9b0e4a28f1c1a5b475a7cf0a25 |
27-Apr-2009 |
Brad Fitzpatrick <brad@danga.com> |
Lazily allocate the mBounds Rect in Drawable. For background, see: http://kohlerm.blogspot.com/2009/04/analyzing-memory-usage-off-your-android.html Thanks, Markus!
raphics/drawable/Drawable.java
|
1fb758e94b5b9e342b6dc6452cb5bd7cf0cc4ed6 |
27-Apr-2009 |
Android (Google) Code Review <android-gerrit@google.com> |
Merge change 546 into donut * changes: Add (hidden for now) purgeable bitmaps
|
c70e06bbfac0d92ec218a32e35d9d7fa80f23cc9 |
24-Apr-2009 |
Mike Reed <reed@google.com> |
Add (hidden for now) purgeable bitmaps BitmapFactory::Options now let you specify if the resulting bitmap can be "purgeable". If so, then its decoded pixels may be purged when not actively being drawn, freeing up that RAM. When such a bitmap is drawn, it will automatically be re-decoded on demand. This is done by having the bitmap keep a reference/copy of the encoded data. Where it is a reference or a copy is controlled by the "shareable" flag in Options. If this is true, the implementation *may* just reference the encode data (e.g. a file descriptor) rathern than making a complete copy of it. Currently, purgeable is not supported for generic inputstreams, but is enabled for byte-array, file-descriptor, and assets, though for impl reasons only file-descripts are currently enabled for "shareable", but that may change in the future.
raphics/BitmapFactory.java
|
1d442e0d990b581357f33f5463c7c5cb49b551e8 |
21-Apr-2009 |
Dianne Hackborn <hackbod@google.com> |
More optimization of dumpsys output. There are three major classes of changes here: - Avoid writing lines where their values are often empty, false, or some other typical thing. - Use partial writes to the PrintWriter to avoid creating temporary strings. - Use StringBuilder where we need to generate real String objects (and where possible cache the result).
raphics/Matrix.java
raphics/Rect.java
|
c39a6e0c51e182338deb8b63d07933b585134929 |
11-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@137873
raphics/Paint.java
|
4df2423a947bcd3f024cc3d3a1a315a8dc428598 |
05-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@136594
raphics/drawable/LevelListDrawable.java
|
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 |
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
raphics/AvoidXfermode.java
raphics/Bitmap.aidl
raphics/Bitmap.java
raphics/BitmapFactory.java
raphics/BitmapShader.java
raphics/BlurMaskFilter.java
raphics/Camera.java
raphics/Canvas.java
raphics/Color.java
raphics/ColorFilter.java
raphics/ColorMatrix.java
raphics/ColorMatrixColorFilter.java
raphics/ComposePathEffect.java
raphics/ComposeShader.java
raphics/CornerPathEffect.java
raphics/DashPathEffect.java
raphics/DiscretePathEffect.java
raphics/DrawFilter.java
raphics/EmbossMaskFilter.java
raphics/Interpolator.java
raphics/LayerRasterizer.java
raphics/LightingColorFilter.java
raphics/LinearGradient.java
raphics/MaskFilter.java
raphics/Matrix.java
raphics/Movie.java
raphics/NinePatch.java
raphics/Paint.java
raphics/PaintFlagsDrawFilter.java
raphics/Path.java
raphics/PathDashPathEffect.java
raphics/PathEffect.java
raphics/PathMeasure.java
raphics/Picture.java
raphics/PixelFormat.java
raphics/PixelXorXfermode.java
raphics/Point.java
raphics/PointF.java
raphics/PorterDuff.java
raphics/PorterDuffColorFilter.java
raphics/PorterDuffXfermode.java
raphics/RadialGradient.java
raphics/Rasterizer.java
raphics/Rect.aidl
raphics/Rect.java
raphics/RectF.aidl
raphics/RectF.java
raphics/Region.aidl
raphics/Region.java
raphics/RegionIterator.java
raphics/Shader.java
raphics/SumPathEffect.java
raphics/SweepGradient.java
raphics/TemporaryBuffer.java
raphics/Typeface.java
raphics/Xfermode.java
raphics/drawable/AnimationDrawable.java
raphics/drawable/BitmapDrawable.java
raphics/drawable/ClipDrawable.java
raphics/drawable/ColorDrawable.java
raphics/drawable/Drawable.java
raphics/drawable/DrawableContainer.java
raphics/drawable/GradientDrawable.java
raphics/drawable/InsetDrawable.java
raphics/drawable/LayerDrawable.java
raphics/drawable/LevelListDrawable.java
raphics/drawable/NinePatchDrawable.java
raphics/drawable/PaintDrawable.java
raphics/drawable/PictureDrawable.java
raphics/drawable/RotateDrawable.java
raphics/drawable/ScaleDrawable.java
raphics/drawable/ShapeDrawable.java
raphics/drawable/StateListDrawable.java
raphics/drawable/TransitionDrawable.java
raphics/drawable/package.html
raphics/drawable/shapes/ArcShape.java
raphics/drawable/shapes/OvalShape.java
raphics/drawable/shapes/PathShape.java
raphics/drawable/shapes/RectShape.java
raphics/drawable/shapes/RoundRectShape.java
raphics/drawable/shapes/Shape.java
raphics/drawable/shapes/package.html
raphics/package.html
|
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 |
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
raphics/AvoidXfermode.java
raphics/Bitmap.aidl
raphics/Bitmap.java
raphics/BitmapFactory.java
raphics/BitmapShader.java
raphics/BlurMaskFilter.java
raphics/Camera.java
raphics/Canvas.java
raphics/Color.java
raphics/ColorFilter.java
raphics/ColorMatrix.java
raphics/ColorMatrixColorFilter.java
raphics/ComposePathEffect.java
raphics/ComposeShader.java
raphics/CornerPathEffect.java
raphics/DashPathEffect.java
raphics/DiscretePathEffect.java
raphics/DrawFilter.java
raphics/EmbossMaskFilter.java
raphics/Interpolator.java
raphics/LayerRasterizer.java
raphics/LightingColorFilter.java
raphics/LinearGradient.java
raphics/MaskFilter.java
raphics/Matrix.java
raphics/Movie.java
raphics/NinePatch.java
raphics/Paint.java
raphics/PaintFlagsDrawFilter.java
raphics/Path.java
raphics/PathDashPathEffect.java
raphics/PathEffect.java
raphics/PathMeasure.java
raphics/Picture.java
raphics/PixelFormat.java
raphics/PixelXorXfermode.java
raphics/Point.java
raphics/PointF.java
raphics/PorterDuff.java
raphics/PorterDuffColorFilter.java
raphics/PorterDuffXfermode.java
raphics/RadialGradient.java
raphics/Rasterizer.java
raphics/Rect.aidl
raphics/Rect.java
raphics/RectF.aidl
raphics/RectF.java
raphics/Region.aidl
raphics/Region.java
raphics/RegionIterator.java
raphics/Shader.java
raphics/SumPathEffect.java
raphics/SweepGradient.java
raphics/TemporaryBuffer.java
raphics/Typeface.java
raphics/Xfermode.java
raphics/drawable/AnimationDrawable.java
raphics/drawable/BitmapDrawable.java
raphics/drawable/ClipDrawable.java
raphics/drawable/ColorDrawable.java
raphics/drawable/Drawable.java
raphics/drawable/DrawableContainer.java
raphics/drawable/GradientDrawable.java
raphics/drawable/InsetDrawable.java
raphics/drawable/LayerDrawable.java
raphics/drawable/LevelListDrawable.java
raphics/drawable/NinePatchDrawable.java
raphics/drawable/PaintDrawable.java
raphics/drawable/PictureDrawable.java
raphics/drawable/RotateDrawable.java
raphics/drawable/ScaleDrawable.java
raphics/drawable/ShapeDrawable.java
raphics/drawable/StateListDrawable.java
raphics/drawable/TransitionDrawable.java
raphics/drawable/package.html
raphics/drawable/shapes/ArcShape.java
raphics/drawable/shapes/OvalShape.java
raphics/drawable/shapes/PathShape.java
raphics/drawable/shapes/RectShape.java
raphics/drawable/shapes/RoundRectShape.java
raphics/drawable/shapes/Shape.java
raphics/drawable/shapes/package.html
raphics/package.html
|
076357b8567458d4b6dfdcf839ef751634cd2bfb |
03-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@132589
raphics/drawable/Drawable.java
raphics/drawable/NinePatchDrawable.java
raphics/drawable/StateListDrawable.java
|
3dec7d563a2f3e1eb967ce2054a00b6620e3558c |
03-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@137055
raphics/drawable/Drawable.java
raphics/drawable/NinePatchDrawable.java
raphics/drawable/StateListDrawable.java
|
da996f390e17e16f2dfa60e972e7ebc4f868f37e |
13-Feb-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@131421
raphics/drawable/GradientDrawable.java
raphics/drawable/RotateDrawable.java
raphics/drawable/ScaleDrawable.java
|
d24b8183b93e781080b2c16c487e60d51c12da31 |
11-Feb-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@130745
raphics/Bitmap.java
raphics/BitmapFactory.java
raphics/Canvas.java
raphics/NinePatch.java
raphics/drawable/AnimationDrawable.java
raphics/drawable/BitmapDrawable.java
raphics/drawable/ClipDrawable.java
raphics/drawable/Drawable.java
raphics/drawable/DrawableContainer.java
raphics/drawable/GradientDrawable.java
raphics/drawable/InsetDrawable.java
raphics/drawable/LayerDrawable.java
raphics/drawable/LevelListDrawable.java
raphics/drawable/NinePatchDrawable.java
raphics/drawable/RotateDrawable.java
raphics/drawable/ScaleDrawable.java
raphics/drawable/ShapeDrawable.java
raphics/drawable/StateListDrawable.java
raphics/drawable/TransitionDrawable.java
raphics/drawable/package.html
raphics/drawable/shapes/PathShape.java
raphics/drawable/shapes/RectShape.java
raphics/drawable/shapes/RoundRectShape.java
raphics/drawable/shapes/Shape.java
|
f1e484acb594a726fb57ad0ae4cfe902c7f35858 |
22-Jan-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@127436
raphics/Bitmap.java
raphics/BitmapFactory.java
raphics/drawable/LayerDrawable.java
|
b798689749c64baba81f02e10cf2157c747d6b46 |
10-Jan-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@125939
raphics/drawable/AnimationDrawable.java
raphics/drawable/BitmapDrawable.java
raphics/drawable/ClipDrawable.java
raphics/drawable/ColorDrawable.java
raphics/drawable/GradientDrawable.java
raphics/drawable/InsetDrawable.java
raphics/drawable/LayerDrawable.java
raphics/drawable/LevelListDrawable.java
raphics/drawable/RotateDrawable.java
raphics/drawable/ScaleDrawable.java
raphics/drawable/StateListDrawable.java
raphics/drawable/TransitionDrawable.java
|
f013e1afd1e68af5e3b868c26a653bbfb39538f8 |
18-Dec-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Code drop from //branches/cupcake/...@124589
raphics/Rect.java
raphics/RectF.aidl
raphics/RectF.java
raphics/drawable/AnimationDrawable.java
raphics/drawable/BitmapDrawable.java
raphics/drawable/ColorDrawable.java
raphics/drawable/LayerDrawable.java
raphics/drawable/TransitionDrawable.java
|
54b6cfa9a9e5b861a9930af873580d6dc20f773c |
21-Oct-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Initial Contribution
raphics/AvoidXfermode.java
raphics/Bitmap.aidl
raphics/Bitmap.java
raphics/BitmapFactory.java
raphics/BitmapShader.java
raphics/BlurMaskFilter.java
raphics/Camera.java
raphics/Canvas.java
raphics/Color.java
raphics/ColorFilter.java
raphics/ColorMatrix.java
raphics/ColorMatrixColorFilter.java
raphics/ComposePathEffect.java
raphics/ComposeShader.java
raphics/CornerPathEffect.java
raphics/DashPathEffect.java
raphics/DiscretePathEffect.java
raphics/DrawFilter.java
raphics/EmbossMaskFilter.java
raphics/Interpolator.java
raphics/LayerRasterizer.java
raphics/LightingColorFilter.java
raphics/LinearGradient.java
raphics/MaskFilter.java
raphics/Matrix.java
raphics/Movie.java
raphics/NinePatch.java
raphics/Paint.java
raphics/PaintFlagsDrawFilter.java
raphics/Path.java
raphics/PathDashPathEffect.java
raphics/PathEffect.java
raphics/PathMeasure.java
raphics/Picture.java
raphics/PixelFormat.java
raphics/PixelXorXfermode.java
raphics/Point.java
raphics/PointF.java
raphics/PorterDuff.java
raphics/PorterDuffColorFilter.java
raphics/PorterDuffXfermode.java
raphics/RadialGradient.java
raphics/Rasterizer.java
raphics/Rect.aidl
raphics/Rect.java
raphics/RectF.java
raphics/Region.aidl
raphics/Region.java
raphics/RegionIterator.java
raphics/Shader.java
raphics/SumPathEffect.java
raphics/SweepGradient.java
raphics/TemporaryBuffer.java
raphics/Typeface.java
raphics/Xfermode.java
raphics/drawable/AnimationDrawable.java
raphics/drawable/BitmapDrawable.java
raphics/drawable/ClipDrawable.java
raphics/drawable/ColorDrawable.java
raphics/drawable/Drawable.java
raphics/drawable/DrawableContainer.java
raphics/drawable/GradientDrawable.java
raphics/drawable/InsetDrawable.java
raphics/drawable/LayerDrawable.java
raphics/drawable/LevelListDrawable.java
raphics/drawable/NinePatchDrawable.java
raphics/drawable/PaintDrawable.java
raphics/drawable/PictureDrawable.java
raphics/drawable/RotateDrawable.java
raphics/drawable/ScaleDrawable.java
raphics/drawable/ShapeDrawable.java
raphics/drawable/StateListDrawable.java
raphics/drawable/TransitionDrawable.java
raphics/drawable/package.html
raphics/drawable/shapes/ArcShape.java
raphics/drawable/shapes/OvalShape.java
raphics/drawable/shapes/PathShape.java
raphics/drawable/shapes/RectShape.java
raphics/drawable/shapes/RoundRectShape.java
raphics/drawable/shapes/Shape.java
raphics/drawable/shapes/package.html
raphics/package.html
|