diff options
| author | 2009-03-27 15:36:09 -0700 | |
|---|---|---|
| committer | 2009-03-27 15:36:09 -0700 | |
| commit | 89a187299eeaa9f973ace3dba4916b3fbd36063e (patch) | |
| tree | 3ec8e8bf4f39529fb22ba7aa644aa21804784088 /libs/surfaceflinger/OrientationAnimation.cpp | |
| parent | cd1a9ea2388dfd31bb51c27df6404d68e227569c (diff) | |
AI 143160: am: CL 142856 new-new-new-new rotation animation. it may still change one more time.
Original author: mathias
Merged from: //branches/cupcake/...
Automated import of CL 143160
Diffstat (limited to 'libs/surfaceflinger/OrientationAnimation.cpp')
| -rw-r--r-- | libs/surfaceflinger/OrientationAnimation.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/libs/surfaceflinger/OrientationAnimation.cpp b/libs/surfaceflinger/OrientationAnimation.cpp index f6f1326b1003..e59688e43a96 100644 --- a/libs/surfaceflinger/OrientationAnimation.cpp +++ b/libs/surfaceflinger/OrientationAnimation.cpp @@ -21,6 +21,7 @@ #include <limits.h> #include "LayerOrientationAnim.h" +#include "LayerOrientationAnimRotate.h" #include "OrientationAnimation.h" #include "SurfaceFlinger.h" #include "VRamHeap.h" @@ -112,8 +113,14 @@ bool OrientationAnimation::prepare() bitmap.getBitmapSurface(&front); hw.copyFrontToImage(front); - LayerOrientationAnim* l = new LayerOrientationAnim( + LayerOrientationAnimBase* l; + + l = new LayerOrientationAnim( mFlinger.get(), 0, this, bitmap, bitmapIn); + + //l = new LayerOrientationAnimRotate( + // mFlinger.get(), 0, this, bitmap, bitmapIn); + l->initStates(w, h, 0); l->setLayer(INT_MAX-1); mFlinger->addLayer(l); |