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 | 41b6aabf356d8a505da37b1d046bc9010028fe8b (patch) | |
tree | 2e3e01021e29aa0aa4c8559fdceb810c888bc4e5 /services/surfaceflinger/Transform.h | |
parent | 4e92d140efa3e7fcafa13fd9a1221dbcbd04d390 (diff) | |
download | frameworks_native-41b6aabf356d8a505da37b1d046bc9010028fe8b.zip frameworks_native-41b6aabf356d8a505da37b1d046bc9010028fe8b.tar.gz frameworks_native-41b6aabf356d8a505da37b1d046bc9010028fe8b.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 'services/surfaceflinger/Transform.h')
-rw-r--r-- | services/surfaceflinger/Transform.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/services/surfaceflinger/Transform.h b/services/surfaceflinger/Transform.h index 8fa5b86..ec74243 100644 --- a/services/surfaceflinger/Transform.h +++ b/services/surfaceflinger/Transform.h @@ -64,8 +64,8 @@ public: uint32_t getOrientation() const; float const* operator [] (int i) const; // returns column i - int tx() const; - int ty() const; + float tx() const; + float ty() const; // modify the transform void reset(); |