summaryrefslogtreecommitdiffstats
path: root/graphics
Commit message (Collapse)AuthorAgeFilesLines
* Fix crash due to texture view callback threading invariants.Jeff Brown2014-05-061-47/+58
| | | | | | | | | | | | | | | | | | Allow the client of a SurfaceTexture to specify the Handler to which the update callback should be directed to avoid unnecessary scheduling ping-pong between threads. Fixed an invalid assumption in TextureView that it is attached to the main looper which could result in a crash under certain circumstances. In normal app processes, it is true that TextureViews must be created on the main looper since hardware rendering is currently only supported on the main looper. However, in the system server, UI components run a different thread. Although hardware rendering is normally disabled in the system server, it may be enabled for certain developer features. Bug: 14445309 Change-Id: I5ae17ad018b9ef05ba87ec2f972c7c82e2bca70a
* Merge "First step on API cleaning on the VectorDrawable to disable animation ↵ztenghui2014-05-061-152/+0
|\ | | | | | | support"
| * First step on API cleaning on the VectorDrawable to disable animation supportztenghui2014-05-051-152/+0
| | | | | | | | | | | | | | | | | | Cleaning on the API level, and related tests. The animated icon will be only showing the initial state. TODO: Deep clean on the functionality part and attributes. Change-Id: I5723bc5b64f796c3a273d74bde02095751160a88
* | Merge "Fix ripple cancel"Alan Viverette2014-05-031-2/+2
|\ \
| * | Fix ripple cancelAlan Viverette2014-05-021-2/+2
| | | | | | | | | | | | | | | BUG: 14495933 Change-Id: Ie3498f35705b70e4c059ff86250cef4746f174da
* | | camera2: Add camera-specific data types used for metadata key/valueIgor Murashkin2014-05-022-1/+53
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds new public API classes: * InputOutputFormatsMap * LensShadingMap * RggbChannelVector * StreamConfigurationMap * TonemapCurve Adds new @hide classes: * StreamConfiguration * StreamConfigurationDuration Minor changes: * CameraDevice (doc only) * Preconditions (new @hide function) Change-Id: I2f3757e2fe9d63e710f51469c650377165fd6631
* | Add CanvasProperty for drawCircleJohn Reck2014-05-021-0/+56
| | | | | | | | Change-Id: Icbcc030f5033d2094e567d7c519b9d672f2aac1c
* | Support for list selector ripple during arrow movement & dragAlan Viverette2014-05-012-66/+89
| | | | | | | | | | | | BUG: 14231774 BUG: 14230395 Change-Id: I23efbc88c3f05b3f323e47bcb34f55ff70ad6828
* | Cleaning up TouchFeedbackDrawable and Ripple APIsAlan Viverette2014-05-012-310/+303
|/ | | | Change-Id: I73ce0507ce98140c01fe77cc277b0fea75350be9
* Pull out dirty bounds before nulling ripplesAlan Viverette2014-04-281-20/+25
| | | | | BUG: 14378485 Change-Id: I286374db9865d2338852fd0df896928099a8eb24
* Quantum ripple for ListView selectorAlan Viverette2014-04-271-63/+154
| | | | | | | | | | Also fixes row clipping and ripple alpha channel. Only supports showing ripple on a single list row -- multiple rows for focus traversal and drag-to-open are coming soon. BUG: 13212804 BUG: 14257108 Change-Id: Ided15611dc868a513e8d2a994723cdf57b0d206c
* Support Oval GradientDrawable outlines, and ShapeDrawableChris Craik2014-04-258-41/+136
| | | | Change-Id: Ifc9e55757d3325cb28a1a812ec696512d4a18b39
* Merge "Refactor Drawable outline production, flesh out Outline methods"Chris Craik2014-04-253-51/+77
|\
| * Refactor Drawable outline production, flesh out Outline methodsChris Craik2014-04-243-51/+77
| | | | | | | | Change-Id: I1b8c25384b5f123e86cf5e0b2270eb741bc3159b
* | Add floats-only drawRoundRect to CanvasChris Craik2014-04-241-7/+16
|/ | | | Change-Id: Ib0033a2d2486a808a44984ec4adf7fef76d9ea17
* Merge "Clip TouchFeedbackDrawable effect to receiver Outline"Chris Craik2014-04-241-4/+3
|\
| * Clip TouchFeedbackDrawable effect to receiver OutlineChris Craik2014-04-231-4/+3
| | | | | | | | | | | | | | | | Projected RenderNodes are now wrapped with a ClipRect or masked SaveLayer, so that they are clipped to the outline of the projection receiver surface. Change-Id: I1d4afc1bb5d638d650bc0b1dac51a498f216773e
* | Prevent new ripples when max reachedAlan Viverette2014-04-231-0/+1
| | | | | | | | | | BUG: 14270202 Change-Id: I53b0522a175eca043ba1cf007377312d03fd8f6d
* | Fix null and bounds checksAlan Viverette2014-04-231-1/+7
| | | | | | | | | | | | | | BUG: 14271950 BUG: 14271753 BUG: 14270202 Change-Id: I8708107d3803b170a323f584a268ea6b096458ce
* | Add ripple to switches, radio buttons, check boxes, seek barsAlan Viverette2014-04-224-5/+67
| | | | | | | | | | BUG: 14231772 Change-Id: Ie40eac9f68815294460175965a999dd75f4144b5
* | Add touch feedback to edit textAlan Viverette2014-04-212-9/+37
| | | | | | | | Change-Id: Id25692bfa40f5145d6ca807111bbd5d0c4774d07
* | Add alpha to bitmap, nine patch drawable, fix container hot spotsAlan Viverette2014-04-194-1/+95
|/ | | | | | | Also fixes primary text disabled state alpha. BUG: 13818888 Change-Id: I9ae2e25216014177c2dac24f5c9095df87724a43
* Merge "Add convenience methods to encourage usage of ALL_SAVE_FLAG"Chris Craik2014-04-181-17/+34
|\
| * Add convenience methods to encourage usage of ALL_SAVE_FLAGChris Craik2014-04-171-17/+34
| | | | | | | | Change-Id: I7a3bb2b83ca0463282764898e755b5f1a71ac557
* | Merge changes Ia693f512,If3b7d41fRaph Levien2014-04-171-0/+17
|\ \ | | | | | | | | | | | | | | | * changes: Enable elegant text metrics in Quantum theme Add elegantTextHeight text appearance attribute
| * | Add elegantTextHeight text appearance attributeRaph Levien2014-04-171-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds an elegantTextHeight text appearance attribute and plumbs it through to the paint. This attribute selects the elegant variant of fonts (when appropriate, which is typically Arabic and indic scripts), and also specifies larger vertical metrics, to avoid clipping. The intent is for this to be the default for quantum themes, but this patch doesn't change any default behavior, just adds the attribute. The larger vertical metrics are applied to top and bottom, but should not affect line spacing in the common case. Also, with the setting, metrics are no longer dependent on the font, so setting a custom font will preserve layout and spacing. Change-Id: If3b7d41f141deff50ca078f479ca90c2aa07829a
* | | Merge changes Ia2bf4d17,I8242523dAlan Viverette2014-04-172-6/+14
|\ \ \ | |_|/ |/| | | | | | | | | | | * changes: Fix alert dialog alignment and touch feedback masking Fix VectorDrawable states
| * | Fix alert dialog alignment and touch feedback maskingAlan Viverette2014-04-161-1/+3
| | | | | | | | | | | | | | | BUG: 13905057 Change-Id: Ia2bf4d170370c83f4ea863ecae24fffecc6fc020
| * | Fix VectorDrawable statesAlan Viverette2014-04-161-5/+11
| | | | | | | | | | | | | | | BUG: 14083130 Change-Id: I8242523d9a4acd499154d2e7b9b9b52a3f1f742d
* | | Merge "Revert "Add convenience methods, to encourage usage of ALL_SAVE_FLAG""Chris Craik2014-04-171-30/+27
|\ \ \
| * | | Revert "Add convenience methods, to encourage usage of ALL_SAVE_FLAG"Chris Craik2014-04-171-30/+27
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 39b7353acacf08a3c0204a9ec122fff420e53310. Change-Id: I732eab8a2843dd23c86bd1526ec95db5352d39a0
* | | | Merge "Deprecate color array drawBitmap methods"Chris Craik2014-04-171-3/+16
|\ \ \ \
| * | | | Deprecate color array drawBitmap methodsChris Craik2014-04-161-3/+16
| | | | | | | | | | | | | | | | | | | | Change-Id: I3339214ddaa7a32e9ddbbb1a074fa98e393eaadf
* | | | | Merge "Add convenience methods, to encourage usage of ALL_SAVE_FLAG"Chris Craik2014-04-171-27/+30
|\ \ \ \ \ | | |/ / / | |/| / / | |_|/ / |/| | |
| * | | Add convenience methods, to encourage usage of ALL_SAVE_FLAGChris Craik2014-04-161-27/+30
| |/ / | | | | | | | | | Change-Id: I29aefd70071ff49a259db5c06dded3cd531f6ef1
* | | Clean up VectorDrawable formattingAlan Viverette2014-04-161-37/+44
|/ / | | | | | | Change-Id: I9110f6ddeda9a811e466e58e451fa95eca08e72e
* | Implement jumpToCurrentState() in VectorDrawableAlan Viverette2014-04-151-0/+5
|/ | | | | BUG: 14083130 Change-Id: Ie1842b2367d1f24d18fdbc71963e077a1805de9b
* Make sure control points are in absolute coordinatesztenghui2014-04-111-2/+2
| | | | Change-Id: I1b90fe39f9dc77e1a1b7b4b512cd11f5734fbf8f
* Fix support for TouchFeedbackDrawable tint modeAlan Viverette2014-04-101-15/+47
| | | | Change-Id: I86bff1c5e69d9a193deb52559948b20ddca99751
* Merge "Fix path interpretation on curves"ztenghui2014-04-101-44/+56
|\
| * Fix path interpretation on curvesztenghui2014-04-091-44/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mostly about the shorthand for quadratic / cubic curve. We now comply with the spec, which said the behavior should depend on the previous command. At the same time, make sure our current point and current control point info are always in absolute coordinates, not a mix of absolute and relative. CTS test will be added to monitor this behavior. Note: Chrome / Firefox are following this rule, while Linux OS / Batik are not. bug:13913405 Change-Id: I9f8168ed97f87c754c79588984f1f199507b0377
* | Fix build breakageAlan Viverette2014-04-101-0/+23
| | | | | | | | Change-Id: I73d9ff5f38986b7acf83b85c1989203f472bc5fd
* | Cleaning up VectorDrawableAlan Viverette2014-04-101-142/+93
| | | | | | | | | | | | | | | | Use argb evaluation method from animation package, lazily create paint, set default for stroke line cap and join. Fix scaling to bounds. Fix drawable in test app. Change-Id: I245d5d6acc6ba9806743ab2bf9bf99aff3649c39
* | Merge "Update supported Drawable tinting modes and docs"Alan Viverette2014-04-094-15/+43
|\ \ | |/ |/|
| * Update supported Drawable tinting modes and docsAlan Viverette2014-04-094-15/+43
| | | | | | | | Change-Id: I9c20d2bc4dc499f91c21a348871cf209c1065ba6
* | Theming for more VectorDrawable attrs, add attrs to test appAlan Viverette2014-04-081-65/+130
|/ | | | | BUG: 13878079 Change-Id: Ibcc8d67446c44cd8f681230fc484c7dc7411ffab
* Make Drawable hotspot APIs publicAlan Viverette2014-04-086-69/+13
| | | | Change-Id: I8377ed735f73f7083636947aa08a5427f1dc3bf6
* Fix some vector drawable documentation, clean up fieldsAlan Viverette2014-04-081-92/+96
| | | | Change-Id: Iade0323b0ec2d3f8b609f24d89252608dfe40735
* Color theming for VectorDrawable, general clean upAlan Viverette2014-04-071-106/+297
| | | | | BUG: 13878079 Change-Id: I831d26fe3a2658161fc24e947bce382d0be6b548
* Fix sharing of child bounsd within touch feedback drawableAlan Viverette2014-04-071-1/+4
| | | | Change-Id: I13f2f32fb618f07bd967d98d6369399f1d790125