summaryrefslogtreecommitdiffstats
path: root/graphics/java
Commit message (Collapse)AuthorAgeFilesLines
...
| | * | | | am fc603ca6: am abf701e6: Merge "Eliminate mHasAlpha" into klp-devJohn Reck2014-03-211-15/+3
| | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'fc603ca6b518777a7e4dc391bc771e5609ab3ab5': Eliminate mHasAlpha
| | * \ \ \ \ am 87e9e744: am 92a32832: DO NOT MERGE - Fix Javadoc build break.Leon Scroggins III2014-03-071-1/+1
| | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '87e9e744ed7acc554a6b4c7dd90fab376eabb30b': DO NOT MERGE - Fix Javadoc build break.
| | * \ \ \ \ \ Merge "resolved conflicts for merge of 8d3281f5 to klp-dev-plus-aosp" into ↵Leon Scroggins III2014-03-072-12/+45
| | |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | klp-dev-plus-aosp
| | | * \ \ \ \ \ resolved conflicts for merge of 8d3281f5 to klp-dev-plus-aospLeon Scroggins III2014-03-062-12/+45
| | | |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: If2855ff4f7a1e7645c69af378955868f44187376
| | * | \ \ \ \ \ \ am b90fc64b: am f44a3f1e: Merge "Use long for pointers in EmojiFactory and ↵Narayan Kamath2014-03-071-7/+7
| | |\ \ \ \ \ \ \ \ | | | | |_|_|_|/ / / | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PdfDocument" * commit 'b90fc64b030ee50bda9a0dabb5247660b70d6659': Use long for pointers in EmojiFactory and PdfDocument
| | * | | | | | | | am 16e9362e: am 8fced317: Merge "Move RenderScript from graphics/ to new ↵Tim Murray2014-03-0761-21999/+0
| | |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fw/base subdirectory rs." * commit '16e9362e5f5b4f09a46198218380bb386fee28e5': Move RenderScript from graphics/ to new fw/base subdirectory rs.
| | * \ \ \ \ \ \ \ \ am 8df3ea66: am b4cf2a2a: Merge "Convert Java/JNI to 64-bit, part 2."Tim Murray2014-03-0729-289/+297
| | |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '8df3ea66994e96d72040c44099dd2d74ba15ec67': Convert Java/JNI to 64-bit, part 2.
| | * \ \ \ \ \ \ \ \ \ am 72d637e2: am e22e268e: Merge changes If93a5d78,I1957f7acTim Murray2014-03-072-130/+133
| | |\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '72d637e297a143e5b18c8e8f4eb85695ed6b10f1': Convert Java/JNI to 64-bit, part 1. Add long/double read support.
| | * \ \ \ \ \ \ \ \ \ \ am bccee732: am 61eb6b55: Merge "Use Object + type in place of specific array"Tim Murray2014-03-072-67/+25
| | |\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'bccee732b53d06c0e983b3f325e0d9ad889de134': Use Object + type in place of specific array
| | * \ \ \ \ \ \ \ \ \ \ \ am 69914882: am e559d7ee: Merge "Utility API for creating types."Tim Murray2014-03-071-0/+75
| | |\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '69914882509b8ad81c23eadd1ebae53fb532042b': Utility API for creating types.
| | * \ \ \ \ \ \ \ \ \ \ \ \ am 271c3b74: am b1c1518e: Merge "Remove old hidden API."Tim Murray2014-03-071-8/+0
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '271c3b7499f53f6e7e168d68910efda5cc19f5fd': Remove old hidden API.
| | * \ \ \ \ \ \ \ \ \ \ \ \ \ am 9bad32c3: am aea3b581: Merge "Remove hidden API setSurfaceTexture."Tim Murray2014-03-071-13/+5
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | |_|_|_|_|_|_|_|/ / / / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '9bad32c3830e45615a6b71e3f80ca7b95ef638b5': Remove hidden API setSurfaceTexture.
| * | | | | | | | | | | | | | | am 38f407cb: Merge "RenderScript bicubic resize intrinsic [DO NOT MERGE]" ↵Jason Sams2014-04-161-0/+112
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | into klp-modular-dev * commit '38f407cb1daca91af82943c931593d11a6c84b1c': RenderScript bicubic resize intrinsic [DO NOT MERGE]
| | * | | | | | | | | | | | | | | RenderScript bicubic resize intrinsic [DO NOT MERGE]Jason Sams2014-04-161-0/+112
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Icebfb3137aacddce0705834c6d4d2547c709cb0a
| * | | | | | | | | | | | | | | | am ecaea7e6: Merge "Force refresh of stateful when a child drawable is ↵Craig Stout2014-03-311-0/+1
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | changed." into klp-modular-dev * commit 'ecaea7e60c0992ac295163f55c1f986a46eef008': Force refresh of stateful when a child drawable is changed.
| | * | | | | | | | | | | | | | | Force refresh of stateful when a child drawable is changed.Craig Stout2014-03-271-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ie17d4c8bceae385e597f3006fcd456be9ef53b97
* | | | | | | | | | | | | | | | | Merge "Remove the group tag."ztenghui2014-05-121-42/+22
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | | Remove the group tag.ztenghui2014-05-121-42/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since we don't support animation, it is better not to expose the group tag for now, which will only lead to confusion. Internally, we keep the group class to represent multiple paths. But we don't allow multiple groups. Change-Id: I041ba32dff05ef6b1cd9d5ab1a1717e55a356145
* | | | | | | | | | | | | | | | | | Merge "Refactor VirtualLightRefBase & JNI"John Reck2014-05-091-14/+6
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | | | Refactor VirtualLightRefBase & JNIJohn Reck2014-05-091-14/+6
| | |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I8e244e7109e59d5be96871b23bb9b1201c7f9eaa
* | | | | | | | | | | | | | | | | | Animated state transition drawableAlan Viverette2014-05-095-8/+561
|/ / / / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I6c795d55cd7ab9163fdd6fe6ce3771bbd7015d62
* | | | | | | | | | | | | | | | | Merge "Improve documentation of setOnFrameAvailableListener."Jeff Brown2014-05-081-7/+9
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / / / / |/| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | Improve documentation of setOnFrameAvailableListener.Jeff Brown2014-05-081-7/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I970e5941f3f6975a284d18056238a6877c7acbf2
* | | | | | | | | | | | | | | | | Further cleaning on animated part of VectorDrawable.ztenghui2014-05-081-760/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | State changed support is gone. Rename VAnimatedPath. Remove the obsolete documents. Update the tests to reflect the API changes. Change-Id: Icdc19c6519a4e29975877c1d167e61c8fa14a371
* | | | | | | | | | | | | | | | | Merge "Avoid caching shadow properties in Java & HWUI."Derek Sollenberger2014-05-082-44/+17
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | | Avoid caching shadow properties in Java & HWUI.Derek Sollenberger2014-05-072-44/+17
| | |_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug: 10650594 Change-Id: I6f57df002710bb0567ed7e53fc0bfe96cfd504b8
* | | | | | | | | | | | | | | | | Merge "Encapsulate Canvas.mNativeCanvas"Florin Malita2014-05-074-5/+9
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|/ / / / / / / / / / / / / / / |/| | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | Encapsulate Canvas.mNativeCanvasFlorin Malita2014-05-064-5/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, the native canvas is accessed/manipulated from several unrelated classes. In order to facilitate SaveFlags emulation, this CL encapsulates the field and refactors its external users. Two main changes: * new getNativeCanvas() getter for use in Java-level clients. * JNI canvas swappers (GraphicsBuffers, Surface, TextureView & AssetAtlasService) are refactored based on the exising/equivalent safeCanvasSwap() Canvas method. Change-Id: I966bd4898f0838fb3699e226d3d3d51e0224ea97
* | | | | | | | | | | | | | | | | 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