summaryrefslogtreecommitdiffstats
path: root/graphics/java
Commit message (Collapse)AuthorAgeFilesLines
* Add ImageFormat.java and move the Camera/YUV constants from PixelFormat to it.Mathias Agopian2010-02-183-26/+105
| | | | PixelFormat's corresponding constansts are now deprecated.
* Merge "update dox"Mike Reed2010-02-181-7/+7
|\
| * update doxMike Reed2010-02-171-7/+7
| |
* | Added more @RemotableViewMethod methods, mutate ImageView.Jeff Sharkey2010-02-171-1/+4
|/ | | | | | | | | | 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().
* am 1e90ab54: merge from open-source masterThe Android Open Source Project2010-02-111-5/+19
|\ | | | | | | | | | | | | | | Merge commit '1e90ab542d675616e9370ab7e5add99d7af12587' * commit '1e90ab542d675616e9370ab7e5add99d7af12587': Fixs the incorrect message for SecurityException Default RotateDrawable's pivot set to (50%, 50%)
| * merge from open-source masterThe Android Open Source Project2010-02-111-5/+19
| |\
| | * Default RotateDrawable's pivot set to (50%, 50%)Cyril Mottier2010-02-061-5/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 ...".
| | * merge from eclairJean-Baptiste Queru2009-11-1544-174/+4158
| | |\
| | | * eclair snapshotJean-Baptiste Queru2009-11-1344-175/+4159
| | | |
| * | | am a66baccc: Merge "Do not merge" into eclairMike Reed2010-01-201-0/+173
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit 'a66baccc8fa9f6fa5f1630845e3c6370cb3418eb' into eclair-plus-aosp * commit 'a66baccc8fa9f6fa5f1630845e3c6370cb3418eb': Do not merge
| | * | | Do not mergeMike Reed2010-01-201-0/+173
| | | | | | | | | | | | | | | | | | | | port stretchy from master
| * | | | am fd2f6358: Merge change I771bebb9 into eclairJason Sams2009-12-0711-0/+71
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit 'fd2f6358321e95d661f24ba4e08327268035aa59' into eclair-plus-aosp * commit 'fd2f6358321e95d661f24ba4e08327268035aa59': Add Java exceptions to catch RS calls with no context or no surface.
| * | | | am c7a63eea: Add a new field to Intent that allows you to give a hint about ↵Joe Onorato2009-12-021-0/+42
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * \ \ \ \ am fa0394c9: Merge change I715333b8 into eclairJason Sams2009-11-171-0/+5
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit 'fa0394c9f89f13b53c6db2470253825b88cafb64' into eclair-plus-aosp * commit 'fa0394c9f89f13b53c6db2470253825b88cafb64': Add support for dumping RS objects to aid in debugging of white blocks bug.
| * \ \ \ \ \ am ec8178eb: Merge change I9c1bad53 into eclairJason Sams2009-11-161-0/+16
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit 'ec8178eb0fb10e1ed753be4d065cf7f004355575' into eclair-plus-aosp * commit 'ec8178eb0fb10e1ed753be4d065cf7f004355575': Add setPriority to allow wallpapers to run at lower cpu priority than default.
* | | | | | | | Modify the API of YuvImage, so that callers do not need to deal withWei-Ta Chen2010-02-101-54/+125
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the yuv format when specifying a rectangle region. Bug: 2285598
* | | | | | | | Preview seperating RenderScript into RenderScript and RenderScriptGLJason Sams2010-02-093-97/+152
| | | | | | | |
* | | | | | | | Merge "Hide field packer."Jason Sams2010-02-021-0/+4
|\ \ \ \ \ \ \ \
| * | | | | | | | Hide field packer.Jason Sams2010-02-021-0/+4
| | | | | | | | |
* | | | | | | | | Merge "Implement holders for Matrix and Vector data."Jason Sams2010-02-028-29/+385
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / /
| * | | | | | | | Implement holders for Matrix and Vector data.Jason Sams2010-02-028-29/+385
| | | | | | | | |
* | | | | | | | | Unhide YuvImage, which supports compressing a YUV rectangle region to JPEG.Wei-Ta Chen2010-01-281-2/+0
|/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | Bug: 2285598
* | | | | | | | Fix some minor bugs with GL state setup that were exposed by Droids driver.Jason Sams2010-01-272-8/+11
| | | | | | | |
* | | | | | | | Add a Java API that converts yuv data to a jpeg.Wei-Ta Chen2010-01-271-0/+171
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The compression is done in the native layer via calling libjpeg. Bug: 2285598
* | | | | | | | add API to change default config on image decoders.Mike Reed2010-01-261-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | May be called by the browser to get high-quality images when running in a 32bit window
* | | | | | | | Implement type generation for user uniforms in vertex shader.Jason Sams2010-01-122-2/+7
| | | | | | | |
* | | | | | | | Merge "Support npot on es 2.0 HW."Jason Sams2010-01-061-1/+1
|\ \ \ \ \ \ \ \
| * | | | | | | | Support npot on es 2.0 HW.Jason Sams2010-01-061-1/+1
| | | | | | | | |
* | | | | | | | | am 9e5f3ec9: am e3bbaf6c: Merge "set nine patch padding initially to an ↵Cary Clark2010-01-061-2/+2
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | empty rectangle" into eclair-mr2 Merge commit '9e5f3ec97d468702aa3f3a59e94009e807715189' * commit '9e5f3ec97d468702aa3f3a59e94009e807715189': set nine patch padding initially to an empty rectangle
| * | | | | | | | am e3bbaf6c: Merge "set nine patch padding initially to an empty rectangle" ↵Cary Clark2010-01-061-2/+2
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into eclair-mr2 Merge commit 'e3bbaf6c4f51f8201922cae29daa7e46f6c43bda' into eclair-mr2-plus-aosp * commit 'e3bbaf6c4f51f8201922cae29daa7e46f6c43bda': set nine patch padding initially to an empty rectangle
| | * | | | | | | | set nine patch padding initially to an empty rectangleCary Clark2010-01-061-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Formerly, the padding state was set to null. Copying the padding state fails when the null rectangle contents are referenced. fixes http://b/2219785
* | | | | | | | | | More complete support for named attribs. Adds user typed attribs as ↵Jason Sams2010-01-061-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | available to programVertex. Non user attribs are not treated like user for GL2 for simplicity.
* | | | | | | | | | Merge "Add RS support for generic attribs as input to vertex programs."Jason Sams2010-01-042-2/+3
|\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | Add RS support for generic attribs as input to vertex programs.Jason Sams2010-01-042-2/+3
| | | | | | | | | | |
* | | | | | | | | | | Don't round size to page size. Ashmem will do this internally as needed.Marco Nelissen2010-01-041-1/+1
|/ / / / / / / / / /
* | | | | | | | | | Disable excessive RS logging.Jason Sams2009-12-232-7/+0
| | | | | | | | | |
* | | | | | | | | | Element restructuring. Add support for new basic Element types including ↵Jason Sams2009-12-237-341/+294
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | | | | | Merge change I68afd01eAndroid (Google) Code Review2009-12-183-110/+70
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: Move texture bindings to base program object. Change ProgramFragment creation to require a texture format in 1.0 mode.
| * | | | | | | | | | Move texture bindings to base program object. Change ProgramFragment ↵Jason Sams2009-12-173-110/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | creation to require a texture format in 1.0 mode.
* | | | | | | | | | | am 0249c83e: am 31a69fdb: throw if we have a null typeface native instance ↵Mike Reed2009-12-171-0/+3
|\ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / |/| / / / / / / / / / | |/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (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)
| * | | | | | | | | am 31a69fdb: throw if we have a null typeface native instance (so we don\'t ↵Mike Reed2009-12-171-0/+3
| |\ \ \ \ \ \ \ \ \ | | |/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
| | * | | | | | | | throw if we have a null typeface native instance (so we don't crash in ↵Mike Reed2009-12-171-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | native code) we may still have to native-destroy a Typeface with a null ref, so check for that
* | | | | | | | | | Add argument checking to sampler builder to disallow illegal modes.Jason Sams2009-12-161-5/+27
| | | | | | | | | |
* | | | | | | | | | Continue es2 shader devJason Sams2009-12-154-13/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: graphics/java/android/renderscript/Program.java graphics/java/android/renderscript/ProgramVertex.java
* | | | | | | | | | Continue development of es2.0 user shader support for renderscript. This ↵Jason Sams2009-12-153-50/+156
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | change cleans up ProgramVertex creation and adds support for passing input, output, and constant type info.
* | | | | | | | | | Remove check for surface valid that is no longer valid.Jason Sams2009-12-141-3/+3
| | | | | | | | | |
* | | | | | | | | | am 54f5ca41: am ffacbc34: am fd2f6358: Merge change I771bebb9 into eclairJason Sams2009-12-0711-0/+71
|\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit '54f5ca4115b776eb5a1e04a4c014acccb916ef9c' * commit '54f5ca4115b776eb5a1e04a4c014acccb916ef9c': Add Java exceptions to catch RS calls with no context or no surface.
| * | | | | | | | | am ffacbc34: am fd2f6358: Merge change I771bebb9 into eclairJason Sams2009-12-0711-0/+71
| |\ \ \ \ \ \ \ \ \ | | |/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit 'ffacbc3419825ec1c786dd3c27f3e2a8cd071d8f' into eclair-mr2-plus-aosp * commit 'ffacbc3419825ec1c786dd3c27f3e2a8cd071d8f': Add Java exceptions to catch RS calls with no context or no surface.
| | * | | | | | | | am fd2f6358: Merge change I771bebb9 into eclairJason Sams2009-12-0711-0/+71
| | |\ \ \ \ \ \ \ \ | | | | |_|_|_|/ / / | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit 'fd2f6358321e95d661f24ba4e08327268035aa59' into eclair-mr2 * commit 'fd2f6358321e95d661f24ba4e08327268035aa59': Add Java exceptions to catch RS calls with no context or no surface.
| | | * | | | | | | Add Java exceptions to catch RS calls with no context or no surface.Jason Sams2009-12-0711-0/+71
| | | | |_|_|/ / / | | | |/| | | | |