Stephen Hines
3d782666d7
Remove verbose logging, update test app and docs.
...
Change-Id: I6659c5e51a747011239128dc2682a5d78aecfa26
2011-06-23 16:18:28 -07:00
Stephen Hines
419091185f
Merge "Support missing RS vector types."
2011-06-21 16:35:39 -07:00
Stephen Hines
79ad3f25bc
Support missing RS vector types.
...
Change-Id: I87eae3cc79c3963d5a8edf16cc26eee6d93d81d7
2011-06-21 12:00:55 -07:00
Ben Murdoch
adafec5e43
Update Android DRT skip list.
...
The latest merges have brought in several tests for which we are missing
layout test controller functions. Add them to the skip list until we
address DRT to add the functionality.
Change-Id: I465dd71245f68cc8c67122a52dcbb93a5276c31e
2011-06-21 17:54:11 +01:00
Ben Murdoch
34db30db56
LayoutTests with dumpAsText in the pathname should always dump as text.
...
See http://trac.webkit.org/changeset/79403
Change-Id: Ifd607b0c05804dd40a11072cf6862c36aaf448fe
2011-06-21 13:46:38 +01:00
Fabrice Di Meglio
53a73bcddf
Update BiDiTest app for adding more unit tests
...
- add some menu that will show up in compatibility mode
- add more unit tests for padding and background drawable
Change-Id: I90db23c68d2371c35913b039a10f9d9f34c3931e
2011-06-20 17:38:41 -07:00
Fabrice Di Meglio
d8703a9824
Add View paddingStart and paddingEnd
...
- use a lazy padding resolution (because layout direction is lazyly resolved too)
- cache resolved layout direction as getResolvedLayoutDirection() will be more called
- enable resetting layout direction cache if needed
- update unit tests
Change-Id: I30ce19e3100cc137f84e60163b60e1577ff61819
2011-06-20 11:11:05 -07:00
Romain Guy
98769300af
Merge "Add error checking to LayerRenderer::copyLayer"
2011-06-17 17:47:59 -07:00
Romain Guy
d6b2a00dd4
Add error checking to LayerRenderer::copyLayer
...
This method is invoked by TextureView.getBitmap() and failures must be
caught to avoid leaving the GL context in a potentially bad state.
Change-Id: I620de395ba1bc20154de58c81963223dc55cac78
2011-06-17 17:45:59 -07:00
Romain Guy
ee452bcc06
Merge "Fix rendering issue with paths when the stroke width is 0"
2011-06-17 15:49:22 -07:00
Romain Guy
98029c825b
Fix rendering issue with paths when the stroke width is 0
...
Change-Id: I5d8ac23dc69e9e17df4ef6b5195186b5207e2524
2011-06-17 15:47:07 -07:00
Philip Milne
395eef3bb6
Merge "Change includeMarginsInAlignment flag to aligmentMode property."
2011-06-17 11:22:36 -07:00
Daniel Sandler
de47f1c358
Merge "Make the Notify Builder test usable on phones."
2011-06-17 05:58:59 -07:00
Philip Milne
1e54825135
Change includeMarginsInAlignment flag to aligmentMode property.
...
Also:
. Change getInteger() to getInt().
. Conditionally compile, Paint() allocation and initialization.
. Correct spelling mistake in javadoc.
Change-Id: I00438a717e635a3917c5324f56063dce2e6041e8
2011-06-16 20:47:29 -07:00
Fabrice Di Meglio
9171bf3892
Merge "Update BiDiTest app for testing View padding"
2011-06-16 16:20:51 -07:00
Fabrice Di Meglio
b07124082e
Update BiDiTest app for testing View padding
...
Change-Id: I7b956bd1d16cc4d27f33595f09f14f5d4e17e469
2011-06-16 16:19:59 -07:00
Alex Sakhartchouk
9347d9ad92
Merge "Adding ability to read back fbo data to renderscript"
2011-06-16 15:15:14 -07:00
Alex Sakhartchouk
8650c32907
Adding ability to read back fbo data to renderscript
...
Change-Id: Ie684c26cbcde22f2483b43415dfc39a3de22c5a1
2011-06-16 11:05:13 -07:00
Daniel Sandler
396263fc97
Make the Notify Builder test usable on phones.
...
Change-Id: Ibaa3b2b99bde7dfd3d9fc6bc4c0068fc1d7b914d
2011-06-16 13:02:02 -04:00
Xia Wang
2dc7afd9c4
Add opengl bench mark test:
...
-- display icons with livewallpaper background (galaxy)
Change-Id: I5b49bc732180069957abb47d206b5849c47469df
2011-06-15 17:51:52 -07:00
Xia Wang
11900410e0
Merge "Fill in opengl benchmark test: - display a list view"
2011-06-15 17:25:23 -07:00
Xia Wang
7c7d135790
Fill in opengl benchmark test:
...
- display a list view
Change-Id: I72ac8e4c84ae497f2297ed3c803a62db2600ef08
2011-06-15 17:16:42 -07:00
Fabrice Di Meglio
0acb8d3011
Merge "Fix Gravity start/end"
2011-06-15 10:34:09 -07:00
Xia Wang
4a49b95d4b
Merge "Add more opengl benchmark test: - all apps in launcher - shortcuts of apps in home page"
2011-06-14 19:08:22 -07:00
Fabrice Di Meglio
67f8de04fc
Fix Gravity start/end
...
- fix missing attribute value change
- update BiDiTest app
Change-Id: I0bb8a1ebf0b6097b7b8d488580fea6e882202e23
2011-06-14 17:08:32 -07:00
Romain Guy
77a811610f
Add TextureView.getBitmap()
...
This API can be used to get a Bitmap copy of the content of a
TextureView.
Change-Id: I07522216c353720fba5cab333174f58f484eb911
2011-06-14 17:06:53 -07:00
Fabrice Di Meglio
c0053223be
Add View.getResolvedLayoutDirection()
...
- update Callback2 interface
- update Gravity.getAbsoluteGravity() and Gravity.apply() to be more generic
by changing "boolean isRtl" parameter to "int layoutDirection"
- fix BiDiTests for RTL FrameLayout
Change-Id: I97bb456c22d5fd3ecb34f08564ce4dbed37e7459
2011-06-14 16:16:39 -07:00
Xia Wang
cb040a063f
Add more opengl benchmark test:
...
- all apps in launcher
- shortcuts of apps in home page
Change-Id: Ibec109993bd17a990378dba394dfb0ab99774181
2011-06-14 12:06:31 -07:00
Romain Guy
ad4e03d697
Merge "Batch glCopyTexImage() calls to get about 15 fps back on SGX."
2011-06-13 19:07:22 -07:00
Romain Guy
54be1cdf3d
Batch glCopyTexImage() calls to get about 15 fps back on SGX.
...
Change-Id: I04079e070739c1e46df3e90fc388c335e2a7d2b9
2011-06-13 19:04:27 -07:00
Philip Milne
28b6711c4c
Merge "Bugfix for GridLayout assuming that the x value of last column index is maximal. This is not the case when column indexes are defined incorrectly and GridLayout should still work in this case."
2011-06-13 11:13:09 -07:00
Philip Milne
51f17d5461
Bugfix for GridLayout assuming that the x value of last column index is maximal. This is not the case when column indexes are defined incorrectly and GridLayout should still work in this case.
...
Change-Id: I5deb3fb43ed1dd16dd20868854b96ebae4d30623
2011-06-13 10:44:49 -07:00
Fabrice Di Meglio
7af05226b9
Refactor BiDiTest unit tests app
...
- make it more extensible (suppress tabs in favor of a list selection and fragments)
Change-Id: If6f6c3a33f7c03e00205edbeab2945024b477f0d
2011-06-10 18:20:47 -07:00
Romain Guy
c0e9e4293a
Merge "Add onSurfaceTextureDestroyed() callback."
2011-06-10 15:45:23 -07:00
Fabrice Di Meglio
40b62b9e66
Merge "Make View respect LAYOUT_DIRECTION_LOCALE"
2011-06-10 15:45:10 -07:00
Romain Guy
451ce44a18
Add onSurfaceTextureDestroyed() callback.
...
This is needed for Renderscript and it also makes implementations
of TextureView cleaner. This change also hooks up the onSurfaceTextureSizeCHanged()
callback whenever the view size changes.
Change-Id: I2f972ee4504d800329defefacf32cf20547d31a3
2011-06-10 15:44:09 -07:00
Fabrice Di Meglio
26e432d25f
Make View respect LAYOUT_DIRECTION_LOCALE
...
- update also unit tests for taking care of the locale direction
- code formatting on the layout test files
Change-Id: I4037eac3c572de9abb0178f36ca03803cc2c1522
2011-06-10 14:30:32 -07:00
Philip Milne
f474870fe1
Optimise the way that indices are auto-allocated so that XML files can normally avoid using indices.
...
Change-Id: Iafb25b17fec9391664c81a7e213eeaa918254912
2011-06-10 10:51:45 -07:00
Philip Milne
7fd9487569
Fix for baseline alignment in LinearLayout compatibiity mode.
...
Change-Id: Iaa194537c1bc493172fab89624279fe5cbfa1f70
2011-06-09 09:54:01 -07:00
Fabrice Di Meglio
c46f7ffa90
Rename atribute View horizontalDirection to layoutDirection and update unit tests
...
- update before/after to start/end in unit test app
Change-Id: Id7286ef5d9390540faf8ecd5f0b1c140d04bb364
2011-06-07 14:21:31 -07:00
Xia Wang
4da7b10c45
Merge "Add OpenGl benchmark tests: display images with different texture in each mesh."
2011-06-06 22:00:31 -07:00
Fabrice Di Meglio
de7fc15ff4
Update BiDiTest app for Gravity renaming
...
- BEFORE?AFTER is now START/END
Change-Id: I44cfdc17090052704024d8c5386553f0c83e9ab2
2011-06-06 17:58:17 -07:00
Xia Wang
62e8f2228f
Add OpenGl benchmark tests:
...
display images with different texture in each mesh.
Change-Id: I051be3cf8be117e62fc635dfaf75b5c0e4cdd644
2011-06-06 15:12:29 -07:00
Daniel Sandler
f81c70944a
Merge "Fix the status bar test app."
2011-06-04 07:38:08 -07:00
Philip Milne
160cbbb9ac
Merge "Response to code review for GridLayout:"
2011-06-03 13:46:34 -07:00
Philip Milne
aa616f31fe
Response to code review for GridLayout:
...
. Fixed spelling.
. Added comments on internal methods.
. Adopted the suggested internal name changes to improve clarity.
. Added UNDEFINED constant to public API to avoid making reference to Integer.MAX_VALUE in docs.
. Added final everywhere, then removed it.
. Make the Interval class package private so that it can be put somewhere more general later.
. Tidy code, removing maximize flag throughout.
. Remove last of allocations taking place during layout.
. Implement measureChild() etc.
. Added LinearLayout alignment compatibility mode, and made it the default.
Change-Id: I6a4ffa022d97d68138d1903d3830a20278815435
https://android-git.corp.google.com/g/#change,109891
2011-06-03 13:22:52 -07:00
Dianne Hackborn
50469db071
am 7322e557: am a4cfcf10: am 75d6b3c2: Merge "Fix issue #4502672 : Wrong xml resources used for homescreen widgets." into honeycomb-mr2
...
* commit '7322e557cfe42da42779625d69ced2db74a9df90':
Fix issue #4502672 : Wrong xml resources used for homescreen widgets.
2011-06-03 13:17:00 -07:00
Fabrice Di Meglio
09b867ec07
Merge "Update BiDiTest app"
2011-06-02 16:37:32 -07:00
Fabrice Di Meglio
2f9cad27fd
Update BiDiTest app
...
- change buttons text to follow their Gravity
Change-Id: Ie0d79ced9c14bf8b0f12d1c31da5e2fe6f162c88
2011-06-02 16:35:21 -07:00
Dianne Hackborn
546d64f56d
resolved conflicts for merge of 5c2e4d20 to master
...
Change-Id: Iadbee872468ceafb54c5877046c91f6052f3c953
2011-06-02 14:29:13 -07:00