Home
last modified time | relevance | path

Searched refs:calculateSnapshotFrame (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/window/
DSnapshotDrawerUtilsTest.java207 mSnapshotSurface.calculateSnapshotFrame(new Rect(0, 10, 100, 90))); in testCalculateSnapshotFrame()
216 mSnapshotSurface.calculateSnapshotFrame(new Rect(10, 10, 100, 100))); in testCalculateSnapshotFrame_navBarLeft()
225 mSnapshotSurface.calculateSnapshotFrame(new Rect(5, 0, 95, 90))); in testCalculateSnapshotFrame_waterfall()
/frameworks/base/core/java/android/window/
DSnapshotDrawerUtils.java228 frame = calculateSnapshotFrame(crop); in drawSizeMismatchSnapshot()
298 public Rect calculateSnapshotFrame(Rect crop) { in calculateSnapshotFrame() method in SnapshotDrawerUtils.SnapshotSurface