Searched refs:unmappedBounds (Results 1 - 9 of 9) sorted by relevance

/frameworks/base/libs/hwui/tests/unit/
H A DSkiaCanvasTests.cpp59 EXPECT_EQ(directOp->unmappedBounds, pictureOp->unmappedBounds);
H A DRecordingCanvasTests.cpp93 EXPECT_EQ(Rect(200, 200), ops[0]->unmappedBounds);
97 EXPECT_EQ(Rect(100, 100), ops[1]->unmappedBounds);
113 EXPECT_EQ(Rect(20, 10), op->unmappedBounds)
126 EXPECT_EQ(Rect(10, 20, 90, 180), op.unmappedBounds);
161 EXPECT_TRUE(op.unmappedBounds.contains(25, 15, 50, 25))
238 EXPECT_TRUE(op.unmappedBounds.isEmpty()) << "Expect undefined recorded bounds";
272 EXPECT_EQ(Rect(100, 200), op.unmappedBounds);
281 EXPECT_EQ(Rect(25, 25), op.unmappedBounds);
321 EXPECT_EQ(Rect(10, 20, 190, 180), op.unmappedBounds);
328 EXPECT_EQ(Rect(10, 20, 190, 180), op.unmappedBounds);
[all...]
H A DFrameBuilderTests.cpp151 EXPECT_TRUE(op.unmappedBounds.isEmpty())
370 EXPECT_EQ(Rect(10, 10, 190, 190), op.unmappedBounds)
823 EXPECT_EQ(Rect(10, 10, 190, 190), op.unmappedBounds);
893 EXPECT_EQ(Rect(400, 400), op.unmappedBounds); // inner rect
895 EXPECT_EQ(Rect(800, 800), op.unmappedBounds); // outer rect
902 EXPECT_EQ(Rect(400, 400), op.unmappedBounds); // inner layer
905 EXPECT_EQ(Rect(800, 800), op.unmappedBounds); // outer layer
981 EXPECT_EQ(Rect(200, 200), op.unmappedBounds);
1050 EXPECT_EQ(5, op.unmappedBounds.getWidth());
1051 EXPECT_EQ(5, op.unmappedBounds
[all...]
/frameworks/base/libs/hwui/
H A DBakedOpDispatcher.cpp66 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...]
H A DOpDumper.cpp32 Rect localBounds(op.unmappedBounds);
H A DRecordedOp.h153 #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; member in struct:android::uirenderer::RecordedOp
176 , unmappedBounds(unmappedBounds)
425 : RecordedOp(RecordedOpId::TextureLayerOp, op.unmappedBounds, replacementMatrix,
470 op.unmappedBounds,
486 op.unmappedBounds,
[all...]
H A DRecordingCanvas.cpp130 const Rect unmappedBounds(left, top, right, bottom);
133 Rect visibleBounds = unmappedBounds;
154 layerBounds.doIntersect(unmappedBounds);
160 if (layerBounds.isEmpty() || unmappedBounds.isEmpty()) {
172 snapshot.initializeViewport(unmappedBounds.getWidth(), unmappedBounds.getHeight());
173 snapshot.transform->loadTranslate(-unmappedBounds.left, -unmappedBounds.top, 0.0f);
176 clip.translate(-unmappedBounds.left, -unmappedBounds
[all...]
H A DFrameBuilder.cpp637 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);
833 uint32_t layerWidth = (uint32_t) op.unmappedBounds.getWidth();
834 uint32_t layerHeight = (uint32_t) op.unmappedBounds.getHeight();
843 contentTransform.translate(op.unmappedBounds.left, op.unmappedBounds.top);
887 uint32_t layerWidth = (uint32_t) beginLayerOp.unmappedBounds
[all...]
H A DBakedOpState.cpp39 clippedBounds = recordedOp.unmappedBounds;

Completed in 446 milliseconds