donut snapshot
This commit is contained in:
@@ -21,7 +21,6 @@
|
||||
#include <limits.h>
|
||||
|
||||
#include "LayerOrientationAnim.h"
|
||||
#include "LayerOrientationAnimRotate.h"
|
||||
#include "OrientationAnimation.h"
|
||||
#include "SurfaceFlinger.h"
|
||||
#include "VRamHeap.h"
|
||||
@@ -112,13 +111,8 @@ bool OrientationAnimation::prepare()
|
||||
|
||||
LayerOrientationAnimBase* l;
|
||||
|
||||
if (mType & 0x80) {
|
||||
l = new LayerOrientationAnimRotate(
|
||||
mFlinger.get(), 0, this, bitmap, bitmapIn);
|
||||
} else {
|
||||
l = new LayerOrientationAnim(
|
||||
mFlinger.get(), 0, this, bitmap, bitmapIn);
|
||||
}
|
||||
l = new LayerOrientationAnim(
|
||||
mFlinger.get(), 0, this, bitmap, bitmapIn);
|
||||
|
||||
l->initStates(w, h, 0);
|
||||
l->setLayer(INT_MAX-1);
|
||||
@@ -137,7 +131,7 @@ bool OrientationAnimation::phase1()
|
||||
return true;
|
||||
|
||||
}
|
||||
mLayerOrientationAnim->invalidate();
|
||||
//mLayerOrientationAnim->invalidate();
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user