commit | 34cb9f2a960c4173bdafb4b8a2444c1bca4c5f0d | [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 | 6eb4ad90db43a343d9cd80e6f97603b311d88b8c | |
parent | 32901b4fec5db9a137add68f0f38518636593668 [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;