2256 Commits

Author SHA1 Message Date
Jason Sams
761d3d0df7 Reduce test warmup time to avoid driving into thermal throttle.
bug 7216044

Change-Id: I72c83e31dc39a0a810d8a453903213bd428dbe29
2012-09-25 15:00:04 -07:00
Jean-Baptiste Queru
07e35aa80b Merge into jb-mr1-dev
Change-Id: Ic72c475635a0eb57a77d3bd621a219001af8baa5
2012-09-25 09:37:11 -07:00
Jean-Baptiste Queru
641c36f918 Merge into jb-mr1-dev
Change-Id: Iec56e4962bbc78309b20595352cce986fe62f68e
2012-09-25 09:34:07 -07:00
Jason Sams
ae760511d8 Test FS getElementAt
bug 7190126

Change-Id: I1fbaa77af051cf44134f8bfe56339ce5d3b7edbb
2012-09-24 17:42:14 -07:00
Jason Sams
85d4955a13 Add test for copy kernels.
bug 7224526

Change-Id: I76e1e63b6bd53d84df9c60a61e6588b21f33c2e3
2012-09-24 17:27:59 -07:00
Jason Sams
c4b95cfc7b Test image for 2 input tests.
bug 7216044

Change-Id: I79794c1b12f618d03b27b316126cab9b3e4c9c38
2012-09-24 12:54:46 -07:00
Jason Sams
ac4bd00c1f Change 5x5 convolve to better test impl.
bug 7216044

Change-Id: I7165606a3ebf96ea3f401ed14d46f5105ed75ce4
2012-09-23 16:32:32 -07:00
Stephen Hines
9c7b529125 Merge "Verify pass-by-value kernels with structs." into jb-mr1-dev 2012-09-23 16:13:23 -07:00
Fabrice Di Meglio
5c2591e6ef Merge "Fix bug #7206086 NumberPicker widget should use locale digits" into jb-mr1-dev 2012-09-23 11:10:40 -07:00
Jason Sams
ed0b4f961f Force destroy scripts in imageProcessing.
bug 7216044

Change-Id: I6292513c08e75269e79d2210de898ef28931c986
2012-09-23 10:59:35 -07:00
Stephen Hines
c4358c7960 Verify pass-by-value kernels with structs.
Bug: 7166741
Change-Id: I8b5fab1cca6bf4dcafc646fd1d6e40a718f1ffaf
2012-09-22 21:39:21 -07:00
Fabrice Di Meglio
d88e3054d0 Fix bug #7206086 NumberPicker widget should use locale digits
- fix for having the TwoDigitFormatter being able to be recreated if the locale is changed
- accept now also the Arabic and Persian digits

Change-Id: Ifbf7e274d971008f4a5782402d4b76d9472b68fc
2012-09-21 18:42:47 -07:00
Jason Sams
82c8cdabc4 Merge "Add run all button to image processing test." into jb-mr1-dev 2012-09-21 18:13:16 -07:00
Jason Sams
b94d69a226 Add run all button to image processing test.
Change-Id: I11b4f803151ee7dc1e4b86f402196c1b856bd950
2012-09-21 17:42:13 -07:00
Tim Murray
0e64d892d6 Add Mandelbrot test to ImageProcessing.
Change-Id: I1d5478d58609394111410fbfd9f48b5018f385b1
2012-09-21 14:46:45 -07:00
Jason Sams
da6f7ab34c Merge "Fix aprox fs function names bug b206696" into jb-mr1-dev 2012-09-20 17:56:02 -07:00
Romain Guy
57b5268708 Optimize tiling management
Bug #7186819

Change-Id: Iebc42a6e9c96ad5605fbbe1539aa887695d2e829
2012-09-20 17:38:46 -07:00
Jason Sams
36fa5a42ba Fix aprox fs function names
bug b206696

Change-Id: I64c092c1f6b8d990783bf5d31db37e12a4dbdb82
2012-09-20 17:30:34 -07:00
Stephen Hines
5ca88a103c Merge "Add tests for pass-by-value kernels." into jb-mr1-dev 2012-09-20 09:55:25 -07:00
Jason Sams
8e356e089d Merge "Cleanup blur test, remove deprecated functions." into jb-mr1-dev 2012-09-20 01:09:49 -07:00
Jason Sams
97e9ee2ea8 Cleanup blur test, remove deprecated functions.
Change-Id: I4136110692fdba8a644806fe8c92bfaacc930ca6
2012-09-20 01:07:35 -07:00
Romain Guy
2b7028eaba Add support for QCOM_tiled_rendering
Bug #7186819

This optional OpenGL extension can be used by tiled renderers to optimize
copies from main memory to tiles memory.

Change-Id: Id4a5d64e61ad17f50e773e8104b9bf584bb65077
2012-09-19 21:10:09 -07:00
Stephen Hines
263459d028 Add tests for pass-by-value kernels.
Bug: 7166741

Change-Id: I8bb37b9205c146a922c141665a86ce8013ad4f0a
2012-09-19 20:47:43 -07:00
Romain Guy
189ff17caa Add test for layer updates optimizations
Optimizations are following.

Change-Id: I120e1d0c08d8068fcac46515f37a4ae510e5f3a3
2012-09-18 18:59:59 -07:00
Jason Sams
08a81583c1 Add Kernel, Method, and field IDs
bug 7182873

Change-Id: I066a359bb04027e9376dac088560f042c496b10e
2012-09-18 12:32:10 -07:00
Maxim Siniavine
a9d9decf87 Go to home screen after launching each app.
Instead of starting one app after another the MemoryUsage
instrumentation goes to the home screen between
launching apps.

Change-Id: Ia0acf9f6f65a23f537b96c98743b59d746681447
2012-09-17 14:21:20 -07:00
Stephen Hines
2f2f0d40e8 Merge "Failing uchar4->int4 test" into jb-mr1-dev 2012-09-13 19:45:56 -07:00
Jason Sams
80d819033d Unhide intrinsics and document API.
Change-Id: I0233245c68f9a08780213062e62cfea6cf909c13
2012-09-13 17:00:48 -07:00
Jason Sams
bd6acda96f Merge "Fix bugs in grain where values could go out of bounds." into jb-mr1-dev 2012-09-13 14:44:34 -07:00
Guang Zhu
79d45660f2 dodging the @JavascriptInterface bullet
The reason for not to fix the test instead with new annotation
is that it's preferable to have a single version that works for
all platforms.

This can be revisted once we have enough platforms released to
not to care about the older ones.

Change-Id: I42557f920702e5a65e39a3fea80533bd07b54367
2012-09-13 12:03:10 -07:00
Jason Sams
8a95803738 Fix bugs in grain where values could go out of bounds.
Change-Id: Ib2cc3177424cf24bc81b75786dfd9be30fea5378
2012-09-13 11:07:33 -07:00
Stephen Hines
58b2b24128 Updated tests for simpler ScriptC constructors.
Change-Id: Ia1f66a3598a979924ccbf857093693135012c4c9
2012-09-12 21:45:56 -07:00
Jason Sams
3a5b801176 LUT intrinsic and CrossProcess test.
5x5 convolve and test
Gauss blur and test


Change-Id: Ic2f5d583cbdc1793ec8c8e2beea783d4ec34a57f
2012-09-08 22:16:22 -07:00
Romain Guy
4aacf93d40 Merge "Fix memory corruption in LayerRenderer::copyLayer" into jb-mr1-dev 2012-09-07 18:44:40 -07:00
Romain Guy
e49d7ec361 Fix memory corruption in LayerRenderer::copyLayer
The pixel store pack alignment was not set for the source texture,
causing a write to occur outside of the destination bitmap's
bounds.

Change-Id: Iaa5767acf7b5943fbc2765c3810a142f06b1a796
2012-09-07 18:42:38 -07:00
Jason Sams
cd664f0faa Merge "Add greyscale intrinsic test." into jb-mr1-dev 2012-09-07 15:40:11 -07:00
Jason Sams
3f7bbe8cd3 Merge "Document ColorMatrix intrinsic and add helpers" into jb-mr1-dev 2012-09-07 15:38:25 -07:00
Chris Craik
75040f8a77 Handle different x, y scales in drawLines AA path
bug:7114630

Fixes different x, y scales, and fixes boundaryWidthProportion to be from
center, not edge.

Also adds drawLine tests that previously drew blurry.

Change-Id: I2b648a60361ad3931eac67647b9b27909525ee1e
2012-09-07 15:20:38 -07:00
Jason Sams
c1ccbf5231 Add greyscale intrinsic test.
Change-Id: I24c9b8769ab7fe2fed9ef17f7ff1063c60977c41
2012-09-06 23:54:05 -07:00
Jason Sams
8fd5853c1c Document ColorMatrix intrinsic and add helpers
Increase size of test image.
Add helpers for greyscale and yuv<>rgb conversions

Change-Id: I6cdd06ae23623b47f5034585ed5d385ff11348ac
2012-09-06 23:29:36 -07:00
Chris Craik
378d131e65 Merge "Varying-based AA rect drawing" into jb-mr1-dev 2012-09-06 10:52:14 -07:00
Chris Craik
6ebdc114e0 Varying-based AA rect drawing
Instead of calculating opacity from relative position in the shader, use a
shader varying to do this computation for us.

bug:5045101

Also adds a test to HwAccelerationTest to show incorrect antialiasing in
scaled drawAARect / boundarySize calculation.

Change-Id: Icdc41acb01dc10ce354834f8389a5aed2f439162
2012-09-05 16:45:03 -07:00
Jason Sams
6d617c2ddd Merge "Stabilize perf data." into jb-mr1-dev 2012-09-05 13:50:36 -07:00
Jason Sams
3e777c7970 Merge "Add ColorMatrix Intrinsic." into jb-mr1-dev 2012-09-05 13:48:58 -07:00
Jason Sams
76fb2973b9 Stabilize perf data.
Change-Id: I75fb31b1bb6e6a7a5a82b86fd4a6639dd328ceaa
2012-09-05 13:18:43 -07:00
Jason Sams
5729fcdf95 Add ColorMatrix Intrinsic.
Add better intrinsic testing.
Include reference .rs for each intrinsic.

Change-Id: I327649f16ac8f641c2bd96f7b16f51874a3e820e
2012-09-04 19:57:40 -07:00
Jason Sams
f1ffb4f7fe Merge "update image processing to fix ScriptGroup names." into jb-mr1-dev 2012-09-04 16:59:07 -07:00
Jason Sams
c3f6d184bb update image processing to fix ScriptGroup names.
Change-Id: Id3be5142ad740af65f3ce19b9d8047926bb55a85
2012-09-04 15:25:34 -07:00
Romain Guy
9fc4b356a4 Add new hw acceleration test
Change-Id: Id2b94286cf62ab77d8c843cffaba09b3070a6332
2012-09-04 10:27:05 -07:00
Dianne Hackborn
4120375d46 Remove Binder.getOrigCallingUid().
Replaced all remaining places that used it with explicit user
specification.

While doing this, I ran into stuff that was creating PendingIntent
objects (that now need to specify the explicit user they are for),
which are also posting notifications...  but have no way to specify
the user for the notification.

So the notification manager in the system process now also gets a
formal concept of a user associated with the notification, which
is passed in to all the necessary aidl calls.  I also removed the
old deprecated aidl interface for posting/cancelling notifications,
since we now always need a user supplied.

There is more work that needs to be done here, though.  For example
I think we need to be able to specify USER_ALL for a notification that
should be shown to all users (such as low storage or low battery).
Along with that, the PendingIntent creation needs to be tweaked to
be able to handle USER_CURRENT by evaluating the user at the point the
pending intent is sent.

That's for another change, however.

Change-Id: I468e14dce8def0e13e0870571e7c31ed32b6310c
2012-08-31 15:11:13 -07:00