/frameworks/base/services/core/java/com/android/server/wm/utils/ |
D | WmDisplayCutout.java | 54 final Size displaySize = new Size(displayWidth, displayHeight); in computeSafeInsets() local 55 final Rect safeInsets = computeSafeInsets(displaySize, inner); in computeSafeInsets() 56 return new WmDisplayCutout(inner.replaceSafeInsets(safeInsets), displaySize); in computeSafeInsets() 69 private static Rect computeSafeInsets(Size displaySize, DisplayCutout cutout) { in computeSafeInsets() argument 70 if (displaySize.getWidth() == displaySize.getHeight()) { in computeSafeInsets() 71 throw new UnsupportedOperationException("not implemented: display=" + displaySize + in computeSafeInsets() 76 findCutoutInsetForSide(displaySize, cutout.getBoundingRectLeft(), Gravity.LEFT)); in computeSafeInsets() 78 findCutoutInsetForSide(displaySize, cutout.getBoundingRectTop(), Gravity.TOP)); in computeSafeInsets() 80 findCutoutInsetForSide(displaySize, cutout.getBoundingRectRight(), Gravity.RIGHT)); in computeSafeInsets() 82 findCutoutInsetForSide(displaySize, cutout.getBoundingRectBottom(), in computeSafeInsets()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/ |
D | DisplayLayout.java | 393 final Size displaySize = new Size(displayWidth, displayHeight); in computeSafeInsets() local 394 final Rect safeInsets = computeSafeInsets(displaySize, inner); in computeSafeInsets() 399 Size displaySize, DisplayCutout cutout) { in computeSafeInsets() argument 400 if (displaySize.getWidth() == displaySize.getHeight()) { in computeSafeInsets() 401 throw new UnsupportedOperationException("not implemented: display=" + displaySize in computeSafeInsets() 406 findCutoutInsetForSide(displaySize, cutout.getBoundingRectLeft(), Gravity.LEFT)); in computeSafeInsets() 408 findCutoutInsetForSide(displaySize, cutout.getBoundingRectTop(), Gravity.TOP)); in computeSafeInsets() 410 findCutoutInsetForSide(displaySize, cutout.getBoundingRectRight(), Gravity.RIGHT)); in computeSafeInsets() 412 findCutoutInsetForSide(displaySize, cutout.getBoundingRectBottom(), in computeSafeInsets()
|
/frameworks/layoutlib/bridge/src/android/view/ |
D | WindowManagerImpl.java | 152 final Point displaySize = new Point(); in getMaximumBounds() local 153 mDisplay.getRealSize(displaySize); in getMaximumBounds() 154 return new Rect(0, 0, displaySize.x, displaySize.y); in getMaximumBounds()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/ |
D | MirrorWindowControl.java | 118 final Point displaySize = mTmpPoint; in setDefaultPosition() local 119 mContext.getDisplay().getSize(displaySize); in setDefaultPosition() 120 layoutParams.x = displaySize.x - layoutParams.width; in setDefaultPosition() 121 layoutParams.y = displaySize.y - layoutParams.height; in setDefaultPosition()
|
/frameworks/base/core/java/android/view/ |
D | ThreadedRenderer.java | 464 final Point displaySize = attachInfo.mPoint; in setLightCenter() local 465 attachInfo.mDisplay.getRealSize(displaySize); in setLightCenter() 466 final float lightX = displaySize.x / 2f - attachInfo.mWindowLeft; in setLightCenter() 682 final Point displaySize = new Point(); in setLightCenter() local 683 display.getRealSize(displaySize); in setLightCenter() 684 final float lightX = displaySize.x / 2f - windowLeft; in setLightCenter()
|
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/ |
D | NavigationEdgeBackPlugin.java | 43 void setDisplaySize(Point displaySize); in setDisplaySize() argument
|
/frameworks/native/services/inputflinger/dispatcher/ |
D | InputTarget.h | 104 int2 displaySize = {AMOTION_EVENT_INVALID_DISPLAY_SIZE, AMOTION_EVENT_INVALID_DISPLAY_SIZE}; member
|
D | Entry.cpp | 299 ui::Transform transform, float globalScaleFactor, int2 displaySize) in DispatchEntry() argument 305 displaySize(displaySize), in DispatchEntry()
|
D | Entry.h | 218 int2 displaySize; member 231 ui::Transform transform, float globalScaleFactor, int2 displaySize);
|
D | InputDispatcher.cpp | 329 inputTarget.displaySize); in createDispatchEntry() 337 inputTarget.displaySize); in createDispatchEntry() 389 inputTarget.displaySize); in createDispatchEntry() 2446 inputTarget.displaySize = in addWindowTargetLocked() 3161 dispatchEntry->displaySize.x, in startDispatchCycleLocked() 3162 dispatchEntry->displaySize.y, in startDispatchCycleLocked()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusBarContentInsetsProvider.kt | 350 displaySize: Pair<Int, Int> in sbRect() 352 val w = displaySize.first in sbRect() 353 val h = displaySize.second in sbRect()
|
/frameworks/base/core/java/android/app/ |
D | UiAutomation.java | 1004 Point displaySize = new Point(); in takeScreenshot() local 1005 display.getRealSize(displaySize); in takeScreenshot() 1014 new Rect(0, 0, displaySize.x, displaySize.y)); in takeScreenshot()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/ |
D | PipTouchHandler.java | 389 Point displaySize = new Point(); in onMovementBoundsChanged() local 390 mContext.getDisplay().getRealSize(displaySize); in onMovementBoundsChanged() 392 aspectRatio, mExpandedShortestEdgeSize, displaySize.x, displaySize.y); in onMovementBoundsChanged()
|
/frameworks/native/services/surfaceflinger/ |
D | RegionSamplingThread.cpp | 272 ui::Size displaySize; in captureSample() local 280 displaySize = display->getSize(); in captureSample()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/gestural/ |
D | NavigationBarEdgePanel.java | 407 public void setDisplaySize(Point displaySize) { in setDisplaySize() argument 408 mDisplaySize.set(displaySize.x, displaySize.y); in setDisplaySize()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/ |
D | NavigationBarView.java | 954 Point displaySize = new Point(); in updateSamplingRect() local 955 view.getContext().getDisplay().getRealSize(displaySize); in updateSamplingRect() 957 displaySize.y - getNavBarHeight(), in updateSamplingRect() 959 displaySize.y); in updateSamplingRect()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/src/ |
D | Output.cpp | 169 const auto displaySize = outputState.displaySpace.bounds; in setProjection() local 170 rotation.set(transformOrientationFlags, displaySize.width(), displaySize.height()); in setProjection()
|
/frameworks/base/core/java/android/hardware/camera2/ |
D | CameraManager.java | 477 Size displaySize = getDisplaySize(); in getCameraCharacteristics() local 490 info.setDisplaySize(displaySize); in getCameraCharacteristics()
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
D | MandatoryStreamCombination.java | 960 public Builder(int cameraId, int hwLevel, @NonNull Size displaySize, in Builder() argument 964 mDisplaySize = displaySize; in Builder()
|
/frameworks/base/core/java/android/hardware/camera2/impl/ |
D | CameraMetadataNative.java | 1900 public void setDisplaySize(Size displaySize) { in setDisplaySize() argument 1901 mDisplaySize = displaySize; in setDisplaySize()
|