Home
last modified time | relevance | path

Searched refs:mRequestedWidth (Results 1 – 10 of 10) sorted by relevance

/aosp14/frameworks/base/core/java/com/android/internal/view/
H A DBaseSurfaceHolder.java42 int mRequestedWidth = -1; field in BaseSurfaceHolder
59 return mRequestedWidth; in getRequestedWidth()
116 if (mRequestedWidth != width || mRequestedHeight != height) { in setFixedSize()
117 mRequestedWidth = width; in setFixedSize()
124 if (mRequestedWidth != -1 || mRequestedHeight != -1) { in setSizeFromLayout()
125 mRequestedWidth = mRequestedHeight = -1; in setSizeFromLayout()
/aosp14/frameworks/base/core/tests/coretests/src/android/view/
H A DWindowLayoutTests.java79 private int mRequestedWidth; field in WindowLayoutTests
96 mRequestedWidth = DISPLAY_WIDTH; in setUp()
105 mWindowingMode, mRequestedWidth, mRequestedHeight, mRequestedVisibleTypes, in computeFrames()
151 mRequestedWidth = UNSPECIFIED_LENGTH; in unmeasured()
164 mRequestedWidth = UNSPECIFIED_LENGTH; in unmeasuredWithSizeSpecifiedInLayoutParams()
180 mRequestedWidth = UNSPECIFIED_LENGTH; in nonFullscreenWindowBounds()
196 mRequestedWidth = UNSPECIFIED_LENGTH; in attachedFrame()
/aosp14/frameworks/base/core/java/android/view/
H A DSurfaceView.java232 int mRequestedWidth = -1; field in SurfaceView
490 int width = mRequestedWidth >= 0 in onMeasure()
491 ? resolveSizeAndState(mRequestedWidth, widthMeasureSpec, 0) in onMeasure()
1018 int myWidth = mRequestedWidth; in updateSurface()
1558 return (mRequestedWidth != -1 || mRequestedHeight != -1); in isFixedSize()
1623 if (mRequestedWidth != width || mRequestedHeight != height) {
1626 System.identityHashCode(this), mRequestedWidth, mRequestedHeight, width,
1629 mRequestedWidth = width;
1637 if (mRequestedWidth != -1 || mRequestedHeight != -1) {
1640 System.identityHashCode(this), mRequestedWidth, mRequestedHeight));
[all …]
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DLetterboxUiControllerTest.java481 mainWindow.mRequestedWidth = opaqueBounds.width() - 1; in testGetCropBoundsIfNeeded_handleCropForTransparentActivityBasedOnOpaqueBounds()
486 mainWindow.mRequestedWidth = opaqueBounds.width(); in testGetCropBoundsIfNeeded_handleCropForTransparentActivityBasedOnOpaqueBounds()
H A DSizeCompatTests.java3682 doReturn(new Rect(0, 0, statusBar.mRequestedWidth, statusBar.mRequestedHeight))
/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DWindowState.java402 int mRequestedWidth; field in WindowState
1175 mRequestedWidth = UNSPECIFIED_LENGTH; in WindowState()
2828 if ((mRequestedWidth != requestedWidth || mRequestedHeight != requestedHeight)) { in setRequestedSize()
2830 mRequestedWidth = requestedWidth; in setRequestedSize()
4040 proto.write(REQUESTED_WIDTH, mRequestedWidth); in dumpDebug()
4099 pw.println(prefix + "Requested w=" + mRequestedWidth in dump()
4102 if (mRequestedWidth != mLastRequestedWidth || mRequestedHeight != mLastRequestedHeight) { in dump()
H A DDisplayPolicy.java1368 final int requestedWidth = trustedSize ? win.mRequestedWidth : UNSPECIFIED_LENGTH;
1375 win.setFrames(sTmpClientFrames, win.mRequestedWidth, win.mRequestedHeight);
H A DLetterboxUiController.java1497 if (hasInheritedLetterboxBehavior() && (cropBounds.width() != mainWindow.mRequestedWidth in getCropBoundsIfNeeded()
H A DWindowManagerService.java2297 win.setWindowScale(win.mRequestedWidth, win.mRequestedHeight); in relayoutWindow()
/aosp14/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt85484 Lcom/android/internal/view/BaseSurfaceHolder;->mRequestedWidth:I