Home
last modified time | relevance | path

Searched refs:contentRect (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
DFloatingContentCoordinator.kt257 contentRect: Rect, in <lambda>()
267 newlyOverlappingRect.centerY() < contentRect.centerY() in <lambda>()
272 .filter { rectToAvoid -> rectsIntersectVertically(rectToAvoid, contentRect) } in <lambda>()
273 .partition { rectToAvoid -> rectToAvoid.top < contentRect.top } in <lambda>()
279 contentRect, in <lambda>()
285 contentRect, in <lambda>()
327 contentRect: Rect, in <lambda>()
338 val proposedNewBounds = Rect(contentRect) in <lambda>()
352 if (findAbove) -contentRect.height() else exclusionRect.height() in <lambda>()
/frameworks/base/graphics/java/android/graphics/pdf/
DPdfDocument.java353 public Builder setContentRect(Rect contentRect) { in setContentRect() argument
354 if (contentRect != null && (contentRect.left < 0 in setContentRect()
355 || contentRect.top < 0 in setContentRect()
356 || contentRect.right > mPageInfo.mPageWidth in setContentRect()
357 || contentRect.bottom > mPageInfo.mPageHeight)) { in setContentRect()
360 mPageInfo.mContentRect = contentRect; in setContentRect()
/frameworks/base/libs/hwui/jni/pdf/
DPdfDocument.cpp34 PageRecord(int width, int height, const SkRect& contentRect) in PageRecord()
39 mContentRect = contentRect; in PageRecord()
66 SkRect contentRect = SkRect::MakeLTRB( in startPage() local
68 PageRecord* page = new PageRecord(width, height, contentRect); in startPage()
73 SkRect::MakeWH(contentRect.width(), contentRect.height())); in startPage()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarContentInsetsProvider.kt211 contentRect: Rect, in getPrivacyChipBoundingRectForInsets()
217 Rect(contentRect.left - dotWidth, in getPrivacyChipBoundingRectForInsets()
218 contentRect.top, in getPrivacyChipBoundingRectForInsets()
219 contentRect.left + chipWidth, in getPrivacyChipBoundingRectForInsets()
220 contentRect.bottom) in getPrivacyChipBoundingRectForInsets()
222 Rect(contentRect.right - chipWidth, in getPrivacyChipBoundingRectForInsets()
223 contentRect.top, in getPrivacyChipBoundingRectForInsets()
224 contentRect.right + dotWidth, in getPrivacyChipBoundingRectForInsets()
225 contentRect.bottom) in getPrivacyChipBoundingRectForInsets()
DPhoneStatusBarView.java372 Rect contentRect = mContentInsetsProvider in updateSafeInsets() local
379 contentRect.left, in updateSafeInsets()
381 size.x - contentRect.right, in updateSafeInsets()