Home
last modified time | relevance | path

Searched refs:displayRect (Results 1 – 15 of 15) 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/base/services/core/java/com/android/server/display/
DDisplayDevice.java167 Rect layerStackRect, Rect displayRect) { in setProjectionInTransactionLocked() argument
172 || !mCurrentDisplayRect.equals(displayRect)) { in setProjectionInTransactionLocked()
183 mCurrentDisplayRect.set(displayRect); in setProjectionInTransactionLocked()
186 orientation, layerStackRect, displayRect); in setProjectionInTransactionLocked()
/frameworks/base/core/java/android/view/
DSurfaceControl.java725 int orientation, Rect layerStackRect, Rect displayRect) { in setDisplayProjection() argument
732 if (displayRect == null) { in setDisplayProjection()
737 displayRect.left, displayRect.top, displayRect.right, displayRect.bottom); in setDisplayProjection()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DTaskStackLayoutAlgorithm.java465 public void initialize(Rect displayRect, Rect windowRect, Rect taskStackBounds, in initialize() argument
469 … int topMargin = getScaleForExtent(windowRect, displayRect, mBaseTopMargin, mMinMargin, HEIGHT); in initialize()
470 int bottomMargin = getScaleForExtent(windowRect, displayRect, mBaseBottomMargin, mMinMargin, in initialize()
472 mInitialTopOffset = getScaleForExtent(windowRect, displayRect, mBaseInitialTopOffset, in initialize()
493 + " displayRect=" + displayRect + " windowRect=" + windowRect in initialize()
1160 public void getTaskStackBounds(Rect displayRect, Rect windowRect, int topInset, int leftInset, in getTaskStackBounds() argument
1166 int sideMargin = getScaleForExtent(windowRect, displayRect, mBaseSideMargin, mMinMargin, in getTaskStackBounds()
1174 Math.min(displayRect.width(), displayRect.height()), in getTaskStackBounds()
1175 Math.max(displayRect.width(), displayRect.height())); in getTaskStackBounds()
DTaskViewThumbnail.java356 void bindToTask(Task t, boolean disabledInSafeMode, int displayOrientation, Rect displayRect) { in bindToTask() argument
360 mDisplayRect.set(displayRect); in bindToTask()
DTaskView.java608 Rect displayRect) { in onTaskBound() argument
615 mThumbnailView.bindToTask(mTask, mIsDisabledInSafeMode, displayOrientation, displayRect); in onTaskBound()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
DRecentsImpl.java735 Rect displayRect = ssp.getDisplayRect(); in updateDummyStackViewLayout() local
746 calculateWindowStableInsets(systemInsets, windowRect, displayRect); in updateDummyStackViewLayout()
752 stackLayout.getTaskStackBounds(displayRect, windowRect, systemInsets.top, in updateDummyStackViewLayout()
755 stackLayout.initialize(displayRect, windowRect, mTmpBounds, in updateDummyStackViewLayout()
821 private void calculateWindowStableInsets(Rect inOutInsets, Rect windowRect, Rect displayRect) { in calculateWindowStableInsets() argument
824 Rect appRect = new Rect(displayRect); in calculateWindowStableInsets()
1080 Rect displayRect = Recents.getSystemServices().getDisplayRect(); in getWindowRectOverride() local
1082 result, displayRect.width(), displayRect.height(), in getWindowRectOverride()
/frameworks/base/services/core/java/com/android/server/wm/
DTaskStack.java811 Rect displayRect, Rect outBounds, int stackId, Rect dockedBounds, int dockDividerWidth, in getStackDockedModeBounds() argument
814 final boolean splitHorizontally = displayRect.width() > displayRect.height(); in getStackDockedModeBounds()
816 outBounds.set(displayRect); in getStackDockedModeBounds()
1332 static int getDockSideUnchecked(Rect bounds, Rect displayRect, int orientation) { in getDockSideUnchecked() argument
1335 if (bounds.top - displayRect.top <= displayRect.bottom - bounds.bottom) { in getDockSideUnchecked()
1342 if (bounds.left - displayRect.left <= displayRect.right - bounds.right) { in getDockSideUnchecked()
DWindowStateAnimator.java2037 final Rect displayRect = mService.mTmpRect2; in seamlesslyRotateWindow() local
2046 mService.getDefaultDisplayContentLocked().getLogicalDisplayRect(displayRect); in seamlesslyRotateWindow()
2047 final float displayWidth = displayRect.width(); in seamlesslyRotateWindow()
2048 final float displayHeight = displayRect.height(); in seamlesslyRotateWindow()
/frameworks/native/libs/gui/
DSurfaceComposerClient.cpp192 const Rect& displayRect);
592 const Rect& displayRect) { in setDisplayProjection() argument
597 s.frame = displayRect; in setDisplayProjection()
864 const Rect& displayRect) { in setDisplayProjection() argument
866 layerStackRect, displayRect); in setDisplayProjection()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/
DSystemServicesProxy.java1131 Rect displayRect = new Rect(); in getDisplayRect() local
1132 if (mDisplay == null) return displayRect; in getDisplayRect()
1136 displayRect.set(0, 0, p.x, p.y); in getDisplayRect()
1137 return displayRect; in getDisplayRect()
/frameworks/native/libs/gui/include/gui/
DSurfaceComposerClient.h199 const Rect& displayRect);
/frameworks/av/cmds/screenrecord/
Dscreenrecord.cpp270 Rect displayRect(offX, offY, offX + outWidth, offY + outHeight); in setDisplayProjection() local
284 layerStackRect, displayRect); in setDisplayProjection()
/frameworks/base/core/jni/
Dandroid_view_SurfaceControl.cpp464 Rect displayRect(displayRect_left, displayRect_top, displayRect_right, displayRect_bottom); in nativeSetDisplayProjection() local
465 SurfaceComposerClient::setDisplayProjection(token, orientation, layerStackRect, displayRect); in nativeSetDisplayProjection()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/
DTaskStack.java495 public Rect getDockedTaskStackBounds(Rect displayRect, int width, int height, in getDockedTaskStackBounds() argument
516 layoutAlgorithm.getTaskStackBounds(displayRect, windowRectOut, top, 0, insets.right, in getDockedTaskStackBounds()