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

/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
H A DAccessibilityNodeInfoHelper.java43 Rect displayRect = new Rect();
44 displayRect.top = 0;
45 displayRect.left = 0;
46 displayRect.right = width;
47 displayRect.bottom = height;
49 if (nodeRect.intersect(displayRect)) {
/frameworks/native/services/surfaceflinger/tests/fakehwc/
H A DFakeComposerUtils.cpp51 inline void printDisplayRectAligned(::std::ostream& os, const hwc_rect_t& displayRect, int align) { argument
53 << setw(align) << displayRect.left << setw(0) << ","
54 << setw(align) << displayRect.top << setw(0) << ","
55 << setw(align) << displayRect.right << setw(0) << ","
56 << setw(align) << displayRect.bottom << setw(0) << ")";
/frameworks/base/services/core/java/com/android/server/display/
H A DDisplayDevice.java165 * @param displayRect defines where on the display will layerStackRect be
166 * mapped to. displayRect is specified post-orientation, that is
170 Rect layerStackRect, Rect displayRect) {
175 || !mCurrentDisplayRect.equals(displayRect)) {
186 mCurrentDisplayRect.set(displayRect);
189 orientation, layerStackRect, displayRect);
169 setProjectionLocked(SurfaceControl.Transaction t, int orientation, Rect layerStackRect, Rect displayRect) argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
H A DRecentsImpl.java762 Rect displayRect = ssp.getDisplayRect();
776 calculateWindowStableInsets(systemInsets, windowRect, displayRect);
782 stackLayout.getTaskStackBounds(displayRect, windowRect, systemInsets.top,
785 stackLayout.initialize(displayRect, windowRect, mTmpBounds);
850 private void calculateWindowStableInsets(Rect inOutInsets, Rect windowRect, Rect displayRect) { argument
853 Rect appRect = new Rect(displayRect);
1090 Rect displayRect = Recents.getSystemServices().getDisplayRect();
1092 result, displayRect.width(), displayRect.height(),
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/
H A DSystemServicesProxy.java397 Rect displayRect = new Rect();
398 if (mDisplay == null) return displayRect;
402 displayRect.set(0, 0, p.x, p.y);
403 return displayRect;
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DTaskStackLayoutAlgorithm.java379 public void initialize(Rect displayRect, Rect windowRect, Rect taskStackBounds) { argument
382 int topMargin = getScaleForExtent(windowRect, displayRect, mBaseTopMargin, mMinMargin, HEIGHT);
383 int bottomMargin = getScaleForExtent(windowRect, displayRect, mBaseBottomMargin, mMinMargin,
385 mInitialTopOffset = getScaleForExtent(windowRect, displayRect, mBaseInitialTopOffset,
405 + " displayRect=" + displayRect + " windowRect=" + windowRect
1032 public void getTaskStackBounds(Rect displayRect, Rect windowRect, int topInset, int leftInset, argument
1038 int sideMargin = getScaleForExtent(windowRect, displayRect, mBaseSideMargin, mMinMargin,
1046 Math.min(displayRect.width(), displayRect
[all...]
H A DDockState.java304 public Rect getDockedTaskStackBounds(Rect displayRect, int width, int height, argument
325 layoutAlgorithm.getTaskStackBounds(displayRect, windowRectOut, top, 0, insets.right,
H A DTaskViewThumbnail.java346 void bindToTask(Task t, boolean disabledInSafeMode, int displayOrientation, Rect displayRect) { argument
350 mDisplayRect.set(displayRect);
H A DTaskView.java603 Rect displayRect) {
610 mThumbnailView.bindToTask(mTask, mIsDisabledInSafeMode, displayOrientation, displayRect);
602 onTaskBound(Task t, boolean touchExplorationEnabled, int displayOrientation, Rect displayRect) argument
/frameworks/base/core/java/android/view/
H A DSurfaceControl.java1101 int orientation, Rect layerStackRect, Rect displayRect) {
1104 layerStackRect, displayRect);
1625 int orientation, Rect layerStackRect, Rect displayRect) {
1632 if (displayRect == null) {
1633 throw new IllegalArgumentException("displayRect must not be null");
1637 displayRect.left, displayRect.top, displayRect.right, displayRect.bottom);
1100 setDisplayProjection(IBinder displayToken, int orientation, Rect layerStackRect, Rect displayRect) argument
1624 setDisplayProjection(IBinder displayToken, int orientation, Rect layerStackRect, Rect displayRect) argument
/frameworks/native/include/gui/
H A DSurfaceComposerClient.h267 * - displayRect defines where on the display will layerStackRect be
268 * mapped to. displayRect is specified post-orientation, that is
274 const Rect& displayRect);
293 const Rect& displayRect);
/frameworks/native/libs/gui/include/gui/
H A DSurfaceComposerClient.h267 * - displayRect defines where on the display will layerStackRect be
268 * mapped to. displayRect is specified post-orientation, that is
274 const Rect& displayRect);
293 const Rect& displayRect);
/frameworks/base/services/core/java/com/android/server/wm/
H A DDockedStackDividerController.java196 * {@param displayRect} but if both are the same, it will try to dock to each side and determine
200 * @param displayRect bounds of the display that contains the docked task
204 int getDockSide(Rect bounds, Rect displayRect, int orientation) { argument
207 final int diff = (displayRect.bottom - bounds.bottom) - (bounds.top - displayRect.top);
216 final int diff = (displayRect.right - bounds.right) - (bounds.left - displayRect.left);
H A DTaskStack.java939 * @param displayRect The bounds of the display the docked stack is on.
947 Rect displayRect, Rect outBounds, Rect dockedBounds, int dockDividerWidth,
950 final boolean splitHorizontally = displayRect.width() > displayRect.height();
952 outBounds.set(displayRect);
946 getStackDockedModeBounds( Rect displayRect, Rect outBounds, Rect dockedBounds, int dockDividerWidth, boolean dockOnTopOrLeft) argument
H A DWindowStateAnimator.java1503 final Rect displayRect = mService.mTmpRect2;
1512 mService.getDefaultDisplayContentLocked().getBounds(displayRect);
1513 final float displayWidth = displayRect.width();
1514 final float displayHeight = displayRect.height();
/frameworks/av/cmds/screenrecord/
H A Dscreenrecord.cpp295 Rect displayRect(offX, offY, offX + outWidth, offY + outHeight);
311 layerStackRect, displayRect);
/frameworks/native/libs/gui/
H A DSurfaceComposerClient.cpp539 const Rect& displayRect) {
543 s.frame = displayRect;
536 setDisplayProjection(const sp<IBinder>& token, uint32_t orientation, const Rect& layerStackRect, const Rect& displayRect) argument
/frameworks/base/core/jni/
H A Dandroid_view_SurfaceControl.cpp534 Rect displayRect(displayRect_left, displayRect_top, displayRect_right, displayRect_bottom);
538 transaction->setDisplayProjection(token, orientation, layerStackRect, displayRect);

Completed in 660 milliseconds