summaryrefslogtreecommitdiffstats
path: root/services/surfaceflinger/Transform.h
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2011-08-30 18:51:54 -0700
committerMathias Agopian <mathias@google.com>2011-08-30 18:51:54 -0700
commit34cb9f2a960c4173bdafb4b8a2444c1bca4c5f0d (patch)
tree6eb4ad90db43a343d9cd80e6f97603b311d88b8c /services/surfaceflinger/Transform.h
parent32901b4fec5db9a137add68f0f38518636593668 (diff)
downloadframeworks_base-34cb9f2a960c4173bdafb4b8a2444c1bca4c5f0d.zip
frameworks_base-34cb9f2a960c4173bdafb4b8a2444c1bca4c5f0d.tar.gz
frameworks_base-34cb9f2a960c4173bdafb4b8a2444c1bca4c5f0d.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.h4
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();