/frameworks/base/libs/hwui/tests/unit/ |
OpDumperTests.cpp | 37 ClipRect clipRect(uirenderer::Rect(50, 50)); 38 op.localClip = &clipRect;
|
SnapshotTests.cpp | 33 ClipRect rect(Rect(0, 0, 75, 75)); 55 ClipRect rect(Rect(0, 0, 75, 75));
|
BakedOpStateTests.cpp | 33 ClipRect clip(Rect(100, 200)); 40 EXPECT_EQ(Rect(100, 200), state.clipRect()); 54 EXPECT_EQ(Rect(10, 20, 100, 200), state.clipRect()); 68 ClipRect clip(Rect(100, 200)); 165 ClipRect clip(Rect(200, 200)); 183 ClipRect clip(Rect(100, 200)); 233 ClipRect clip(Rect(100, 200)); 247 ClipRect clip(Rect(200, 200)); 262 ClipRect clip(Rect(200, 200));
|
ClipAreaTests.cpp | 103 Rect clipRect(area.getClipRect()); 105 EXPECT_EQ(expected, clipRect); 202 ClipRect recordedClip(Rect(100, 100)); 214 ClipRect recordedClip2(Rect(100, 100)); 224 ClipRect recordedClip(Rect(100, 100)); 267 ClipRect recordedClip(Rect(100.12, 100.74));
|
/frameworks/base/libs/hwui/ |
BakedOpState.h | 66 ResolvedRenderState(const ClipRect* viewportRect, const Rect& dstRect); 72 Rect outClip(clipRect()); 77 const Rect& clipRect() const { 126 const ClipRect* clip, const Rect& dstRect, const RecordedOp& recordedOp); 162 BakedOpState(const ClipRect* clipRect, const Rect& dstRect, const RecordedOp& recordedOp) 163 : computedState(clipRect, dstRect)
|
ClipArea.h | 114 struct ClipRect : ClipBase { 115 ClipRect(const Rect& rect)
|
LayerBuilder.h | 110 const ClipRect repaintClip;
|
BakedOpState.cpp | 57 const Rect& clipRect = clipState->rect; 58 if (CC_UNLIKELY(clipRect.isEmpty() || !clippedBounds.intersects(clipRect))) { 61 // Note: we could rewind the clipState object in situations where the clipRect is empty, 67 clipSideFlags = computeClipSideFlags(clipRect, clippedBounds); 68 clippedBounds.doIntersect(clipRect); 101 ResolvedRenderState::ResolvedRenderState(const ClipRect* clipRect, const Rect& dstRect) 103 , clipState(clipRect) 105 , clipSideFlags(computeClipSideFlags(clipRect->rect, dstRect) [all...] |
ClipArea.cpp | 376 serialization = allocator.create<ClipRect>(mClipRect); 415 static const ClipRect sEmptyClipRect(Rect(0, 0)); 436 auto rectClip = allocator.create<ClipRect>(recordedClip->rect);
|
BakedOpRenderer.cpp | 131 ClipRect overdrawClip(repaintRect); 359 auto&& clip = state.computedState.clipRect();
|
BakedOpDispatcher.cpp | 86 ClipRect renderTargetClip(opList.clip); 192 ClipRect renderTargetClip(opList.clip); 308 const Rect* localOpClip = pureTranslate ? &state.computedState.clipRect() : nullptr; 328 ClipRect renderTargetClip(opList.clip); [all...] |
/external/skia/tests/ |
RecordTest.cpp | 83 APPEND(record, SkRecords::ClipRect); 94 assert_type<SkRecords::ClipRect>(r, record, 1);
|
RecordPatternTest.cpp | 17 Is<ClipRect>, 33 recorder.clipRect(SkRect::MakeWH(300, 200)); 39 REPORTER_ASSERT(r, pattern.second<ClipRect>() != nullptr); 49 // There will be two save-clipRect-restore blocks [0,3) and [3,6). 52 recorder.clipRect(SkRect::MakeWH(300, 200)); 73 recorder.clipRect(SkRect::MakeWH(300, 200)); 81 Pattern<Is<Save>, Greedy<Is<ClipRect>>, Is<Restore>> pattern; 88 recorder.clipRect(SkRect::MakeWH(300, 200)); 94 recorder.clipRect(SkRect::MakeWH(300, 200)); 95 recorder.clipRect(SkRect::MakeWH(100, 100)) [all...] |
RecordDrawTest.cpp | 64 recorder.clipRect(SkRect::MakeWH(100, 200)); 73 REPORTER_ASSERT(r, 0 == count_instances_of_type<SkRecords::ClipRect>(rerecord)); 137 recorder.clipRect(SkRect::MakeWH(400, 500)); 216 recorder.clipRect(SkRect::MakeWH(20, 40)); 224 // The saveLayer, clipRect, and restore bounds were incorrectly (0,0,70,50).
|
CanvasTest.cpp | 189 void clipRect(const SkRect& r, SkRegion::Op op, bool aa) override { 190 fTarget->clipRect(r, op, aa); 334 SIMPLE_TEST_STEP(ClipRect, clipRect(d.fRect)); 393 canvas->clipRect(d.fRect); 433 testCanvas->clipRect(d.fRect); 747 canvas.clipRect(SkRect::MakeXYWH(12.7f, 12.7f, 75, 75)); 757 filterCanvas.clipRect(SkRect::MakeXYWH(30.5f, 30.7f, 100, 100));
|
/development/perftests/panorama/feature_mos/src/mosaic/ |
Geometry.h | 34 inline void ClipRect(double x, double y, BlendRect &brect) 42 inline void ClipRect(BlendRect rrect, BlendRect &brect)
|
Blend.cpp | 161 ClipRect(mb->brect, global_rect); [all...] |
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
Geometry.h | 34 inline void ClipRect(double x, double y, BlendRect &brect) 42 inline void ClipRect(BlendRect rrect, BlendRect &brect)
|
Blend.cpp | 166 ClipRect(mb->brect, global_rect); [all...] |
/external/skia/src/utils/ |
SkCanvasStateUtils.cpp | 44 struct ClipRect { 52 ClipRect* clipRects; 144 void clipRect(const SkRect& rect, SkRegion::Op op, bool antialias) override { 174 * and some more common complex clips (e.g. a clipRect with a sub-rect 177 SkSWriter32<4*sizeof(ClipRect)> clipWriter; 184 // matches the ordering of our ClipRect struct 191 state->clipRects = (ClipRect*) sk_malloc_throw(clipWriter.bytesWritten());
|
/external/skia/include/private/ |
SkRecords.h | 43 M(ClipRect) \ 225 RECORD(ClipRect, 0,
|
/external/skia/src/core/ |
SkRecordOpts.cpp | 221 ClipRect 228 typedef Pattern<Is<SaveLayer>, Is<Save>, Is<ClipRect>, Is<SaveLayer>,
|
SkRecordDraw.cpp | 87 DRAW(ClipRect, clipRect(r.rect, r.opAA.op, r.opAA.aa)); 238 void updateClipBounds(const ClipRect& op) { this->updateClipBoundsForClipOp(op.devBounds); } 284 void trackBounds(const ClipRect&) { this->pushControl(); }
|
SkRecorder.cpp | 360 APPEND(ClipRect, this->devBounds(), rect, opAA);
|
/frameworks/base/libs/hwui/tests/common/ |
TestUtils.h | 59 EXPECT_EQ((expRect), reinterpret_cast<const ClipRect*>(clipStatePtr)->rect); \
|