Searched defs:clippedBounds (Results 1 - 3 of 3) sorted by relevance

/frameworks/base/libs/hwui/
H A DBakedOpState.h93 Rect clippedBounds; member in class:android::uirenderer::ResolvedRenderState
H A DLayerBuilder.cpp34 mBounds = op->computedState.clippedBounds;
42 if (rect.intersects(op->computedState.clippedBounds)) {
72 mBounds.unionWith(op->computedState.clippedBounds);
132 if (intersects(op->computedState.clippedBounds)) return false;
156 const Rect& opBounds = op->computedState.clippedBounds;
184 mBounds.unionWith(op->computedState.clippedBounds);
212 void LayerBuilder::locateInsertIndex(int batchId, const Rect& clippedBounds, argument
225 if (overBatch->intersects(clippedBounds)) {
247 && bakedState->computedState.clippedBounds.contains(repaintRect)
294 locateInsertIndex(batchId, op->computedState.clippedBounds,
[all...]
/frameworks/base/libs/hwui/tests/unit/
H A DFrameBuilderTests.cpp153 EXPECT_EQ(Rect(45, 45, 55, 55), state.computedState.clippedBounds)
231 EXPECT_EQ(Rect(5, 10, 55, 60), state.computedState.clippedBounds);
256 const Rect& clippedBounds = state.computedState.clippedBounds; local
261 EXPECT_EQ(Rect(600, 100, 700, 500), clippedBounds);
266 EXPECT_EQ(Rect(100, 400, 600, 500), clippedBounds);
271 EXPECT_EQ(Rect(100, 100, 700, 500), clippedBounds);
276 EXPECT_EQ(Rect(0, 0, 800, 200), clippedBounds);
565 Rect fill = opList.states[0]->computedState.clippedBounds;
566 Rect stroke = opList.states[1]->computedState.clippedBounds;
[all...]

Completed in 8 milliseconds