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
Fabrice Di Meglio
88f9fd2316
Add more unit tests for RTL layouts
...
- update LinearLayout tests with default case (no horizontalDirection specified)
- add TableLayout tests
Change-Id: I9ad2239fca96b896c5aae4dfe67b8113faf2f96e
2011-06-02 10:55:58 -07:00
Fabrice Di Meglio
c715528c96
Add more unit tests cases for BiDi / RTL
...
- update FrameLayout tests
- add more RelativeLayout tests
Change-Id: I2ae522c5e6ec216f7ade45935f8309b543f380b9
2011-06-02 09:29:03 -07:00
Fabrice Di Meglio
c2e989021e
Add more unit tests for RelativeLayout
...
- update BiDiTest test app
Change-Id: I8c0734fc8a94765d269b0040ebfa048c13e11728
2011-06-01 19:11:15 -07:00
Fabrice Di Meglio
77c1cc0aa4
Merge "Fix bug #4509967 (layout_gravity not always respected)"
2011-06-01 17:40:11 -07:00
Fabrice Di Meglio
de35ceeeb9
Fix bug #4509967 (layout_gravity not always respected)
...
- fix FrameLayout
- code refactoring on LinearLayout
- add more unit tests
Change-Id: I49302582c61aa31a4eb7eded92327b10408f71a4
2011-06-01 16:46:25 -07:00
Romain Guy
cb0975b3c1
Merge "Add support to OpenGLRendere to draw BiDi text. Bug #4350336 "
2011-06-01 14:56:19 -07:00
Romain Guy
726aeba80f
Add support to OpenGLRendere to draw BiDi text.
...
Bug #4350336
Change-Id: I1cf31693f7ca9653fa3a41b5b91c27ef288d680f
2011-06-01 14:55:42 -07:00
Dianne Hackborn
7322e557cf
am a4cfcf10: am 75d6b3c2: Merge "Fix issue #4502672 : Wrong xml resources used for homescreen widgets." into honeycomb-mr2
...
* commit 'a4cfcf10cc300a1eb5b2a4254fb7d3190c56c4f1':
Fix issue #4502672 : Wrong xml resources used for homescreen widgets.
2011-05-31 18:11:29 -07:00
Dianne Hackborn
2f0b17573d
Fix issue #4502672 : Wrong xml resources used for homescreen widgets.
...
There was a race in the system process between applying the initial
configuration and executing code in higher-level system services
like the app widget service that relies on the config. For some
reason it starting showing up more after my code changes; it should
now be completely fixed.
Also fix the activity starting window to run in compatibility mode
if its application is going to be in compatibility mode.
And some various cleanup and small fixes.
Change-Id: I0566933bf1bbb4259c1d99a60c0a3c19af1542e5
2011-05-31 18:04:14 -07:00
Mathias Agopian
48a542aabe
Merge "model rotation can now be controlled by the device's sensors"
2011-05-27 17:02:27 -07:00
Mathias Agopian
35ccf46533
model rotation can now be controlled by the device's sensors
2011-05-27 16:36:58 -07:00
Romain Guy
f09ef51889
Fix issue with drawColor(color, Mode.Clear)
...
Change-Id: I486b24a5b609c6f8adb0276037ddb24af2b888b2
2011-05-27 11:43:46 -07:00
Amith Yamasani
a4fa2cd1c0
Merge "Manual merge. Preference activity changes to work on smaller tablet screens and phones."
2011-05-27 10:24:59 -07:00
Romain Guy
1e59f9d10d
Fix texture coordinates for sub-bitmap rendering.
...
Change-Id: I05a31775e03f5b223a55a5144d420351abac89be
2011-05-26 18:39:34 -07:00
Dianne Hackborn
5c2e4d20df
am 8fcbfb52: am 94250ac6: Merge "Add new supports-screens attributes for declaring the compatible screens." into honeycomb-mr2
...
* commit '8fcbfb52607263754b6d3895a112f792c5c3a12e':
Add new supports-screens attributes for declaring the compatible screens.
2011-05-26 17:12:36 -07:00
Romain Guy
f504a2fa14
Correctly implement the CLEAR xfermode.
...
The previous implementation was using glBlendFunc with the parameters
GL_ZERO/GL_ZERO which doesn't work for text, paths and other alpha
sources (anti-aliasing.) The correct implementation is GL_ZERO/
GL_ONE_MINUS_SRC_ALPHA.
Change-Id: I4cca65e57b6a37bbf5a41d382cb0648ee8e11e79
2011-05-26 16:40:55 -07:00
Amith Yamasani
405c1af756
Manual merge. Preference activity changes to work on smaller tablet screens and phones.
...
Padding around fragments and to the left of preference items
adjusted for different display sizes.
Change-Id: I2d29e5525c381092a3f1d2fb1265ce07db893d78
2011-05-26 15:20:14 -07:00
Dianne Hackborn
df6e980e3f
Add new supports-screens attributes for declaring the compatible screens.
...
Change-Id: I40d57e4354e48accc1027c9f90916ea73eb5190d
android:requiresSmallestWidthDp provides the smallest supported width.
android:compatibleWidthLimitDp provides the largest compatible width.
2011-05-26 14:48:04 -07:00
Philip Milne
3f8956d82b
Introduction of GridLayout.
...
Change-Id: Ia2ec315e7d29dcc5aa13b080fc6ce00708e9c034
2011-05-26 09:28:26 -07:00
Romain Guy
f9be16a9d4
Rename test to be able to launch it on crespo.
...
Change-Id: Ieb3e1f6a2e3effe5c4042ad170f195244c7e2158
2011-05-25 17:49:11 -07:00