summaryrefslogtreecommitdiff
path: root/opengl/java/android/opengl/Texture.java
diff options
context:
space:
mode:
authorXavier Ducrohet <xav@android.com>2011-04-05 20:19:17 -0700
committerXavier Ducrohet <xav@android.com>2011-04-06 14:24:59 -0700
commit8a18dba48c354fc47056b07ddec8a32fda266b6a (patch)
tree8dd9444bbe6c1c812d54e336f9fd2d5dcc738c63 /opengl/java/android/opengl/Texture.java
parent43707a83ec12957fb84a406276a38fbaf4e23fd3 (diff)
Merge c5aeac7f from honeycomb.
LayoutLib: Fix issue with rendering mode. When the layout content is embedded inside a decor layout to emulate system bar (top or bottom) and title bar (or action bar) then the code computing the full required size based on the RenderingMode would fail because the decor layout would prevents the content layout to take as much room as possible. There is also an issue with the way we know render dialogs as the dialogs usually as a frame with some padding and the previous measurements would not take into account the dialog padding when increasing the screen size. This fix makes the code measure the size of the content layout in the normal rendering, and then separately from the root layout with the proper MeasureSpec to let the content grown. The difference in size is then added to the screen size. Bug: http://code.google.com/p/android/issues/detail?id=15892 Change-Id: Ie9a6c5e254b16785f817dcb9fae755d4936880aa
Diffstat (limited to 'opengl/java/android/opengl/Texture.java')
0 files changed, 0 insertions, 0 deletions