Home
last modified time | relevance | path

Searched refs:mSurfaceSize (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DContentRecorderTests.java88 private Point mSurfaceSize; field in ContentRecorderTests
116 mSurfaceSize = new Point(width, height); in createDisplayInfo()
117 mRecordedSurface = surfaceControlMirrors(mSurfaceSize); in createDisplayInfo()
268 resizeDisplay(mDisplayContent, newWidth, mSurfaceSize.y); in testOnConfigurationChanged_resizesVirtualDisplay()
269 resizeDisplay(mVirtualDisplayContent, newWidth, mSurfaceSize.y); in testOnConfigurationChanged_resizesVirtualDisplay()
307 final Point newSurfaceSize = new Point(Math.round(mSurfaceSize.x / 2f), mSurfaceSize.y * 2); in testOnConfigurationChanged_resizeSurface()
652 Rect displayAreaBounds = new Rect(0, 0, Math.round(mSurfaceSize.x * xScale), in testUpdateMirroredSurface_capturedAreaResized()
653 Math.round(mSurfaceSize.y * yScale)); in testUpdateMirroredSurface_capturedAreaResized()
654 mContentRecorder.updateMirroredSurface(mTransaction, displayAreaBounds, mSurfaceSize); in testUpdateMirroredSurface_capturedAreaResized()
662 int xInset = (mSurfaceSize.x - scaledWidth) / 2; in testUpdateMirroredSurface_capturedAreaResized()
[all …]
/frameworks/base/tests/SurfaceViewSyncTest/src/com/android/test/
DSurfaceViewSyncActivity.java135 private final Point mSurfaceSize = new Point(); field in SurfaceViewSyncActivity.RenderingThread
153 mSurfaceSize.set(width, height); in renderFrame()
179 c.drawText("RENDERED CONTENT", 0, mSurfaceSize.y / 2, mPaint);
/frameworks/base/core/java/android/service/wallpaper/
DWallpaperService.java313 private final Point mSurfaceSize = new Point(); field in WallpaperService.Engine
1305 mWinFrames.frame, false /* dragResizing */, mSurfaceSize); in updateSurface()
1330 Surface blastSurface = getOrCreateBLASTSurface(mSurfaceSize.x, in updateSurface()
1331 mSurfaceSize.y, mFormat); in updateSurface()
1339 if (!mLastSurfaceSize.equals(mSurfaceSize)) { in updateSurface()
1340 mLastSurfaceSize.set(mSurfaceSize.x, mSurfaceSize.y); in updateSurface()
1914 boolean widthIsLarger = mSurfaceSize.x > mSurfaceSize.y; in updatePage()
1915 int smaller = widthIsLarger ? mSurfaceSize.x in updatePage()
1916 : mSurfaceSize.y; in updatePage()
1918 int width = (int) (ratio * mSurfaceSize.x); in updatePage()
[all …]
/frameworks/base/core/java/android/view/
DViewRootImpl.java700 private final Point mSurfaceSize = new Point(); field in ViewRootImpl
2683 mSurfaceSize.x, mSurfaceSize.y, in updateBlastSurfaceIfNeeded()
2694 mSurfaceSize.x, mSurfaceSize.y, mWindowAttributes.format); in updateBlastSurfaceIfNeeded()
2710 mTempRect.set(0, 0, mSurfaceSize.x, mSurfaceSize.y); in setBoundsLayerCrop()
3742 if (!mLastSurfaceSize.equals(mSurfaceSize)) { in performTraversals()
3744 mLastSurfaceSize.set(mSurfaceSize.x, mSurfaceSize.y); in performTraversals()
9325 requestedHeight, mWinFrameInScreen, mPendingDragResizing, mSurfaceSize); in relayoutWindow()
9327 final boolean sizeChanged = !mLastSurfaceSize.equals(mSurfaceSize); in relayoutWindow()
9340 if (mPendingDragResizing && !mSurfaceSize.equals( in relayoutWindow()
9351 mTransaction.setWindowCrop(mSurfaceControl, mSurfaceSize.x, mSurfaceSize.y).apply(); in relayoutWindow()