Home
last modified time | relevance | path

Searched refs:mViewRootImpl (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/core/java/android/view/
DImeFocusController.java37 private final ViewRootImpl mViewRootImpl; field in ImeFocusController
45 mViewRootImpl = viewRootImpl; in ImeFocusController()
54 delegate = mViewRootImpl.mContext.getSystemService(InputMethodManager.class).getDelegate(); in getImmDelegate()
81 onPostWindowFocus(mViewRootImpl.mView.findFocus(), true /* hasWindowFocus */, in onTraversal()
92 getImmDelegate().setCurrentRootView(mViewRootImpl); in onPreWindowFocus()
125 final View viewForWindowFocus = focusedView != null ? focusedView : mViewRootImpl.mView; in onPostWindowFocus()
141 if (!immDelegate.isCurrentRootView(mViewRootImpl) in checkFocus()
190 mViewRootImpl.dispatchCheckFocus(); in onViewFocusChanged()
200 mViewRootImpl.dispatchCheckFocus(); in onViewDetachedFromWindow()
207 if (!immDelegate.isCurrentRootView(mViewRootImpl)) { in onWindowDismissed()
[all …]
DAccessibilityInteractionController.java97 private final ViewRootImpl mViewRootImpl; field in AccessibilityInteractionController
129 mViewRootImpl = viewRootImpl; in AccessibilityInteractionController()
131 mA11yManager = mViewRootImpl.mContext.getSystemService(AccessibilityManager.class); in AccessibilityInteractionController()
336 if (mViewRootImpl.mView == null || mViewRootImpl.mAttachInfo == null) { in findAccessibilityNodeInfoByAccessibilityIdUiThread()
339 mViewRootImpl.mAttachInfo.mAccessibilityFetchFlags = flags; in findAccessibilityNodeInfoByAccessibilityIdUiThread()
387 if (mViewRootImpl.mView == null || mViewRootImpl.mAttachInfo == null) { in findAccessibilityNodeInfosByViewIdUiThread()
390 mViewRootImpl.mAttachInfo.mAccessibilityFetchFlags = flags; in findAccessibilityNodeInfosByViewIdUiThread()
448 if (mViewRootImpl.mView == null || mViewRootImpl.mAttachInfo == null) { in findAccessibilityNodeInfosByTextUiThread()
451 mViewRootImpl.mAttachInfo.mAccessibilityFetchFlags = flags; in findAccessibilityNodeInfosByTextUiThread()
531 if (mViewRootImpl.mView == null || mViewRootImpl.mAttachInfo == null) { in findFocusUiThread()
[all …]
DAccessibilityEmbeddedConnection.java35 private final WeakReference<ViewRootImpl> mViewRootImpl; field in AccessibilityEmbeddedConnection
39 mViewRootImpl = new WeakReference<>(viewRootImpl); in AccessibilityEmbeddedConnection()
44 final ViewRootImpl viewRootImpl = mViewRootImpl.get(); in associateEmbeddedHierarchy()
60 final ViewRootImpl viewRootImpl = mViewRootImpl.get(); in disassociateEmbeddedHierarchy()
75 final ViewRootImpl viewRootImpl = mViewRootImpl.get(); in setScreenMatrix()
DViewAnimationHostBridge.java38 mView.mAttachInfo.mViewRootImpl.registerAnimatingRenderNode(animator); in registerAnimatingRenderNode()
43 mView.mAttachInfo.mViewRootImpl.registerVectorDrawableAnimator(animator); in registerVectorDrawableAnimator()
DThreadedRenderer.java639 final Choreographer choreographer = attachInfo.mViewRootImpl.mChoreographer; in draw()
663 attachInfo.mViewRootImpl.mForceNextWindowRelayout = true; in draw()
664 attachInfo.mViewRootImpl.requestLayout(); in draw()
667 attachInfo.mViewRootImpl.invalidate(); in draw()
DView.java8139 mAttachInfo.mViewRootImpl.getImeFocusController().onViewFocusChanged(this, hasFocus);
11474 ai.mViewRootImpl.updateSystemGestureExclusionRectsForView(this);
11509 if (mAttachInfo != null && mAttachInfo.mViewRootImpl != null) {
11510 location[0] += mAttachInfo.mViewRootImpl.mWindowAttributes.surfaceInsets.left;
11511 location[1] += mAttachInfo.mViewRootImpl.mWindowAttributes.surfaceInsets.top;
11523 return mAttachInfo.mViewRootImpl.getWindowInsets(false /* forceConstruct */);
11537 return mAttachInfo.mViewRootImpl.getInsetsController();
18732 return mAttachInfo.mViewRootImpl; in getViewRootImpl()
18813 attachInfo.mViewRootImpl.mChoreographer.postCallback( in postOnAnimation()
18837 attachInfo.mViewRootImpl.mChoreographer.postCallbackDelayed( in postOnAnimationDelayed()
[all …]
DViewRootImpl.java4286 bounds.offset(0, attachInfo.mViewRootImpl.mScrollY); in getAccessibilityFocusedRect()
4288 if (!bounds.intersect(0, 0, attachInfo.mViewRootImpl.mWidth, in getAccessibilityFocusedRect()
4289 attachInfo.mViewRootImpl.mHeight)) { in getAccessibilityFocusedRect()
9476 private final WeakReference<ViewRootImpl> mViewRootImpl; field in ViewRootImpl.TrackballAxis.AccessibilityInteractionConnection
9479 mViewRootImpl = new WeakReference<ViewRootImpl>(viewRootImpl); in AccessibilityInteractionConnection()
9487 ViewRootImpl viewRootImpl = mViewRootImpl.get(); in findAccessibilityNodeInfoByAccessibilityId()
9508 ViewRootImpl viewRootImpl = mViewRootImpl.get(); in performAccessibilityAction()
9528 ViewRootImpl viewRootImpl = mViewRootImpl.get(); in findAccessibilityNodeInfosByViewId()
9549 ViewRootImpl viewRootImpl = mViewRootImpl.get(); in findAccessibilityNodeInfosByText()
9569 ViewRootImpl viewRootImpl = mViewRootImpl.get(); in findFocus()
[all …]
/frameworks/base/core/tests/coretests/src/android/view/
DViewRootImplTest.java59 private ViewRootImpl mViewRootImpl; field in ViewRootImplTest
66 mViewRootImpl = new ViewRootImpl(context, context.getDisplayNoVerify())); in setUp()
145 final WindowInsetsController controller = mViewRootImpl.getInsetsController(); in adjustLayoutParamsForCompatibility_noAdjustAppearance()
146 final WindowManager.LayoutParams attrs = mViewRootImpl.mWindowAttributes; in adjustLayoutParamsForCompatibility_noAdjustAppearance()
161 final WindowInsetsController controller = mViewRootImpl.getInsetsController(); in adjustLayoutParamsForCompatibility_noAdjustBehavior()
162 final WindowManager.LayoutParams attrs = mViewRootImpl.mWindowAttributes; in adjustLayoutParamsForCompatibility_noAdjustBehavior()
DAccessibilityInteractionControllerTest.java66 private ViewRootImpl mViewRootImpl; field in AccessibilityInteractionControllerTest
85 mViewRootImpl = mActivityRule.getActivity().getWindow().getDecorView() in setUp()
90 mViewRootImpl.getAccessibilityInteractionController(); in setUp()
/frameworks/layoutlib/bridge/src/android/view/
DAttachInfo_Accessor.java56 return view.mAttachInfo != null ? view.mAttachInfo.mViewRootImpl : null; in getRootView()