Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/pipeline/skia/
DRenderNodeDrawable.cpp239 SkIRect srcBounds = SkIRect::MakeWH(bounds.width(), bounds.height()); in drawContent() local
262 auto subset = SkIRect::MakeWH(srcBounds.width(), srcBounds.height()); in drawContent()
268 clipBounds.roundOut(), &srcBounds, &offset); in drawContent()
273 clipBounds.roundOut(), &srcBounds, in drawContent()
281 srcBounds = snapshotResult->outSubset; in drawContent()
287 srcBounds.width(), in drawContent()
288 srcBounds.height()); in drawContent()
316 canvas->drawImageRect(snapshotImage, SkRect::Make(srcBounds), in drawContent()
332 offset.x() - srcBounds.left(), in drawContent()
333 offset.y() - srcBounds.top() in drawContent()
/frameworks/native/libs/renderengine/skia/filters/
DStretchShaderFactory.cpp214 auto& srcBounds = stretchEffect.mappedChildBounds; in createSkShader() local
215 float normalizedScrollX = srcBounds.left / viewportWidth; in createSkShader()
216 float normalizedScrollY = srcBounds.top / viewportHeight; in createSkShader()
/frameworks/base/services/core/java/com/android/server/wm/
DTaskLaunchParamsModifier.java716 private void cascadeBounds(@NonNull Rect srcBounds, @NonNull TaskDisplayArea displayArea, in cascadeBounds() argument
718 outBounds.set(srcBounds); in cascadeBounds()
723 final int dx = Math.min(defaultOffset, Math.max(0, mTmpBounds.right - srcBounds.right)); in cascadeBounds()
724 final int dy = Math.min(defaultOffset, Math.max(0, mTmpBounds.bottom - srcBounds.bottom)); in cascadeBounds()