Home
last modified time | relevance | path

Searched refs:hasSurface (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/libs/hwui/renderthread/
DDrawFrameTask.cpp145 if (CC_UNLIKELY(!mContext->hasSurface() || !canDraw)) { in syncFrameState()
146 if (!mContext->hasSurface()) { in syncFrameState()
DCanvasContext.cpp192 bool hasSurface = mRenderPipeline->setSurface(mNativeSurface.get(), mSwapBehavior, colorMode); in setSurface() local
196 if (hasSurface) { in setSurface()
221 } else if (mIsDirty && hasSurface()) { in setStopped()
DCanvasContext.h124 bool hasSurface() { return mNativeSurface.get(); } in hasSurface() function
/frameworks/base/libs/hwui/tests/unit/
DCanvasContextTests.cpp41 ASSERT_FALSE(canvasContext->hasSurface()); in RENDERTHREAD_TEST()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowStateAnimator.java598 boolean hasSurface() { in hasSurface() method in WindowStateAnimator
599 return mSurfaceController != null && mSurfaceController.hasSurface(); in hasSurface()
1099 if (!hasSurface()) { in prepareSurfaceLocked()
1187 if (hasSurface()) { in prepareSurfaceLocked()
DWindowSurfaceController.java486 boolean hasSurface() { in hasSurface() method in WindowSurfaceController
DWindowState.java1880 if (mWinAnimator != null && mWinAnimator.hasSurface()) { in forceWindowsScaleableInTransaction()
2082 void setHasSurface(boolean hasSurface) { in setHasSurface() argument
2083 mHasSurface = hasSurface; in setHasSurface()
4139 final boolean hasSurface = mWinAnimator.hasSurface(); in onExitAnimationDone()
4152 if (hasSurface) { in onExitAnimationDone()
4703 if (surfaceInsetsChanging() && mWinAnimator.hasSurface()) { in updateSurfacePosition()
DWindowManagerService.java2005 if (!shouldRelayout && winAnimator.hasSurface() && !win.mAnimatingExit) { in relayoutWindow()
2052 if (viewVisibility == View.VISIBLE && winAnimator.hasSurface()) { in relayoutWindow()
DDisplayContent.java421 if (winAnimator.mSurfaceController == null || !winAnimator.hasSurface()) {