Searched refs:newRect (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/core/java/android/view/ |
D | PrivacyIndicatorBounds.java | 134 Rect newRect = new Rect(orig); in scaleRect() local 135 newRect.scale(scale); in scaleRect() 136 return newRect; in scaleRect()
|
/frameworks/native/services/surfaceflinger/FrontEnd/ |
D | LayerSnapshotBuilder.cpp | 82 Rect newRect; in transformTouchableRegionSafely() local 83 if (__builtin_add_overflow(rect.left, tx, &newRect.left) || in transformTouchableRegionSafely() 84 __builtin_add_overflow(rect.top, ty, &newRect.top) || in transformTouchableRegionSafely() 85 __builtin_add_overflow(rect.right, tx, &newRect.right) || in transformTouchableRegionSafely() 86 __builtin_add_overflow(rect.bottom, ty, &newRect.bottom)) { in transformTouchableRegionSafely() 91 ret.orSelf(newRect); in transformTouchableRegionSafely()
|
/frameworks/native/services/surfaceflinger/ |
D | Layer.cpp | 2353 Rect newRect; in transformTouchableRegionSafely() local 2354 if (__builtin_add_overflow(rect.left, tx, &newRect.left) || in transformTouchableRegionSafely() 2355 __builtin_add_overflow(rect.top, ty, &newRect.top) || in transformTouchableRegionSafely() 2356 __builtin_add_overflow(rect.right, tx, &newRect.right) || in transformTouchableRegionSafely() 2357 __builtin_add_overflow(rect.bottom, ty, &newRect.bottom)) { in transformTouchableRegionSafely() 2362 ret.orSelf(newRect); in transformTouchableRegionSafely()
|