Searched refs:tmpRect (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/legacysplitscreen/ |
D | LegacySplitDisplayLayout.java | 78 Rect tmpRect = new Rect(0, 0, mDisplayLayout.width(), mDisplayLayout.height()); in rotateTo() local 79 tmpRect.inset(mDisplayLayout.nonDecorInsets()); in rotateTo() 80 config.windowConfiguration.setAppBounds(tmpRect); in rotateTo() 81 tmpRect.set(0, 0, mDisplayLayout.width(), mDisplayLayout.height()); in rotateTo() 82 tmpRect.inset(mDisplayLayout.stableInsets()); in rotateTo() 83 config.screenWidthDp = (int) (tmpRect.width() / mDisplayLayout.density()); in rotateTo() 84 config.screenHeightDp = (int) (tmpRect.height() / mDisplayLayout.density()); in rotateTo() 237 Rect tmpRect = new Rect(); in getSmallestWidthDpForBounds() local 247 tmpRect.set(bounds); in getSmallestWidthDpForBounds() 248 rotateBounds(tmpRect, displayRect, dl.rotation(), rotation); in getSmallestWidthDpForBounds() [all …]
|
/frameworks/minikin/libs/minikin/ |
D | BoundsCache.cpp | 30 MinikinRect tmpRect; in getBounds() local 36 minikinFont->GetBounds(&tmpRect, layoutPiece.glyphIdAt(i), paint, font.fakery); in getBounds() 37 tmpRect.offset(point.x, point.y); in getBounds() 38 pieceBounds.join(tmpRect); in getBounds()
|
D | MeasuredText.cpp | 218 MinikinRect tmpRect; in operator ()() local 224 minikinFont->GetBounds(&tmpRect, layoutPiece.glyphIdAt(i), paint, font.fakery); in operator ()() 225 tmpRect.offset(point.x, point.y); in operator ()() 226 pieceBounds.join(tmpRect); in operator ()()
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
D | IconMenuItemView.java | 300 Rect tmpRect = mPositionIconOutput; in positionIcon() local 301 getLineBounds(0, tmpRect); in positionIcon() 302 mPositionIconAvailable.set(0, 0, getWidth(), tmpRect.top); in positionIcon()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
D | ScreenshotView.java | 271 final Rect tmpRect = new Rect(); in getTouchRegion() local 272 mScreenshotPreview.getBoundsOnScreen(tmpRect); in getTouchRegion() 273 tmpRect.inset((int) dpToPx(-SWIPE_PADDING_DP), (int) dpToPx(-SWIPE_PADDING_DP)); in getTouchRegion() 274 touchRegion.op(tmpRect, Region.Op.UNION); in getTouchRegion() 275 mActionsContainerBackground.getBoundsOnScreen(tmpRect); in getTouchRegion() 276 tmpRect.inset((int) dpToPx(-SWIPE_PADDING_DP), (int) dpToPx(-SWIPE_PADDING_DP)); in getTouchRegion() 277 touchRegion.op(tmpRect, Region.Op.UNION); in getTouchRegion() 278 mDismissButton.getBoundsOnScreen(tmpRect); in getTouchRegion() 279 touchRegion.op(tmpRect, Region.Op.UNION); in getTouchRegion() 282 mScrollingScrim.getBoundsOnScreen(tmpRect); in getTouchRegion() [all …]
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | RenderNodeDrawable.cpp | 409 Rect tmpRect; in setViewProperties() local 410 properties.getClippingRectForFlags(clipFlags, &tmpRect); in setViewProperties() 411 clipRect = tmpRect.toSkRect(); in setViewProperties()
|
/frameworks/base/core/java/android/view/ |
D | ViewGroup.java | 7508 final Rect tmpRect = getTempRect(); in dispatchScrollCaptureSearch() local 7521 tmpRect.set(localVisibleRect); in dispatchScrollCaptureSearch() 7530 tmpRect.offset(-dx, -dy); in dispatchScrollCaptureSearch() 7537 rectIsVisible = tmpRect.intersect(0, 0, child.getWidth(), child.getHeight()); in dispatchScrollCaptureSearch() 7541 child.dispatchScrollCaptureSearch(tmpRect, childWindowOffset, targets); in dispatchScrollCaptureSearch()
|
D | View.java | 18233 final RectF tmpRect = mAttachInfo.mTmpTransformRect; in getHitRect() local 18234 tmpRect.set(0, 0, getWidth(), getHeight()); in getHitRect() 18235 getMatrix().mapRect(tmpRect); // TODO: mRenderNode.mapRect(tmpRect) in getHitRect() 18236 outRect.set((int) tmpRect.left + mLeft, (int) tmpRect.top + mTop, in getHitRect() 18237 (int) tmpRect.right + mLeft, (int) tmpRect.bottom + mTop); in getHitRect()
|