/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
D | AccessibilityNodeInfoHelper.java | 43 Rect displayRect = new Rect(); in getVisibleBoundsInScreen() local 44 displayRect.top = 0; in getVisibleBoundsInScreen() 45 displayRect.left = 0; in getVisibleBoundsInScreen() 46 displayRect.right = width; in getVisibleBoundsInScreen() 47 displayRect.bottom = height; in getVisibleBoundsInScreen() 49 if (nodeRect.intersect(displayRect)) { in getVisibleBoundsInScreen()
|
/frameworks/native/services/surfaceflinger/tests/fakehwc/ |
D | FakeComposerUtils.cpp | 51 inline void printDisplayRectAligned(::std::ostream& os, const hwc_rect_t& displayRect, int align) { in printDisplayRectAligned() argument 53 << setw(align) << displayRect.left << setw(0) << "," in printDisplayRectAligned() 54 << setw(align) << displayRect.top << setw(0) << "," in printDisplayRectAligned() 55 << setw(align) << displayRect.right << setw(0) << "," in printDisplayRectAligned() 56 << setw(align) << displayRect.bottom << setw(0) << ")"; in printDisplayRectAligned()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | DisplayDevice.java | 180 Rect layerStackRect, Rect displayRect) { in setProjectionLocked() argument 185 || !mCurrentDisplayRect.equals(displayRect)) { in setProjectionLocked() 196 mCurrentDisplayRect.set(displayRect); in setProjectionLocked() 199 orientation, layerStackRect, displayRect); in setProjectionLocked()
|
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/ |
D | TaskStackLayoutAlgorithm.java | 379 public void initialize(Rect displayRect, Rect windowRect, Rect taskStackBounds) { in initialize() argument 382 … int topMargin = getScaleForExtent(windowRect, displayRect, mBaseTopMargin, mMinMargin, HEIGHT); in initialize() 383 int bottomMargin = getScaleForExtent(windowRect, displayRect, mBaseBottomMargin, mMinMargin, in initialize() 385 mInitialTopOffset = getScaleForExtent(windowRect, displayRect, mBaseInitialTopOffset, in initialize() 405 + " displayRect=" + displayRect + " windowRect=" + windowRect in initialize() 1034 public void getTaskStackBounds(Rect displayRect, Rect windowRect, int topInset, int leftInset, in getTaskStackBounds() argument 1040 int sideMargin = getScaleForExtent(windowRect, displayRect, mBaseSideMargin, mMinMargin, in getTaskStackBounds() 1048 Math.min(displayRect.width(), displayRect.height()), in getTaskStackBounds() 1049 Math.max(displayRect.width(), displayRect.height())); in getTaskStackBounds()
|
D | TaskViewThumbnail.java | 346 void bindToTask(Task t, boolean disabledInSafeMode, int displayOrientation, Rect displayRect) { in bindToTask() argument 350 mDisplayRect.set(displayRect); in bindToTask()
|
D | DockState.java | 304 public Rect getDockedTaskStackBounds(Rect displayRect, int width, int height, in getDockedTaskStackBounds() argument 325 layoutAlgorithm.getTaskStackBounds(displayRect, windowRectOut, top, 0, insets.right, in getDockedTaskStackBounds()
|
D | TaskView.java | 602 Rect displayRect) { in onTaskBound() argument 609 mThumbnailView.bindToTask(mTask, mIsDisabledInSafeMode, displayOrientation, displayRect); in onTaskBound()
|
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/ |
D | RecentsImpl.java | 748 Rect displayRect = ssp.getDisplayRect(); in updateDummyStackViewLayout() local 762 calculateWindowStableInsets(systemInsets, windowRect, displayRect); in updateDummyStackViewLayout() 768 stackLayout.getTaskStackBounds(displayRect, windowRect, systemInsets.top, in updateDummyStackViewLayout() 771 stackLayout.initialize(displayRect, windowRect, mTmpBounds); in updateDummyStackViewLayout() 836 private void calculateWindowStableInsets(Rect inOutInsets, Rect windowRect, Rect displayRect) { in calculateWindowStableInsets() argument 839 Rect appRect = new Rect(displayRect); in calculateWindowStableInsets() 1076 Rect displayRect = LegacyRecentsImpl.getSystemServices().getDisplayRect(); in getWindowRectOverride() local 1078 result, displayRect.width(), displayRect.height(), in getWindowRectOverride()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | DockedStackDividerController.java | 207 int getDockSide(Rect bounds, Rect displayRect, int orientation, int rotation) { in getDockSide() argument 210 final int diff = (displayRect.bottom - bounds.bottom) - (bounds.top - displayRect.top); in getDockSide() 216 return canPrimaryStackDockTo(DOCKED_TOP, displayRect, rotation) in getDockSide() 220 final int diff = (displayRect.right - bounds.right) - (bounds.left - displayRect.left); in getDockSide() 226 return canPrimaryStackDockTo(DOCKED_LEFT, displayRect, rotation) in getDockSide()
|
D | TaskStack.java | 913 final Rect displayRect = parentConfig.windowConfiguration.getBounds(); in getStackDockedModeBounds() local 914 final boolean splitHorizontally = displayRect.width() > displayRect.height(); in getStackDockedModeBounds() 916 outBounds.set(displayRect); in getStackDockedModeBounds() 929 displayRect.width(), displayRect.height(), displayCutout, mTmpRect2); in getStackDockedModeBounds() 931 displayRect.width(), in getStackDockedModeBounds() 932 displayRect.height(), in getStackDockedModeBounds()
|
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/misc/ |
D | SystemServicesProxy.java | 400 Rect displayRect = new Rect(); in getDisplayRect() local 401 if (mDisplay == null) return displayRect; in getDisplayRect() 405 displayRect.set(0, 0, p.x, p.y); in getDisplayRect() 406 return displayRect; in getDisplayRect()
|
/frameworks/base/core/java/android/view/ |
D | SurfaceControl.java | 1735 int orientation, Rect layerStackRect, Rect displayRect) { in setDisplayProjection() argument 1738 layerStackRect, displayRect); in setDisplayProjection() 2547 int orientation, Rect layerStackRect, Rect displayRect) { in setDisplayProjection() argument 2554 if (displayRect == null) { in setDisplayProjection() 2559 displayRect.left, displayRect.top, displayRect.right, displayRect.bottom); in setDisplayProjection()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | StubTransaction.java | 208 int orientation, Rect layerStackRect, Rect displayRect) { in setDisplayProjection() argument
|
/frameworks/native/libs/gui/include/gui/ |
D | SurfaceComposerClient.h | 469 const Rect& displayRect); 486 const Rect& displayRect);
|
/frameworks/av/cmds/screenrecord/ |
D | screenrecord.cpp | 311 Rect displayRect(offX, offY, offX + outWidth, offY + outHeight); in setDisplayProjection() local 327 layerStackRect, displayRect); in setDisplayProjection()
|
/frameworks/base/cmds/bootanimation/ |
D | BootAnimation.cpp | 1090 Rect displayRect(0, mTargetInset, mWidth, mHeight); in handleViewport() local 1095 t.setDisplayProjection(mDisplayToken, 0 /* orientation */, layerStackRect, displayRect); in handleViewport()
|
/frameworks/native/libs/gui/ |
D | SurfaceComposerClient.cpp | 1247 const Rect& displayRect) { in setDisplayProjection() argument 1251 s.frame = displayRect; in setDisplayProjection()
|
/frameworks/base/core/jni/ |
D | android_view_SurfaceControl.cpp | 706 Rect displayRect(displayRect_left, displayRect_top, displayRect_right, displayRect_bottom); in nativeSetDisplayProjection() local 710 transaction->setDisplayProjection(token, orientation, layerStackRect, displayRect); in nativeSetDisplayProjection()
|