summaryrefslogtreecommitdiffstats
path: root/graphics
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | Compute GradientDrawable's opacity correctlyRomain Guy2012-09-183-17/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Merge "Fix bug #7172972 API REVIEW: android.graphics.drawable.Drawable" into ↵Fabrice Di Meglio2012-09-181-1/+4
|\ \ \ \ | |_|/ / |/| | | | | | | jb-mr1-dev
| * | | Fix bug #7172972 API REVIEW: android.graphics.drawable.DrawableFabrice Di Meglio2012-09-181-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | - add @hide Change-Id: I20dca8d7f6a58dfd1dd342135dcff912e08d4ab9
* | | | Add Kernel, Method, and field IDsJason Sams2012-09-189-272/+572
| |/ / |/| | | | | | | | | | | | | | bug 7182873 Change-Id: I066a359bb04027e9376dac088560f042c496b10e
* | | Make librs_jni depend on libRSDriver to remove circular dependencyYing Wang2012-09-161-1/+1
| | | | | | | | | | | | Change-Id: Ia607f732f2f22968fd6f1793c2f252f08300357d
* | | Unhide intrinsics and document API.Jason Sams2012-09-136-66/+202
| | | | | | | | | | | | Change-Id: I0233245c68f9a08780213062e62cfea6cf909c13
* | | Don't crash when copying a null RectRomain Guy2012-09-122-12/+24
|/ / | | | | | | | | | | Bug #7158068 Change-Id: I8f5f3ee12b2c4fd1fe28212b0c6de1214f2ce5f9
* | LUT intrinsic and CrossProcess test.Jason Sams2012-09-083-0/+242
| | | | | | | | | | | | | | | | 5x5 convolve and test Gauss blur and test Change-Id: Ic2f5d583cbdc1793ec8c8e2beea783d4ec34a57f
* | Merge "Fix doc typo." into jb-mr1-devJason Sams2012-09-081-1/+1
|\ \
| * | Fix doc typo.Jason Sams2012-09-071-1/+1
| | | | | | | | | | | | Change-Id: Ib18172ac72886865dc9ae4535a577b2f8f3468e9
* | | Merge "Fix crash in ShapeDrawable" into jb-mr1-devRomain Guy2012-09-071-2/+10
|\ \ \
| * | | Fix crash in ShapeDrawableRomain Guy2012-09-071-2/+10
| | | | | | | | | | | | | | | | Change-Id: Ibc277db46912a73dc3f971f8487baa5eafa8bc84
* | | | Merge "Document ColorMatrix intrinsic and add helpers" into jb-mr1-devJason Sams2012-09-073-6/+118
|\ \ \ \ | |/ / / |/| / / | |/ /
| * | Document ColorMatrix intrinsic and add helpersJason Sams2012-09-063-6/+118
| | | | | | | | | | | | | | | | | | | | | Increase size of test image. Add helpers for greyscale and yuv<>rgb conversions Change-Id: I6cdd06ae23623b47f5034585ed5d385ff11348ac
* | | Merge "Fix the build" into jb-mr1-devFabrice Di Meglio2012-09-071-4/+4
|\ \ \
| * | | Fix the buildFabrice Di Meglio2012-09-071-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | - use fully qualified name for Javadoc Change-Id: Ic75ce7e19d407dc40c96b585f9fa1827fb614ba1
* | | | Merge "The drawables cache strikes again Bug #7117785" into jb-mr1-devRomain Guy2012-09-075-9/+44
|\ \ \ \ | |/ / / |/| | |
| * | | The drawables cache strikes againRomain Guy2012-09-065-9/+44
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Make ProgressBar / SeekBar / RatingBar widgets aware of layout directionFabrice Di Meglio2012-09-063-1/+26
|/ / | | | | | | | | | | - see bug #5429822 UI should be mirrored for RTL locales (Arabic, Hebrew, farsi) Change-Id: I8d76299090abf6b2b187696b1a83e71d7a44b1ce
* | Add ColorMatrix Intrinsic.Jason Sams2012-09-041-0/+68
| | | | | | | | | | | | | | Add better intrinsic testing. Include reference .rs for each intrinsic. Change-Id: I327649f16ac8f641c2bd96f7b16f51874a3e820e
* | Add plumbing for new surface flinger display API.Jeff Brown2012-08-271-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Cleaned up the implementation of Surface and SurfaceSession to use more consistent naming and structure. Added JNI for all of the new surface flinger display API calls. Enforced the requirement that all Surfaces created by the window manager be named. Updated the display manager service to use the new methods. Change-Id: I2a658f1bfd0437e1c6f9d22df8d4ffcce7284ca2
* | Move the kernel launch to specific intrinsic class.Jason Sams2012-08-212-5/+11
| | | | | | | | | | | | | | This allows support of both input types. Kernel source and global source. Change-Id: Iea60bebd79c786795eae81c14cbec352b470a9c0
* | Intrinsics testJason Sams2012-08-145-0/+178
| | | | | | | | Change-Id: I1847ad0c9190100eb84f7e052dd9f3bff81dc447
* | Implement ScriptGroup and add test.Jason Sams2012-08-101-0/+391
| | | | | | | | Change-Id: I6ce0479c20f425d501c759c15717aa8b418c3f5f
* | Add new debug tool to track hardware layers updatesRomain Guy2012-08-061-4/+6
| | | | | | | | | | | | | | | | 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
* | Merge "We can now (kind-of) change screen density on the fly." into jb-mr1-devDianne Hackborn2012-08-031-4/+94
|\ \
| * | We can now (kind-of) change screen density on the fly.Dianne Hackborn2012-08-031-4/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Fix issue #6921726: Prime: Cannot make or receive phone calls...Dianne Hackborn2012-08-031-1/+2
|/ / | | | | | | | | | | [NPE at android.graphics.drawable.Drawable.createFromResourceStream] Change-Id: I223428ffb39e883518aad817227f32851ea18aec
* | Start moving away from DisplayMetrics.DENSITY_DEVICE.Dianne Hackborn2012-08-012-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | 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
* | Fix readback lengthsJason Sams2012-07-271-4/+4
| | | | | | | | Change-Id: I4c5f29af03ed3babceef741aa3a982244cfc65d1
* | Merge "Fix RS matrix docs regarding row/column and x/y."Stephen Hines2012-07-103-30/+30
|\ \
| * | Fix RS matrix docs regarding row/column and x/y.Stephen Hines2012-07-103-30/+30
| | | | | | | | | | | | Change-Id: Ibcb90ee62e458adfa55849fc1bc79257293975fe
* | | Add Bitmap.isPremultiplied()Romain Guy2012-07-091-18/+47
|/ / | | | | | | | | | | | | This change also adds extra information in the documentation about premultiplied values. Change-Id: I51aacb8696340d23354ebf6d7284605d1a790b69
* | Add an icon to the user information.Amith Yamasani2012-06-121-0/+2
| | | | | | | | | | | | | | Store the icon in the user folder under /data/system, similar to how the wallpaper is stored. Change-Id: Id8ccb55b9e2ba7b4c557505a7f69f04eca1518cf
* | Revert "Revert "Clean up layout direction APIs for Drawable""Fabrice Di Meglio2012-06-044-22/+24
| | | | | | This reverts commit c96132ff53e5c26f5b0170edd85072006fb2bc70
* | Revert "Clean up layout direction APIs for Drawable"Jean-Baptiste Queru2012-06-024-24/+22
| | | | | | | | This reverts commit c1da65187a4b9de8f72bd617ef937030187c0a92.
* | Clean up layout direction APIs for DrawableFabrice Di Meglio2012-06-014-22/+24
| | | | | | | | | | | | - see bug #6427629 Change-Id: I3119db3022bba0ee325b6d0d4471bfebd850ec10
* | am 5558f66e: am cb949887: Merge "Release the constraint on the requested ↵Owen Lin2012-05-211-3/+3
|\ \ | |/ | | | | | | | | | | version." into jb-dev * commit '5558f66efe43654c97b851b67a099df0de5429ad': Release the constraint on the requested version.
| * Release the constraint on the requested version.Owen Lin2012-05-171-3/+3
| | | | | | | | | | | | | | Allowing to request a region that partially outsides the image. bug: 5884845 Change-Id: I32344930ab9e2a7f22a706914babb165843e8de7
* | Fix incorrect Log message.Stephen Hines2012-05-161-1/+1
| | | | | | | | Change-Id: Ib05813c28a16e1bfe2186b068e1baf13782ae5b9
* | am 4de3c27c: am 59e2a1ea: Merge "Fix typo in javadoc." into jb-devPin Ting2012-05-142-8/+8
|\ \ | |/ | | | | | | * commit '4de3c27cc702c019e7a9304d9e548fc81340ad7e': Fix typo in javadoc.
| * Fix typo in javadoc.Pin Ting2012-05-112-8/+8
| | | | | | | | Change-Id: I0e5d8640764772871e72cb00d117d12f3eaeb64f
* | am 7156645c: am 2ed09ea4: Merge "GFX api cleanup 2 of 2" into jb-devDave Burke2012-05-106-0/+119
|\ \ | |/ | | | | | | * commit '7156645c58d1489b87cf9ecf00cbb4d073d12534': GFX api cleanup 2 of 2
| * GFX api cleanup 2 of 2Jason Sams2012-05-086-0/+119
| | | | | | | | Change-Id: Ie928b8ee7d31fcaa26fcad9a2548581bb8395a61
* | am 218c0899: am 794db6cb: Merge "GFX api cleanup 1.5 of 2" into jb-devStephen Hines2012-05-093-2/+51
|\ \ | |/ | | | | | | * commit '218c0899bdea2395f1fe56e1eecc108b633e0da6': GFX api cleanup 1.5 of 2
| * GFX api cleanup 1.5 of 2Jason Sams2012-05-083-2/+51
| | | | | | | | Change-Id: Ib31332ae0b7a6059d4971ea616089cd382ef6895
* | am 0916b463: am 48250c27: Merge "GFX api cleanup 1 of 2" into jb-devJason Sams2012-05-095-4/+109
|\ \ | |/ | | | | | | * commit '0916b463598a99400840c5d55a443bee2446b626': GFX api cleanup 1 of 2
| * GFX api cleanup 1 of 2Jason Sams2012-05-085-4/+109
| | | | | | | | Change-Id: Ib85784c18b1647e51f1d7cf2a4c956d17e1d2e3c
* | am 9d05bd8c: am 1d56afc6: Merge "Revert "Deprecate"" into jb-devStephen Hines2012-05-0949-682/+426
|\ \ | |/ | | | | | | * commit '9d05bd8c67b6c01436bfdde13ef9fe61cf9f33e9': Revert "Deprecate"
| * Merge "Revert "Deprecate"" into jb-devStephen Hines2012-05-0849-682/+426
| |\