Home
last modified time | relevance | path

Searched refs:viewRootImpl (Results 1 – 25 of 25) sorted by relevance

/frameworks/base/core/java/android/view/
DAccessibilityEmbeddedConnection.java38 AccessibilityEmbeddedConnection(ViewRootImpl viewRootImpl) { in AccessibilityEmbeddedConnection() argument
39 mViewRootImpl = new WeakReference<>(viewRootImpl); in AccessibilityEmbeddedConnection()
44 final ViewRootImpl viewRootImpl = mViewRootImpl.get(); in associateEmbeddedHierarchy() local
45 if (viewRootImpl != null) { in associateEmbeddedHierarchy()
47 viewRootImpl.mContext); in associateEmbeddedHierarchy()
48 viewRootImpl.mAttachInfo.mLeashedParentToken = host; in associateEmbeddedHierarchy()
49 viewRootImpl.mAttachInfo.mLeashedParentAccessibilityViewId = hostViewId; in associateEmbeddedHierarchy()
51 accessibilityManager.associateEmbeddedHierarchy(host, viewRootImpl.mLeashToken); in associateEmbeddedHierarchy()
53 return viewRootImpl.mLeashToken; in associateEmbeddedHierarchy()
60 final ViewRootImpl viewRootImpl = mViewRootImpl.get(); in disassociateEmbeddedHierarchy() local
[all …]
DImeFocusController.java51 ImeFocusController(@NonNull ViewRootImpl viewRootImpl) { in ImeFocusController() argument
52 mViewRootImpl = viewRootImpl; in ImeFocusController()
DViewRootImpl.java10018 AccessibilityInteractionConnection(ViewRootImpl viewRootImpl) { in AccessibilityInteractionConnection() argument
10019 mViewRootImpl = new WeakReference<ViewRootImpl>(viewRootImpl); in AccessibilityInteractionConnection()
10027 ViewRootImpl viewRootImpl = mViewRootImpl.get(); in findAccessibilityNodeInfoByAccessibilityId() local
10028 if (viewRootImpl != null && viewRootImpl.mView != null) { in findAccessibilityNodeInfoByAccessibilityId()
10029 viewRootImpl.getAccessibilityInteractionController() in findAccessibilityNodeInfoByAccessibilityId()
10048 ViewRootImpl viewRootImpl = mViewRootImpl.get(); in performAccessibilityAction() local
10049 if (viewRootImpl != null && viewRootImpl.mView != null) { in performAccessibilityAction()
10050 viewRootImpl.getAccessibilityInteractionController() in performAccessibilityAction()
10068 ViewRootImpl viewRootImpl = mViewRootImpl.get(); in findAccessibilityNodeInfosByViewId() local
10069 if (viewRootImpl != null && viewRootImpl.mView != null) { in findAccessibilityNodeInfosByViewId()
[all …]
DAccessibilityInteractionController.java132 public AccessibilityInteractionController(ViewRootImpl viewRootImpl) { in AccessibilityInteractionController() argument
133 Looper looper = viewRootImpl.mHandler.getLooper(); in AccessibilityInteractionController()
137 mViewRootImpl = viewRootImpl; in AccessibilityInteractionController()
DView.java8685 ViewRootImpl viewRootImpl = (ViewRootImpl) parent;
8686 rect.offset(0, -viewRootImpl.mCurScrollY);
13317 ViewRootImpl viewRootImpl = getViewRootImpl(); in requestAccessibilityFocus() local
13318 if (viewRootImpl != null) { in requestAccessibilityFocus()
13319 viewRootImpl.setAccessibilityFocus(this, null); in requestAccessibilityFocus()
13344 final ViewRootImpl viewRootImpl = getViewRootImpl(); in clearAccessibilityFocus() local
13345 if (viewRootImpl != null) { in clearAccessibilityFocus()
13346 final View focusHost = viewRootImpl.getAccessibilityFocusedHost(); in clearAccessibilityFocus()
13348 viewRootImpl.setAccessibilityFocus(null, null); in clearAccessibilityFocus()
16328 ViewRootImpl viewRootImpl = getViewRootImpl(); in setFlags() local
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DBlurUtilsTest.kt60 val viewRootImpl = mock(ViewRootImpl::class.java) in testApplyBlur_invalidSurfaceControl() constant
61 `when`(viewRootImpl.surfaceControl).thenReturn(surfaceControl) in testApplyBlur_invalidSurfaceControl()
62 blurUtils.applyBlur(viewRootImpl, 10 /* radius */, false /* opaque */) in testApplyBlur_invalidSurfaceControl()
69 val viewRootImpl = mock(ViewRootImpl::class.java) in testApplyBlur_success() constant
70 `when`(viewRootImpl.surfaceControl).thenReturn(surfaceControl) in testApplyBlur_success()
72 blurUtils.applyBlur(viewRootImpl, radius, true /* opaque */) in testApplyBlur_success()
82 val viewRootImpl = mock(ViewRootImpl::class.java) in testEarlyWakeUp() constant
83 `when`(viewRootImpl.surfaceControl).thenReturn(surfaceControl) in testEarlyWakeUp()
85 blurUtils.applyBlur(viewRootImpl, radius, true /* opaque */) in testEarlyWakeUp()
88 blurUtils.applyBlur(viewRootImpl, 0, true /* opaque */) in testEarlyWakeUp()
DNotificationShadeDepthControllerTest.kt70 @Mock private lateinit var viewRootImpl: ViewRootImpl in <lambda>() variable in com.android.systemui.statusbar.NotificationShadeDepthControllerTest
87 `when`(root.viewRootImpl).thenReturn(viewRootImpl) in <lambda>()
302 verify(blurUtils).applyBlur(eq(viewRootImpl), eq(0), eq(false)) in <lambda>()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DSurfaceControlCompat.java34 ViewRootImpl viewRootImpl = v.getViewRootImpl(); in SurfaceControlCompat() local
35 mSurfaceControl = viewRootImpl != null in SurfaceControlCompat()
36 ? viewRootImpl.getSurfaceControl() in SurfaceControlCompat()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DBlurUtils.kt82 fun applyBlur(viewRootImpl: ViewRootImpl?, radius: Int, opaque: Boolean) { in applyBlur()
83 if (viewRootImpl == null || !viewRootImpl.surfaceControl.isValid || in applyBlur()
88 it.setBackgroundBlurRadius(viewRootImpl.surfaceControl, radius) in applyBlur()
89 it.setOpaque(viewRootImpl.surfaceControl, opaque) in applyBlur()
DNotificationShadeDepthController.kt207 blurUtils.applyBlur(blurRoot?.viewRootImpl ?: root.viewRootImpl, blur, opaque) in <lambda>()
/frameworks/base/core/java/android/webkit/
DWebViewDelegate.java140 ViewRootImpl viewRootImpl = containerView.getViewRootImpl(); in detachDrawGlFunctor() local
141 if (nativeDrawGLFunctor != 0 && viewRootImpl != null) { in detachDrawGlFunctor()
142 viewRootImpl.detachFunctor(nativeDrawGLFunctor); in detachDrawGlFunctor()
/frameworks/base/core/tests/coretests/src/android/view/
DImeInsetsSourceConsumerTest.java72 ViewRootImpl viewRootImpl = new ViewRootImpl(mContext, mContext.getDisplayNoVerify()); in setup() local
74 viewRootImpl.setView(new TextView(mContext), new LayoutParams(), null); in setup()
79 new ViewRootInsetsControllerHost(viewRootImpl))); in setup()
DInsetsSourceConsumerTest.java89 final ViewRootImpl viewRootImpl = new ViewRootImpl(context, in setup() local
92 viewRootImpl.setView(new TextView(context), new LayoutParams(), null); in setup()
100 mController = new InsetsController(new ViewRootInsetsControllerHost(viewRootImpl)); in setup()
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/gestural/
DRegionSamplingHelper.java160 ViewRootImpl viewRootImpl = mSampledView.getViewRootImpl(); in updateSamplingListener() local
162 if (viewRootImpl != null) { in updateSamplingListener()
163 stopLayerControl = viewRootImpl.getSurfaceControl(); in updateSamplingListener()
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/view/
DIllustrationVideoViewTest.java226 Object viewRootImpl = ReflectionHelpers.callInstanceMethod(view, "getViewRootImpl"); in setWindowVisible() local
228 viewRootImpl, "handleAppVisibility", ClassParameter.from(boolean.class, true)); in setWindowVisible()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DAccessibilityInteractionControllerNodeRequestsTest.java104 final ViewRootImpl viewRootImpl = new ViewRootImpl(context, context.getDisplay()); in setUp() local
122 viewRootImpl.setView(mFrameLayout, new WindowManager.LayoutParams(), null); in setUp()
129 new AccessibilityInteractionController(viewRootImpl); in setUp()
/frameworks/base/core/java/android/view/inputmethod/
DInputMethodManager.java528 final ViewRootImpl viewRootImpl = view.getViewRootImpl(); in getFallbackInputMethodManagerIfNecessary() local
529 if (viewRootImpl == null) { in getFallbackInputMethodManagerIfNecessary()
532 final int viewRootDisplayId = viewRootImpl.getDisplayId(); in getFallbackInputMethodManagerIfNecessary()
538 viewRootImpl.mContext.getSystemService(InputMethodManager.class); in getFallbackInputMethodManagerIfNecessary()
2640 ViewRootImpl viewRootImpl = targetView != null ? targetView.getViewRootImpl() : null; in dispatchKeyEventFromInputMethod() local
2641 if (viewRootImpl == null) { in dispatchKeyEventFromInputMethod()
2644 viewRootImpl = servedView.getViewRootImpl(); in dispatchKeyEventFromInputMethod()
2647 if (viewRootImpl != null) { in dispatchKeyEventFromInputMethod()
2648 viewRootImpl.dispatchKeyFromIme(event); in dispatchKeyEventFromInputMethod()
/frameworks/base/core/java/android/widget/
DMagnifier.java631 final ViewRootImpl viewRootImpl = mView.getViewRootImpl(); in obtainSurfaces() local
632 final Surface mainWindowSurface = viewRootImpl.mSurface; in obtainSurfaces()
634 final Rect surfaceInsets = viewRootImpl.mWindowAttributes.surfaceInsets; in obtainSurfaces()
636 viewRootImpl.getWidth() + surfaceInsets.left + surfaceInsets.right; in obtainSurfaces()
638 viewRootImpl.getHeight() + surfaceInsets.top + surfaceInsets.bottom; in obtainSurfaces()
640 new SurfaceInfo(viewRootImpl.getSurfaceControl(), mainWindowSurface, in obtainSurfaces()
DGridView.java1256 final ViewRootImpl viewRootImpl = getViewRootImpl(); in layoutChildren() local
1257 if (viewRootImpl != null) { in layoutChildren()
1258 final View focusHost = viewRootImpl.getAccessibilityFocusedHost(); in layoutChildren()
1267 accessibilityFocusLayoutRestoreNode = viewRootImpl in layoutChildren()
1378 if (viewRootImpl != null) { in layoutChildren()
1379 final View newAccessibilityFocusedView = viewRootImpl.getAccessibilityFocusedHost(); in layoutChildren()
DListView.java1729 final ViewRootImpl viewRootImpl = getViewRootImpl(); in layoutChildren() local
1730 if (viewRootImpl != null) { in layoutChildren()
1731 final View focusHost = viewRootImpl.getAccessibilityFocusedHost(); in layoutChildren()
1740 accessibilityFocusLayoutRestoreNode = viewRootImpl in layoutChildren()
1920 if (viewRootImpl != null) { in layoutChildren()
1921 final View newAccessibilityFocusedView = viewRootImpl.getAccessibilityFocusedHost(); in layoutChildren()
DTextView.java7189 ViewRootImpl viewRootImpl = getViewRootImpl(); in onEditorAction() local
7190 if (viewRootImpl != null) { in onEditorAction()
7192 viewRootImpl.dispatchKeyFromIme( in onEditorAction()
7198 viewRootImpl.dispatchKeyFromIme( in onEditorAction()
/frameworks/base/media/java/android/media/tv/
DTvView.java154 ViewRootImpl viewRootImpl = getViewRootImpl();
155 if (viewRootImpl != null) {
156 viewRootImpl.dispatchUnhandledInputEvent(event);
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DKeyguardUnlockAnimationController.kt213 keyguardViewController.viewRootImpl.view) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DMediaHierarchyManager.kt514 rootView = viewHost.viewRootImpl.view in createUniqueObjectHost()
/frameworks/base/core/java/com/android/internal/policy/
DPhoneWindow.java1854 ViewRootImpl viewRootImpl = getViewRootImplOrNull(); in getViewRootImpl() local
1855 if (viewRootImpl != null) { in getViewRootImpl()
1856 return viewRootImpl; in getViewRootImpl()