/frameworks/native/libs/gui/tests/ |
D | DisplayInfo_test.cpp | 33 info.logicalHeight = 78; in TEST() 44 ASSERT_EQ(info.logicalHeight, info2.logicalHeight); in TEST()
|
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/ |
D | LogicalDisplayTest.java | 125 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/ |
D | DisplayInfo.cpp | 44 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/ |
D | DisplayPolicyTests.java | 375 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 …]
|
D | DisplayPolicyInsetsTests.java | 167 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()
|
D | PossibleDisplayInfoMapperTests.java | 162 outDisplayInfo.logicalHeight = logicalBounds.height(); in initializeDisplayInfo() 170 assertThat(displayInfo.logicalHeight).isEqualTo(expectedDisplayInfo.logicalHeight); in assertPossibleDisplayInfoEntries()
|
D | TestDisplayContent.java | 108 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/ |
D | HardwareBufferRenderParams.h | 39 HardwareBufferRenderParams(int32_t logicalWidth, int32_t logicalHeight, in HardwareBufferRenderParams() argument 43 , mLogicalHeight(logicalHeight) in HardwareBufferRenderParams()
|
/frameworks/base/core/java/android/window/ |
D | WindowInfosListener.java | 97 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/ |
D | DisplayInfoOverrides.java | 41 out.logicalHeight = source.logicalHeight;
|
D | CoordinateTransforms.java | 107 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/ |
D | DisplayInfo.java | 158 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/ |
D | ExtensionHelperTest.java | 87 displayInfo.logicalHeight = MOCK_DISPLAY_HEIGHT; in getMockDisplayInfo() 90 displayInfo.logicalHeight = MOCK_DISPLAY_WIDTH; in getMockDisplayInfo()
|
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/util/ |
D | ExtensionHelper.java | 74 isSideRotation ? displayInfo.logicalHeight : displayInfo.logicalWidth; in rotateRectToDisplayRotation() 76 isSideRotation ? displayInfo.logicalWidth : displayInfo.logicalHeight; in rotateRectToDisplayRotation()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | SeamlessRotator.java | 61 final int pH = flipped ? info.logicalWidth : info.logicalHeight; in SeamlessRotator() 62 final int pW = flipped ? info.logicalHeight : info.logicalWidth; in SeamlessRotator()
|
D | ScreenRotationAnimation.java | 161 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/ |
D | TransactionProtoParserTest.cpp | 111 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/ |
D | DisplayResolutionTracker.java | 124 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/ |
D | DisplayInfo.h | 36 int32_t logicalHeight = 0; member
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/navigationbar/ |
D | NavigationBarButtonTest.java | 99 displayInfo.logicalHeight, PixelFormat.RGBA_8888, 2); in createVirtualDisplay() 104 displayInfo.logicalHeight, displayInfo.logicalDensityDpi, mReader.getSurface(), in createVirtualDisplay()
|
/frameworks/native/services/surfaceflinger/FrontEnd/ |
D | DisplayInfo.h | 43 << " lh=" << info.logicalHeight << " transform={" << transform.dsdx() << " ," in getDebugString()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/data/repository/ |
D | DisplayStateRepositoryTest.kt | 126 info.logicalHeight = 200 in updatesCurrentSize_whenDisplayStateChanges() 136 info.logicalHeight = 200 in updatesCurrentSize_whenDisplayStateChanges()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | OverlayDisplayWindow.java | 246 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/ |
D | SystemBarUtils.java | 72 cutout.getRotated(info.logicalWidth, info.logicalHeight, rotation, targetRot); in getStatusBarHeightForRotation()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/jank/ |
D | DisplayResolutionTrackerTest.java | 83 info.logicalHeight = height; in makeDisplayInfo()
|