2558 Commits

Author SHA1 Message Date
Jason Sams
69bf687e53 Merge "Add API support for 3D allocations." 2012-12-28 11:53:46 -08:00
Jason Sams
d1c306a9e6 Add API support for 3D allocations.
Change-Id: I19c525f90135d83caec545e77e8f61a957d220ee
2012-12-27 20:26:41 -08:00
Tim Murray
2c1dc9a0e9 Switch to simpler createFromBitmap in ImageProcessing.
Change-Id: I61034689ed83b6536abc034e21c39adac2cdf553
2012-12-18 14:21:39 -08:00
Stephen Hines
2e28e2b324 Revert "Turn off IP2."
This reverts commit bc897302afcc40aee2bbce75a156a0d61883ff55

Change-Id: Ie2d0f32e248a20c26e8251195614d8df751c99ae
2012-12-14 11:39:47 -08:00
Stephen Hines
bc897302af Turn off IP2.
Change-Id: I1d45b0077c1a57c74e36fa8df45428b06a454253
2012-12-13 14:26:12 -08:00
Stephen Hines
a52b503b2e Merge "Compatibility lib changes for IP2." 2012-12-12 15:02:54 -08:00
Stephen Hines
f43ac732e1 Compatibility lib changes for IP2.
Bug: 7419958
Change-Id: Ibd62c06b60875e17d232e27f1845ce0ffafff834
2012-12-11 19:59:52 -08:00
Jason Sams
0d0c4e136a Merge "Minor cleanup of a few RS filter ports." 2012-12-11 17:06:45 -08:00
Jason Sams
f914db7c42 Minor cleanup of a few RS filter ports.
on Manta these reduce the times from
Contrast: 180ms to 21ms
Exposure: 177ms to 19ms

Change-Id: I1224ecaeaee22dc49069383e2f000a193c331b4c
2012-12-11 14:28:21 -08:00
Stephen Hines
cca2455dc1 Test bounds on rsForEach calls.
Change-Id: I1dedfda90200bac984b552d52e1ac26523085357
2012-12-10 17:45:33 -08:00
Tim Murray
906380a876 Merge "add filters from Gallery to ImageProcessing" 2012-12-06 18:06:25 -08:00
Tim Murray
d7940c89e8 add filters from Gallery to ImageProcessing
Change-Id: Iaf90f4a9468adde4bc8d94ec3ceed41846f424d0
2012-12-06 17:19:54 -08:00
Stephen Hines
afa528e438 Merge "Fix app bug related to same input/output bitmap." 2012-12-06 15:22:44 -08:00
Stephen Hines
b6d04f84c3 Fix app bug related to same input/output bitmap.
Due to our new bitmap storage optimization, we can't reuse the same
bitmap as input and output safely (since we modify the output directly).
This change updates ImageProcessing to appropriately create a distinct
output Bitmap Allocation and actually use it.

Change-Id: Iecf6c2d203bd1c370b8d0a9fb7e69b419d2eb69b
2012-12-06 15:03:21 -08:00
Guang Zhu
07e186ea54 am 32ec47c1: am 63cc22a5: am 4eab3d88: Merge "more app launch test tweaks" into jb-mr1.1-dev
* commit '32ec47c1b15b5a9c8f8d9e9f324bb6fe353119fe':
  more app launch test tweaks
2012-12-05 12:23:34 -08:00
Guang Zhu
32ec47c1b1 am 63cc22a5: am 4eab3d88: Merge "more app launch test tweaks" into jb-mr1.1-dev
* commit '63cc22a5c393fec725d271f5a7d82fb2fe05647f':
  more app launch test tweaks
2012-12-04 16:35:09 -08:00
Guang Zhu
13f7734977 more app launch test tweaks
to get closer to the previous harness:
* sleep 750ms after launch then press HOME
* force close app after launch
* sleep 2s then move to next app

Change-Id: I70fefa7f3e87c637ed8b4cb2981c26d665c94319
2012-12-04 14:40:30 -08:00
Dianne Hackborn
f9ae5f75af am 23307cbb: am e0a676a3: Merge "Fix issue #7649590: Background windows sometimes not being hidden for secondary users" into jb-mr1.1-dev
* commit '23307cbb6b432b658b0fd7437dacfedd6298af94':
  Fix issue #7649590: Background windows sometimes not being hidden for secondary users
2012-12-03 16:08:35 -08:00
Dianne Hackborn
e0a676a3bb Merge "Fix issue #7649590: Background windows sometimes not being hidden for secondary users" into jb-mr1.1-dev 2012-12-03 15:51:47 -08:00
Dianne Hackborn
bb4ca5271a Fix issue #7649590: Background windows sometimes not being hidden for secondary users
There are two things going on here:

(1) In secondary users, some times theme information such as whether
the window is full screen opaque was not being retrieved, so the window
manager didn't know that it could hide the windows behind the app.
This would just be a performance problem, except that:

(2) There appear to be a number of applications that declare that they
are full screen opaque, when in fact they are not.  Instead they are
using window surfaces with an alpha channel, and setting some pixels
in their window to a non-opaque alpha level.  This will allow you to
see whatever is behind the app.  If the system happens to completely
remove the windows behind the app, and somebody is filling the frame
buffer with black, then you will see what the app intends -- those
parts of its UI blended with black.  If one of those cases doesn't
hold (and though we have never guaranteed they would, in practice this
is generally what happens), then you will see something else.

At any rate, if nothing else than for performance reasons, we need to
fix issue #1.

It turns out what is happening here is that the AttributeCache used
by the activity manager and window manager to retreive theme and other
information about applications has not yet been updated for multi-user.

One of the things we retrieve from this is the theme information telling
the window manager whether an application's window should be treated
as full screen opaque, allowing it to hide any windows behind it.  In
the current implementation, the AttributeCache always retrieves this
information about the application as the primary user (user 0).

So, if you have an application that is installed on a secondary user but
not installed on the primary user, when the AttributeCache tries to retrieve
the requested information for it, then from the perspective of the primary user
it considers the application not installed, and is not able to retrieve that
info.

The change here makes AttributeCache multi-user aware, keeping all of its
data separately per-user, and requiring that callers now provide the user
they want to retrieve information for.  Activity manager and window manager
are updated to be able to pass in the user when needed.  This required some
fiddling of the window manager to have that information available -- in
particular it needs to be associated with the AppWindowToken.

Change-Id: I4b50b4b3a41bab9d4689e61f3584778e451343c8
2012-12-03 14:09:06 -08:00
Guang Zhu
ca4f3473b9 am 5732aaf1: am 8732bee8: am fdc0d929: Merge "app launch test fixes and improvements" into jb-mr1.1-dev
* commit '5732aaf1bb38d0d7bc3535ee934c32a8fb8e8dd6':
  app launch test fixes and improvements
2012-12-03 11:23:58 -08:00
Guang Zhu
5732aaf1bb am 8732bee8: am fdc0d929: Merge "app launch test fixes and improvements" into jb-mr1.1-dev
* commit '8732bee8d1e2ffc7a163769904bd799ac2730b4e':
  app launch test fixes and improvements
2012-12-03 11:22:29 -08:00
Guang Zhu
c28a062ffd app launch test fixes and improvements
* fixed NPE when specified app name does not exist
* force stop package before starting, because some names may
  resolve into the same package
* ensure app is launched in the order as sepcified in command
  line
* fixed time recording: it should have been 'thisTime' as
  reported by ActivityManager, to be consistent with previous
  harness

Change-Id: I411a568580feef21821dcbe6ec15884f697af6fd
2012-12-01 23:40:10 -08:00
Jason Sams
131549dd7b am 98a09c64: am 43174b7d: am 718fb9f1: Fix sample code issues
* commit '98a09c64d52aa1166a09ab071049bc3536def1cd':
  Fix sample code issues
2012-11-30 13:26:03 -08:00
Jason Sams
98a09c64d5 am 43174b7d: am 718fb9f1: Fix sample code issues
* commit '43174b7d2250d5afecabd5a97d2f7fbddc753fd7':
  Fix sample code issues
2012-11-30 13:21:50 -08:00
Jason Sams
718fb9f12e Fix sample code issues
Correct min SDK.
Correct file extension on mandelbrot

Change-Id: I508c22c382f1a930b27d8c5f4414cac3a990a332
2012-11-30 12:32:36 -08:00
Daniel Sandler
1629c12a6a am 07cca313: am 70f17822: am 54525d8e: Merge "Clean up the Builder test." into jb-mr1.1-dev
* commit '07cca31300667061ce2b011aff789ffdb8924a1e':
  Clean up the Builder test.
2012-11-27 18:44:35 -08:00
Daniel Sandler
07cca31300 am 70f17822: am 54525d8e: Merge "Clean up the Builder test." into jb-mr1.1-dev
* commit '70f17822987607e74dd891fe537a20e13d379df1':
  Clean up the Builder test.
2012-11-27 18:21:35 -08:00
Daniel Sandler
54525d8e4b Merge "Clean up the Builder test." into jb-mr1.1-dev 2012-11-27 18:13:29 -08:00
Chris Craik
86ee9f375a Merge "Hardware / Software Canvas comparison tool" 2012-11-27 10:13:25 -08:00
Jason Sams
fdb36725ac Merge "Add single channel blur test." 2012-11-26 18:18:04 -08:00
Maxim Siniavine
9249207cb4 am 1c3c626c: am 3694d08a: am 007c64ff: Merge "Added app launch test." into jb-mr1.1-dev
* commit '1c3c626cd9d5271a78650439477f4a5f602578c2':
  Added app launch test.
2012-11-21 11:17:39 -08:00
Maxim Siniavine
1c3c626cd9 am 3694d08a: am 007c64ff: Merge "Added app launch test." into jb-mr1.1-dev
* commit '3694d08ace235109d12f9be7ea7316a2aec432d5':
  Added app launch test.
2012-11-21 11:15:39 -08:00
Maxim Siniavine
007c64ffbf Merge "Added app launch test." into jb-mr1.1-dev 2012-11-21 11:10:20 -08:00
Maxim Siniavine
f58e5b6cdc Added app launch test.
The test will start each app and report the time it takes for
the app to start in milliseconds.

Change-Id: I974ac36f70f0d982aa01e46824fe138eb641d680
2012-11-20 18:01:55 -08:00
Maxim Siniavine
4912bd264e am 789038cb: am a5dbd9c3: am d85b8d57: Switched to another method for launching apps.
* commit '789038cb35a26ab2ec8b3e1851cf641294d027eb':
  Switched to another method for launching apps.
2012-11-20 14:11:49 -08:00
Maxim Siniavine
789038cb35 am a5dbd9c3: am d85b8d57: Switched to another method for launching apps.
* commit 'a5dbd9c348f47ad129f12686821ef54a114dd76e':
  Switched to another method for launching apps.
2012-11-20 14:09:21 -08:00
Chris Craik
c3683b552f Hardware / Software Canvas comparison tool
Has automated and manual testing modes

Change-Id: I84d27447ad64021540525372022ab13a36ffc116
2012-11-20 12:41:19 -08:00
Maxim Siniavine
d85b8d57a0 Switched to another method for launching apps.
Started using a separate thread which calls startActivityAndWait
for starting apps. Also increased the minimum and maximum lengths
of time to wait for apps to stabilize.

Change-Id: I49935a0ed1d1c230e58dc1629e5e4da6b3887903
2012-11-20 12:10:27 -08:00
Jason Sams
8150941098 Add single channel blur test.
Change-Id: Iec63132ab4d88290ae1bf0d71431d4fe6ec6dd25
2012-11-16 18:05:10 -08:00
Daniel Sandler
205ec5a969 Clean up the Builder test.
Improved vibration coverage
 Fixed LED color
 Added priority
 Added a start delay (for testing LED while screen off)

Change-Id: I3dab0a1a7494f0fe7631d1af49c0fb9a1fdd3f63
2012-11-14 16:42:04 -05:00
Tim Murray
63f316f1b5 Merge "Java RS latency benchmark." 2012-11-13 13:12:22 -08:00
Jason Sams
83e185c295 Update ImageProcessing test.
Add async filtering.

Change-Id: I4e32a9b1fe9221b09a7d1433b3da11a5e422d911
2012-11-09 17:34:14 -08:00
Jason Sams
9368f0b1b5 JB image processing.
Change-Id: I10e1909332e9e67df0b9a6fcbcc105813295a8b1
2012-11-09 15:18:21 -08:00
Tim Murray
3ffedae942 Java RS latency benchmark.
Change-Id: Id5344dd3a8b6ba211411eae95e29f76a8a487b1a
2012-11-09 14:20:48 -08:00
Tim Murray
2bd9144ed3 Convert constant to float instead of double in mandelbrot.rs.
Change-Id: I05820b5e9b696662bd94dbcd4721298e92f1fc1a
2012-11-09 09:42:51 -08:00
Kenny Root
7b172a49a9 am 58ed5d74: am 768d9e1a: Merge "Correct executable bit for source files"
* commit '58ed5d748c0b9b64845975ef5844ad313de7c3f6':
  Correct executable bit for source files
2012-11-07 13:08:25 -08:00
Kenny Root
58ed5d748c am 768d9e1a: Merge "Correct executable bit for source files"
* commit '768d9e1a72ceee7d4a5f608776b87b62d6ce4a04':
  Correct executable bit for source files
2012-11-07 11:52:12 -08:00
Kenny Root
3a084af2e9 Correct executable bit for source files
Many media files and source code files were marked as executable in Git.
Remove those.

Also a shell script and python script were not marked as executable.

Change-Id: Ieb51bafb46c895a21d2e83696f5a901ba752b2c5
2012-11-07 10:27:31 -08:00
Stephen Hines
bd5b3a7cb1 Minor fixes for range clamp + default blending.
We could use setHasAlpha(false) if we were targeting API 12+, but instead
we need to settle for having the script do this explicitly.

Change-Id: I1c8ebbddcba5a003c69fefa48ec1aaf7d0e6726c
2012-11-05 20:58:41 -08:00