summaryrefslogtreecommitdiffstats
path: root/graphics
Commit message (Collapse)AuthorAgeFilesLines
* Do not mergeMike Reed2010-01-201-0/+173
| | | | port stretchy from master
* Add Java exceptions to catch RS calls with no context or no surface.Jason Sams2009-12-0711-0/+71
|
* Add a new field to Intent that allows you to give a hint about what on ↵Joe Onorato2009-12-021-0/+42
| | | | | | screen caused the intent to be sent.
* Add support for dumping RS objects to aid in debugging of white blocks bug.Jason Sams2009-11-172-1/+14
|
* Add setPriority to allow wallpapers to run at lower cpu priority than default.Jason Sams2009-11-152-0/+27
|
* Defer EGL init until the surface changed call comes in. Pass w,h along with ↵Jason Sams2009-11-123-39/+30
| | | | surface for verification of driver state.
* Support applications changing the surface attached to the RS.Jason Sams2009-11-033-0/+31
|
* add table maskfilterMike Reed2009-10-301-0/+46
| | | | | | hidden for now, since it need only be seen by Launcher2 http://b/issue?id=2210685
* Fix type in Java enums. Not currently used, easier to fix now than when ↵Jason Sams2009-10-281-2/+2
| | | | apps are using it.
* Fix bug exposed by filmstrip. The updated and expanded SimpleMesh had an ↵Jason Sams2009-10-161-5/+5
| | | | ordering bug with component coordinates when both texture and normals were used.
* Add script to script call support. Add exception to catch out of bound ↵Jason Sams2009-10-071-0/+5
| | | | index data when added to TriangleMeshBuilder.
* add (hidden) setHasAlpha() to allow clients like the view's cache to hint ↵Mike Reed2009-10-071-1/+25
| | | | | | that a bitmap is opaque. Knowing that a 32bit bitmap is opaque is a performance boost for some blits.
* Implement data push from scripts. Fixes the problem where apps would have ↵Jason Sams2009-10-062-0/+89
| | | | | | | | 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.
* Update the SimpleMesh API to support new attribute types. Also spilt ↵Jason Sams2009-10-021-51/+79
| | | | add/set commands to avoid permutation explosion.
* hide setGammaForText, which is only used for calibrating new devicesMike Reed2009-10-011-0/+2
|
* Update from API review.Dianne Hackborn2009-09-301-0/+2
| | | | Change-Id: I16b1c566f91167aac9615ac59dd297a154c828ea
* if we have a single value for roundrect radius, manually clamp it before ↵Mike Reed2009-09-291-0/+9
| | | | | | | | | | | 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.
* Whoops, these shouldn't be public.Dianne Hackborn2009-09-291-4/+4
| | | | Change-Id: I66057b1fb63b97ad79cea7056849274c6a7b3ed4
* Merge change I6cacaa0d into eclairAndroid (Google) Code Review2009-09-291-12/+114
|\ | | | | | | | | * changes: Hack to fix issue #2125365: Sports Trivia compatability with Eclair
| * Hack to fix issue #2125365: Sports Trivia compatability with EclairDianne Hackborn2009-09-281-12/+114
| | | | | | | | | | | | | | | | | | 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
* | Fix but processing raster state pragma.Jason Sams2009-09-281-2/+2
|/ | | | rename stateFragmentStore to stateStore
* Improve logging code to dump more detaild rs object info. Fix bug with ↵Jason Sams2009-09-275-156/+195
| | | | predefined elements not being recreated for contexts after one was destroyed. Add stricter type enforcement.
* Reduce debugging spew and add props to selectivly re-enable it.Jason Sams2009-09-251-7/+7
| | | | change-id: Ib59ed5d7a9d479ccd1af456029735dbc65ae1efe
* Improve renderscript context teardown. Track object in the system and then ↵Jason Sams2009-09-252-1/+6
| | | | 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.
* Add a method to destroy the RS object.Joe Onorato2009-09-251-1/+4
|
* Implement pause/resume for the RS thread.Jason Sams2009-09-243-2/+37
|
* Remove depricated triangleMesh.Jason Sams2009-09-232-150/+15
|
* Fix issue #2125720 Weather Forecast Widget - graphics do not scaleDianne Hackborn2009-09-231-2/+7
| | | | | | I forgot to add the new density field to the Bitmaps' parcelable data. Change-Id: I77cf3e93e356297e0caed6fc71b62b5cd8f79124
* Merge change 26667 into eclairAndroid (Google) Code Review2009-09-234-3/+180
|\ | | | | | | | | * changes: Add raster object to control point and line params. Add flag to force SW rendering.
| * Add raster object to control point and line params. Add flag to force SW ↵Jason Sams2009-09-234-3/+180
| | | | | | | | rendering.
* | Fix #2101821: Cut labels of menu items in "SnapTell" market app.Dianne Hackborn2009-09-231-6/+20
|/ | | | | | | | | 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
* Implement more type checks on Allocations.Jason Sams2009-09-216-101/+185
| | | | | Add tracking for allocations created using the "sized" helper. Add more param validation for data upload calls.
* Fix 2092386: Support yuyv for camera preview format.Chih-Chung Chang2009-09-211-0/+7
| | | | Change-Id: I3ef821fed2132a9faf92983324c7e036d0f5641e
* Clean up some debugging and add 2 math lib routines.Jason Sams2009-09-181-7/+0
|
* Merge change 25394 into eclairAndroid (Google) Code Review2009-09-161-5/+8
|\ | | | | | | | | * changes: Add StateListDrawable's dither flag to the constant state.
| * Add StateListDrawable's dither flag to the constant state.Romain Guy2009-09-161-5/+8
| | | | | | | | Change-Id: Ie377bfe3dfb83c33df3c0cc5a02810332a60a322
* | Merge change 25185 into eclairAndroid (Google) Code Review2009-09-163-0/+64
|\ \ | |/ |/| | | | | * changes: Implement renderscript Invokables.
| * Implement renderscript Invokables.Jason Sams2009-09-163-0/+64
| |
* | Build the BitmapShader if it hasn't been built yet.Romain Guy2009-09-151-1/+2
|/ | | | | | This was causing a bug in the InCall UI where the background would be stretched. Change-Id: Ie25a7d09f4779f166e267b2f921d40441ce361d2
* redraw once more on a touch-up if we've been dragging, so we can redraw in ↵Mike Reed2009-09-151-4/+10
| | | | | | high-quality mode update dox on BlurMaskFilter
* Merge change 25100 into eclairAndroid (Google) Code Review2009-09-153-4/+72
|\ | | | | | | | | * changes: Implement Object readback.
| * Implement Object readback.Jason Sams2009-09-153-4/+72
| |
* | Fix issue #2116977: buttons are huge and bentDianne Hackborn2009-09-1417-108/+263
|/ | | | | | | | 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
* Various cleanup around resources and nine-patches.Dianne Hackborn2009-09-111-0/+6
| | | | | | | | | | | | | | | | | | | 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
* change default for dither to trueMike Reed2009-09-114-10/+39
|
* resolved conflicts for merge of e0408aa1 to eclairScott Main2009-09-101-0/+6
|\
| * docs only.Scott Main2009-09-101-0/+6
| | | | | | | | | | | | | | add documentation to notify developers about variable camera specifications and add some more links Change-Id: I46ef9811af17858cbc6547f88e626becb481b043
* | default dithering to ON (cheap, looks good)Mike Reed2009-09-101-0/+10
| | | | | | | | officially ignore filtering (expensive, no real improvement)
* | Remove "predefined" elements from Java layer. Static elements continue to ↵Jason Sams2009-09-044-178/+236
| | | | | | | | exist but are no longer treated as a special version of element.
* | Improve structure support using symbol lookup of named structures in scripts ↵Jason Sams2009-09-035-28/+38
| | | | | | | | to allow them to appear as just pointers to structs.