Home
last modified time | relevance | path

Searched refs:displayRect (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DAccessibilityNodeInfoHelper.java43 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/
DFakeComposerUtils.cpp51 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/
DDisplayDevice.java180 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/
DTaskStackLayoutAlgorithm.java379 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()
DTaskViewThumbnail.java346 void bindToTask(Task t, boolean disabledInSafeMode, int displayOrientation, Rect displayRect) { in bindToTask() argument
350 mDisplayRect.set(displayRect); in bindToTask()
DDockState.java304 public Rect getDockedTaskStackBounds(Rect displayRect, int width, int height, in getDockedTaskStackBounds() argument
325 layoutAlgorithm.getTaskStackBounds(displayRect, windowRectOut, top, 0, insets.right, in getDockedTaskStackBounds()
DTaskView.java602 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/
DRecentsImpl.java748 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/
DDockedStackDividerController.java207 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()
DTaskStack.java913 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/
DSystemServicesProxy.java400 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/
DSurfaceControl.java1735 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/
DStubTransaction.java208 int orientation, Rect layerStackRect, Rect displayRect) { in setDisplayProjection() argument
/frameworks/native/libs/gui/include/gui/
DSurfaceComposerClient.h469 const Rect& displayRect);
486 const Rect& displayRect);
/frameworks/av/cmds/screenrecord/
Dscreenrecord.cpp311 Rect displayRect(offX, offY, offX + outWidth, offY + outHeight); in setDisplayProjection() local
327 layerStackRect, displayRect); in setDisplayProjection()
/frameworks/base/cmds/bootanimation/
DBootAnimation.cpp1090 Rect displayRect(0, mTargetInset, mWidth, mHeight); in handleViewport() local
1095 t.setDisplayProjection(mDisplayToken, 0 /* orientation */, layerStackRect, displayRect); in handleViewport()
/frameworks/native/libs/gui/
DSurfaceComposerClient.cpp1247 const Rect& displayRect) { in setDisplayProjection() argument
1251 s.frame = displayRect; in setDisplayProjection()
/frameworks/base/core/jni/
Dandroid_view_SurfaceControl.cpp706 Rect displayRect(displayRect_left, displayRect_top, displayRect_right, displayRect_bottom); in nativeSetDisplayProjection() local
710 transaction->setDisplayProjection(token, orientation, layerStackRect, displayRect); in nativeSetDisplayProjection()