commit | 8343f2c317b48f9b9827781b16a5c9fd31743826 | [log] [tgz] |
---|---|---|
author | Mathias Agopian <mathias@google.com> | Tue Aug 30 18:51:54 2011 -0700 |
committer | Mathias Agopian <mathias@google.com> | Tue Aug 30 18:51:54 2011 -0700 |
tree | dcc878af2cf5c119c029b6f51b6c68fa431e3b85 | |
parent | 63970b42f101c87db7cfd26d43b0d300260b1582 [diff] [blame] |
fix Surface positions are not floats Added Surface.setPosition(float, float) which allows to set a surface's position in float. Bug: 5239859 Change-Id: I903aef4ad5b5999142202fb8ea30fe216d805711
diff --git a/include/private/surfaceflinger/LayerState.h b/include/private/surfaceflinger/LayerState.h index d2fed41..3eb5c99 100644 --- a/include/private/surfaceflinger/LayerState.h +++ b/include/private/surfaceflinger/LayerState.h
@@ -54,8 +54,8 @@ }; SurfaceID surface; uint32_t what; - int32_t x; - int32_t y; + float x; + float y; uint32_t z; uint32_t w; uint32_t h;