/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
H A D | AccessibilityNodeInfoHelper.java | 43 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 D | FakeComposerUtils.cpp | 51 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 D | DisplayDevice.java | 165 * @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 D | RecentsImpl.java | 762 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 D | SystemServicesProxy.java | 397 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 D | TaskStackLayoutAlgorithm.java | 379 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 D | DockState.java | 304 public Rect getDockedTaskStackBounds(Rect displayRect, int width, int height, argument 325 layoutAlgorithm.getTaskStackBounds(displayRect, windowRectOut, top, 0, insets.right,
|
H A D | TaskViewThumbnail.java | 346 void bindToTask(Task t, boolean disabledInSafeMode, int displayOrientation, Rect displayRect) { argument 350 mDisplayRect.set(displayRect);
|
H A D | TaskView.java | 603 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 D | SurfaceControl.java | 1101 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 D | SurfaceComposerClient.h | 267 * - 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 D | SurfaceComposerClient.h | 267 * - 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 D | DockedStackDividerController.java | 196 * {@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 D | TaskStack.java | 939 * @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 D | WindowStateAnimator.java | 1503 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 D | screenrecord.cpp | 295 Rect displayRect(offX, offY, offX + outWidth, offY + outHeight); 311 layerStackRect, displayRect);
|
/frameworks/native/libs/gui/ |
H A D | SurfaceComposerClient.cpp | 539 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 D | android_view_SurfaceControl.cpp | 534 Rect displayRect(displayRect_left, displayRect_top, displayRect_right, displayRect_bottom); 538 transaction->setDisplayProjection(token, orientation, layerStackRect, displayRect);
|