Home
last modified time | relevance | path

Searched refs:mScreenRect (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/view/
DSurfaceView.java128 final Rect mScreenRect = new Rect(); field in SurfaceView
936 final boolean layoutSizeChanged = getWidth() != mScreenRect.width() in updateSurface()
937 || getHeight() != mScreenRect.height(); in updateSurface()
963 mScreenRect.left = mWindowSpaceLeft; in updateSurface()
964 mScreenRect.top = mWindowSpaceTop; in updateSurface()
965 mScreenRect.right = mWindowSpaceLeft + getWidth(); in updateSurface()
966 mScreenRect.bottom = mWindowSpaceTop + getHeight(); in updateSurface()
968 translator.translateRectInAppWindowToScreen(mScreenRect); in updateSurface()
972 mScreenRect.offset(surfaceInsets.left, surfaceInsets.top); in updateSurface()
1065 mScreenRect.left, /*positionLeft*/ in updateSurface()
[all …]
/frameworks/base/core/java/com/android/internal/view/
DFloatingActionMode.java57 @NonNull private final Rect mScreenRect; field in FloatingActionMode
108 mScreenRect = new Rect(); in FloatingActionMode()
214 mScreenRect.set(0, 0, mDisplaySize.x, mDisplaySize.y); in isContentRectWithinBounds()
216 return intersectsClosed(mContentRectOnScreen, mScreenRect) in isContentRectWithinBounds()