diff options
author | Mathias Agopian <mathias@google.com> | 2011-08-30 18:51:54 -0700 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2011-08-30 18:51:54 -0700 |
commit | 8343f2c317b48f9b9827781b16a5c9fd31743826 (patch) | |
tree | dcc878af2cf5c119c029b6f51b6c68fa431e3b85 /include | |
parent | 63970b42f101c87db7cfd26d43b0d300260b1582 (diff) | |
download | frameworks_av-8343f2c317b48f9b9827781b16a5c9fd31743826.zip frameworks_av-8343f2c317b48f9b9827781b16a5c9fd31743826.tar.gz frameworks_av-8343f2c317b48f9b9827781b16a5c9fd31743826.tar.bz2 |
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
Diffstat (limited to 'include')
-rw-r--r-- | include/private/surfaceflinger/LayerState.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 @@ struct layer_state_t { }; SurfaceID surface; uint32_t what; - int32_t x; - int32_t y; + float x; + float y; uint32_t z; uint32_t w; uint32_t h; |