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

/frameworks/base/libs/hwui/
H A DBakedOpState.h90 Rect clippedBounds; member in class:android::uirenderer::ResolvedRenderState
H A DLayerBuilder.cpp33 mBounds = op->computedState.clippedBounds;
41 if (rect.intersects(op->computedState.clippedBounds)) {
70 mBounds.unionWith(op->computedState.clippedBounds);
126 if (intersects(op->computedState.clippedBounds)) return false;
151 const Rect& opBounds = op->computedState.clippedBounds;
182 mBounds.unionWith(op->computedState.clippedBounds);
210 void LayerBuilder::locateInsertIndex(int batchId, const Rect& clippedBounds, argument
223 if (overBatch->intersects(clippedBounds)) {
245 bakedState->computedState.clippedBounds.contains(repaintRect) &&
291 locateInsertIndex(batchId, op->computedState.clippedBounds, (BatchBas
[all...]
/frameworks/base/libs/hwui/tests/unit/
H A DFrameBuilderTests.cpp150 EXPECT_EQ(Rect(45, 45, 55, 55), state.computedState.clippedBounds)
176 EXPECT_EQ(Rect(25, 25, 175, 175), state.computedState.clippedBounds);
257 EXPECT_EQ(Rect(5, 10, 55, 60), state.computedState.clippedBounds);
282 const Rect& clippedBounds = state.computedState.clippedBounds; local
287 EXPECT_EQ(Rect(600, 100, 700, 500), clippedBounds);
292 EXPECT_EQ(Rect(100, 400, 600, 500), clippedBounds);
297 EXPECT_EQ(Rect(100, 100, 700, 500), clippedBounds);
302 EXPECT_EQ(Rect(0, 0, 800, 200), clippedBounds);
637 Rect fill = opList.states[0]->computedState.clippedBounds;
[all...]

Completed in 439 milliseconds