1803 Commits

Author SHA1 Message Date
Jason Sams
fa5924c59d am 2e221448: Merge "Add mandelbrot to compute perf"
* commit '2e22144891dac8bc381a9e17bc15a0b7c52b8c30':
  Add mandelbrot to compute perf
2011-10-18 17:46:28 -07:00
Jason Sams
02bd36369b Add mandelbrot to compute perf
Change-Id: I8217134a703fcd72f6c9a3bdd4e2a6b389ea0fd3
2011-10-18 17:31:02 -07:00
Alex Sakhartchouk
2343955b15 am a744ead9: Merge "Adding getter functions for script side RS objects. Multiproject change involving on device linker"
* commit 'a744ead977b2beda89091abf295bcda860bf88b2':
  Adding getter functions for script side RS objects. Multiproject change involving on device linker
2011-10-16 12:15:28 -07:00
Alex Sakhartchouk
7e6aac1533 Adding getter functions for script side RS objects.
Multiproject change involving on device linker

Change-Id: I321e8caa6ca23b3fe2c96c78cdcfc15e51f88823
2011-10-15 09:33:05 -07:00
Stephen Hines
d77a78ce25 am 708fd1a5: Merge "Make launchtestxlw use constant."
* commit '708fd1a5f90483153a0ec43c8f5588141acaba0e':
  Make launchtestxlw use constant.
2011-10-14 14:22:49 -07:00
Stephen Hines
74ff61032f Make launchtestxlw use constant.
Change-Id: I0f9cd3cc2f042a9471ecf1df9e4764cad8ad5ef6
2011-10-13 19:29:33 -07:00
Daniel Sandler
849a99c197 am 8c05abf1: am dba93565: Break apart DISABLE_HOME and DISABLE_RECENT.
* commit '8c05abf15743af7cccceae14c33e590a30a7cacc':
  Break apart DISABLE_HOME and DISABLE_RECENT.
2011-10-13 14:08:29 -07:00
Daniel Sandler
8c05abf157 am dba93565: Break apart DISABLE_HOME and DISABLE_RECENT.
* commit 'dba935659024a9ca83cb6bd3f1a9970e277f7658':
  Break apart DISABLE_HOME and DISABLE_RECENT.
2011-10-13 12:38:00 -07:00
Daniel Sandler
dba9356590 Break apart DISABLE_HOME and DISABLE_RECENT.
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
2011-10-13 15:28:10 -04:00
Jason Sams
5d47f2b19d am a49b8ade: Merge "Start adding simple performance tests for RS compute."
* commit 'a49b8ade7c0234d980738b34e44fe4e79737442f':
  Start adding simple performance tests for RS compute.
2011-10-13 11:44:53 -07:00
Jason Sams
065c25a9b0 Start adding simple performance tests
for RS compute.

Change-Id: I0a37067f028ff6e61fd9952764a22885ac717c7c
2011-10-13 11:41:09 -07:00
Jason Sams
8b072cfb5e am 99ea2f69: Merge "Fix example code."
* commit '99ea2f696220ea979424401f4032d175b89b197b':
  Fix example code.
2011-10-12 20:42:44 -07:00
Jason Sams
38b78b1bf5 Fix example code.
Change-Id: Idd45125940be2e3c50f60c8ac1894838821f3123
2011-10-12 13:19:14 -07:00
Romain Guy
fabdc4fba7 am bd3f526e: Merge "Correctly apply transforms when getting a TextureView\'s bitmap Bug #5439406"
* commit 'bd3f526eabcdb77cb2b3ed062072a959924dd95b':
  Correctly apply transforms when getting a TextureView's bitmap Bug #5439406
2011-10-12 12:37:13 -07:00
Romain Guy
a9dc86b21d Correctly apply transforms when getting a TextureView's bitmap
Bug #5439406

Change-Id: I271a9a2e38f5b3600dc158f8f442a6b0893f472b
2011-10-11 14:06:21 -07:00
Philip Milne
b5e7bc7373 am 3b88d87e: Merge "Move Activity1 and Activity2 to API Demos area in development/samples."
* commit '3b88d87ef6107c91d99d6f44d68b1fafd973ffdc':
  Move Activity1 and Activity2 to API Demos area in development/samples.
2011-10-06 17:22:32 -07:00
Philip Milne
e974f6384b Move Activity1 and Activity2 to API Demos area in development/samples.
Change-Id: Ib6521caca69b0a0d96c66d9df754d2af17cb6908
2011-10-06 16:11:35 -07:00
Jeff Brown
be690836ec am 26ae7db4: Merge "Fix build."
* commit '26ae7db48d94c7247e1faef9cfc08c85097b9ba3':
  Fix build.
2011-10-05 19:12:36 -07:00
Jeff Brown
3b2faf68e5 Fix build.
Change-Id: I01dbb8747f81c83d86e089762b2d34d8bba2bffd
2011-10-05 19:08:31 -07:00
Guang Zhu
17f32fd71c am 2452ad30: Merge "Revert "log stack trace when finish() or onDestroy() is called""
* commit '2452ad3028b2a30b0b3abca86fe11ec0465a96b7':
  Revert "log stack trace when finish() or onDestroy() is called"
2011-09-29 10:17:54 -07:00
Guang Zhu
2452ad3028 Merge "Revert "log stack trace when finish() or onDestroy() is called"" 2011-09-29 10:14:27 -07:00
Guang Zhu
c5daa17928 Revert "log stack trace when finish() or onDestroy() is called"
We are already clear on why it's happening (phantom touches) so reverting this log.

This reverts commit 0882eb05af02616cac5cfd82d9039c9e18d029d8
2011-09-28 20:06:56 -07:00
Romain Guy
6b42e2cc73 am f678dd56: Merge "Don\'t build display lists for views with a layer."
* commit 'f678dd56a71c5a57c1a695b207b43d6175ef21e7':
  Don't build display lists for views with a layer.
2011-09-28 18:45:07 -07:00
Romain Guy
f678dd56a7 Merge "Don't build display lists for views with a layer." 2011-09-28 18:27:13 -07:00
Romain Guy
2a9fa89643 Don't build display lists for views with a layer.
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
2011-09-28 16:50:02 -07:00
Guang Zhu
e18da5479a am 25438e21: Merge "Use CPU upload path in DRT"
* commit '25438e2199fe0083639c76311d698a0a20446349':
  Use CPU upload path in DRT
2011-09-27 19:32:45 -07:00
Guang Zhu
ef4d25c885 Use CPU upload path in DRT
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
2011-09-27 18:23:10 -07:00
Tsu Chiang Chuang
c071a617fd am 14b4c769: Merge "adding packet count and removing extra uid stats that were used for debugging."
* commit '14b4c769be93a7fa1b978a75199d6e3cdb4c07da':
  adding packet count and removing extra uid stats that were used for debugging.
2011-09-27 11:19:36 -07:00
Tsu Chiang Chuang
14b4c769be Merge "adding packet count and removing extra uid stats that were used for debugging." 2011-09-27 11:18:13 -07:00
Tsu Chiang Chuang
9cf416fde6 adding packet count and removing extra uid stats that were used for debugging.
Change-Id: I19664ee991760b9515fc129be50be68579f8ce93
2011-09-26 14:33:24 -07:00
Jeff Brown
088663e846 am a829e166: Merge "Handle orientation changes more systematically. Bug: 4981385"
* commit 'a829e16681903e6a41901145195f88bf9d952f88':
  Handle orientation changes more systematically. Bug: 4981385
2011-09-21 21:11:37 -07:00
Jeff Brown
01a98ddbdf Handle orientation changes more systematically.
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
2011-09-21 19:26:15 -07:00
Tsu Chiang Chuang
b02996a006 am 3a423234: Merge "Force an update before we poll for the data."
* commit '3a423234bcfabf319977bfaa4467a8b8df8d3401':
  Force an update before we poll for the data.
2011-09-16 17:51:38 -07:00
Tsu Chiang Chuang
3a423234bc Merge "Force an update before we poll for the data." 2011-09-16 17:48:35 -07:00
Tsu Chiang Chuang
db2990f5e7 Force an update before we poll for the data.
Change-Id: Ic70c1611ac289c934bf9f909e924c0043f065498
2011-09-15 17:50:23 -07:00
Guang Zhu
ecd34d3067 am c3afd4c6: Merge "log stack trace when finish() or onDestroy() is called"
* commit 'c3afd4c60ef3a064c7ad8339d2c120ab2116eeee':
  log stack trace when finish() or onDestroy() is called
2011-09-15 10:09:09 -07:00
Guang Zhu
0882eb05af log stack trace when finish() or onDestroy() is called
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
2011-09-15 01:28:17 -07:00
Jason Sams
6fb1261ead am 96cbcbfe: Merge "Cleanup example code."
* commit '96cbcbfe176f3dc794fc9266c838ef71732e3e6c':
  Cleanup example code.
2011-09-13 14:13:28 -07:00
Jason Sams
53fc3e1867 Cleanup example code.
Change-Id: I060ea53c867ded0e6956776859fc2710c7302148
2011-09-13 11:29:02 -07:00
Stephen Hines
9b73a5c1c8 am 4a511750: Merge "Add int and missing fp tests to RSTest."
* commit '4a5117500c070ce3c3e73e7cf141fd042b655cef':
  Add int and missing fp tests to RSTest.
2011-09-12 12:48:59 -07:00
Stephen Hines
4a5117500c Merge "Add int and missing fp tests to RSTest." 2011-09-12 12:47:07 -07:00
Daniel Sandler
c2ea58b4d6 am aeb11675: Merge "Hide navigation buttons when they are DISABLEd."
* commit 'aeb116750110cf9cc1ef82d208f3a8ba3b8be009':
  Hide navigation buttons when they are DISABLEd.
2011-09-12 10:08:15 -07:00
Daniel Sandler
029d5877b0 Hide navigation buttons when they are DISABLEd.
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
2011-09-12 01:02:30 -04:00
Tsu Chiang Chuang
b894677bd4 am 6f0b2ed3: Merge "aggregating test results when reporting to instrumentation out."
* commit '6f0b2ed37db6d959225cf136ef793213bd2a18d9':
  aggregating test results when reporting to instrumentation out.
2011-09-11 14:12:35 -07:00
Tsu Chiang Chuang
6f0b2ed37d Merge "aggregating test results when reporting to instrumentation out." 2011-09-11 14:10:00 -07:00
Tsu Chiang Chuang
a14d20f60c aggregating test results when reporting to instrumentation out.
Change-Id: Ic652f893d7cfd469a912bd71a094f337166a6aa5
2011-09-11 12:26:29 -07:00
Stephen Hines
dfbbb77f31 Add int and missing fp tests to RSTest.
BUG=5281452

Change-Id: Ic5baef42dafa8a6484aa216a2c61ff316026175b
2011-09-11 11:37:39 -07:00
Tsu Chiang Chuang
99b3147571 am c9c541ad: Merge "idle test app for bandwidth usage."
* commit 'c9c541ad162d8b6dce9387251373de0a31092783':
  idle test app for bandwidth usage.
2011-09-08 14:06:05 -07:00
Tsu Chiang Chuang
c9c541ad16 Merge "idle test app for bandwidth usage." 2011-09-08 14:04:52 -07:00
Tsu Chiang Chuang
3ae29d4558 idle test app for bandwidth usage.
Change-Id: Ib35b27617369b360972e653db70bf5cf9303ddf1
2011-09-08 13:50:41 -07:00