Lines Matching refs:mTargetInset
606 mTargetInset = -1; in readyToRun()
1694 if (exitPending() && !part.count && mCurrentInset >= mTargetInset && in playAnimation()
1729 if (mShuttingDown || !mFlingerSurfaceControl || mTargetInset == 0) { in handleViewport()
1732 if (mTargetInset < 0) { in handleViewport()
1735 mTargetInset = android::base::GetIntProperty("persist.sys.displayinset.top", in handleViewport()
1738 if (mTargetInset <= 0) { in handleViewport()
1742 if (mCurrentInset < mTargetInset) { in handleViewport()
1744 float fraction = static_cast<float>(mCurrentInset) / mTargetInset; in handleViewport()
1745 int interpolatedInset = (cosf((fraction + 1) * M_PI) / 2.0f + 0.5f) * mTargetInset; in handleViewport()
1754 Rect layerStackRect(0, 0, mWidth, mHeight - mTargetInset); in handleViewport()
1755 Rect displayRect(0, mTargetInset, mWidth, mHeight); in handleViewport()
1758 t.setPosition(mFlingerSurfaceControl, 0, -mTargetInset) in handleViewport()
1759 .setCrop(mFlingerSurfaceControl, Rect(0, mTargetInset, mWidth, mHeight)); in handleViewport()
1763 mTargetInset = mCurrentInset = 0; in handleViewport()
1766 int delta = timestep * mTargetInset / ms2ns(200); in handleViewport()