summaryrefslogtreecommitdiffstats
path: root/libs/surfaceflinger/Transform.h
diff options
context:
space:
mode:
authorMathias Agopian <>2009-03-27 17:58:20 -0700
committerThe Android Open Source Project <initial-contribution@android.com>2009-03-27 17:58:20 -0700
commit3552f53c8370ced8680951f4ac811a126da02b0e (patch)
tree606d3308cf451c8095ee64b5f3bbc35932c21b7b /libs/surfaceflinger/Transform.h
parentf5f8d247d1f216cd590ed788f72d1e4dec0d0e90 (diff)
downloadframeworks_base-3552f53c8370ced8680951f4ac811a126da02b0e.zip
frameworks_base-3552f53c8370ced8680951f4ac811a126da02b0e.tar.gz
frameworks_base-3552f53c8370ced8680951f4ac811a126da02b0e.tar.bz2
AI 143309: am: CL 143160 am: CL 142856 new-new-new-new rotation animation. it may still change one more time.
Original author: mathias Merged from: //branches/cupcake/... Original author: android-build Merged from: //branches/donutburger/... Automated import of CL 143309
Diffstat (limited to 'libs/surfaceflinger/Transform.h')
-rw-r--r--libs/surfaceflinger/Transform.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libs/surfaceflinger/Transform.h b/libs/surfaceflinger/Transform.h
index 0b4835e..4c4528e 100644
--- a/libs/surfaceflinger/Transform.h
+++ b/libs/surfaceflinger/Transform.h
@@ -60,7 +60,9 @@ public:
void reset();
void set(float xx, float xy, float yx, float yy);
void set(int tx, int ty);
-
+ void set(float radian, float x, float y);
+ void scale(float s, float x, float y);
+
Rect makeBounds(int w, int h) const;
void transform(GLfixed* point, int x, int y) const;
Region transform(const Region& reg) const;