2164 Commits

Author SHA1 Message Date
Rajeev Sharma
bb0dbf7373 Add vignette filter to Image Processing test
Add a vignette filter, mostly based on the GLSL version in
android.filterpacks.imageproc.VignetteFilter but with more input options.

Change-Id: I6f38a0ca09d35566104ec8e8523548399b8704a0
2012-07-27 11:03:52 -07:00
Rajeev Sharma
bb2c947636 Add fisheye filter to Image Processing benchmark
Add a fisheye filter, mostly based on the GLSL version in
android.filterpacks.imageproc.FisheyeFilter but with the configurable center
functionality from the JNI version in the original PhotoEditor.

Change-Id: I6be7d82bf2ad564919f9e675ac9a445fae6c440a
2012-07-27 11:01:36 -07:00
Jeff Smith
440f32bbd4 am ddd88726: am 71930dd7: am a45746ef: Fix several cases of broken droiddoc syntax external issue 35214
* commit 'ddd88726a247e4100cb62b3dc9d0887ca2ae2ec4':
  Fix several cases of broken droiddoc syntax external issue 35214
2012-07-25 22:13:40 -07:00
Rajeev Sharma
a807a50cf2 Add unsigned tests to math agreement test
All operations on unsigned tests were previously commented out due to
bug 6764163.  Signed char vectors remain commented out due to bug
6865598, but unsigned char vectors appear to be working properly.

Change-Id: I723c43fe69a78c8f8e03ed1e4db95f73966fcaad
2012-07-25 15:47:25 -07:00
Jeff Smith
ddd88726a2 am 71930dd7: am a45746ef: Fix several cases of broken droiddoc syntax external issue 35214
* commit '71930dd77e4dc6f6be5c648019d2ab0da5f0584c':
  Fix several cases of broken droiddoc syntax external issue 35214
2012-07-25 15:05:23 -07:00
Stephen Hines
325311251e Merge "Test for unsigned RS setters." 2012-07-25 11:46:56 -07:00
Stephen Hines
85dae98ca1 Test for unsigned RS setters.
BUG=6764163

This verifies that we don't trample memory with our unsigned set_*()
operations. Previous versions of llvm-rs-cc generated code that could
accidentally overwrite neighboring locations (due to setVar() being
called on the larger Dalvik types for unsigned globals).

Change-Id: I014496122a05cf425efa160978d0738a5233742e
2012-07-25 11:45:28 -07:00
Jeff Smith
71930dd77e am a45746ef: Fix several cases of broken droiddoc syntax external issue 35214
* commit 'a45746efadd11bb7dfab026fb3c81a25fae74ca4':
  Fix several cases of broken droiddoc syntax external issue 35214
2012-07-25 10:56:03 -07:00
Jeff Smith
a45746efad Fix several cases of broken droiddoc syntax
external issue 35214

patch contributed by Jeff Smith <whydoubt@yahoo.com>

Change-Id: I70dcee88a140699bf3e1ab369bed6dcd2fdd3d83
2012-07-25 10:49:25 -07:00
Romain Guy
786fc93d71 Make HardwareRenderer able to target generic Surface objects
Change-Id: I4b7199a1eb30e0df354ae12c4819adc69db5df40
2012-07-24 16:41:21 -07:00
Romain Guy
d8031f0e8c Merge "Make gradients look slightly better" 2012-07-20 17:02:14 -07:00
Romain Guy
98ba89492a Make gradients look slightly better
Change-Id: Ib12c628a88b9ec6af1214ce6e5cb14cfde40485e
2012-07-20 16:58:45 -07:00
Stephen Hines
b10f455e44 Merge "Updated math_agree test" 2012-07-20 15:52:42 -07:00
Rajeev Sharma
5666d8f4fb Updated math_agree test
Tests for min, max, fmin, and fmax.  Currently has tests for chars and longs as well as all unsigned types disabled due to outstanding Renderscript/LLVM bugs.  Will enable those tests cases once bugs are fixed.

Change-Id: I80474f7b68a7916c2172056421db7d170d00f1cb
2012-07-20 15:47:20 -07:00
Jason Sams
4a45de8c5f Add film grain test.
Change-Id: Ic7c7d7f66fbcf9a9e7a031a4c34f9a1372f0a7b7
2012-07-20 15:40:45 -07:00
Jason Sams
52541816fb Refactor ImageProcessing benchmark and stabilize results.
Change-Id: I3d43bf855515a3ab707089e97cc310b561683f5f
2012-07-19 16:31:47 -07:00
Wink Saville
5362f17ff5 Merge commit '1b003ef0' into mit
* commit '1b003ef0':
  Create telephony-common and mms-common

Change-Id: Ie8876541dbe7f4c933cf7d69910dd204538bc975
2012-07-11 18:15:50 -07:00
Wink Saville
a639b311e9 Create telephony-common and mms-common
These have been created to reduce the size and complexity
of frameworks/base.

mms-common was created by moving all of
  frameworks/base/core/java/com/google/android/mms
to:
   frameworks/opt/mms

telephony-common was created by moving some of
   frameworks/base/telephony
to:
   frameworks/opt/telephony

Change-Id: If6cb3c6ff952767fc10210f923dc0e4b343cd4ad
2012-07-11 16:02:08 -07:00
Jason Sams
702fb2c502 Cleanup filter preview test.
Change-Id: I626a1261affb86499ec398678523b0fe9e5fe679
2012-07-10 14:18:45 -07:00
Jason Sams
ba929942f1 Merge "Filter performance tests." 2012-07-02 18:16:43 -07:00
Stephen Hines
10efb53234 Switch to "tests" instead of "optional" for build.
Change-Id: Iaea3819c18be34b5c3864015316b67397c928f2d
2012-07-02 16:40:48 -07:00
Michael Jurka
ba64974141 Removing setChildrenLayersEnabled
Change-Id: I88d8228eadb59160648f2c4e131fcd85945f2109
2012-06-28 19:15:20 -07:00
Jim Miller
9ec426aba6 am 2b7df368: am cab997b2: Merge "Fix 6667238: allow market apps to support ACTION_ASSIST" into jb-dev
* commit '2b7df3686f24a5a653a6609556dd98210324f7bd':
  Fix 6667238: allow market apps to support ACTION_ASSIST
2012-06-19 15:26:54 -07:00
Jim Miller
45308b1b3b Fix 6667238: allow market apps to support ACTION_ASSIST
This change allows market apps and 3rd parties to supply an activity
that responds to ACTION_ASSIST (e.g. market apps).

It also adds a test app to respond to the ASSIST intent and force
the intent disambiguation dialog to appear.

Change-Id: I5a78863c6a9546d18c66275187d178f6a1c9ee17
2012-06-19 15:00:13 -07:00
Jason Sams
0cb555ffcc Filter performance tests.
Change-Id: Ic1c898ac41372da7b0a25ebb4c83b075c7467e35
2012-06-13 14:40:03 -07:00
Steve Block
ca2ef2cbb1 Merge "Fix style for Geolocation mock mechanism" 2012-06-11 10:32:35 -07:00
Ben Murdoch
c3c682fc12 Add missing </head> tag to last commit.
See Ifca486e329333b642d8195391fb1829bbf9a684c

Change-Id: I2e9f0288176896d965cc25684b229f93ad46f013
2012-06-11 15:52:37 +01:00
Ben Murdoch
963a7307e9 Add JavaBridge test to ensure objects injected into child frames.
Child frames should have also have any injected javascript interfaces
from the main frame. Add a test to verify this behavior.

Bug: 6640270

Change-Id: Ifca486e329333b642d8195391fb1829bbf9a684c
2012-06-11 15:29:15 +01:00
Stephen Hines
8547d55861 Merge "Add math agreement test. float_distance and float_almost_agree added to header" 2012-05-30 13:44:53 -07:00
Rajeev Sharma
325ca45471 Add math agreement test. float_distance and float_almost_agree added to header
Change-Id: Ieee5e4894cb62db384588547d8762e57f3839bf4
2012-05-29 16:36:16 -07:00
Steve Block
b56ed30666 Fix style for Geolocation mock mechanism
See I6d88d5dce5c2148812b191a5b452718bf0854aeb

Change-Id: I1179319f066664393aa5f7324df89f8057a9e922
2012-05-29 16:20:03 +01:00
Steve Block
830698b1d9 Avoid unintended side-effects of loading javascript: URLS in Java Bridge tests
Change-Id: I8ba9a32ca0d0d80395029d92886155d2ed13d6f4
2012-05-25 14:24:40 +01:00
Stephen Hines
9fc54f3d85 Revert "Large matrix test"
This reverts commit 4af866511bad19f2fec1aee6d10d58242ae40087
2012-05-23 16:02:17 -07:00
Jason Sams
4af866511b Large matrix test
Change-Id: Icd0f4314f83e7d23964cb583be4ce88b162d3d97

Fix LargeMatrix test.
2012-05-22 18:50:09 -07:00
Steve Block
7c22b1810c Merge "Switch Geolocation DRT methods to control client-based mock" 2012-05-22 06:15:07 -07:00
Steve Block
f3f60d9328 Switch Geolocation DRT methods to control client-based mock
Note that we plumb DRT Geolocation mock calls via WebView. This is required
because the WebCore client-based mock is not a static but is tied to the Page.

See WebKit change Ib74a3c05991593e75c3138415d4ac0bf0c9aefa9.

Bug: 6511338
Change-Id: I6d88d5dce5c2148812b191a5b452718bf0854aeb
2012-05-22 12:07:55 +01:00
Romain Guy
602e3ad3b2 am 6e153128: am 1b283b4e: Merge "Fix TextureView OpenGL sample" into jb-dev
* commit '6e1531281a273ab1914b2c8c423d92b36a8ce5a6':
  Fix TextureView OpenGL sample
2012-05-21 11:51:35 -07:00
Jason Sams
519b492a4d am df06d51f: am 4ee6a63d: Merge "Move gfx samples to test directory for compatibility testing." into jb-dev
* commit 'df06d51ffa38c86ea138d24c0129763878553c71':
  Move gfx samples to test directory for compatibility testing.
2012-05-17 15:33:32 -07:00
Romain Guy
1b283b4e7f Merge "Fix TextureView OpenGL sample" into jb-dev 2012-05-16 20:04:46 -07:00
Romain Guy
4c43f66d06 Fix TextureView OpenGL sample
The sample was doing something dumb: instead of binding the texture unit
to the shader's sampler, it was binding the texture name. Oops.

Change-Id: I13450dacbbd2dad362a2573aebb95e8eb87b25f0
2012-05-16 20:01:17 -07:00
Jason Sams
e5f2f66f8c Move gfx samples to test directory for compatibility testing.
Change-Id: Iede1c0a14abf9aa3f31ab219fba3bf3a15ef8c90
2012-05-16 15:43:25 -07:00
Stephen Hines
030ab67e7b am 69b2bda2: am a7ea0d39: Merge "Add unit tests for convert (with relaxed precision)." into jb-dev
* commit '69b2bda2e967a2f53e689c9622c748c0a810fb46':
  Add unit tests for convert (with relaxed precision).
2012-05-15 15:17:53 -07:00
Stephen Hines
a7ea0d3968 Merge "Add unit tests for convert (with relaxed precision)." into jb-dev 2012-05-15 15:11:55 -07:00
Stephen Hines
8a07109585 Merge "Test float vector versions of rsDebug()." 2012-05-15 15:08:09 -07:00
Romain Guy
ae197fd160 am d5cfec8d: am 7b8523aa: Merge "Remove all Dalvik allocations from Cavnas.drawBitmap(int[], ...)" into jb-dev
* commit 'd5cfec8d34a59f2a4e98b655b5e49775d69ad64c':
  Remove all Dalvik allocations from Cavnas.drawBitmap(int[], ...)
2012-05-15 11:39:12 -07:00
Romain Guy
e651cc6239 Remove all Dalvik allocations from Cavnas.drawBitmap(int[], ...)
Change-Id: Ie28538a2104d21154fdc78a56525e7403f08287d
2012-05-14 19:44:40 -07:00
Stephen Hines
0ccbd524e6 Test float vector versions of rsDebug().
Change-Id: I74cf2e23cd323d25af6e46587da8d442fdd058c8
2012-05-14 18:06:03 -07:00
Stephen Hines
724de98edb Add unit tests for convert (with relaxed precision).
BUG=6127576

Change-Id: Ia5b4efa99de4f6df644779eeee6763eb31be4d90
2012-05-14 15:05:58 -07:00
Stephen Hines
4106d56b6e am 8470381b: am dcc1996b: Merge "Test clamp (full and relaxed precision)." into jb-dev
* commit '8470381b0c6866a0d2fabda2ff02ae550ca60715':
  Test clamp (full and relaxed precision).
2012-05-14 07:48:56 -07:00
Stephen Hines
a25b2e80c7 Test clamp (full and relaxed precision).
BUG=6127576

Change-Id: I9501be7db42daa11dcc71bd619a993c80ef097de
2012-05-10 15:25:11 -07:00