Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/view/
DInsetsSourceConsumerTest.java74 final ViewRootImpl viewRootImpl = new ViewRootImpl(context, context.getDisplay()); in setup() local
76 viewRootImpl.setView(new TextView(context), new LayoutParams(), null); in setup()
81 () -> mMockTransaction, new InsetsController(viewRootImpl)); in setup()
DImeInsetsSourceConsumerTest.java64 ViewRootImpl viewRootImpl = new ViewRootImpl(mContext, mContext.getDisplay()); in setup() local
66 viewRootImpl.setView(new TextView(mContext), new LayoutParams(), null); in setup()
70 mController = new InsetsController(viewRootImpl); in setup()
DViewRootImplTest.java90 ViewRootImplAccessor(ViewRootImpl viewRootImpl) { in ViewRootImplAccessor() argument
91 mViewRootImpl = viewRootImpl; in ViewRootImplAccessor()
DInsetsControllerTest.java80 ViewRootImpl viewRootImpl = new ViewRootImpl(context, context.getDisplay()); in setup() local
82 viewRootImpl.setView(new TextView(context), new LayoutParams(), null); in setup()
86 mController = new InsetsController(viewRootImpl); in setup()
/frameworks/base/core/java/android/webkit/
DWebViewDelegate.java172 ViewRootImpl viewRootImpl = containerView.getViewRootImpl(); in detachDrawGlFunctor() local
173 if (nativeDrawGLFunctor != 0 && viewRootImpl != null) { in detachDrawGlFunctor()
174 viewRootImpl.detachFunctor(nativeDrawGLFunctor); in detachDrawGlFunctor()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DRegionSamplingHelper.java157 ViewRootImpl viewRootImpl = mSampledView.getViewRootImpl(); in updateSamplingListener() local
159 if (viewRootImpl != null) { in updateSamplingListener()
160 stopLayerControl = viewRootImpl.getSurfaceControl(); in updateSamplingListener()
/frameworks/base/core/java/android/view/inputmethod/
DInputMethodManager.java516 final ViewRootImpl viewRootImpl = view.getViewRootImpl(); in getFallbackInputMethodManagerIfNecessary() local
517 if (viewRootImpl == null) { in getFallbackInputMethodManagerIfNecessary()
520 final int viewRootDisplayId = viewRootImpl.getDisplayId(); in getFallbackInputMethodManagerIfNecessary()
526 viewRootImpl.mContext.getSystemService(InputMethodManager.class); in getFallbackInputMethodManagerIfNecessary()
1852 ViewRootImpl viewRootImpl = view.getViewRootImpl(); in scheduleCheckFocusLocked() local
1853 if (viewRootImpl != null) { in scheduleCheckFocusLocked()
1854 viewRootImpl.dispatchCheckFocus(); in scheduleCheckFocusLocked()
2525 ViewRootImpl viewRootImpl = targetView != null ? targetView.getViewRootImpl() : null; in dispatchKeyEventFromInputMethod() local
2526 if (viewRootImpl == null) { in dispatchKeyEventFromInputMethod()
2528 viewRootImpl = mServedView.getViewRootImpl(); in dispatchKeyEventFromInputMethod()
[all …]
/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/core/java/android/widget/
DMagnifier.java531 final ViewRootImpl viewRootImpl = mView.getViewRootImpl(); in obtainSurfaces() local
532 final Surface mainWindowSurface = viewRootImpl.mSurface; in obtainSurfaces()
534 final Rect surfaceInsets = viewRootImpl.mWindowAttributes.surfaceInsets; in obtainSurfaces()
536 viewRootImpl.getWidth() + surfaceInsets.left + surfaceInsets.right; in obtainSurfaces()
538 viewRootImpl.getHeight() + surfaceInsets.top + surfaceInsets.bottom; in obtainSurfaces()
540 new SurfaceInfo(viewRootImpl.getSurfaceControl(), mainWindowSurface, in obtainSurfaces()
DGridView.java1255 final ViewRootImpl viewRootImpl = getViewRootImpl(); in layoutChildren() local
1256 if (viewRootImpl != null) { in layoutChildren()
1257 final View focusHost = viewRootImpl.getAccessibilityFocusedHost(); in layoutChildren()
1266 accessibilityFocusLayoutRestoreNode = viewRootImpl in layoutChildren()
1377 if (viewRootImpl != null) { in layoutChildren()
1378 final View newAccessibilityFocusedView = viewRootImpl.getAccessibilityFocusedHost(); in layoutChildren()
DListView.java1733 final ViewRootImpl viewRootImpl = getViewRootImpl(); in layoutChildren() local
1734 if (viewRootImpl != null) { in layoutChildren()
1735 final View focusHost = viewRootImpl.getAccessibilityFocusedHost(); in layoutChildren()
1744 accessibilityFocusLayoutRestoreNode = viewRootImpl in layoutChildren()
1924 if (viewRootImpl != null) { in layoutChildren()
1925 final View newAccessibilityFocusedView = viewRootImpl.getAccessibilityFocusedHost(); in layoutChildren()
DTextView.java7045 ViewRootImpl viewRootImpl = getViewRootImpl(); in onEditorAction() local
7046 if (viewRootImpl != null) { in onEditorAction()
7048 viewRootImpl.dispatchKeyFromIme( in onEditorAction()
7054 viewRootImpl.dispatchKeyFromIme( in onEditorAction()
/frameworks/base/core/java/android/view/
DViewRootImpl.java8695 AccessibilityInteractionConnection(ViewRootImpl viewRootImpl) { in AccessibilityInteractionConnection() argument
8696 mViewRootImpl = new WeakReference<ViewRootImpl>(viewRootImpl); in AccessibilityInteractionConnection()
8704 ViewRootImpl viewRootImpl = mViewRootImpl.get(); in findAccessibilityNodeInfoByAccessibilityId() local
8705 if (viewRootImpl != null && viewRootImpl.mView != null) { in findAccessibilityNodeInfoByAccessibilityId()
8706 viewRootImpl.getAccessibilityInteractionController() in findAccessibilityNodeInfoByAccessibilityId()
8725 ViewRootImpl viewRootImpl = mViewRootImpl.get(); in performAccessibilityAction() local
8726 if (viewRootImpl != null && viewRootImpl.mView != null) { in performAccessibilityAction()
8727 viewRootImpl.getAccessibilityInteractionController() in performAccessibilityAction()
8745 ViewRootImpl viewRootImpl = mViewRootImpl.get(); in findAccessibilityNodeInfosByViewId() local
8746 if (viewRootImpl != null && viewRootImpl.mView != null) { in findAccessibilityNodeInfosByViewId()
[all …]
DAccessibilityInteractionController.java123 public AccessibilityInteractionController(ViewRootImpl viewRootImpl) { in AccessibilityInteractionController() argument
124 Looper looper = viewRootImpl.mHandler.getLooper(); in AccessibilityInteractionController()
128 mViewRootImpl = viewRootImpl; in AccessibilityInteractionController()
/frameworks/base/media/java/android/media/tv/
DTvView.java154 ViewRootImpl viewRootImpl = getViewRootImpl();
155 if (viewRootImpl != null) {
156 viewRootImpl.dispatchUnhandledInputEvent(event);
/frameworks/base/core/java/com/android/internal/policy/
DPhoneWindow.java1819 ViewRootImpl viewRootImpl = mDecor.getViewRootImpl(); in getViewRootImpl() local
1820 if (viewRootImpl != null) { in getViewRootImpl()
1821 return viewRootImpl; in getViewRootImpl()