Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/com/android/internal/view/
DAbsCaptureHelperTest.java181 assertThat(scrollResult.requestedArea).isEqualTo(request); in onScrollRequested_down_fromTop()
195 assertThat(scrollResult.requestedArea).isEqualTo(request); in onScrollRequested_up_fromMiddle()
209 assertThat(scrollResult.requestedArea).isEqualTo(request); in onScrollRequested_down_fromMiddle()
223 assertThat(scrollResult.requestedArea).isEqualTo(request); in onScrollRequested_up_fromBottom()
237 assertThat(scrollResult.requestedArea).isEqualTo(request); in onScrollRequested_down_fromBottom()
257 assertThat(scrollResult.requestedArea).isEqualTo(request); in onScrollRequested_offTopEdge()
/frameworks/base/core/java/com/android/internal/view/
DScrollCaptureViewHelper.java44 public Rect requestedArea; field in ScrollCaptureViewHelper.ScrollResult
59 + "requestedArea=" + requestedArea in toString()
DWebViewCaptureHelper.java64 result.requestedArea = new Rect(requestRect); in onScrollRequested()
DScrollViewCaptureHelper.java104 result.requestedArea = new Rect(requestRect); in onScrollRequested()
DListViewCaptureHelper.java69 result.requestedArea = new Rect(requestRect); in onScrollRequested()
DRecyclerViewCaptureHelper.java70 result.requestedArea = new Rect(requestRect); in onScrollRequested()
/frameworks/base/core/java/android/app/
DWallpaperColors.java622 final int requestedArea = width * height; in calculateOptimalSize() local
624 if (requestedArea > MAX_WALLPAPER_EXTRACTION_AREA) { in calculateOptimalSize()
625 scale = Math.sqrt(MAX_WALLPAPER_EXTRACTION_AREA / (double) requestedArea); in calculateOptimalSize()