/frameworks/base/packages/Shell/src/com/android/shell/ |
D | Screenshooter.java | 47 final int displayWidth = displaySize.x; in takeScreenshot() local 51 Rect crop = new Rect(0, 0, displayWidth, displayHeight); in takeScreenshot() 52 Log.d(TAG, "Taking screenshot of dimensions " + displayWidth + " x " + displayHeight); in takeScreenshot() 55 SurfaceControl.screenshot(crop, displayWidth, displayHeight, rotation); in takeScreenshot() 57 Log.e(TAG, "Failed to take screenshot of dimensions " + displayWidth + " x " in takeScreenshot()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/wm/ |
D | DisplayLayout.java | 279 int displayWidth, int displayHeight, boolean hasStatusBar) { in convertNonDecorInsetsToStableInsets() argument 283 int statusBarHeight = getStatusBarHeight(displayWidth > displayHeight, res); in convertNonDecorInsetsToStableInsets() 297 static void computeNonDecorInsets(Resources res, int displayRotation, int displayWidth, in computeNonDecorInsets() argument 304 int position = navigationBarPosition(res, displayWidth, displayHeight, displayRotation); in computeNonDecorInsets() 306 getNavigationBarSize(res, position, displayWidth > displayHeight, uiMode); in computeNonDecorInsets() 333 static void computeStableInsets(Resources res, int displayRotation, int displayWidth, in computeStableInsets() argument 339 computeNonDecorInsets(res, displayRotation, displayWidth, displayHeight, displayCutout, in computeStableInsets() 341 convertNonDecorInsetsToStableInsets(res, outInsets, displayWidth, displayHeight, in computeStableInsets() 355 DisplayCutout cutout, int rotation, int displayWidth, int displayHeight) { in calculateDisplayCutoutForRotation() argument 362 return computeSafeInsets(cutout, displayWidth, displayHeight); in calculateDisplayCutoutForRotation() [all …]
|
/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 105 : displayWidth - insets.right; 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 124 mDisplayWidth = displayWidth; in DividerSnapAlgorithm()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/ |
D | RenderSurfaceCreationArgs.h | 38 int32_t displayWidth; member 67 RenderSurfaceCreationArgsBuilder& setDisplayWidth(int32_t displayWidth) { in setDisplayWidth() argument 68 mArgs.displayWidth = displayWidth; in setDisplayWidth()
|
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/sidecar/ |
D | SidecarHelper.java | 46 int displayWidth = isSideRotation ? displayInfo.logicalHeight : displayInfo.logicalWidth; in rotateRectToDisplayRotation() local 49 inOutRect.intersect(0, 0, displayWidth, displayHeight); in rotateRectToDisplayRotation() 51 rotateBounds(inOutRect, displayWidth, displayHeight, rotation); in rotateRectToDisplayRotation()
|
/frameworks/base/core/java/android/view/ |
D | DisplayCutout.java | 683 …public static DisplayCutout fromResourcesRectApproximation(Resources res, int displayWidth, int di… in fromResourcesRectApproximation() argument 685 displayWidth, displayHeight, DENSITY_DEVICE_STABLE / (float) DENSITY_DEFAULT, in fromResourcesRectApproximation() 694 public static Path pathFromResources(Resources res, int displayWidth, int displayHeight) { in pathFromResources() argument 697 displayWidth, displayHeight, DENSITY_DEVICE_STABLE / (float) DENSITY_DEFAULT, in pathFromResources() 707 public static DisplayCutout fromSpec(String spec, int displayWidth, int displayHeight, in fromSpec() argument 710 spec, displayWidth, displayHeight, density, waterfallInsets).second; in fromSpec() 714 int displayWidth, int displayHeight, float density, Insets waterfallInsets) { in pathAndDisplayCutoutFromSpec() argument 720 if (spec.equals(sCachedSpec) && sCachedDisplayWidth == displayWidth in pathAndDisplayCutoutFromSpec() 731 displayWidth, displayHeight).parse(spec); in pathAndDisplayCutoutFromSpec() 753 sCachedDisplayWidth = displayWidth; in pathAndDisplayCutoutFromSpec()
|
D | CutoutSpecification.java | 212 public Parser(float density, int displayWidth, int displayHeight) { in Parser() argument 214 mDisplayWidth = displayWidth; in Parser()
|
/frameworks/native/services/surfaceflinger/ |
D | DisplayDevice.cpp | 161 const int displayWidth = displayBounds.width(); in setProjection() local 167 rotation.set(flags, displayWidth, displayHeight); in setProjection() 173 frame = Rect(displayWidth, displayHeight); in setProjection() 181 viewport = Rect(displayWidth, displayHeight); in setProjection() 212 rotation.set(flags, displayWidth, displayHeight); in setProjection()
|
/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/services/automotive/display/ |
D | AutomotiveDisplayProxyService.cpp | 60 auto displayWidth = displayConfig.resolution.getWidth(); in getIGraphicBufferProducer() local 64 std::swap(displayWidth, displayHeight); in getIGraphicBufferProducer() 77 displayWidth, displayHeight, in getIGraphicBufferProducer()
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
D | vop.cpp | 414 video->displayWidth = video->width = tmpvar; in DecodeVOLHeader() 1096 video->displayWidth = video->width = 128; in DecodeShortHeader() 1106 video->displayWidth = video->width = 176; in DecodeShortHeader() 1116 video->displayWidth = video->width = 352; in DecodeShortHeader() 1126 video->displayWidth = video->width = 704; in DecodeShortHeader() 1136 video->displayWidth = video->width = 1408; in DecodeShortHeader() 1179 video->displayWidth = video->width = 128; in DecodeShortHeader() 1189 video->displayWidth = video->width = 176; in DecodeShortHeader() 1199 video->displayWidth = video->width = 352; in DecodeShortHeader() 1209 video->displayWidth = video->width = 704; in DecodeShortHeader() [all …]
|
D | mp4lib_int.h | 245 int displayWidth; /* Handle image whose size is not a multiple of 16. */ member
|
/frameworks/base/apct-tests/perftests/core/src/android/view/ |
D | CutoutSpecificationBenchmark.java | 94 private static void oldMethodParsingSpec(String spec, int displayWidth, int displayHeight, in oldMethodParsingSpec() argument 105 offsetX = displayWidth; in oldMethodParsingSpec() 111 offsetX = displayWidth / 2f; in oldMethodParsingSpec()
|
/frameworks/av/media/libstagefright/ |
D | FrameDecoder.cpp | 65 int32_t displayWidth, displayHeight; in allocVideoFrame() local 69 displayWidth = (width * sarWidth) / sarHeight; in allocVideoFrame() 71 } else if (trackMeta->findInt32(kKeyDisplayWidth, &displayWidth) in allocVideoFrame() 73 && displayWidth > 0 && displayHeight > 0 in allocVideoFrame() 75 ALOGV("found display size %dx%d", displayWidth, displayHeight); in allocVideoFrame() 77 displayWidth = width; in allocVideoFrame() 84 tmp = displayWidth; displayWidth = displayHeight; displayHeight = tmp; in allocVideoFrame() 89 VideoFrame frame(width, height, displayWidth, displayHeight, in allocVideoFrame()
|
/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/cmds/stagefright/ |
D | stream.cpp | 328 const ssize_t displayWidth = resolution.getWidth(); in main() local 331 ALOGV("display is %zd x %zd\n", displayWidth, displayHeight); in main() 336 displayWidth, in main()
|
D | codec.cpp | 421 const ssize_t displayWidth = resolution.getWidth(); in main() local 424 ALOGV("display is %zd x %zd\n", displayWidth, displayHeight); in main() 428 displayWidth, in main()
|
D | mediafilter.cpp | 758 const ssize_t displayWidth = resolution.getWidth(); in main() local 761 ALOGV("display is %zd x %zd", displayWidth, displayHeight); in main() 764 String8("A Surface"), displayWidth, displayHeight, in main()
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayer.cpp | 2037 int32_t displayWidth, displayHeight; in updateVideoSize() local 2048 displayWidth = cropRight - cropLeft + 1; in updateVideoSize() 2054 displayWidth, in updateVideoSize() 2058 CHECK(inputFormat->findInt32("width", &displayWidth)); in updateVideoSize() 2061 ALOGV("Video input format %d x %d", displayWidth, displayHeight); in updateVideoSize() 2071 displayWidth = (displayWidth * sarWidth) / sarHeight; in updateVideoSize() 2073 ALOGV("display dimensions %d x %d", displayWidth, displayHeight); in updateVideoSize() 2079 && displayWidth > 0 && displayHeight > 0) { in updateVideoSize() 2080 if (displayHeight * (int64_t)width / height > (int64_t)displayWidth) { in updateVideoSize() 2081 displayHeight = (int32_t)(displayWidth * (int64_t)height / width); in updateVideoSize() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/ |
D | PipSnapAlgorithm.java | 131 public Size getSizeForAspectRatio(float aspectRatio, float minEdgeSize, int displayWidth, in getSizeForAspectRatio() argument 133 final int smallestDisplaySize = Math.min(displayWidth, displayHeight); in getSizeForAspectRatio()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ui/ |
D | InvocationLightsView.java | 96 int displayWidth = DisplayUtils.getWidth(context); in InvocationLightsView() local 99 mStrokeWidth / 2, displayWidth, displayHeight); in InvocationLightsView()
|
/frameworks/native/services/surfaceflinger/tests/ |
D | Credentials_test.cpp | 84 const ssize_t displayWidth = 100; in setupVirtualDisplay() local 89 mComposerClient->createSurface(SURFACE_NAME, displayWidth, displayHeight, in setupVirtualDisplay()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | DisplayPolicy.java | 1677 final int displayWidth = displayFrames.mDisplayWidth; 1710 } else if (frame.right >= displayWidth) { 1716 + " displayWidth=" + displayWidth + " displayHeight=" + displayHeight); 1718 } else if (frame.right >= displayWidth && frame.bottom >= displayHeight) { 1729 + " displayWidth=" + displayWidth + " displayHeight=" + displayHeight); 1735 + " displayWidth=" + displayWidth + " displayHeight=" + displayHeight); 1826 final int displayWidth = displayFrames.mDisplayWidth; 1828 final int navBarPosition = navigationBarPosition(displayWidth, displayHeight, rotation); 1841 navigationFrame.set(0, topNavBar, displayWidth, displayFrames.mUnrestricted.bottom); 3107 public void getStableInsetsLw(int displayRotation, int displayWidth, int displayHeight, [all …]
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | SizeCompatTests.java | 239 final int displayWidth = 2500; in testLetterboxFullscreenBoundsAndNotImeAttachable() local 240 setUpDisplaySizeWithApp(displayWidth, 1000); in testLetterboxFullscreenBoundsAndNotImeAttachable() 249 assertEquals((displayWidth - bounds.width()) / 2, bounds.left); in testLetterboxFullscreenBoundsAndNotImeAttachable()
|