Home
last modified time | relevance | path

Searched refs:mTargetInset (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/cmds/bootanimation/
DBootAnimation.cpp619 mTargetInset = -1; in readyToRun()
1745 if (exitPending() && !part.count && mCurrentInset >= mTargetInset && in playAnimation()
1782 if (mShuttingDown || !mFlingerSurfaceControl || mTargetInset == 0) { in handleViewport()
1785 if (mTargetInset < 0) { in handleViewport()
1788 mTargetInset = android::base::GetIntProperty("persist.sys.displayinset.top", in handleViewport()
1791 if (mTargetInset <= 0) { in handleViewport()
1795 if (mCurrentInset < mTargetInset) { in handleViewport()
1797 float fraction = static_cast<float>(mCurrentInset) / mTargetInset; in handleViewport()
1798 int interpolatedInset = (cosf((fraction + 1) * M_PI) / 2.0f + 0.5f) * mTargetInset; in handleViewport()
1807 Rect layerStackRect(0, 0, mWidth, mHeight - mTargetInset); in handleViewport()
[all …]
DBootAnimation.h225 int mTargetInset; variable