Home
last modified time | relevance | path

Searched refs:childBounds (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSwipeHelper.java284 public static void invalidateGlobalRegion(View view, RectF childBounds) { in invalidateGlobalRegion() argument
290 view.getMatrix().mapRect(childBounds); in invalidateGlobalRegion()
291 view.invalidate((int) Math.floor(childBounds.left), in invalidateGlobalRegion()
292 (int) Math.floor(childBounds.top), in invalidateGlobalRegion()
293 (int) Math.ceil(childBounds.right), in invalidateGlobalRegion()
294 (int) Math.ceil(childBounds.bottom)); in invalidateGlobalRegion()
296 Log.v(TAG, "INVALIDATE(" + (int) Math.floor(childBounds.left) in invalidateGlobalRegion()
297 + "," + (int) Math.floor(childBounds.top) in invalidateGlobalRegion()
298 + "," + (int) Math.ceil(childBounds.right) in invalidateGlobalRegion()
299 + "," + (int) Math.ceil(childBounds.bottom)); in invalidateGlobalRegion()
/frameworks/native/services/surfaceflinger/tests/
DMirrorLayer_test.cpp287 Rect childBounds = Rect(50, 50, 450, 450); in TEST_F() local
322 captureArgs.sourceCrop = childBounds; in TEST_F()
325 shot->expectSize(childBounds.width(), childBounds.height()); in TEST_F()
DScreenCapture_test.cpp692 const Rect childBounds = Rect(20, 20, 30, 30); in TEST_F() local
703 .setCrop(childLayer, childBounds) in TEST_F()
711 mCapture->expectColor(childBounds, childColor); in TEST_F()
712 mCapture->expectBorder(childBounds, layerColor); in TEST_F()
725 mCapture->expectColor(childBounds, {63, 63, 195, 255}); in TEST_F()
726 mCapture->expectBorder(childBounds, {63, 63, 195, 255}); in TEST_F()