Searched refs:layerBounds (Results 1 - 5 of 5) sorted by relevance

/frameworks/base/libs/hwui/
H A DRenderProperties.cpp146 Rect layerBounds(0, 0, getWidth(), getHeight());
148 getClippingRectForFlags(clipFlags, &layerBounds);
152 << (int)layerBounds.left << ", " << (int)layerBounds.top << ", "
153 << (int)layerBounds.right << ", " << (int)layerBounds.bottom << ", "
H A DBakedOpDispatcher.cpp293 Rect layerBounds(FLT_MAX / 2.0f, FLT_MAX / 2.0f, FLT_MIN / 2.0f, FLT_MIN / 2.0f);
304 op.positions, mustDirtyRenderTarget ? &layerBounds : nullptr, &functor, forceFinish);
308 transform.mapRect(layerBounds);
310 renderer.dirtyRenderTarget(layerBounds);
745 Rect layerBounds(FLT_MAX / 2.0f, FLT_MAX / 2.0f, FLT_MIN / 2.0f, FLT_MIN / 2.0f);
756 mustDirtyRenderTarget ? &layerBounds : nullptr, &functor)) {
759 state.computedState.transform.mapRect(layerBounds);
760 renderer.dirtyRenderTarget(layerBounds);
H A DRecordingCanvas.cpp151 Rect layerBounds = visibleBounds; local
152 if (CC_LIKELY(!layerBounds.isEmpty())) {
156 inverse.mapRect(layerBounds);
157 layerBounds.doIntersect(unmappedBounds);
163 // layerBounds is in original bounds space, but clipped by current recording clip
164 if (!layerBounds.isEmpty() && !unmappedBounds.isEmpty()) {
176 Rect clip = layerBounds;
/frameworks/base/libs/hwui/pipeline/skia/
H A DRenderNodeDrawable.cpp246 Rect layerBounds(0, 0, properties.getWidth(), properties.getHeight());
248 properties.getClippingRectForFlags(clipFlags, &layerBounds);
251 SkRect bounds = SkRect::MakeLTRB(layerBounds.left, layerBounds.top,
252 layerBounds.right, layerBounds.bottom);
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DGcSnapshot.java241 * @param layerBounds the layer bounds
249 public GcSnapshot saveLayer(RectF layerBounds, Paint_Delegate paint, int flags) { argument
250 return new GcSnapshot(this, layerBounds, paint, flags);
270 * @param layerBounds the region of the layer. Optional, if null, this is a normal save()
275 private GcSnapshot(GcSnapshot previous, RectF layerBounds, Paint_Delegate paint, int flags) { argument
289 if (layerBounds != null) {
293 // transform the layerBounds with the current transform and stores it into a int rect
295 mapRect(matrix, rect2, layerBounds);

Completed in 186 milliseconds