Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/view/
DSurfaceView.java121 final Rect mScreenRect = new Rect(); field in SurfaceView
592 mScreenRect.left = mWindowSpaceLeft; in updateSurface()
593 mScreenRect.top = mWindowSpaceTop; in updateSurface()
594 mScreenRect.right = mWindowSpaceLeft + getWidth(); in updateSurface()
595 mScreenRect.bottom = mWindowSpaceTop + getHeight(); in updateSurface()
597 mTranslator.translateRectInAppWindowToScreen(mScreenRect); in updateSurface()
601 mScreenRect.offset(surfaceInsets.left, surfaceInsets.top); in updateSurface()
659 mSurfaceControl.setPosition(mScreenRect.left, mScreenRect.top); in updateSurface()
660 mSurfaceControl.setMatrix(mScreenRect.width() / (float) mSurfaceWidth, in updateSurface()
662 mScreenRect.height() / (float) mSurfaceHeight); in updateSurface()
[all …]
/frameworks/base/core/java/com/android/internal/view/
DFloatingActionMode.java58 @NonNull private final Rect mScreenRect; field in FloatingActionMode
109 mScreenRect = new Rect(); in FloatingActionMode()
216 mScreenRect.set(0, 0, mDisplaySize.x, mDisplaySize.y); in isContentRectWithinBounds()
218 return intersectsClosed(mContentRectOnScreen, mScreenRect) in isContentRectWithinBounds()