diff options
| author | 2009-03-27 17:58:20 -0700 | |
|---|---|---|
| committer | 2009-03-27 17:58:20 -0700 | |
| commit | 0d1318b974feba2e6ff13e36a1781343c2fce045 (patch) | |
| tree | 14ce5fb62dc2a66d81da6ee7fc3444c804676b73 /libs/surfaceflinger/OrientationAnimation.cpp | |
| parent | c3aa00b29fd9ab9b06a2bd675dac404970acb477 (diff) | |
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/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 f6f1326b10..e59688e43a 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); |