/frameworks/layoutlib/bridge/src/android/view/ |
D | ViewRootImpl_Accessor.java | 23 public static void dispatchApplyInsets(ViewRootImpl viewRoot, View host) { in dispatchApplyInsets() argument 24 viewRoot.dispatchApplyInsets(host); in dispatchApplyInsets() 27 public static void setChild(ViewRootImpl viewRoot, View child) { in setChild() argument 28 viewRoot.mView = child; in setChild() 30 viewRoot.mWidth = child.getWidth(); in setChild() 31 viewRoot.mHeight = child.getHeight(); in setChild() 33 viewRoot.mWidth = -1; in setChild() 34 viewRoot.mHeight = -1; in setChild() 38 public static void detachFromWindow(ViewRootImpl viewRoot) { in detachFromWindow() argument 39 viewRoot.mAccessibilityInteractionConnectionManager.ensureNoConnection(); in detachFromWindow() [all …]
|
/frameworks/base/core/java/android/view/ |
D | ViewAnimationHostBridge.java | 60 ViewRootImpl viewRoot = mView.getViewRootImpl(); in onAnimationStart() local 61 if (viewRoot != null) { in onAnimationStart() 62 viewRoot.addThreadedRendererView(mView); in onAnimationStart() 68 ViewRootImpl viewRoot = mView.getViewRootImpl(); in onAnimationEnd() local 69 if (viewRoot != null) { in onAnimationEnd() 70 viewRoot.removeThreadedRendererView(mView); in onAnimationEnd()
|
D | SurfaceView.java | 508 ViewRootImpl viewRoot = getViewRootImpl(); in onDetachedFromWindow() local 514 if (viewRoot != null) { in onDetachedFromWindow() 515 viewRoot.removeSurfaceChangedCallback(this); in onDetachedFromWindow() 786 final ViewRootImpl viewRoot = getViewRootImpl(); in setZOrderedOnTop() local 787 if (viewRoot == null) { in setZOrderedOnTop() 952 private boolean performSurfaceTransaction(ViewRootImpl viewRoot, Translator translator, in performSurfaceTransaction() argument 975 mParentSurfaceSequenceId = viewRoot.getSurfaceSequenceId(); in performSurfaceTransaction() 1098 final ViewRootImpl viewRoot = getViewRootImpl(); in updateSurface() local 1100 if (viewRoot == null) { in updateSurface() 1104 if (viewRoot.mSurface == null || !viewRoot.mSurface.isValid()) { in updateSurface() [all …]
|
D | HdrRenderState.java | 44 HdrRenderState(ViewRootImpl viewRoot) { in HdrRenderState() argument 45 mViewRoot = viewRoot; in HdrRenderState()
|
D | ViewRootInsetsControllerHost.java | 43 public ViewRootInsetsControllerHost(ViewRootImpl viewRoot) { in ViewRootInsetsControllerHost() argument 44 mViewRoot = viewRoot; in ViewRootInsetsControllerHost()
|
D | ImeBackAnimationController.java | 68 public ImeBackAnimationController(ViewRootImpl viewRoot, InsetsController insetsController) { in ImeBackAnimationController() argument 70 mViewRoot = viewRoot; in ImeBackAnimationController()
|
D | WindowManagerImpl.java | 489 ViewRootImpl viewRoot = decorView.getViewRootImpl(); in replaceContentOnDisplayWithMirror() local 490 if (viewRoot == null) { in replaceContentOnDisplayWithMirror() 495 SurfaceControl sc = viewRoot.getSurfaceControl(); in replaceContentOnDisplayWithMirror()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/ |
D | PipMenuIconsAlgorithm.java | 44 public void bindViews(ViewGroup viewRoot, ViewGroup topEndContainer, View dragHandle, in bindViews() argument 46 mViewRoot = viewRoot; in bindViews()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip2/phone/ |
D | PipMenuIconsAlgorithm.java | 44 public void bindViews(ViewGroup viewRoot, ViewGroup topEndContainer, View dragHandle, in bindViews() argument 46 mViewRoot = viewRoot; in bindViews()
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | InkWindow.java | 200 final ViewRootImpl viewRoot = decor.getViewRootImpl(); in dispatchHandwritingEvent() local 201 Objects.requireNonNull(viewRoot); in dispatchHandwritingEvent() 203 viewRoot.enqueueInputEvent(MotionEvent.obtain(event)); in dispatchHandwritingEvent()
|
/frameworks/base/core/java/com/android/internal/jank/ |
D | InteractionMonitorDebugOverlay.java | 99 FrameTracker.ViewRootWrapper viewRoot = tracker.mTracker.getViewRoot(); in attachViewRootIfNeeded() local 100 if (mViewRoot == null && viewRoot != null) { in attachViewRootIfNeeded() 106 mViewRoot = viewRoot; in attachViewRootIfNeeded() 107 mHandler.runWithScissors(() -> viewRoot.addWindowCallbacks(this), in attachViewRootIfNeeded()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | DejankUtils.java | 275 public static void notifyRendererOfExpensiveFrame(ViewRootImpl viewRoot, String reason) { in notifyRendererOfExpensiveFrame() argument 276 if (viewRoot == null) return; in notifyRendererOfExpensiveFrame() 287 viewRoot.notifyRendererOfExpensiveFrame(); in notifyRendererOfExpensiveFrame()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/jank/ |
D | InteractionJankMonitorTest.java | 181 ViewRootWrapper viewRoot = spy(new ViewRootWrapper(mView.getViewRootImpl())); in createMockedFrameTracker() local 182 doNothing().when(viewRoot).addSurfaceChangedCallback(any()); in createMockedFrameTracker() 183 doNothing().when(viewRoot).removeSurfaceChangedCallback(any()); in createMockedFrameTracker() 200 threadedRenderer, viewRoot, surfaceControl, choreographer, in createMockedFrameTracker()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | RemoteInputViewTest.java | 264 ViewRootImpl viewRoot = mock(ViewRootImpl.class); in testPredictiveBack_registerAndUnregister() local 269 when(viewRoot.getOnBackInvokedDispatcher()).thenReturn(backInvokedDispatcher); in testPredictiveBack_registerAndUnregister() 270 view.setViewRootImpl(viewRoot); in testPredictiveBack_registerAndUnregister() 292 ViewRootImpl viewRoot = mock(ViewRootImpl.class); in testUiPredictiveBack_openAndDispatchCallback() local 297 when(viewRoot.getOnBackInvokedDispatcher()).thenReturn(backInvokedDispatcher); in testUiPredictiveBack_openAndDispatchCallback() 298 view.setViewRootImpl(viewRoot); in testUiPredictiveBack_openAndDispatchCallback()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/brightness/ |
D | BrightnessSliderController.java | 313 @Nullable ViewGroup viewRoot) { in create() argument 316 .inflate(layout, viewRoot, false); in create() 321 HapticSliderViewBinder.bind(viewRoot, plugin); in create()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | ViewTransformationHelper.java | 241 public void addRemainingTransformTypes(View viewRoot) { in addRemainingTransformTypes() argument 246 while (view != viewRoot.getParent()) { in addRemainingTransformTypes() 253 stack.push(viewRoot); in addRemainingTransformTypes()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | ViewRootImplTest.java | 1267 ViewRootImpl viewRoot = mView.getViewRootImpl(); in votePreferredFrameRate_isFrameRatePowerSavingsBalanced() local 1268 final WindowManager.LayoutParams attrs = viewRoot.mWindowAttributes; in votePreferredFrameRate_isFrameRatePowerSavingsBalanced() 1271 viewRoot.isFrameRatePowerSavingsBalanced()); in votePreferredFrameRate_isFrameRatePowerSavingsBalanced() 1275 viewRoot.setLayoutParams(attrs, false); in votePreferredFrameRate_isFrameRatePowerSavingsBalanced() 1280 final WindowManager.LayoutParams newAttrs = viewRoot.mWindowAttributes; in votePreferredFrameRate_isFrameRatePowerSavingsBalanced() 1283 viewRoot.isFrameRatePowerSavingsBalanced()); in votePreferredFrameRate_isFrameRatePowerSavingsBalanced() 1353 ViewRootImpl viewRoot = mView.getViewRootImpl(); in votePreferredFrameRate_velocityVotedAfterOnDraw() local 1359 assertEquals(0, viewRoot.getPreferredFrameRate(), delta); in votePreferredFrameRate_velocityVotedAfterOnDraw() 1360 assertEquals(0, viewRoot.getLastPreferredFrameRate(), delta); in votePreferredFrameRate_velocityVotedAfterOnDraw() 1362 assertEquals(expectedFrameRate, viewRoot.getPreferredFrameRate(), delta); in votePreferredFrameRate_velocityVotedAfterOnDraw() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | RemoteInputView.java | 487 protected void setViewRootImpl(ViewRootImpl viewRoot) { in setViewRootImpl() argument 488 mTestableViewRootImpl = viewRoot; in setViewRootImpl() 537 ViewRootImpl viewRoot = getViewRootImpl(); in registerBackCallback() local 538 if (viewRoot == null) { in registerBackCallback() 547 viewRoot.getOnBackInvokedDispatcher().registerOnBackInvokedCallback( in registerBackCallback() 552 ViewRootImpl viewRoot = getViewRootImpl(); in unregisterBackCallback() local 553 if (viewRoot == null) { in unregisterBackCallback() 562 viewRoot.getOnBackInvokedDispatcher().unregisterOnBackInvokedCallback( in unregisterBackCallback()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | RenderSessionImpl.java | 406 private static void doLayout(@NonNull BridgeContext context, @NonNull ViewGroup viewRoot, in doLayout() argument 410 measureView(viewRoot, null /*measuredView*/, in doLayout() 415 viewRoot.layout(0, 0, width, height); in doLayout() 416 AttachInfo_Accessor.dispatchOnGlobalLayout(viewRoot); in doLayout() 417 handleScrolling(context, viewRoot); in doLayout() 426 private static Result renderAndBuildResult(@NonNull ViewGroup viewRoot, in renderAndBuildResult() argument 431 AttachInfo_Accessor.dispatchOnPreDraw(viewRoot); in renderAndBuildResult() 432 viewRoot.draw(canvas); in renderAndBuildResult()
|
/frameworks/base/core/java/android/widget/ |
D | ZoomButtonsController.java | 506 ViewRootImpl viewRoot = mOwnerView.getViewRootImpl(); in onContainerKey() local 507 if (viewRoot != null) { in onContainerKey() 508 viewRoot.dispatchInputEvent(event); in onContainerKey()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/ |
D | SystemWindows.java | 227 SurfaceControlViewHost viewRoot = in addView() local 230 viewRoot.setView(view, attrs); in addView() 231 mViewRoots.put(view, viewRoot); in addView()
|
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/ |
D | ViewDialogTransitionAnimatorController.kt | 34 override val viewRoot: ViewRootImpl? constant
|
D | DialogTransitionAnimator.kt | 89 val viewRoot: ViewRootImpl? in <lambda>() constant 261 it.dialog.window?.decorView?.viewRootImpl == controller.viewRoot in <lambda>() 756 val controllerRootView = controller.viewRoot?.view in synchronizeNextDraw()
|
/frameworks/base/core/java/android/app/ |
D | ActivityTransitionCoordinator.java | 966 final ViewRootImpl viewRoot = decor.getViewRootImpl(); in startInputWhenTransitionsComplete() local 967 if (viewRoot != null) { in startInputWhenTransitionsComplete() 968 viewRoot.setPausedForTransition(false); in startInputWhenTransitionsComplete() 977 final ViewRootImpl viewRoot = decor == null ? null : decor.getViewRootImpl(); in pauseInput() local 978 if (viewRoot != null) { in pauseInput() 979 viewRoot.setPausedForTransition(true); in pauseInput()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusBarKeyguardViewManager.java | 575 ViewRootImpl viewRoot = getViewRootImpl(); in registerBackCallback() local 576 if (viewRoot != null) { in registerBackCallback() 577 viewRoot.getOnBackInvokedDispatcher().registerOnBackInvokedCallback( in registerBackCallback() 595 ViewRootImpl viewRoot = getViewRootImpl(); in unregisterBackCallback() local 596 if (viewRoot != null) { in unregisterBackCallback() 597 viewRoot.getOnBackInvokedDispatcher().unregisterOnBackInvokedCallback( in unregisterBackCallback()
|