/frameworks/base/libs/hwui/ |
BakedOpDispatcher.cpp | 62 Rect opBounds = state.op->unmappedBounds; 103 op.unmappedBounds.getWidth(), op.unmappedBounds.getHeight(), op.patch); 124 op.unmappedBounds.getWidth(), op.unmappedBounds.getHeight(), op.patch); 134 + op.unmappedBounds.left + 0.5f); 136 + op.unmappedBounds.top + 0.5f); 152 tx + op.unmappedBounds.getWidth(), ty + op.unmappedBounds.getHeight())); 228 Rect shadowBounds = op.unmappedBounds; // STROK [all...] |
OpDumper.cpp | 33 Rect localBounds(op.unmappedBounds);
|
RecordedOp.h | 154 #define BASE_PARAMS const Rect& unmappedBounds, const Matrix4& localMatrix, const ClipBase* localClip, const SkPaint* paint 155 #define BASE_PARAMS_PAINTLESS const Rect& unmappedBounds, const Matrix4& localMatrix, const ClipBase* localClip 156 #define SUPER(Type) RecordedOp(RecordedOpId::Type, unmappedBounds, localMatrix, localClip, paint) 157 #define SUPER_PAINTLESS(Type) RecordedOp(RecordedOpId::Type, unmappedBounds, localMatrix, localClip, nullptr) 164 const Rect unmappedBounds; 177 , unmappedBounds(unmappedBounds) 425 : RecordedOp(RecordedOpId::TextureLayerOp, op.unmappedBounds, replacementMatrix, 470 op.unmappedBounds, 486 op.unmappedBounds, [all...] |
RecordingCanvas.cpp | 130 Rect unmappedBounds(left, top, right, bottom); 131 unmappedBounds.roundOut(); 134 Rect visibleBounds = unmappedBounds; 157 layerBounds.doIntersect(unmappedBounds); 164 if (!layerBounds.isEmpty() && !unmappedBounds.isEmpty()) { 168 unmappedBounds, 173 snapshot.initializeViewport(unmappedBounds.getWidth(), unmappedBounds.getHeight()); 174 snapshot.transform->loadTranslate(-unmappedBounds.left, -unmappedBounds.top, 0.0f) [all...] |
FrameBuilder.cpp | 643 const BitmapRectOp* resolvedOp = mAllocator.create_trivial<BitmapRectOp>(op.unmappedBounds, 658 Rect unmappedBounds(x - radius, y - radius, x + radius, y + radius); 660 unmappedBounds, 726 op.unmappedBounds.getWidth(), op.unmappedBounds.getHeight(), op.rx, op.ry); [all...] |
BakedOpState.cpp | 39 clippedBounds = recordedOp.unmappedBounds;
|
/frameworks/base/libs/hwui/tests/unit/ |
RecordingCanvasTests.cpp | 121 EXPECT_EQ(Rect(200, 200), ops[0]->unmappedBounds); 125 EXPECT_EQ(Rect(100, 100), ops[1]->unmappedBounds); 141 EXPECT_EQ(Rect(20, 10), op->unmappedBounds) 154 EXPECT_EQ(Rect(10, 20, 90, 180), op.unmappedBounds); 189 EXPECT_TRUE(op.unmappedBounds.contains(25, 15, 50, 25)) 276 EXPECT_TRUE(op.unmappedBounds.isEmpty()) << "Expect undefined recorded bounds"; 309 EXPECT_EQ(Rect(100, 200), op.unmappedBounds); 318 EXPECT_EQ(Rect(25, 25), op.unmappedBounds); 358 EXPECT_EQ(Rect(10, 20, 190, 180), op.unmappedBounds); 365 EXPECT_EQ(Rect(10, 20, 190, 180), op.unmappedBounds); [all...] |
SkiaCanvasTests.cpp | 62 EXPECT_EQ(directOp->unmappedBounds, pictureOp->unmappedBounds);
|
FrameBuilderTests.cpp | 152 EXPECT_TRUE(op.unmappedBounds.isEmpty()) 180 EXPECT_EQ(Rect(25, 25, 175, 175), op.unmappedBounds); 424 EXPECT_EQ(Rect(10, 10, 190, 190), op.unmappedBounds) [all...] |