/frameworks/base/libs/hwui/tests/unit/ |
SkiaCanvasTests.cpp | 59 EXPECT_EQ(directOp->unmappedBounds, pictureOp->unmappedBounds);
|
RecordingCanvasTests.cpp | 114 EXPECT_EQ(Rect(200, 200), ops[0]->unmappedBounds); 118 EXPECT_EQ(Rect(100, 100), ops[1]->unmappedBounds); 134 EXPECT_EQ(Rect(20, 10), op->unmappedBounds) 147 EXPECT_EQ(Rect(10, 20, 90, 180), op.unmappedBounds); 182 EXPECT_TRUE(op.unmappedBounds.contains(25, 15, 50, 25)) 259 EXPECT_TRUE(op.unmappedBounds.isEmpty()) << "Expect undefined recorded bounds"; 293 EXPECT_EQ(Rect(100, 200), op.unmappedBounds); 302 EXPECT_EQ(Rect(25, 25), op.unmappedBounds); 342 EXPECT_EQ(Rect(10, 20, 190, 180), op.unmappedBounds); 349 EXPECT_EQ(Rect(10, 20, 190, 180), op.unmappedBounds); [all...] |
FrameBuilderTests.cpp | 151 EXPECT_TRUE(op.unmappedBounds.isEmpty()) 370 EXPECT_EQ(Rect(10, 10, 190, 190), op.unmappedBounds) [all...] |
/frameworks/base/libs/hwui/ |
BakedOpDispatcher.cpp | 66 Rect opBounds = state.op->unmappedBounds; 109 op.unmappedBounds.getWidth(), op.unmappedBounds.getHeight(), op.patch); 130 op.unmappedBounds.getWidth(), op.unmappedBounds.getHeight(), op.patch); 140 + op.unmappedBounds.left + 0.5f); 142 + op.unmappedBounds.top + 0.5f); 158 tx + op.unmappedBounds.getWidth(), ty + op.unmappedBounds.getHeight())); 234 Rect shadowBounds = op.unmappedBounds; // STROK [all...] |
OpDumper.cpp | 32 Rect localBounds(op.unmappedBounds);
|
RecordedOp.h | 153 #define BASE_PARAMS const Rect& unmappedBounds, const Matrix4& localMatrix, const ClipBase* localClip, const SkPaint* paint 154 #define BASE_PARAMS_PAINTLESS const Rect& unmappedBounds, const Matrix4& localMatrix, const ClipBase* localClip 155 #define SUPER(Type) RecordedOp(RecordedOpId::Type, unmappedBounds, localMatrix, localClip, paint) 156 #define SUPER_PAINTLESS(Type) RecordedOp(RecordedOpId::Type, unmappedBounds, localMatrix, localClip, nullptr) 163 const Rect unmappedBounds; 176 , 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 | 637 const BitmapRectOp* resolvedOp = mAllocator.create_trivial<BitmapRectOp>(op.unmappedBounds, 652 Rect unmappedBounds(x - radius, y - radius, x + radius, y + radius); 654 unmappedBounds, 721 op.unmappedBounds.getWidth(), op.unmappedBounds.getHeight(), op.rx, op.ry); [all...] |
BakedOpState.cpp | 39 clippedBounds = recordedOp.unmappedBounds;
|