/aosp12/frameworks/base/core/java/android/view/ |
H A D | ViewRootInsetsControllerHost.java | 45 mViewRoot = viewRoot; in ViewRootInsetsControllerHost() 50 return mViewRoot.mHandler; in getHandler() 60 if (mViewRoot.mView == null) { in addOnPreDrawRunnable() 72 mViewRoot.mView.invalidate(); in addOnPreDrawRunnable() 154 if (mViewRoot.mAdded) { in updateRequestedVisibilities() 155 mViewRoot.mWindowSession.updateRequestedVisibilities(mViewRoot.mWindow, vis); in updateRequestedVisibilities() 220 if (mViewRoot.mView != null && mViewRoot.mView.isHardwareAccelerated()) { in releaseSurfaceControlFromRt() 238 if (mViewRoot == null) { in getRootViewTitle() 246 if (mViewRoot != null) { in dipToPx() 254 if (mViewRoot == null) { in getWindowToken() [all …]
|
H A D | SurfaceControlViewHost.java | 42 private final ViewRootImpl mViewRoot; field in SurfaceControlViewHost 184 mViewRoot = new ViewRootImpl(c, d, mWm, useSfChoreographer); in SurfaceControlViewHost() 209 mViewRoot = new ViewRootImpl(context, display, mWm); in SurfaceControlViewHost() 220 mViewRoot.die(false /* immediate */); in finalize() 234 mViewRoot.getInputToken()); in getSurfacePackage() 264 mViewRoot.setView(view, attrs, null); in setView() 271 return mViewRoot.getView(); in getView() 279 return mViewRoot.mWindow; in getWindowToken() 304 mViewRoot.setLayoutParams(attrs, false); in relayout() 305 mViewRoot.setReportNextDraw(); in relayout() [all …]
|
/aosp12/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/ |
H A D | ViewRootImplCompat.java | 30 private final ViewRootImpl mViewRoot; field in ViewRootImplCompat 33 mViewRoot = view == null ? null : view.getViewRootImpl(); in ViewRootImplCompat() 37 return mViewRoot == null ? null : mViewRoot.getSurfaceControl(); in getRenderSurfaceControl() 41 return mViewRoot != null; in isValid() 45 return mViewRoot == null ? null : mViewRoot.getView(); in getView() 49 if (mViewRoot != null) { in registerRtFrameCallback() 50 mViewRoot.registerRtFrameCallback( in registerRtFrameCallback() 61 if (mViewRoot != null) { in mergeWithNextTransaction() 62 mViewRoot.mergeWithNextTransaction(t, frame); in mergeWithNextTransaction()
|
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/quickstep/ |
H A D | ViewUtils.java | 52 final ViewRootImpl mViewRoot; field in ViewUtils.FrameHandler 60 mViewRoot = view.getViewRootImpl(); in FrameHandler() 88 if (mViewRoot.getView() != null) { in schedule() 89 mViewRoot.registerRtFrameCallback(this); in schedule() 90 mViewRoot.getView().invalidate(); in schedule()
|
/aosp12/frameworks/base/core/java/com/android/internal/jank/ |
H A D | FrameTracker.java | 97 private final ViewRootWrapper mViewRoot; field in FrameTracker 162 mViewRoot = mSurfaceOnly ? null : viewRootWrapper; in FrameTracker() 178 if (mViewRoot.getSurfaceControl().isValid()) { in FrameTracker() 179 mSurfaceControl = mViewRoot.getSurfaceControl(); in FrameTracker() 187 mSurfaceControl = mViewRoot.getSurfaceControl(); in FrameTracker() 224 mViewRoot.addSurfaceChangedCallback(mSurfaceChangedCallback); in FrameTracker() 625 private final ViewRootImpl mViewRoot; field in FrameTracker.ViewRootWrapper 628 mViewRoot = viewRoot; in ViewRootWrapper() 632 mViewRoot.addSurfaceChangedCallback(callback); in addSurfaceChangedCallback() 636 mViewRoot.removeSurfaceChangedCallback(callback); in removeSurfaceChangedCallback() [all …]
|
/aosp12/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | RenderSessionImpl.java | 117 private ViewGroup mViewRoot; field in RenderSessionImpl 231 mViewRoot, measuredView, in measureLayout() 290 mViewRoot = new Layout(mLayoutBuilder); in inflate() 292 mContentRoot = ((Layout) mViewRoot).getContentRoot(); in inflate() 332 AttachInfo_Accessor.setAttachInfo(mViewRoot); in inflate() 341 measureView(mViewRoot, null /*measuredView*/, in inflate() 461 if (mViewRoot == null) { in renderAndBuildResult() 553 renderAndBuildResult(mViewRoot, NOP_CANVAS); in renderAndBuildResult() 562 renderResult = renderAndBuildResult(mViewRoot, mCanvas); in renderAndBuildResult() 1172 AttachInfo_Accessor.detachFromWindow(mViewRoot); in dispose() [all …]
|
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/ |
H A D | PipMenuIconsAlgorithm.java | 32 protected ViewGroup mViewRoot; field in PipMenuIconsAlgorithm 47 mViewRoot = viewRoot; in bindViews()
|
H A D | PipMenuView.java | 144 protected View mViewRoot; field in PipMenuView 166 mViewRoot = findViewById(R.id.background); in PipMenuView() 167 mViewRoot.setBackground(mBackgroundDrawable); in PipMenuView() 201 mPipMenuIconsAlgorithm.bindViews((ViewGroup) mViewRoot, (ViewGroup) mTopEndContainer, in PipMenuView()
|
/aosp12/frameworks/base/core/tests/coretests/src/android/view/ |
H A D | InsetsControllerTest.java | 102 private ViewRootImpl mViewRoot; field in InsetsControllerTest 115 mViewRoot = new ViewRootImpl(context, context.getDisplayNoVerify()); in setup() 123 mTestHost = spy(new TestHost(mViewRoot)); in setup() 207 mViewRoot.getView().getViewTreeObserver().dispatchOnPreDraw(); in testControlsRevoked_duringAnim() 511 mViewRoot.getView().getViewTreeObserver().dispatchOnPreDraw(); in testAnimationEndState_controller() 536 mViewRoot.getView().getViewTreeObserver().dispatchOnPreDraw(); in testCancellation_afterGainingControl() 560 mViewRoot.getView().getViewTreeObserver().dispatchOnPreDraw(); in testControlImeNotReady() 568 mViewRoot.getView().getViewTreeObserver().dispatchOnPreDraw(); in testControlImeNotReady() 585 mViewRoot.getView().getViewTreeObserver().dispatchOnPreDraw(); in testControlImeNotReady_controlRevoked() 606 mViewRoot.getView().getViewTreeObserver().dispatchOnPreDraw(); in testControlImeNotReady_timeout() [all …]
|
H A D | BlurAggregatorTest.java | 51 private ViewRootImpl mViewRoot; field in BlurAggregatorTest 57 mViewRoot = new ViewRootImpl(mContext, mContext.getDisplayNoVerify()); in setUp() 59 mAggregator = new Aggregator(mViewRoot); in setUp()
|
/aosp12/frameworks/base/core/java/com/android/internal/graphics/drawable/ |
H A D | BackgroundBlurDrawable.java | 235 private final ViewRootImpl mViewRoot; field in BackgroundBlurDrawable.Aggregator 240 mViewRoot = viewRoot; in Aggregator() 381 mViewRoot.dispatchBlurRegions(blurRegionsArray, frameNumber); in dispatchBlurTransactionIfNeeded()
|