2277 Commits

Author SHA1 Message Date
Dianne Hackborn
537915828b Merge "More mult-user API work." into jb-mr1-dev 2012-08-08 10:22:49 -07:00
Dianne Hackborn
7d19e0242f More mult-user API work.
- You can now use android:singleUser with receivers and providers.
- New API to send ordered broadcasts as a user.
- New Process.myUserHandle() API.

For now I am trying out "user handle" as the name for the numbers
representing users.

Change-Id: I754c713ab172494bb4251bc7a37a17324a2e235e
2012-08-07 19:19:22 -07:00
Romain Guy
0a332e39eb Merge "Draw an empty border around glyphs to avoid sampling issues Bug #6942209" into jb-mr1-dev 2012-08-07 19:12:09 -07:00
Romain Guy
33fa1f774c Draw an empty border around glyphs to avoid sampling issues
Bug #6942209

The font renderer was preserving a 1 px border around each glyph to ensure
bilinear filtering would work nicely. Unfortunately, this border was not
set to 0 when glyphs were added in the cache to replace old evicted glyphs.

Change-Id: Ib85afca7ebad5cb63f960dc0e87ae162333dbfe8
2012-08-07 19:09:57 -07:00
Rajeev Sharma
6e1b917759 Add case for NEON min to RSTest
Regression test for bug 6841495.

Change-Id: If98380f402a711592dcddba5438e3cce5b008131
2012-08-07 14:30:50 -07:00
Rajeev Sharma
8fa57118ad Add approximate version of Vignette filter to Image Processing test
Currently uses approx_recip and approx_length (thus approx_sqrt).  Will use
approx_exp once this is implemented.

Change-Id: I9f01023105e82a82262100d8ed831e9250a05ed8
2012-08-06 14:22:54 -07:00
Romain Guy
a70cd04985 Merge "Add dithering to gradients" into jb-mr1-dev 2012-08-03 11:09:49 -07:00
Dianne Hackborn
b4163a6e12 Add APIs for interacting across users.
- Expose the existing Context.sendBroadcast() as
  Context.sendBroadcastAsUser().
- Add new android:singleUser attribute for services.
- Add new INTERACT_ACROSS_USERS_FULL permission for full
  system-level access to cross-user interface (allows
  sendBroadcastAsUser() to send to any receiver).
- Add new INTERACT_ACROSS_USERS_FULL permission for
  more restricted cross-user interaction: this is required
  for android:singleUser, and allows you to use
  sendBroadcastAsUser() but only to send to your own
  receivers.

Change-Id: I0de88f6718e9505f4de72e3f45d29c0f503b76e9
2012-08-02 19:07:57 -07:00
Romain Guy
211efea737 Add dithering to gradients
Change-Id: Ic1208855bde3a254eca2fd7cef43e0f1318ce419
2012-08-01 19:18:35 -07:00
Rajeev Sharma
c1deaa221f Vignette filter: precompute more values, simplify math, cleanup code
Change-Id: I29cfc313a5173fd393944dd9af58d0111a3d726a
2012-08-01 15:46:30 -07:00
Romain Guy
42e1e0d482 Improve gradients
Avoid using textures for common gradients (two stops from 0.0 to 1.0)

Change-Id: Iff55d21b126c8cfc4cfb701669f2339c8f6b131a
2012-07-31 18:55:16 -07:00
Jason Sams
41bd3508e7 save 2ms replace div with mul.
Change-Id: I13d80b074b70cd2edd71f33e2881aa367b7652c7
2012-07-30 16:41:18 -07:00
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
33034b13ca Create telephony-common and mms-common - DO NOT MERGE
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-17 12:23:09 -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