/frameworks/base/core/java/com/android/internal/policy/ |
D | DockedDividerUtils.java | 36 int displayWidth, int displayHeight, int dividerSize) { in calculateBoundsForPosition() argument 37 outRect.set(0, 0, displayWidth, displayHeight); in calculateBoundsForPosition() 101 int displayWidth, int displayHeight, int dividerSize) { in calculateMiddlePosition() argument 104 ? displayHeight - insets.bottom in calculateMiddlePosition() 137 public static int getDockSide(int displayWidth, int displayHeight) { in getDockSide() argument 138 return displayWidth > displayHeight ? DOCKED_LEFT : DOCKED_TOP; in getDockSide()
|
D | DividerSnapAlgorithm.java | 104 public DividerSnapAlgorithm(Resources res, int displayWidth, int displayHeight, int dividerSize, in DividerSnapAlgorithm() argument 106 this(res, displayWidth, displayHeight, dividerSize, isHorizontalDivision, insets, in DividerSnapAlgorithm() 110 public DividerSnapAlgorithm(Resources res, int displayWidth, int displayHeight, int dividerSize, in DividerSnapAlgorithm() argument 112 this(res, displayWidth, displayHeight, dividerSize, isHorizontalDivision, insets, in DividerSnapAlgorithm() 116 public DividerSnapAlgorithm(Resources res, int displayWidth, int displayHeight, int dividerSize, in DividerSnapAlgorithm() argument 125 mDisplayHeight = displayHeight; in DividerSnapAlgorithm()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/ |
D | DisplayLayout.java | 275 int displayWidth, int displayHeight, boolean hasStatusBar) { in convertNonDecorInsetsToStableInsets() argument 279 int statusBarHeight = getStatusBarHeight(displayWidth > displayHeight, res); in convertNonDecorInsetsToStableInsets() 294 int displayHeight, DisplayCutout displayCutout, int uiMode, Rect outInsets, in computeNonDecorInsets() argument 300 int position = navigationBarPosition(res, displayWidth, displayHeight, displayRotation); in computeNonDecorInsets() 302 getNavigationBarSize(res, position, displayWidth > displayHeight, uiMode); in computeNonDecorInsets() 330 int displayHeight, DisplayCutout displayCutout, int uiMode, Rect outInsets, in computeStableInsets() argument 335 computeNonDecorInsets(res, displayRotation, displayWidth, displayHeight, displayCutout, in computeStableInsets() 337 convertNonDecorInsetsToStableInsets(res, outInsets, displayWidth, displayHeight, in computeStableInsets() 351 DisplayCutout cutout, int rotation, int displayWidth, int displayHeight) { in calculateDisplayCutoutForRotation() argument 356 return computeSafeInsets(cutout, displayWidth, displayHeight); in calculateDisplayCutoutForRotation() [all …]
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/ |
D | RenderSurfaceCreationArgs.h | 37 int32_t displayHeight = -1; member 63 RenderSurfaceCreationArgsBuilder& setDisplayHeight(int32_t displayHeight) { in setDisplayHeight() argument 64 mArgs.displayHeight = displayHeight; in setDisplayHeight()
|
/frameworks/base/core/java/android/view/ |
D | RoundedCorners.java | 97 Resources res, int displayWidth, int displayHeight) { in fromResources() argument 98 return fromRadii(loadRoundedCornerRadii(res), displayWidth, displayHeight); in fromResources() 106 int displayHeight) { in fromRadii() argument 113 && sCachedDisplayHeight == displayHeight) { in fromRadii() 126 displayHeight); in fromRadii() 132 sCachedDisplayHeight = displayHeight; in fromRadii() 286 int radius, int displayWidth, int displayHeight) { in createRoundedCorner() argument 305 radius > 0 ? displayHeight - radius : 0); in createRoundedCorner() 311 radius > 0 ? displayHeight - radius : 0); in createRoundedCorner()
|
D | DisplayCutout.java | 259 public CutoutPathParserInfo(int displayWidth, int displayHeight, float density, in CutoutPathParserInfo() argument 262 mDisplayHeight = displayHeight; in CutoutPathParserInfo() 883 int displayHeight) { in fromResourcesRectApproximation() argument 886 displayWidth, displayHeight, DENSITY_DEVICE_STABLE / (float) DENSITY_DEFAULT, in fromResourcesRectApproximation() 895 public static Path pathFromResources(Resources res, int displayWidth, int displayHeight) { in pathFromResources() argument 898 displayWidth, displayHeight, DENSITY_DEVICE_STABLE / (float) DENSITY_DEFAULT, in pathFromResources() 909 int displayHeight, float density, Insets waterfallInsets) { in fromSpec() argument 911 pathSpec, null, displayWidth, displayHeight, density, waterfallInsets) in fromSpec() 927 String pathSpec, String rectSpec, int displayWidth, int displayHeight, float density, in pathAndDisplayCutoutFromSpec() argument 938 && sCachedDisplayHeight == displayHeight in pathAndDisplayCutoutFromSpec() [all …]
|
D | DisplayAdjustments.java | 160 @Surface.Rotation int realRotation, int displayWidth, int displayHeight) { in adjustRoundedCorner() argument 168 rotationAdjustments.mRotation, displayWidth, displayHeight); in adjustRoundedCorner()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | DisplayCutoutTest.java | 176 final int displayHeight = 400; in testGetCutoutPath() local 178 final DisplayCutout cutout = fromSpec(cutoutSpecString, displayWidth, displayHeight, in testGetCutoutPath() 187 final int displayHeight = 400; in testGetCutoutPath_caches() local 189 final Path first = fromSpec(cutoutSpecString, displayWidth, displayHeight, in testGetCutoutPath_caches() 191 final Path second = fromSpec(cutoutSpecString, displayWidth, displayHeight, in testGetCutoutPath_caches() 199 final int displayHeight = 400; in testGetCutoutPath_wontCacheIfCutoutPathParerInfoChanged() local 201 final Path first = fromSpec("L1,0 L1,1 L0,1 z", displayWidth, displayHeight, in testGetCutoutPath_wontCacheIfCutoutPathParerInfoChanged() 203 final Path second = fromSpec("L2,0 L2,2 L0,2 z", displayWidth, displayHeight, in testGetCutoutPath_wontCacheIfCutoutPathParerInfoChanged() 212 final int displayHeight = 400; in testGetCutoutPathParserInfo() local 214 final DisplayCutout cutout = fromSpec(cutoutSpecString, displayWidth, displayHeight, in testGetCutoutPathParserInfo() [all …]
|
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/util/ |
D | ExtensionHelper.java | 53 int displayHeight = isSideRotation ? displayInfo.logicalWidth : displayInfo.logicalHeight; in rotateRectToDisplayRotation() local 55 inOutRect.intersect(0, 0, displayWidth, displayHeight); in rotateRectToDisplayRotation() 57 rotateBounds(inOutRect, displayWidth, displayHeight, rotation); in rotateRectToDisplayRotation()
|
/frameworks/av/include/private/media/ |
D | VideoFrame.h | 39 uint32_t displayWidth, uint32_t displayHeight, in VideoFrame() argument 43 mDisplayWidth(displayWidth), mDisplayHeight(displayHeight), in VideoFrame()
|
/frameworks/native/libs/input/tests/ |
D | InputWindow_test.cpp | 59 i.displayHeight = 2000; in TEST() 97 ASSERT_EQ(i.displayHeight, i2.displayHeight); in TEST()
|
/frameworks/base/apct-tests/perftests/core/src/android/view/ |
D | CutoutSpecificationBenchmark.java | 79 private static void oldMethodParsingSpec(String spec, int displayWidth, int displayHeight, in oldMethodParsingSpec() argument 142 m.postTranslate(0, displayHeight); in oldMethodParsingSpec() 147 bottomInset = displayHeight - boundBottom.top; in oldMethodParsingSpec()
|
/frameworks/native/services/automotive/display/ |
D | AutomotiveDisplayProxyService.cpp | 61 auto displayHeight = displayMode.resolution.getHeight(); in getIGraphicBufferProducer() local 64 std::swap(displayWidth, displayHeight); in getIGraphicBufferProducer() 77 displayWidth, displayHeight, in getIGraphicBufferProducer()
|
/frameworks/av/media/codecs/m4v_h263/dec/src/ |
D | vop.cpp | 423 video->displayHeight = video->height = tmpvar; in DecodeVOLHeader() 1104 video->displayHeight = video->height = 96; in DecodeShortHeader() 1114 video->displayHeight = video->height = 144; in DecodeShortHeader() 1124 video->displayHeight = video->height = 288; in DecodeShortHeader() 1134 video->displayHeight = video->height = 576; in DecodeShortHeader() 1144 video->displayHeight = video->height = 1152; in DecodeShortHeader() 1187 video->displayHeight = video->height = 96; in DecodeShortHeader() 1197 video->displayHeight = video->height = 144; in DecodeShortHeader() 1207 video->displayHeight = video->height = 288; in DecodeShortHeader() 1217 video->displayHeight = video->height = 576; in DecodeShortHeader() [all …]
|
/frameworks/native/libs/input/ |
D | InputWindow.cpp | 61 info.displayHeight == displayHeight && in operator ==() 104 parcel->writeInt32(displayHeight) ?: in writeToParcel() 160 parcel->readInt32(&displayHeight) ?: in readFromParcel()
|
/frameworks/base/services/core/java/com/android/server/wm/utils/ |
D | WmDisplayCutout.java | 50 DisplayCutout inner, int displayWidth, int displayHeight) { in computeSafeInsets() argument 54 final Size displaySize = new Size(displayWidth, displayHeight); in computeSafeInsets()
|
/frameworks/av/media/libstagefright/ |
D | FrameDecoder.cpp | 66 int32_t displayWidth, displayHeight; in allocVideoFrame() local 77 displayHeight = height; in allocVideoFrame() 79 && trackMeta->findInt32(kKeyDisplayHeight, &displayHeight) in allocVideoFrame() 80 && displayWidth > 0 && displayHeight > 0 in allocVideoFrame() 82 ALOGV("found display size %dx%d", displayWidth, displayHeight); in allocVideoFrame() 85 displayHeight = height; in allocVideoFrame() 91 tmp = displayWidth; displayWidth = displayHeight; displayHeight = tmp; in allocVideoFrame() 106 VideoFrame frame(width, height, displayWidth, displayHeight, in allocVideoFrame()
|
/frameworks/base/media/jni/ |
D | android_media_MediaMetadataRetriever.cpp | 272 uint32_t width, height, displayWidth, displayHeight; in getBitmapFromVideoFrame() local 279 displayHeight = videoFrame->mDisplayWidth; in getBitmapFromVideoFrame() 284 displayHeight = videoFrame->mDisplayHeight; in getBitmapFromVideoFrame() 319 dst_height = displayHeight; in getBitmapFromVideoFrame() 322 (float)dst_height / (float)displayHeight); in getBitmapFromVideoFrame() 324 dst_height = std::round(displayHeight * factor); in getBitmapFromVideoFrame()
|
/frameworks/av/cmds/stagefright/ |
D | stream.cpp | 329 const ssize_t displayHeight = resolution.getHeight(); in main() local 331 ALOGV("display is %zd x %zd\n", displayWidth, displayHeight); in main() 337 displayHeight, in main()
|
D | codec.cpp | 422 const ssize_t displayHeight = resolution.getHeight(); in main() local 424 ALOGV("display is %zd x %zd\n", displayWidth, displayHeight); in main() 429 displayHeight, in main()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/events/ |
D | PrivacyDotViewController.kt | 257 val displayHeight: Int in <lambda>() constant 260 displayHeight = size.x in <lambda>() 263 displayHeight = size.y in <lambda>() 273 width = displayHeight - contentInsets.right in <lambda>() 295 width = displayHeight - contentInsets.right in <lambda>()
|
/frameworks/av/media/libmediatranscoding/transcoder/ |
D | VideoTrackTranscoder.cpp | 560 int32_t displayWidth, displayHeight; in updateTrackFormat() local 564 &displayHeight) && in updateTrackFormat() 565 (displayHeight > 0)) { in updateTrackFormat() 567 AMediaFormat_setInt32(formatCopy, AMEDIAFORMAT_KEY_DISPLAY_HEIGHT, displayHeight); in updateTrackFormat()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | WallpaperControllerTests.java | 120 int displayHeight = dc.getBounds().height(); in testWallpaperSizeWithFixedTransform() local 140 int expectedWidth = (int) (wallpaperWidth * (displayHeight / (double) wallpaperHeight)); in testWallpaperSizeWithFixedTransform() 144 assertEquals(displayHeight, wallpaperWindow.getFrame().height()); in testWallpaperSizeWithFixedTransform()
|
/frameworks/base/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/pip/ |
D | PipCloseWithSwipeTest.kt | 53 device.swipe(pipCenterX, pipCenterY, displayCenterX, device.displayHeight, 5) in <lambda>()
|
/frameworks/av/media/libstagefright/codecs/mpeg2dec/ |
D | SoftMPEG2.cpp | 271 uint32_t displayHeight = outputBufferHeight(); in initDecoder() local 272 uint32_t displaySizeY = displayStride * displayHeight; in initDecoder() 317 s_fill_mem_ip.s_ivd_fill_mem_rec_ip_t.u4_max_frm_ht = displayHeight; in initDecoder() 364 s_init_ip.s_ivd_init_ip_t.u4_frm_max_ht = displayHeight; in initDecoder()
|