2280 Commits

Author SHA1 Message Date
Daniel Sandler
b9d36649ca Properly show emoji in the notification ticker.
Add an emoji test to StatusBarTest (working around some
difficulties in actually putting high-Unicode chars in the
layout xml).

Bug: 7378383
Change-Id: Ifce9844b26f67d2799521623e5161aa4dad69ed1
2012-10-19 13:38:11 -04:00
Romain Guy
1b85122bd2 Merge "Add API to enable mipmaps on Bitmap Bug #7353771" into jb-mr1-dev 2012-10-16 19:05:49 -07:00
Romain Guy
713e1bb9df Add API to enable mipmaps on Bitmap
Bug #7353771

This API can be used when scaling large images down to a small size
to get nicer looking results.

Change-Id: If09087eed36077eee5355f6047a3ca67747d7d9e
2012-10-16 18:44:09 -07:00
Romain Guy
a92bb4dc96 Support clipping in Canvas.drawBitmapMesh()
Bug #7354162

Change-Id: Ifd1d0b365e8a4d88e0ff0629c9ee13f27e1a7331
2012-10-16 11:09:26 -07:00
Jason Sams
10542ec336 Merge "Port ImageProcessing to Filterscript." into jb-mr1-dev 2012-10-12 19:01:38 -07:00
Stephen Hines
d3d6570df4 Port ImageProcessing to Filterscript.
This enables testing of the Filterscript front-end for llvm-rs-cc.

Bug: 7166741
Change-Id: I90bda9d2710c6652336a8c112b5654c5da3d14e4
2012-10-12 14:50:49 -07:00
Jason Sams
4b429417ba Fix crash in ImageProcessing blend test
The blend test would use a stale context
when running all tests.

bug 7327728

Change-Id: I5802b9b382d8893419efe86d33fdfeeb27729e31
2012-10-12 14:30:23 -07:00
Jason Sams
b2ae7a1a18 Update compatibility library tests
bug 7327728

Change-Id: If3f85fb8944d7217a4d5c035f522d1ecc7af3a07
2012-10-10 18:17:53 -07:00
Craig Mautner
5962b12bed Adds showWhenLocked attribute to Activities.
The new attribute allows an Activity such as the alarm to appear
on all users screens.

Bug: 7213805 fixed.
Change-Id: If7866b13d88c04af07debc69e0e875d0adc6050a
2012-10-06 13:09:58 -07:00
Jason Sams
31864d76a3 Fix range on blur intrinsic.
The intrinsic fails when the radius was 0. A blur
of radius 0 is a nop and should be disallowed. Fix the
test to allow sub-pixel radius to be selected.

bug 7273437

Change-Id: I2805674e29d557615eb7ac65c7910d4dffa28b58
2012-10-02 15:21:11 -07:00
Jeff Brown
1e3b98d47d New internal API to eliminate poke locks.
Added a new WindowManager.LayoutParams inputFeatures flag
to disable automatic user activity behavior when an input
event is sent to a window.

Added a new WindowManager.LayoutParams field userActivityTimeout.

Bug: 7165399
Change-Id: I204eafa37ef26aacc2c52a1ba1ecce1eebb0e0d9
2012-10-01 14:27:34 -07:00
Jason Sams
1ebb7202b6 Lighten grain and make live preview gpu friendly.
Preview now does yuv->rgb using the intrinsic
script. Grain uses a smaller wrapped rand buffer
so it is not just rand test.

bug 7216044

Change-Id: If74eedc7d3cf264895133671edc546af9b1527f2
2012-09-28 18:17:47 -07:00
Daniel Sandler
11cf178100 Cleanup internal status bar APIs.
IStatusBarService.collapseQuickSettings is gone;
collapseNotifications is now collapsePanels, which does what
collapse() used to do. Similarly,
IStatusBar.animateCollapseQuickSettings is now simply
IStatusBar.animateCollapse().

Bug: 7245229
Change-Id: Id157d2fdf34926d3c85ffa8b81c741a5359aede4
2012-09-27 14:03:08 -04:00
Stephen Hines
0b1711582f Merge "RS char bug repro case" into jb-mr1-dev 2012-09-26 19:04:48 -07:00
Stephen Hines
c49c71a5c6 Merge "Restore RSTest functionality (char bug is fixed)." into jb-mr1-dev 2012-09-26 19:03:21 -07:00
Tim Murray
1974420465 Merge "fix build break" into jb-mr1-dev 2012-09-26 17:14:07 -07:00
Tim Murray
0e3d40dfbd fix build break
Change-Id: I51603e7c645ce7aaa632e88bdc44578094785fdd
2012-09-26 17:09:00 -07:00
Tim Murray
c31c54332e Merge "fix blend intrinsics, add tests" into jb-mr1-dev 2012-09-26 16:52:21 -07:00
Tim Murray
74478f73b7 fix blend intrinsics, add tests
Bug: 7190126
Change-Id: If69213377282bf5b412508e7af974a1f8d440287
2012-09-26 16:29:08 -07:00
Stephen Hines
8d60b1ea29 Restore RSTest functionality (char bug is fixed).
Bug: 6865598
Change-Id: If65ff3c29b28c1008fbf1ad91a92b54210d60547
2012-09-25 21:08:38 -07:00
Stephen Hines
d895d37e27 RS char bug repro case
Bug: 6865598

Change-Id: Ic43002e0b0646af7eda1b2283e4df7db8dfcf68b
2012-09-25 20:47:09 -07:00
Dianne Hackborn
3992645bf3 More activity tests.
Change-Id: Id381ee2db55b135a0734c193fce44c55ef1cdae6
2012-09-25 17:14:22 -07:00
Svetoslav Ganov
c91fb5875b Merge "Adding a global accessibility action to open quick settings." into jb-mr1-dev 2012-09-25 16:47:06 -07:00
Svetoslav Ganov
e20a177d3f Adding a global accessibility action to open quick settings.
1. Added APIs for opening the quick settings to the StatusBarManagerService
   and the local StatausBarManager. The new APIs are protected by the old
   EXPAND_STATUS_BAR permission.
   Renamed the expand* and collapse* non-public APIs that are expanding
   the notifications to expandNotifications* collapseNotifications* to
   better convey what they do given that this change adds
   expandQuickSettings* and collapseQuickSettings*.
   Added a global action to the accessibility layer to expand the quick
   settings which is calling into the new status bar manager APIs.

bug:7030487

Change-Id: Ic7b46e1a132f1c0d71355f18e7c5a9a2424171c3
2012-09-25 16:07:59 -07:00
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