Searched defs:layerBounds (Results 1 - 2 of 2) sorted by relevance
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | GcSnapshot.java | 241 * @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);
|
/frameworks/base/libs/hwui/ |
H A D | RecordingCanvas.cpp | 151 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;
|
Completed in 28 milliseconds