diff options
| author | Jeff Sharkey <jsharkey@android.com> | 2009-12-08 21:50:14 -0800 |
|---|---|---|
| committer | Jeff Sharkey <jsharkey@android.com> | 2009-12-21 14:18:09 -0800 |
| commit | a503f6f7cf09c64bde708e3bcfb7103378ddfcff (patch) | |
| tree | 9b5bb84fa9b5b73675d0d89dfcefa4f910918ff0 /opengl/tests/gl_basic/gl_basic.cpp | |
| parent | afbe1259d7932da809c7c9888a5321cec9c78f4e (diff) | |
Adjust for compatibility mode before setSourceBounds().
When invoked from an anyDensity="false" or pre-Donut app,
View.getLocationOnScreen() returns values in compatibility
mode. This change fixes QuickContact and RemoteViews to
always adjust based on CompatibilityInfo.applicationScale.
Also deprecates an extra previously being used to pass
Rect for QuickContact windows.
Fixes http://b/2306495
Diffstat (limited to 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions
