1760 Commits

Author SHA1 Message Date
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
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
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
53fc3e1867 Cleanup example code.
Change-Id: I060ea53c867ded0e6956776859fc2710c7302148
2011-09-13 11:29:02 -07:00
Stephen Hines
4a5117500c Merge "Add int and missing fp tests to RSTest." 2011-09-12 12:47:07 -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
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
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
Xia Wang
ab90899264 Merge "Integrate ImageProcessing test into test framework http://b/issue?id=5274365 Change-Id: I7949b4114dcab17d895d04755df5df2bd5a576a3" 2011-09-08 11:20:32 -07:00
Xia Wang
f6244d1c0c Integrate ImageProcessing test into test framework
http://b/issue?id=5274365
Change-Id: I7949b4114dcab17d895d04755df5df2bd5a576a3
2011-09-07 18:06:03 -07:00
Stephen Hines
cb60fdca9b Add unit test for RS reference counting.
Change-Id: Id09cc28f02bba6484889ed53e60273119f7004cb
2011-09-02 18:21:06 -07:00
Tsu Chiang Chuang
1d4ad8c44f make sure the test apk gets added to the test zip
Change-Id: I6d79bb00f2ba96b50e2436053ad40c5246bc45fb
2011-08-31 10:31:27 -07:00
Tsu Chiang Chuang
67112061b2 Merge "Adding bandwidth enforcement test app." 2011-08-30 10:12:44 -07:00
Tsu Chiang Chuang
89355b4cfd Adding bandwidth enforcement test app.
Change-Id: I6e3509aff056ad0008960b205b7489ee5f066521
2011-08-29 15:30:22 -07:00
Fabrice Di Meglio
d32f27aec0 Merge "Fix bug #5199577 TextView with android:password="true" is showing the "dots" on the left even if the password chars are RTL" 2011-08-26 14:05:09 -07:00
Fabrice Di Meglio
7810b5f8cf Fix bug #5199577 TextView with android:password="true" is showing the "dots" on the left even if the password chars are RTL
- force TextView to LOCALE text heuristic when in "password" mode
- remove TEXT_LAYOUT_DIRECTION_UNKNOWN_DO_NOT_USE
- LocaleUtils.getLayoutDirectionFromLocale() returns "LTR" is locale is NULL or ROOT

Change-Id: I182c46aaf2d73c8b18967fffa230bfabec91ed06
2011-08-25 18:43:37 -07:00
Romain Guy
c39e8e89eb Merge "Add OpenGL backend to ImageWallpaper Bug #5204874" 2011-08-24 17:09:30 -07:00
Romain Guy
407ec78b82 Add OpenGL backend to ImageWallpaper
Bug #5204874

Currently disabled.

Change-Id: I5e7b35dce2981b0691f107e39c6394b260466543
2011-08-24 17:06:58 -07:00
Jason Sams
0ed5ebacf9 Fix DPI issues in RS tests.
Change-Id: I02ca34187d93dfe703b90681061c3c7a42fafc15
2011-08-24 12:11:41 -07:00
Chris Craik
55ad2efde9 Fix tile benchmark tool stalls
bug:5062896
Change-Id: I2969e95481d65d5f87ce4399f09becc7b66d540a
2011-08-22 09:55:14 -07:00
Stephen Hines
c3ccfb8eec Merge "Issue proper parameters to root() calls for RS." 2011-08-19 14:17:47 -07:00
Guang Zhu
4a6f044786 Merge "Use port 18000 instead of 8000 for layout tests" 2011-08-19 12:44:28 -07:00
Stephen Hines
1222393e35 Issue proper parameters to root() calls for RS.
BUG=5076887

Change-Id: Ic0ce9d45ee20a99add4c780233c0804d05a55e96
2011-08-19 12:27:07 -07:00
Guang Zhu
e2b9d7f2f0 Use port 18000 instead of 8000 for layout tests
Apparently some system process is occupying this port now

Change-Id: Iaed4c64d7a8ab41830588d91f5deab1caadfdcdd
2011-08-19 10:52:12 -07:00
Fabrice Di Meglio
b7f4d117d2 Merge "Update BiDiTest app" 2011-08-18 15:17:53 -07:00
Fabrice Di Meglio
af3e6d64d1 Update BiDiTest app
- add a default TextView

Change-Id: I0ce92503204e370d9c928440cdd4876701c6c4cb
2011-08-18 13:12:43 -07:00
Romain Guy
4a8d9ad8ac Merge "Add RenderScript fragment shader test" 2011-08-17 15:53:01 -07:00
Romain Guy
185268942b Add RenderScript fragment shader test
Change-Id: I03328a610c8eae6bb6d63ecbc4104d55997664cc
2011-08-17 15:52:15 -07:00
Romain Guy
302a9df1d5 Add an API to set the transform on a TextureView's surface texture.
Bug #5156689

Change-Id: I635a625885c9b832a60d44ece0de7613ceb84109
2011-08-16 13:55:02 -07:00
Daniel Sandler
542f0510d4 Fix fullScreenAlert test.
Change-Id: I3df0a998347c9e3d21e067381bd22eb9a0862f0d
2011-08-10 22:27:15 -04:00
Grace Kloba
402f055303 Add a return value for SurfaceTextureListener#onSurfaceTextureDestroyed.
If returns true, the SurfaceTexture will be released by TextureView.
If returns false, the client needs to release the SurfaceTexture.

Change-Id: I946f71e337ad4170c168854ac27e028b82489c8c
2011-08-09 18:47:17 -07:00
Stephen Hines
514a0b3612 Merge "Migrate perf-critical functions away from librs." 2011-08-08 16:12:56 -07:00
Stephen Hines
e004058419 Migrate perf-critical functions away from librs.
BUG=3497315

Change-Id: Ieaa0d64933767d422aa62740d72b31042dcd4a2f
2011-08-08 15:09:10 -07:00
Fabrice Di Meglio
2532672569 Merge "Fix bug #4584320 Single Line EditText not drawing correctly with spans applied (ICS)" 2011-08-08 10:58:13 -07:00
Fabrice Di Meglio
f2ce877c1d Fix bug #4584320 Single Line EditText not drawing correctly with spans applied (ICS)
- use correct 0 index for computing advance thru the char buffer (the buffer is created from TextUtils.getChars())
- udpate unit tests

Change-Id: Iaeb07658b79ecdf5e17395d55afb7c84965bb0fc
2011-08-05 20:54:54 -07:00
Fabrice Di Meglio
c77941fc94 Merge "Update BiDi unit tests" 2011-08-05 16:17:07 -07:00
Fabrice Di Meglio
fd0b623c33 Update BiDi unit tests
- update basic layout for having LTR and RTL TextView

Change-Id: Ic4cc6c27d431fe69bb62c55cd76a46ea6e241b4d
2011-08-05 15:04:12 -07:00
Philip Milne
b559976a50 Remove call to setPadding() in setUseDefaultMargins().
It is not possible for teh user to override the assigned padding values
because the XML attributes are processed in the opposite order.

Also, make the XML and Java examples grid3.xml and Activity2.java
consistent in preparation for a move to API demos.

Change-Id: I47334f9f5a46a8a528067d88350dd70eaa38ff33
2011-08-05 11:24:55 -07:00
Chris Craik
1d36d0fc7f TileBenchmark label addition
bug:5062896

Now uses previously unused methods, and has better labelling.

Change-Id: Icc6ec7d1ac915b594c26854aea31710e3f23633c
2011-08-03 16:54:23 -07:00
Chris Craik
62c7b37590 Merge "Added automated performance test to TileBenchmark" 2011-08-03 09:46:15 -07:00
Romain Guy
7006064a28 Merge "Paint style and stroke width affect text rendering. Bug #5112207" 2011-08-02 17:34:06 -07:00
Romain Guy
bd496bc3d4 Paint style and stroke width affect text rendering.
Bug #5112207

Change-Id: Ic34037ace21a5058ba23dd15e51aae58c998454d
2011-08-02 17:32:41 -07:00
Chris Craik
555c55ed65 Added automated performance test to TileBenchmark
bug:5062896

Depends on external/webkit change:
https://android-git.corp.google.com/g/#change,125566

Loads pages from SD card, and scrolls through them reporting results. Added
contentInvalidateAll hidden WebView method, and made pageSwapCallback
extensible.

Change-Id: I9f7377aad6fd7c101177dde552a72357c8b4e400
2011-08-02 16:47:21 -07:00
Philip Milne
e10bcdb37c Merge "Fix for http://b/issue?id=5081478" 2011-08-02 16:22:26 -07:00
Philip Milne
899d592287 Fix for http://b/issue?id=5081478
GridLayout needs to call measure on children after it knows how large children should be

Also:

. Remove deprecated methods and XML attributes.
. Stop Spaces having margins by default.
. Remove getSpacers() and findUsed()
. Change default for row/columnOrderPreserved() from false to true.
. Improve automatic index allocation mechanism to use individual maxima.

Change-Id: Id79fbb2e70a0bf2002191ec2a9746547d896de72
2011-08-02 16:01:28 -07:00
Romain Guy
0965a3244b Allow Canvas.setBitmap() to receive a null Bitmap.
Change-Id: I6096f0b44866e532ccd96a29c816bf34d48c1dc2
2011-08-01 17:39:21 -07:00