Home
last modified time | relevance | path

Searched refs:viewRootImpl (Results 1 – 17 of 17) 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.java160 ViewRootImpl viewRootImpl = mSampledView.getViewRootImpl(); in updateSamplingListener() local
162 if (viewRootImpl != null) { in updateSamplingListener()
163 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()
1853 ViewRootImpl viewRootImpl = view.getViewRootImpl(); in scheduleCheckFocusLocked() local
1854 if (viewRootImpl != null) { in scheduleCheckFocusLocked()
1855 viewRootImpl.dispatchCheckFocus(); in scheduleCheckFocusLocked()
2526 ViewRootImpl viewRootImpl = targetView != null ? targetView.getViewRootImpl() : null; in dispatchKeyEventFromInputMethod() local
2527 if (viewRootImpl == null) { in dispatchKeyEventFromInputMethod()
2529 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.java529 final ViewRootImpl viewRootImpl = mView.getViewRootImpl(); in obtainSurfaces() local
530 final Surface mainWindowSurface = viewRootImpl.mSurface; in obtainSurfaces()
532 final Rect surfaceInsets = viewRootImpl.mWindowAttributes.surfaceInsets; in obtainSurfaces()
534 viewRootImpl.getWidth() + surfaceInsets.left + surfaceInsets.right; in obtainSurfaces()
536 viewRootImpl.getHeight() + surfaceInsets.top + surfaceInsets.bottom; in obtainSurfaces()
538 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.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.java7060 ViewRootImpl viewRootImpl = getViewRootImpl(); in onEditorAction() local
7061 if (viewRootImpl != null) { in onEditorAction()
7063 viewRootImpl.dispatchKeyFromIme( in onEditorAction()
7069 viewRootImpl.dispatchKeyFromIme( in onEditorAction()
/frameworks/base/core/java/android/view/
DViewRootImpl.java8884 AccessibilityInteractionConnection(ViewRootImpl viewRootImpl) { in AccessibilityInteractionConnection() argument
8885 mViewRootImpl = new WeakReference<ViewRootImpl>(viewRootImpl); in AccessibilityInteractionConnection()
8893 ViewRootImpl viewRootImpl = mViewRootImpl.get(); in findAccessibilityNodeInfoByAccessibilityId() local
8894 if (viewRootImpl != null && viewRootImpl.mView != null) { in findAccessibilityNodeInfoByAccessibilityId()
8895 viewRootImpl.getAccessibilityInteractionController() in findAccessibilityNodeInfoByAccessibilityId()
8914 ViewRootImpl viewRootImpl = mViewRootImpl.get(); in performAccessibilityAction() local
8915 if (viewRootImpl != null && viewRootImpl.mView != null) { in performAccessibilityAction()
8916 viewRootImpl.getAccessibilityInteractionController() in performAccessibilityAction()
8934 ViewRootImpl viewRootImpl = mViewRootImpl.get(); in findAccessibilityNodeInfosByViewId() local
8935 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()
DView.java8467 ViewRootImpl viewRootImpl = (ViewRootImpl) parent;
8468 rect.offset(0, -viewRootImpl.mCurScrollY);
12743 ViewRootImpl viewRootImpl = getViewRootImpl();
12744 if (viewRootImpl != null) {
12745 viewRootImpl.setAccessibilityFocus(this, null);
12770 final ViewRootImpl viewRootImpl = getViewRootImpl();
12771 if (viewRootImpl != null) {
12772 final View focusHost = viewRootImpl.getAccessibilityFocusedHost();
12774 viewRootImpl.setAccessibilityFocus(null, null);
15693 ViewRootImpl viewRootImpl = getViewRootImpl(); in setFlags() local
[all …]
/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()