Home
last modified time | relevance | path

Searched refs:viewRoot (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/core/java/android/view/
DSurfaceView.java422 final ViewRootImpl viewRoot = getViewRootImpl(); in updateSurfaceAlpha() local
423 if (viewRoot == null) { in updateSurfaceAlpha()
438 final Surface parent = viewRoot.mSurface; in updateSurfaceAlpha()
454 viewRoot.registerRtFrameCallback(frame -> { in updateSurfaceAlpha()
524 ViewRootImpl viewRoot = getViewRootImpl(); in notifyDrawFinished() local
525 if (viewRoot != null) { in notifyDrawFinished()
526 viewRoot.pendingDrawFinished(); in notifyDrawFinished()
533 ViewRootImpl viewRoot = getViewRootImpl(); in onDetachedFromWindow() local
539 if (viewRoot != null) { in onDetachedFromWindow()
540 viewRoot.removeSurfaceChangedCallback(this); in onDetachedFromWindow()
[all …]
DViewRootInsetsControllerHost.java44 public ViewRootInsetsControllerHost(ViewRootImpl viewRoot) { in ViewRootInsetsControllerHost() argument
45 mViewRoot = viewRoot; in ViewRootInsetsControllerHost()
DView.java13564 ViewRootImpl viewRoot = getViewRootImpl(); in requestFocusFromTouch() local
13565 if (viewRoot != null) { in requestFocusFromTouch()
13566 viewRoot.ensureTouchMode(false); in requestFocusFromTouch()
13743 final ViewRootImpl viewRoot = getViewRootImpl(); in findAccessibilityFocusHost() local
13744 if (viewRoot != null) { in findAccessibilityFocusHost()
13745 final View focusHost = viewRoot.getAccessibilityFocusedHost(); in findAccessibilityFocusHost()
25662 ViewRootImpl viewRoot = getViewRootImpl(); in isInLayout() local
25663 return (viewRoot != null && viewRoot.isInLayout()); in isInLayout()
25684 ViewRootImpl viewRoot = getViewRootImpl(); in requestLayout() local
25685 if (viewRoot != null && viewRoot.isInLayout()) { in requestLayout()
[all …]
DViewGroup.java2857 ViewRootImpl viewRoot = getViewRootImpl(); in findChildWithAccessibilityFocus() local
2858 if (viewRoot == null) { in findChildWithAccessibilityFocus()
2862 View current = viewRoot.getAccessibilityFocusedHost(); in findChildWithAccessibilityFocus()
/frameworks/layoutlib/bridge/src/android/view/
DViewRootImpl_Accessor.java23 public static void dispatchApplyInsets(ViewRootImpl viewRoot, View host) { in dispatchApplyInsets() argument
24 viewRoot.dispatchApplyInsets(host); in dispatchApplyInsets()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
DPipMenuIconsAlgorithm.java46 public void bindViews(ViewGroup viewRoot, ViewGroup topEndContainer, View dragHandle, in bindViews() argument
48 mViewRoot = viewRoot; in bindViews()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DViewTransformationHelper.java241 public void addRemainingTransformTypes(View viewRoot) { in addRemainingTransformTypes() argument
246 while (view != viewRoot.getParent()) { in addRemainingTransformTypes()
253 stack.push(viewRoot); in addRemainingTransformTypes()
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/brightness/
DBrightnessSlider.java239 public BrightnessSlider create(Context context, @Nullable ViewGroup viewRoot) { in create() argument
242 .inflate(layout, viewRoot, false); in create()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
DSystemWindows.java211 SurfaceControlViewHost viewRoot = in addView() local
215 viewRoot.setView(view, attrs); in addView()
216 mViewRoots.put(view, viewRoot); in addView()
/frameworks/base/core/java/android/widget/
DZoomButtonsController.java506 ViewRootImpl viewRoot = mOwnerView.getViewRootImpl(); in onContainerKey() local
507 if (viewRoot != null) { in onContainerKey()
508 viewRoot.dispatchInputEvent(event); in onContainerKey()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderSessionImpl.java376 private static void doLayout(@NonNull BridgeContext context, @NonNull ViewGroup viewRoot, in doLayout() argument
380 measureView(viewRoot, null /*measuredView*/, in doLayout()
385 viewRoot.layout(0, 0, width, height); in doLayout()
386 handleScrolling(context, viewRoot); in doLayout()
395 … private static Result renderAndBuildResult(@NonNull ViewGroup viewRoot, @Nullable Canvas canvas) { in renderAndBuildResult() argument
400 AttachInfo_Accessor.dispatchOnPreDraw(viewRoot); in renderAndBuildResult()
401 viewRoot.draw(canvas); in renderAndBuildResult()
/frameworks/base/core/java/android/app/
DActivityTransitionCoordinator.java965 final ViewRootImpl viewRoot = decor.getViewRootImpl(); in startInputWhenTransitionsComplete() local
966 if (viewRoot != null) { in startInputWhenTransitionsComplete()
967 viewRoot.setPausedForTransition(false); in startInputWhenTransitionsComplete()
976 final ViewRootImpl viewRoot = decor == null ? null : decor.getViewRootImpl(); in pauseInput() local
977 if (viewRoot != null) { in pauseInput()
978 viewRoot.setPausedForTransition(true); in pauseInput()
DUiAutomation.java1053 ViewRootImpl viewRoot = decorView.getViewRootImpl(); in takeScreenshot() local
1054 if (viewRoot == null) { in takeScreenshot()
1058 SurfaceControl sc = viewRoot.getSurfaceControl(); in takeScreenshot()
DActivity.java8396 for (ViewRootImpl viewRoot : views) {
8397 if (viewRoot.getView() != null
8398 && viewRoot.getView().dispatchActivityResult(
DActivityThread.java6098 final ViewRootImpl viewRoot = r.activity.mDecor != null in handleActivityConfigurationChanged() local
6112 if (viewRoot != null) { in handleActivityConfigurationChanged()
6114 viewRoot.onMovedToDisplay(displayId, reportedConfig); in handleActivityConfigurationChanged()
6116 viewRoot.updateConfiguration(displayId); in handleActivityConfigurationChanged()
/frameworks/base/core/java/com/android/internal/graphics/drawable/
DBackgroundBlurDrawable.java239 public Aggregator(ViewRootImpl viewRoot) { in Aggregator() argument
240 mViewRoot = viewRoot; in Aggregator()
/frameworks/base/core/java/com/android/internal/jank/
DFrameTracker.java571 public ViewRootWrapper(ViewRootImpl viewRoot) { in ViewRootWrapper() argument
572 mViewRoot = viewRoot; in ViewRootWrapper()
/frameworks/base/core/java/android/inputmethodservice/
DInputMethodService.java905 ViewRootImpl viewRoot = null; in getHostInputToken() local
907 viewRoot = mRootView.getViewRootImpl(); in getHostInputToken()
909 return viewRoot == null ? null : viewRoot.getInputToken(); in getHostInputToken()
/frameworks/base/core/java/com/android/internal/policy/
DDecorView.java1115 final ViewRootImpl viewRoot = getViewRootImpl(); in updateColorViews() local
1116 final @Appearance int appearance = viewRoot != null in updateColorViews()
1117 ? viewRoot.mWindowAttributes.insetsFlags.appearance in updateColorViews()
1168 if (viewRoot != null) { in updateColorViews()
1169 viewRoot.requestInvalidateRootRenderNode(); in updateColorViews()
DPhoneWindow.java2146 void onViewRootImplSet(ViewRootImpl viewRoot) {
2147 viewRoot.setActivityConfigCallback(mActivityConfigCallback);
/frameworks/base/core/tests/coretests/src/android/view/
DInsetsControllerTest.java842 TestHost(ViewRootImpl viewRoot) { in TestHost() argument
843 super(viewRoot); in TestHost()