Home
last modified time | relevance | path

Searched refs:boundingRect (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/scene/ui/view/
DSceneWindowRootViewBinder.kt172 val boundingRect = it?.displayCutout?.boundingRectTop in <lambda>() constant
173 val width = boundingRect?.let { boundingRect.right - boundingRect.left } ?: 0 in <lambda>()
174 val left = boundingRect?.left?.toDp(context) ?: 0.dp in <lambda>()
175 val top = boundingRect?.top?.toDp(context) ?: 0.dp in <lambda>()
176 val right = boundingRect?.right?.toDp(context) ?: 0.dp in <lambda>()
177 val bottom = boundingRect?.bottom?.toDp(context) ?: 0.dp in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/log/
DScreenDecorationsLogger.kt82 fun boundingRect(boundingRectangle: RectF, context: String) { in boundingRect() method
94 fun boundingRect(boundingRectangle: Rect, context: String) { in boundingRect() method in com.android.systemui.log.ScreenDecorationsLogger
95 boundingRect(boundingRectangle.toRectF(), context) in boundingRect()
/frameworks/base/core/java/android/view/
DInsetsSource.java385 for (final Rect boundingRect : mBoundingRects) { in calculateBoundingRects()
391 mTmpBoundingRect.set(boundingRect); in calculateBoundingRects()
402 for (final Rect boundingRect : mBoundingRects) { in calculateBoundingRects()
406 boundingRect.left + frame.left, in calculateBoundingRects()
407 boundingRect.top + frame.top, in calculateBoundingRects()
408 boundingRect.right + frame.left, in calculateBoundingRects()
409 boundingRect.bottom + frame.top in calculateBoundingRects()
DDisplayCutout.java1409 @NonNull Rect boundingRect, int gravity) {
1410 if (boundingRect.isEmpty()) {
1416 case Gravity.TOP -> Math.max(inset, boundingRect.bottom);
1417 case Gravity.BOTTOM -> Math.max(inset, displayH - boundingRect.top);
1418 case Gravity.LEFT -> Math.max(inset, boundingRect.right);
1419 case Gravity.RIGHT -> Math.max(inset, displayW - boundingRect.left);
DViewGroup.java6102 RectF boundingRect = attachInfo.mTmpTransformRect; in invalidateChild() local
6103 boundingRect.set(dirty); in invalidateChild()
6120 transformMatrix.mapRect(boundingRect); in invalidateChild()
6121 dirty.set((int) Math.floor(boundingRect.left), in invalidateChild()
6122 (int) Math.floor(boundingRect.top), in invalidateChild()
6123 (int) Math.ceil(boundingRect.right), in invalidateChild()
6124 (int) Math.ceil(boundingRect.bottom)); in invalidateChild()
6154 RectF boundingRect = attachInfo.mTmpTransformRect; in invalidateChild() local
6155 boundingRect.set(dirty); in invalidateChild()
6156 m.mapRect(boundingRect); in invalidateChild()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DFaceScanningOverlay.kt186 logger.boundingRect(rimRect, "onMeasure: Face scanning animation") in onMeasure()
187 logger.boundingRect(mBoundingRect, "onMeasure: Display cutout view bounding rect") in onMeasure()
188 logger.boundingRect(mTotalBounds, "onMeasure: TotalBounds") in onMeasure()
/frameworks/base/tests/FlickerTests/test-apps/flickerapp/src/com/android/server/wm/flicker/testapp/
DPipActivity.java265 Rect boundingRect = new Rect(); in setSourceRectHint()
266 rectView.getGlobalVisibleRect(boundingRect); in setSourceRectHint()
267 mPipParamsBuilder.setSourceRectHint(boundingRect); in setSourceRectHint()