Home
last modified time | relevance | path

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

123

/frameworks/base/tests/utils/testutils/java/android/view/test/
DInsetsModeSession.java19 import android.view.ViewRootImpl;
29 mOldMode = ViewRootImpl.sNewInsetsMode; in InsetsModeSession()
30 ViewRootImpl.sNewInsetsMode = flag; in InsetsModeSession()
35 ViewRootImpl.sNewInsetsMode = mOldMode; in close()
/frameworks/base/core/tests/coretests/src/android/view/
DViewRootImplTest.java52 new ViewRootImpl(mContext, mContext.getDisplay())); in setUp()
88 private final ViewRootImpl mViewRootImpl;
90 ViewRootImplAccessor(ViewRootImpl viewRootImpl) { in ViewRootImplAccessor()
94 public ViewRootImpl get() { in get()
100 getField(mViewRootImpl, ViewRootImpl.class.getDeclaredField("mAttachInfo"))); in getAttachInfo()
105 ViewRootImpl.class.getDeclaredMethod("getWindowInsets", boolean.class), in getWindowInsets()
116 mClass = ViewRootImpl.class.getClassLoader().loadClass( in AttachInfoAccessor()
DInsetsSourceConsumerTest.java74 final ViewRootImpl viewRootImpl = new ViewRootImpl(context, context.getDisplay()); in setup()
DViewInvalidateTest.java110 private static ViewRootImpl getViewRoot(View view) { in getViewRoot()
113 if (parent instanceof ViewRootImpl) { in getViewRoot()
114 return (ViewRootImpl) parent; in getViewRoot()
DImeInsetsSourceConsumerTest.java64 ViewRootImpl viewRootImpl = new ViewRootImpl(mContext, mContext.getDisplay()); in setup()
DInsetsStateTest.java67 new InsetsModeSession(ViewRootImpl.NEW_INSETS_MODE_FULL)) { in testCalculateInsets()
87 new InsetsModeSession(ViewRootImpl.NEW_INSETS_MODE_FULL)) { in testCalculateInsets_imeAndNav()
106 new InsetsModeSession(ViewRootImpl.NEW_INSETS_MODE_FULL)) { in testCalculateInsets_navRightStatusTop()
/frameworks/base/core/java/android/view/
DWindowManagerGlobal.java151 private final ArrayList<ViewRootImpl> mRoots = new ArrayList<ViewRootImpl>();
241 public ArrayList<ViewRootImpl> getRootViews(IBinder token) { in getRootViews()
242 ArrayList<ViewRootImpl> views = new ArrayList<>(); in getRootViews()
301 final ViewRootImpl root = mRoots.get(i); in getRootView()
335 ViewRootImpl root; in addView()
377 root = new ViewRootImpl(view.getContext(), display); in addView()
412 ViewRootImpl root = mRoots.get(index); in updateViewLayout()
464 ViewRootImpl root = mRoots.get(i); in closeAllExceptView()
481 ViewRootImpl root = mRoots.get(index); in removeViewLocked()
499 void doRemoveView(ViewRootImpl root) { in doRemoveView()
[all …]
DInsetsState.java19 import static android.view.ViewRootImpl.NEW_INSETS_MODE_FULL;
20 import static android.view.ViewRootImpl.NEW_INSETS_MODE_NONE;
153 if (ViewRootImpl.sNewInsetsMode != NEW_INSETS_MODE_FULL in calculateInsets()
164 boolean skipSystemBars = ViewRootImpl.sNewInsetsMode != NEW_INSETS_MODE_FULL in calculateInsets()
168 boolean skipLegacyTypes = ViewRootImpl.sNewInsetsMode == NEW_INSETS_MODE_NONE in calculateInsets()
DSurfaceView.java99 public class SurfaceView extends View implements ViewRootImpl.WindowStoppedCallback {
345 final ViewRootImpl viewRoot = getViewRootImpl(); in updateSurfaceAlpha()
445 ViewRootImpl viewRoot = getViewRootImpl(); in notifyDrawFinished()
454 ViewRootImpl viewRoot = getViewRootImpl(); in onDetachedFromWindow()
683 ViewRootImpl viewRoot = getViewRootImpl(); in updateSurface()
1019 final ViewRootImpl viewRoot = getViewRootImpl(); in applySurfaceTransforms()
1036 final ViewRootImpl viewRoot = getViewRootImpl(); in setParentSpaceRectangle()
1101 final ViewRootImpl viewRoot = getViewRootImpl();
DAccessibilityIterators.java73 implements ViewRootImpl.ConfigChangedCallback {
90 ViewRootImpl.addConfigCallback(this); in CharacterTextSegmentIterator()
DInsetsController.java100 private final ViewRootImpl mViewRoot;
119 public InsetsController(ViewRootImpl viewRoot) { in InsetsController()
449 ViewRootImpl getViewRoot() { in getViewRoot()
DSyncRtSurfaceTransactionApplier.java34 private final ViewRootImpl mTargetViewRootImpl;
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DInsetsStateControllerTest.java22 import static android.view.ViewRootImpl.NEW_INSETS_MODE_FULL;
32 import android.view.ViewRootImpl;
49 sPreviousNewInsetsMode = ViewRootImpl.sNewInsetsMode; in setUpOnce()
52 ViewRootImpl.sNewInsetsMode = NEW_INSETS_MODE_FULL; in setUpOnce()
57 ViewRootImpl.sNewInsetsMode = sPreviousNewInsetsMode; in tearDownOnce()
DWindowStateTests.java24 import static android.view.ViewRootImpl.NEW_INSETS_MODE_FULL;
67 import android.view.ViewRootImpl;
96 sPreviousNewInsetsMode = ViewRootImpl.sNewInsetsMode; in setUpOnce()
99 ViewRootImpl.sNewInsetsMode = NEW_INSETS_MODE_FULL; in setUpOnce()
104 ViewRootImpl.sNewInsetsMode = sPreviousNewInsetsMode; in tearDownOnce()
/frameworks/layoutlib/bridge/src/android/view/
DAttachInfo_Accessor.java34 ViewRootImpl root = new ViewRootImpl(context, display); in setAttachInfo()
55 public static ViewRootImpl getRootView(View view) { in getRootView()
DViewRootImpl_Accessor.java23 public static void dispatchApplyInsets(ViewRootImpl viewRoot, View host) { in dispatchApplyInsets()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DWindowCallbacksCompat.java22 import android.view.ViewRootImpl;
94 ViewRootImpl root = mView.getViewRootImpl(); in attach()
104 ViewRootImpl root = mView.getViewRootImpl(); in detach()
DSyncRtSurfaceTransactionApplierCompat.java28 import android.view.ViewRootImpl;
43 private final ViewRootImpl mTargetViewRootImpl;
/frameworks/base/core/java/com/android/internal/util/
DScreenShapeHelper.java6 import android.view.ViewRootImpl;
18 return SystemProperties.getInt(ViewRootImpl.PROPERTY_EMULATOR_WIN_OUTSET_BOTTOM_PX, 0); in getWindowOutsetBottomPx()
/frameworks/base/services/core/java/com/android/server/wm/
DInsetsSourceProvider.java22 import static android.view.ViewRootImpl.NEW_INSETS_MODE_FULL;
23 import static android.view.ViewRootImpl.NEW_INSETS_MODE_IME;
24 import static android.view.ViewRootImpl.NEW_INSETS_MODE_NONE;
25 import static android.view.ViewRootImpl.sNewInsetsMode;
DInsetsStateController.java22 import static android.view.ViewRootImpl.NEW_INSETS_MODE_FULL;
23 import static android.view.ViewRootImpl.NEW_INSETS_MODE_NONE;
24 import static android.view.ViewRootImpl.sNewInsetsMode;
34 import android.view.ViewRootImpl;
/frameworks/base/core/java/android/webkit/
DWebViewDelegate.java36 import android.view.ViewRootImpl;
101 ViewRootImpl.invokeFunctor(nativeDrawGLFunctor, waitForCompletion); in invokeDrawGlFunctor()
172 ViewRootImpl viewRootImpl = containerView.getViewRootImpl(); in detachDrawGlFunctor()
DWebViewClient.java26 import android.view.ViewRootImpl;
527 ViewRootImpl root = view.getViewRootImpl(); in onUnhandledInputEventInternal()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DRegionSamplingHelper.java30 import android.view.ViewRootImpl;
160 ViewRootImpl viewRootImpl = mSampledView.getViewRootImpl(); in updateSamplingListener()
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/utilities/
DUtilities.java43 import android.view.ViewRootImpl;
286 ViewRootImpl viewRoot = v.getViewRootImpl(); in getSurface()

123