Home
last modified time | relevance | path

Searched refs:logicalHeight (Results 1 – 25 of 79) sorted by relevance

1234

/frameworks/native/libs/gui/tests/
DDisplayInfo_test.cpp33 info.logicalHeight = 78; in TEST()
44 ASSERT_EQ(info.logicalHeight, info2.logicalHeight); in TEST()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DLogicalDisplayTest.java125 assertEquals(DISPLAY_HEIGHT, originalDisplayInfo.logicalHeight); in testLetterbox()
146 displayInfo.logicalHeight = DISPLAY_HEIGHT / 2; in testLetterbox()
171 assertEquals(DISPLAY_HEIGHT, originalDisplayInfo.logicalHeight); in testNoLetterbox_noAnisotropyCorrectionForInternalDisplay()
200 assertEquals(DISPLAY_HEIGHT, originalDisplayInfo.logicalHeight); in testNoLetterbox_anisotropyCorrection()
221 displayInfo.logicalHeight = DISPLAY_HEIGHT / 2; in testLetterbox_anisotropyCorrectionYDpi()
242 displayInfo.logicalHeight = DISPLAY_HEIGHT; in testPillarbox()
250 assertEquals(DISPLAY_HEIGHT, updatedDisplayInfo.logicalHeight); in testPillarbox()
279 displayInfo.logicalHeight = DISPLAY_HEIGHT; in testPillarbox_anisotropyCorrection()
316 assertEquals(DISPLAY_HEIGHT * 2, originalDisplayInfo.logicalHeight); in testNoPillarbox_anisotropyCorrectionYDpi()
343 displayInfo.logicalHeight = DISPLAY_HEIGHT; in testGetDisplayPosition()
[all …]
/frameworks/native/libs/gui/
DDisplayInfo.cpp44 SAFE_PARCEL(parcel->readInt32, &logicalHeight); in readFromParcel()
66 SAFE_PARCEL(parcel->writeInt32, logicalHeight); in writeToParcel()
84 logicalHeight); in dump()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayPolicyTests.java375 final int h = info.logicalHeight; in testSwitchDecorInsets()
378 info.logicalWidth, info.logicalHeight).mConfigFrame); in testSwitchDecorInsets()
393 info.logicalWidth, info.logicalHeight).mConfigFrame); in testSwitchDecorInsets()
404 displayPolicy.getDecorInsetsInfo(info.rotation, info.logicalWidth, info.logicalHeight) in testSwitchDecorInsets()
411 info.logicalWidth, info.logicalHeight).mConfigFrame); in testSwitchDecorInsets()
427 di.logicalWidth, di.logicalHeight).mConfigInsets.bottom); in testUpdateDisplayConfigurationByDecor()
437 di.logicalWidth, di.logicalHeight).mConfigInsets.top); in testUpdateDisplayConfigurationByDecor()
442 di.logicalWidth, di.logicalHeight).mConfigInsets.top); in testUpdateDisplayConfigurationByDecor()
446 displayPolicy.getDecorInsetsInfo(Surface.ROTATION_90, di.logicalHeight, di.logicalWidth); in testUpdateDisplayConfigurationByDecor()
475 di.logicalHeight, di.logicalWidth).mConfigInsets.bottom); in testUpdateDisplayConfigurationByDecor()
[all …]
DDisplayPolicyInsetsTests.java167 di.rotation, di.logicalWidth, di.logicalHeight); in verifyConsistency()
179 equalTo(di.logicalHeight - insets.top - insets.bottom)); in verifyConsistency()
184 di.rotation, di.logicalWidth, di.logicalHeight).mConfigInsets; in getStableInsets()
189 di.rotation, di.logicalWidth, di.logicalHeight).mNonDecorInsets; in getNonDecorInsets()
DPossibleDisplayInfoMapperTests.java162 outDisplayInfo.logicalHeight = logicalBounds.height(); in initializeDisplayInfo()
170 assertThat(displayInfo.logicalHeight).isEqualTo(expectedDisplayInfo.logicalHeight); in assertPossibleDisplayInfoEntries()
DTestDisplayContent.java108 mInfo.logicalHeight = height; in Builder()
156 ? new Rect(0, mInfo.logicalHeight - bottom, cutoutFillerSize, in setCutout()
157 mInfo.logicalHeight) : null; in setCutout()
/frameworks/base/libs/hwui/renderthread/
DHardwareBufferRenderParams.h39 HardwareBufferRenderParams(int32_t logicalWidth, int32_t logicalHeight, in HardwareBufferRenderParams() argument
43 , mLogicalHeight(logicalHeight) in HardwareBufferRenderParams()
/frameworks/base/core/java/android/window/
DWindowInfosListener.java97 private DisplayInfo(int displayId, int logicalWidth, int logicalHeight, Matrix transform) { in DisplayInfo() argument
99 mLogicalSize = new Size(logicalWidth, logicalHeight); in DisplayInfo()
/frameworks/base/services/core/java/com/android/server/wm/utils/
DDisplayInfoOverrides.java41 out.logicalHeight = source.logicalHeight;
DCoordinateTransforms.java107 final int h = flipped ? info.logicalWidth : info.logicalHeight; in transformToRotation()
108 final int w = flipped ? info.logicalHeight : info.logicalWidth; in transformToRotation()
/frameworks/base/core/java/android/view/
DDisplayInfo.java158 public int logicalHeight; field in DisplayInfo
430 && logicalHeight == other.logicalHeight in equals()
490 logicalHeight = other.logicalHeight; in copyFrom()
545 logicalHeight = source.readInt(); in readFromParcel()
617 dest.writeInt(logicalHeight); in writeToParcel()
767 getMetricsWithSize(outMetrics, compatInfo, configuration, logicalWidth, logicalHeight); in getLogicalMetrics()
784 logicalWidth : logicalHeight; in getNaturalWidth()
789 logicalHeight : logicalWidth; in getNaturalHeight()
849 sb.append(logicalHeight); in toString()
959 protoOutputStream.write(LOGICAL_HEIGHT, logicalHeight); in dumpDebug()
/frameworks/base/libs/WindowManager/Jetpack/tests/unittest/src/androidx/window/util/
DExtensionHelperTest.java87 displayInfo.logicalHeight = MOCK_DISPLAY_HEIGHT; in getMockDisplayInfo()
90 displayInfo.logicalHeight = MOCK_DISPLAY_WIDTH; in getMockDisplayInfo()
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/util/
DExtensionHelper.java74 isSideRotation ? displayInfo.logicalHeight : displayInfo.logicalWidth; in rotateRectToDisplayRotation()
76 isSideRotation ? displayInfo.logicalWidth : displayInfo.logicalHeight; in rotateRectToDisplayRotation()
/frameworks/base/services/core/java/com/android/server/wm/
DSeamlessRotator.java61 final int pH = flipped ? info.logicalWidth : info.logicalHeight; in SeamlessRotator()
62 final int pW = flipped ? info.logicalHeight : info.logicalWidth; in SeamlessRotator()
DScreenRotationAnimation.java161 final int logicalHeight = displayInfo.logicalHeight; in ScreenRotationAnimation() local
163 logicalWidth > mOriginalWidth == logicalHeight > mOriginalHeight in ScreenRotationAnimation()
164 && (logicalWidth != mOriginalWidth || logicalHeight != mOriginalHeight); in ScreenRotationAnimation()
303 new Rect(0, 0, logicalWidth, logicalHeight), Surface.ROTATION_0); in ScreenRotationAnimation()
/frameworks/native/services/surfaceflinger/tests/unittests/
DTransactionProtoParserTest.cpp111 d1.info.logicalHeight = 44; in TEST()
132 EXPECT_EQ(d1.info.logicalHeight, d2.info.logicalHeight); in TEST()
/frameworks/base/core/java/com/android/internal/jank/
DDisplayResolutionTracker.java124 int smaller = Math.min(info.logicalWidth, info.logicalHeight); in getResolution()
125 int larger = Math.max(info.logicalWidth, info.logicalHeight); in getResolution()
/frameworks/native/libs/gui/include/gui/
DDisplayInfo.h36 int32_t logicalHeight = 0; member
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/navigationbar/
DNavigationBarButtonTest.java99 displayInfo.logicalHeight, PixelFormat.RGBA_8888, 2); in createVirtualDisplay()
104 displayInfo.logicalHeight, displayInfo.logicalDensityDpi, mReader.getSurface(), in createVirtualDisplay()
/frameworks/native/services/surfaceflinger/FrontEnd/
DDisplayInfo.h43 << " lh=" << info.logicalHeight << " transform={" << transform.dsdx() << " ," in getDebugString()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/data/repository/
DDisplayStateRepositoryTest.kt126 info.logicalHeight = 200 in updatesCurrentSize_whenDisplayStateChanges()
136 info.logicalHeight = 200 in updatesCurrentSize_whenDisplayStateChanges()
/frameworks/base/services/core/java/com/android/server/display/
DOverlayDisplayWindow.java246 0 : mDefaultDisplayInfo.logicalHeight; in createWindow()
253 scale = Math.min(scale, (float)mDefaultDisplayInfo.logicalHeight / mHeight); in updateWindowParams()
262 y = Math.max(0, Math.min(y, mDefaultDisplayInfo.logicalHeight - height)); in updateWindowParams()
/frameworks/base/core/java/com/android/internal/policy/
DSystemBarUtils.java72 cutout.getRotated(info.logicalWidth, info.logicalHeight, rotation, targetRot); in getStatusBarHeightForRotation()
/frameworks/base/core/tests/coretests/src/com/android/internal/jank/
DDisplayResolutionTrackerTest.java83 info.logicalHeight = height; in makeDisplayInfo()

1234