summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | Add plumbing for better text scalingRomain Guy2013-01-082-6/+49
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fonts are now described by a transform matrix. This lead to switching from a vector to a hashmap. This change therefore adds new comparators and hash computations to Font. Change-Id: I2daffa7d6287c18554c606b8bfa06640d28b4530
* | | | Add more tests for libhwuiRomain Guy2013-01-073-0/+189
| |/ / |/| | | | | | | | | | | | | | These tests verify the behavior when scaling paths and text Change-Id: I0f3259175bcee93186e30296759996e0447cba99
* | | Properly support ALPHA_8 bitmaps in all drawBitmap() methodsRomain Guy2013-01-043-0/+106
| | | | | | | | | | | | Change-Id: I869993c59e0a0d76f369c09acbae711753908f48
* | | Fix off by 1 in color cube.Jason Sams2013-01-022-59/+50
|/ / | | | | | | | | | | | | Tested with 2x2x2 and 32x32x16 cubes. Bit exact in 2x2x2 Change-Id: I0ca3e3736d1d9c611a02bba8ee9bfea3befd0e76
* | Merge "Fix color cube tests."Jason Sams2012-12-282-19/+61
|\ \
| * | Fix color cube tests.Jason Sams2012-12-282-19/+61
| | | | | | | | | | | | Change-Id: I644ac26c6d234bf5b9cf4c549bebdfee67e98f50
* | | Merge "Add API support for 3D allocations."Jason Sams2012-12-283-1/+143
|\ \ \ | |/ /
| * | Add API support for 3D allocations.Jason Sams2012-12-273-1/+143
| | | | | | | | | | | | Change-Id: I19c525f90135d83caec545e77e8f61a957d220ee
* | | Switch to simpler createFromBitmap in ImageProcessing.Tim Murray2012-12-181-9/+5
|/ / | | | | | | Change-Id: I61034689ed83b6536abc034e21c39adac2cdf553
* | Revert "Turn off IP2."Stephen Hines2012-12-141-2/+1
| | | | | | | | | | | | This reverts commit bc897302afcc40aee2bbce75a156a0d61883ff55 Change-Id: Ie2d0f32e248a20c26e8251195614d8df751c99ae
* | Turn off IP2.Stephen Hines2012-12-131-1/+2
| | | | | | | | Change-Id: I1d45b0077c1a57c74e36fa8df45428b06a454253
* | Merge "Compatibility lib changes for IP2."Stephen Hines2012-12-121-0/+1
|\ \
| * | Compatibility lib changes for IP2.Stephen Hines2012-12-111-0/+1
| |/ | | | | | | | | Bug: 7419958 Change-Id: Ibd62c06b60875e17d232e27f1845ce0ffafff834
* | Merge "Minor cleanup of a few RS filter ports."Jason Sams2012-12-115-34/+25
|\ \
| * | Minor cleanup of a few RS filter ports.Jason Sams2012-12-115-34/+25
| |/ | | | | | | | | | | | | | | on Manta these reduce the times from Contrast: 180ms to 21ms Exposure: 177ms to 19ms Change-Id: I1224ecaeaee22dc49069383e2f000a193c331b4c
* | Test bounds on rsForEach calls.Stephen Hines2012-12-103-0/+135
|/ | | | Change-Id: I1dedfda90200bac984b552d52e1ac26523085357
* Merge "add filters from Gallery to ImageProcessing"Tim Murray2012-12-0613-1/+781
|\
| * add filters from Gallery to ImageProcessingTim Murray2012-12-0613-1/+781
| | | | | | | | Change-Id: Iaf90f4a9468adde4bc8d94ec3ceed41846f424d0
* | Merge "Fix app bug related to same input/output bitmap."Stephen Hines2012-12-062-3/+3
|\ \
| * | Fix app bug related to same input/output bitmap.Stephen Hines2012-12-062-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | am 32ec47c1: am 63cc22a5: am 4eab3d88: Merge "more app launch test tweaks" ↵Guang Zhu2012-12-051-5/+14
|\ \ \ | |/ / |/| | | | | | | | | | | | | | into jb-mr1.1-dev * commit '32ec47c1b15b5a9c8f8d9e9f324bb6fe353119fe': more app launch test tweaks
| * | am 63cc22a5: am 4eab3d88: Merge "more app launch test tweaks" into jb-mr1.1-devGuang Zhu2012-12-041-5/+14
| |\ \ | | | | | | | | | | | | | | | | * commit '63cc22a5c393fec725d271f5a7d82fb2fe05647f': more app launch test tweaks
| | * | more app launch test tweaksGuang Zhu2012-12-041-5/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | am 23307cbb: am e0a676a3: Merge "Fix issue #7649590: Background windows ↵Dianne Hackborn2012-12-031-1/+1
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | 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
| | * | Merge "Fix issue #7649590: Background windows sometimes not being hidden for ↵Dianne Hackborn2012-12-031-1/+1
| | |\ \ | | | | | | | | | | | | | | | secondary users" into jb-mr1.1-dev
| | | * | Fix issue #7649590: Background windows sometimes not being hidden for ↵Dianne Hackborn2012-12-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | am 5732aaf1: am 8732bee8: am fdc0d929: Merge "app launch test fixes and ↵Guang Zhu2012-12-031-11/+16
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | improvements" into jb-mr1.1-dev * commit '5732aaf1bb38d0d7bc3535ee934c32a8fb8e8dd6': app launch test fixes and improvements
| * | | | am 8732bee8: am fdc0d929: Merge "app launch test fixes and improvements" ↵Guang Zhu2012-12-031-11/+16
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | into jb-mr1.1-dev * commit '8732bee8d1e2ffc7a163769904bd799ac2730b4e': app launch test fixes and improvements
| | * | | app launch test fixes and improvementsGuang Zhu2012-12-011-11/+16
| | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* | | | am 98a09c64: am 43174b7d: am 718fb9f1: Fix sample code issuesJason Sams2012-11-302-1/+1
|\ \ \ \ | |/ / / | | | / | |_|/ |/| | * commit '98a09c64d52aa1166a09ab071049bc3536def1cd': Fix sample code issues
| * | am 43174b7d: am 718fb9f1: Fix sample code issuesJason Sams2012-11-302-1/+1
| |\ \ | | |/ | | | | | | | | | * commit '43174b7d2250d5afecabd5a97d2f7fbddc753fd7': Fix sample code issues
| | * Fix sample code issuesJason Sams2012-11-302-1/+1
| | | | | | | | | | | | | | | | | | | | | Correct min SDK. Correct file extension on mandelbrot Change-Id: I508c22c382f1a930b27d8c5f4414cac3a990a332
* | | am 07cca313: am 70f17822: am 54525d8e: Merge "Clean up the Builder test." ↵Daniel Sandler2012-11-273-495/+654
|\ \ \ | |/ / | | | | | | | | | | | | | | | into jb-mr1.1-dev * commit '07cca31300667061ce2b011aff789ffdb8924a1e': Clean up the Builder test.
| * | am 70f17822: am 54525d8e: Merge "Clean up the Builder test." into jb-mr1.1-devDaniel Sandler2012-11-273-495/+654
| |\ \ | | |/ | | | | | | | | | * commit '70f17822987607e74dd891fe537a20e13d379df1': Clean up the Builder test.
| | * Merge "Clean up the Builder test." into jb-mr1.1-devDaniel Sandler2012-11-273-495/+654
| | |\
| | | * Clean up the Builder test.Daniel Sandler2012-11-143-495/+654
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Improved vibration coverage Fixed LED color Added priority Added a start delay (for testing LED while screen off) Change-Id: I3dab0a1a7494f0fe7631d1af49c0fb9a1fdd3f63
* | | | Merge "Hardware / Software Canvas comparison tool"Chris Craik2012-11-2716-0/+1685
|\ \ \ \
| * | | | Hardware / Software Canvas comparison toolChris Craik2012-11-2016-0/+1685
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Has automated and manual testing modes Change-Id: I84d27447ad64021540525372022ab13a36ffc116
* | | | | Merge "Add single channel blur test."Jason Sams2012-11-264-2/+110
|\ \ \ \ \
| * | | | | Add single channel blur test.Jason Sams2012-11-164-2/+110
| |/ / / / | | | | | | | | | | | | | | | Change-Id: Iec63132ab4d88290ae1bf0d71431d4fe6ec6dd25
* | | | | am 1c3c626c: am 3694d08a: am 007c64ff: Merge "Added app launch test." into ↵Maxim Siniavine2012-11-213-0/+246
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | jb-mr1.1-dev * commit '1c3c626cd9d5271a78650439477f4a5f602578c2': Added app launch test.
| * | | | am 3694d08a: am 007c64ff: Merge "Added app launch test." into jb-mr1.1-devMaxim Siniavine2012-11-213-0/+246
| |\ \ \ \ | | | |/ / | | |/| | | | | | | | | | | | * commit '3694d08ace235109d12f9be7ea7316a2aec432d5': Added app launch test.
| | * | | Merge "Added app launch test." into jb-mr1.1-devMaxim Siniavine2012-11-213-0/+246
| | |\ \ \
| | | * | | Added app launch test.Maxim Siniavine2012-11-203-0/+246
| | | | |/ | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | The test will start each app and report the time it takes for the app to start in milliseconds. Change-Id: I974ac36f70f0d982aa01e46824fe138eb641d680
* | | | | am 789038cb: am a5dbd9c3: am d85b8d57: Switched to another method for ↵Maxim Siniavine2012-11-202-7/+49
|\ \ \ \ \ | |/ / / / | | | | / | |_|_|/ |/| | | | | | | | | | | launching apps. * commit '789038cb35a26ab2ec8b3e1851cf641294d027eb': Switched to another method for launching apps.
| * | | am a5dbd9c3: am d85b8d57: Switched to another method for launching apps.Maxim Siniavine2012-11-202-7/+49
| |\ \ \ | | |/ / | | | | | | | | | | | | * commit 'a5dbd9c348f47ad129f12686821ef54a114dd76e': Switched to another method for launching apps.
| | * | Switched to another method for launching apps.Maxim Siniavine2012-11-202-7/+49
| | |/ | | | | | | | | | | | | | | | | | | | | | 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
* | | Merge "Java RS latency benchmark."Tim Murray2012-11-136-0/+217
|\ \ \
| * | | Java RS latency benchmark.Tim Murray2012-11-096-0/+217
| | | | | | | | | | | | | | | | Change-Id: Id5344dd3a8b6ba211411eae95e29f76a8a487b1a
* | | | Update ImageProcessing test.Jason Sams2012-11-093-3/+84
| | | | | | | | | | | | | | | | | | | | | | | | Add async filtering. Change-Id: I4e32a9b1fe9221b09a7d1433b3da11a5e422d911