summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Improve handling of small largeIcons in tablet ticker.Daniel Sandler2011-12-072-0/+8
| | | | | | | | | | | | | | | | | | | | | The tablet system bar is too short for a full notification row, but it will show the largeIcon of a new notification in its full frame, intruding into the main application content rectangle a bit. This is a good thing---the notifications really pop out at you---but it looks a little odd if the largeIcon is actually *small*: the icon is vertically centered in the larger (invisible) rectangle, making it look poorly centered on the system bar. This change will detect short largeIcons and center them in the system bar's height instead. Additionally, it applies the same ticker background all the way to the left underneath largeIcons that are not full-frame (and therefore have transparent regions). Bug: 5708907 Bug: 5560485 Change-Id: I32af45632df164c58fb960110063dbaa08b5536c
* Send animation start notification back to webkit from ui threadChris Craik2011-11-291-2/+2
| | | | | | | | bug:5239801 depends on external/webkit CL: https://android-git.corp.google.com/g/#/c/152559/ Change-Id: I647b5a82680f570c918227dbf57521b862dcfe25
* Add iteration-limited mode to FrameworkPerfChristopher Tate2011-11-284-6/+61
| | | | | | | | | | You can run tests for exactly N iterations regardless of duration now, in addition to the previous time-limited behavior. (Clean cherry-pick to break a dependency on a previous patch that needs work before being committed.) Change-Id: I2e6cf511bbe968a6f95391567658722e87dfa1fe
* Merge "add a self instrumentation into framework perf app" into ics-mr1Guang Zhu2011-11-174-13/+73
|\
| * add a self instrumentation into framework perf appGuang Zhu2011-11-174-13/+73
| | | | | | | | | | | | | | It's essentially a test app on itself to facilitate running the perf automatically. Change-Id: I5aad3565e64719d219e76969a989ca80aa6df286
* | Add a few GC-flexing microbenchmark testsChristopher Tate2011-11-171-0/+49
|/ | | | | | | | | Added ObjectGc and FinalizingGc to stress single-object allocation and collection with/without the presence of finalizers. Also added GcOp() to the menu of available single-shot tests. Change-Id: I36d3254dfe2e97e504f9e4f77c8addda98ab4f4b
* Cleanup remote execution of perf tests.Dianne Hackborn2011-11-082-20/+92
| | | | Change-Id: I0d00537194f3a70969220db16f57bda6f25e454b
* Update perf tests to always run each test in a fresh process.Dianne Hackborn2011-11-077-1026/+1345
| | | | | | Also some new classes to preload. Change-Id: Ia2b5f856eaee533b9603b533ebaf8cb55e2ac193
* More performance work:Dianne Hackborn2011-11-026-17/+584
| | | | | | | | | - ActivityManager now keeps track of previous app as you move across the home app. - Better debug info about why an activity is being destroyed. - New performance tests. Change-Id: I3a5ae7cb1b9f1624c6792a4f6184353f532b8f3b
* Some optimizations.Dianne Hackborn2011-11-013-8/+28
| | | | | | | | | | | | - Don't try to create a thumbnail bitmap on the client side. This wastes 64k, and isn't needed since we are doing screenshots. - Optimize View to put all of the callback pointers out of line. Added a couple new APIs so these don't need to be protected/public. - Lazily create ViewGroup's cache paint. - Change FrameworkPerf app to not use HW accel drawing, to give better comparison with GB. Change-Id: Iec56d02459820d74a4cc9c7ec9c1856563c82c7b
* Various performance and other work.Dianne Hackborn2011-10-314-17/+178
| | | | | | | | | | | | | | | | | | - IME service now switches between visible and perceptible depending on whether it is being showm, allowing us to more aggressively free its memory when not shown. - The activity display time is no longer delayed by the activity transition animation. - New -R (repeat) option for launching activities with the am command. - Improved some documentation on Loader to be clear about some methods that apps should not normally call. - FrameworkPerf test now allows you to select individual tests to run. Change-Id: Id1f73de66dc93d63212183958a72119ad174318b
* Merge "Removing changes not meant for MR1" into ics-mr1Alex Sakhartchouk2011-10-317-639/+0
|\
| * Removing changes not meant for MR1Alex Sakhartchouk2011-10-277-639/+0
| | | | | | | | Change-Id: I75136be33f12a87c2b5f21b064c06065a4145d70
* | Add some IO tests.Dianne Hackborn2011-10-281-14/+215
| | | | | | | | Change-Id: Iacd5798a539781b67637cbbcc49cc8dec344e17b
* | Fix build. Forgot to add files. :(Dianne Hackborn2011-10-273-0/+911
| | | | | | | | Change-Id: I89dcc247d957a4873c56017bc262dd717d236258
* | New framework performance tests.Dianne Hackborn2011-10-2715-0/+1099
|/ | | | Change-Id: Ib8cc6704f508b7516ba0a30aa71bb88ef028691d
* Merge "Make sure 9patches are not filtered when not necessary Bug #5383406"Romain Guy2011-10-208-1/+10
|\
| * Make sure 9patches are not filtered when not necessaryRomain Guy2011-10-208-1/+10
| | | | | | | | | | | | Bug #5383406 Change-Id: I061c8069a4d9f4eaf45671283710b564639eeb32
* | Merge "adding getters to Sampler ProgramRaster, ProgramStore, Element. ↵Jason Sams2011-10-204-39/+238
|\ \ | | | | | | | | | Element adds ability to get subelement info. Tests for new stuff."
| * | adding getters to Sampler ProgramRaster, ProgramStore, Element.Alex Sakhartchouk2011-10-184-39/+238
| |/ | | | | | | | | | | Element adds ability to get subelement info. Tests for new stuff. Change-Id: I4a77b91e4e0e73c95ab28b42c50732a64e71e7b9
* | Add mandelbrot to compute perfJason Sams2011-10-183-0/+92
|/ | | | Change-Id: I8217134a703fcd72f6c9a3bdd4e2a6b389ea0fd3
* Adding getter functions for script side RS objects.Alex Sakhartchouk2011-10-157-0/+452
| | | | | | Multiproject change involving on device linker Change-Id: I321e8caa6ca23b3fe2c96c78cdcfc15e51f88823
* Make launchtestxlw use constant.Stephen Hines2011-10-131-2/+2
| | | | Change-Id: I0f9cd3cc2f042a9471ecf1df9e4764cad8ad5ef6
* am dba93565: Break apart DISABLE_HOME and DISABLE_RECENT.Daniel Sandler2011-10-131-5/+10
|\ | | | | | | | | * commit 'dba935659024a9ca83cb6bd3f1a9970e277f7658': Break apart DISABLE_HOME and DISABLE_RECENT.
| * Break apart DISABLE_HOME and DISABLE_RECENT.Daniel Sandler2011-10-131-5/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | Additionally, start using setSystemUiVisibility() where possible in the keyguard to allow activities and dialogs to re-enable some of the navigation keys (notably: home but not recents). Finally, stop disabling MENU for activities atop the keyguard. Bug: 5380495 // no home in driveabout, clock Bug: 5396134 // able to show home/recent in keyguard Change-Id: I04eb224554ee8cff79476b85148c4cda75bb0b62
* | Start adding simple performance testsJason Sams2011-10-137-0/+241
| | | | | | | | | | | | for RS compute. Change-Id: I0a37067f028ff6e61fd9952764a22885ac717c7c
* | Fix example code.Jason Sams2011-10-122-4/+4
| | | | | | | | Change-Id: Idd45125940be2e3c50f60c8ac1894838821f3123
* | Correctly apply transforms when getting a TextureView's bitmapRomain Guy2011-10-112-8/+67
|/ | | | | | Bug #5439406 Change-Id: I271a9a2e38f5b3600dc158f8f442a6b0893f472b
* Move Activity1 and Activity2 to API Demos area in development/samples.Philip Milne2011-10-064-244/+0
| | | | Change-Id: Ib6521caca69b0a0d96c66d9df754d2af17cb6908
* Fix build.Jeff Brown2011-10-051-1/+1
| | | | Change-Id: I01dbb8747f81c83d86e089762b2d34d8bba2bffd
* Merge "Revert "log stack trace when finish() or onDestroy() is called""Guang Zhu2011-09-291-13/+1
|\
| * Revert "log stack trace when finish() or onDestroy() is called"Guang Zhu2011-09-281-13/+1
| | | | | | | | | | We are already clear on why it's happening (phantom touches) so reverting this log. This reverts commit 0882eb05af02616cac5cfd82d9039c9e18d029d8
* | Merge "Don't build display lists for views with a layer."Romain Guy2011-09-282-0/+134
|\ \
| * | Don't build display lists for views with a layer.Romain Guy2011-09-282-0/+134
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This could cause the draw() code of views to be invoked too often or worse, called with the wrong canvas. For instance, a view backed by a software layer could get its draw() method called to record a display list. Using a software layer is the recommended way to use drawing operations not supported in hardware. Since we would sometimes call the draw() method with the hardware backend anyway, the app could crash by executing an unsupported operation. Change-Id: Ib5f9a3a4c6f3efff5e0162ecd73d2dffe06e30a6
* | | Use CPU upload path in DRTGuang Zhu2011-09-271-0/+3
|/ / | | | | | | | | | | | | | | | | | | | | | | This makes it the same as default browser settings (for now). Otherwise the test may crash due to GPU OOM. This is to be a workaround only, and should be reverted after the bug is fixed. Bug: 5382134 Change-Id: I82a8dd83b69c8fceb657af9e32a2c5fa66ead2ce
* | Merge "adding packet count and removing extra uid stats that were used for ↵Tsu Chiang Chuang2011-09-271-2/+11
|\ \ | | | | | | | | | debugging."
| * | adding packet count and removing extra uid stats that were used for debugging.Tsu Chiang Chuang2011-09-261-2/+11
| | | | | | | | | | | | Change-Id: I19664ee991760b9515fc129be50be68579f8ce93
* | | Handle orientation changes more systematically.Jeff Brown2011-09-211-2/+24
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 4981385 Simplify the orientation changing code path in the WindowManager. Instead of the policy calling setRotation() when the sensor determined orientation changes, it calls updateRotation(), which figures everything out. For the most part, the rotation actually passed to setRotation() was more or less ignored and just added confusion, particularly when handling deferred orientation changes. Ensure that 180 degree rotations are disallowed even when the application specifies SCREEN_ORIENTATION_SENSOR_*. These rotations are only enabled when docked upside-down for some reason or when the application specifies SCREEN_ORIENTATION_FULL_SENSOR. Ensure that special modes like HDMI connected, lid switch, dock and rotation lock all cause the sensor to be ignored even when the application asks for sensor-based orientation changes. The sensor is not relevant in these modes because some external factor (or the user) is determining the preferred rotation. Currently, applications can still override the preferred rotation even when there are special modes in play that might say otherwise. We could tweak this so that some special modes trump application choices completely (resulting in a letter-boxed application, perhaps). I tested this sort of tweak (not included in the patch) and it seems to work fine, including transitions between applications with varying orientation. Delete dead code related to animFlags. Handle pausing/resuming orientation changes more precisely. Ensure that a deferred orientation change is performed when a drag completes, even if endDragLw() is not called because the drag was aborted before the drop happened. We pause the orientation change in register() and resume in unregister() because those methods appear to always be called as needed. Change-Id: If0a31de3d057251e581fdee64819f2b19e676e9a
* | Merge "Force an update before we poll for the data."Tsu Chiang Chuang2011-09-161-0/+1
|\ \ | |/ |/|
| * Force an update before we poll for the data.Tsu Chiang Chuang2011-09-151-0/+1
| | | | | | | | Change-Id: Ic70c1611ac289c934bf9f909e924c0043f065498
* | log stack trace when finish() or onDestroy() is calledGuang Zhu2011-09-151-1/+13
| | | | | | | | | | | | | | | | Some supurious calls to these functions when tests are still running are observed. Add more logging to see what's the caller. Change-Id: I9254c3639bcb8619be39bfbc6981fae5bf5e7efa
* | Cleanup example code.Jason Sams2011-09-132-20/+10
|/ | | | Change-Id: I060ea53c867ded0e6956776859fc2710c7302148
* Merge "Add int and missing fp tests to RSTest."Stephen Hines2011-09-121-51/+165
|\
| * Add int and missing fp tests to RSTest.Stephen Hines2011-09-111-51/+165
| | | | | | | | | | | | BUG=5281452 Change-Id: Ic5baef42dafa8a6484aa216a2c61ff316026175b
* | Hide navigation buttons when they are DISABLEd.Daniel Sandler2011-09-121-1/+6
| | | | | | | | | | | | | | | | | | Back is hidden by DISABLE_BACK; Home, Recents, and Menu are hidden by DISABLE_NAVIGATION. Bug: 5261576 Bug: 5284740 (confusion about visible inactive icons) Change-Id: I410c133b737cc11d61bac0318dc24458353ee7b3
* | Merge "aggregating test results when reporting to instrumentation out."Tsu Chiang Chuang2011-09-111-9/+15
|\ \
| * | aggregating test results when reporting to instrumentation out.Tsu Chiang Chuang2011-09-111-9/+15
| | | | | | | | | | | | Change-Id: Ic652f893d7cfd469a912bd71a094f337166a6aa5
* | | Merge "idle test app for bandwidth usage."Tsu Chiang Chuang2011-09-083-0/+161
|\ \ \ | |/ /
| * | idle test app for bandwidth usage.Tsu Chiang Chuang2011-09-083-0/+161
| |/ | | | | | | Change-Id: Ib35b27617369b360972e653db70bf5cf9303ddf1
* | Merge "Integrate ImageProcessing test into test framework ↵Xia Wang2011-09-085-9/+146
|\ \ | |/ |/| | | http://b/issue?id=5274365 Change-Id: I7949b4114dcab17d895d04755df5df2bd5a576a3"