Home
last modified time | relevance | path

Searched refs:kLine (Results 1 – 25 of 98) sorted by relevance

1234

/aosp_15_r20/external/pdfium/core/fxge/
H A Dcfx_path_unittest.cpp33 path.AppendPoint({0, 1}, CFX_Path::Point::Type::kLine); in TEST()
34 path.AppendPoint({1, 1}, CFX_Path::Point::Type::kLine); in TEST()
35 path.AppendPoint({1, 0}, CFX_Path::Point::Type::kLine); in TEST()
101 path.AppendPoint({2, 0}, CFX_Path::Point::Type::kLine); in TEST()
102 path.AppendPoint({3, 1}, CFX_Path::Point::Type::kLine); in TEST()
103 path.AppendPoint({2, 2}, CFX_Path::Point::Type::kLine); in TEST()
104 path.AppendPoint({1, 2}, CFX_Path::Point::Type::kLine); in TEST()
105 path.AppendPoint({0, 1}, CFX_Path::Point::Type::kLine); in TEST()
107 EXPECT_EQ(CFX_Path::Point::Type::kLine, path.GetType(5)); in TEST()
115 EXPECT_EQ(CFX_Path::Point::Type::kLine, path.GetType(5)); in TEST()
[all …]
H A Dcfx_renderdevice.cpp329 points[1].m_Type != CFX_Path::Point::Type::kLine || in CheckSimpleLinePath()
331 (points[2].m_Type != CFX_Path::Point::Type::kLine || in CheckSimpleLinePath()
380 temp_path.AppendPoint(left.m_Point, CFX_Path::Point::Type::kLine); in CheckPalindromicPath()
439 DCHECK_EQ(point_type, CFX_Path::Point::Type::kLine); in GetZeroAreaPath()
442 if (next.m_Type != CFX_Path::Point::Type::kLine) in GetZeroAreaPath()
453 new_path->AppendPoint(end.m_Point, CFX_Path::Point::Type::kLine); in GetZeroAreaPath()
464 new_path->AppendPoint(end.m_Point, CFX_Path::Point::Type::kLine); in GetZeroAreaPath()
702 DCHECK_EQ(point_type, CFX_Path::Point::Type::kLine); in DrawPathWithBlend()
832 path.AppendPoint(ptLineTo, CFX_Path::Point::Type::kLine); in DrawCosmeticLine()
1252 path.AppendPoint(points[i], CFX_Path::Point::Type::kLine); in DrawFillArea()
[all …]
H A Dcfx_drawutils.cpp24 CFX_Path::Point::Type::kLine); in DrawFocusRect()
27 CFX_Path::Point::Type::kLine); in DrawFocusRect()
29 CFX_Path::Point::Type::kLine); in DrawFocusRect()
31 CFX_Path::Point::Type::kLine); in DrawFocusRect()
H A Dcfx_path.h22 enum class Type : uint8_t { kLine, kBezier, kMove }; enumerator
34 Type m_Type = Type::kLine;
H A Dcfx_path.cpp33 if (points[i].m_Type != CFX_Path::Point::Type::kLine) in IsRectPreTransform()
87 if (point.m_Type == CFX_Path::Point::Type::kLine && !point.m_CloseFigure && in GetNormalizedPoints()
303 AppendPoint(pt2, CFX_Path::Point::Type::kLine); in AppendLine()
/aosp_15_r20/external/perfetto/src/traced/probes/packages_list/
H A Dpackages_list_unittest.cc35 char kLine[] = in TEST() local
39 ASSERT_TRUE(ReadPackagesListLine(kLine, &pkg)); in TEST()
47 char kLine[] = in TEST() local
51 ASSERT_TRUE(ReadPackagesListLine(kLine, &pkg)); in TEST()
59 char kLine[] = in TEST() local
63 ASSERT_TRUE(ReadPackagesListLine(kLine, &pkg)); in TEST()
71 char kLine[] = in TEST() local
75 ASSERT_TRUE(ReadPackagesListLine(kLine, &pkg)); in TEST()
/aosp_15_r20/external/skia/src/gpu/tessellate/
H A DStrokeIterator.h50 kLine = (int)SkPathVerb::kLine, enumerator
93 case SkPathVerb::kLine: in next()
115 this->enqueue(Verb::kLine, fClosePts.data(), nullptr); in next()
184 SkASSERT(this->backVerb() == Verb::kLine || this->backVerb() == Verb::kQuad || in finishOpenContour()
204 this->enqueue(Verb::kLine, fEndingCapPts.data(), nullptr); in finishOpenContour()
208 this->enqueue(Verb::kLine, fBeginningCapPts.data(), nullptr); in finishOpenContour()
266 this->enqueue(Verb::kLine, fEndingCapPts.data(), nullptr); in finishOpenContour()
270 fFirstVerbInContour = Verb::kLine; in finishOpenContour()
310 case Verb::kLine: in fillSquareCapPoints()
/aosp_15_r20/external/pdfium/core/fpdfapi/edit/
H A Dcpdf_pagecontentgenerator_unittest.cpp71 CFX_Path::Point::Type::kLine); in TEST_F()
73 CFX_Path::Point::Type::kLine); in TEST_F()
75 CFX_Path::Point::Type::kLine); in TEST_F()
124 CFX_Path::Point::Type::kLine); in TEST_F()
153 CFX_Path::Point::Type::kLine); in TEST_F()
161 CFX_Path::Point::Type::kLine); in TEST_F()
163 CFX_Path::Point::Type::kLine); in TEST_F()
189 pPathObj->path().AppendPoint(CFX_PointF(3, 4), CFX_Path::Point::Type::kLine); in TEST_F()
191 CFX_Path::Point::Type::kLine); in TEST_F()
343 pPath->AppendPoint(CFX_PointF(5, 0), CFX_Path::Point::Type::kLine); in TEST_F()
[all …]
/aosp_15_r20/external/skia/src/gpu/ganesh/geometry/
H A DGrShape.cpp37 case Type::kLine: in operator =()
214 this->setType(Type::kLine); in simplifyLine()
259 case Type::kLine: in simplify()
293 case Type::kLine: // fall through, "" (currently choosing not to test if 'rect' == line) in conservativeContains()
317 case Type::kLine: // fall through, "" in conservativeContains()
342 case Type::kLine: in closed()
361 case Type::kLine: in convex()
384 case Type::kLine: { in bounds()
416 case Type::kLine: // "" in segmentMask()
461 case Type::kLine: in asPath()
H A DGrShape.h54 kEmpty, kPoint, kRect, kRRect, kPath, kArc, kLine enumerator
56 inline static constexpr int kTypeCount = static_cast<int>(Type::kLine) + 1;
90 bool isLine() const { return this->type() == Type::kLine; } in isLine()
172 this->reset(Type::kLine); in setLine()
/aosp_15_r20/external/webrtc/rtc_tools/rtc_event_log_visualizer/
H A Danalyze_audio.cc30 TimeSeries time_series("Audio encoder target bitrate", LineStyle::kLine, in CreateAudioEncoderTargetBitrateGraph()
55 TimeSeries time_series("Audio encoder frame length", LineStyle::kLine, in CreateAudioEncoderFrameLengthGraph()
81 LineStyle::kLine, PointStyle::kHighlight); in CreateAudioEncoderPacketLossGraph()
106 TimeSeries time_series("Audio encoder FEC", LineStyle::kLine, in CreateAudioEncoderEnableFecGraph()
131 TimeSeries time_series("Audio encoder DTX", LineStyle::kLine, in CreateAudioEncoderEnableDtxGraph()
156 TimeSeries time_series("Audio encoder number of channels", LineStyle::kLine, in CreateAudioEncoderNumChannelsGraph()
391 LineStyle::kLine); in CreateAudioJitterBufferGraph()
393 "Relative packet arrival delay", LineStyle::kLine); in CreateAudioJitterBufferGraph()
394 TimeSeries time_series_play_time("Playout delay", LineStyle::kLine); in CreateAudioJitterBufferGraph()
395 TimeSeries time_series_target_time("Target delay", LineStyle::kLine, in CreateAudioJitterBufferGraph()
[all …]
H A Danalyzer.cc518 LineStyle::kLine); in CreatePacketRateGraph()
525 LineStyle::kLine); in CreatePacketRateGraph()
581 LineStyle::kLine); in CreateTotalPacketRateGraph()
627 LineStyle::kLine); in CreateAudioLevelGraph()
692 LineStyle::kLine, PointStyle::kHighlight); in CreateIncomingPacketLossGraph()
782 LineStyle::kLine); in CreateIncomingDelayGraph()
790 LineStyle::kLine); in CreateIncomingDelayGraph()
804 TimeSeries time_series("Fraction lost", LineStyle::kLine, in CreateFractionLossGraph()
835 TimeSeries bitrate_series("Bitrate", LineStyle::kLine); in CreateTotalIncomingBitrateGraph()
868 TimeSeries time_series("Incoming generic bitrate", LineStyle::kLine); in CreateTotalIncomingBitrateGraph()
[all …]
H A Dplot_base.h30 kLine, // Straight line between consecutive points. in RTC_POP_IGNORING_WUNDEF() enumerator
70 LineStyle line_style = LineStyle::kLine; in RTC_POP_IGNORING_WUNDEF()
/aosp_15_r20/external/skia/tests/
H A DSkPathRangeIterTest.cpp20 kLine = (int)SkPathVerb::kLine, in DEF_TEST() enumerator
30 Verb::kLine, in DEF_TEST()
37 Verb::kLine, in DEF_TEST()
65 case Verb::kLine: in DEF_TEST()
109 case Verb::kLine: in DEF_TEST()
H A DSubsetPath.cpp75 case SkPathVerb::kLine: in SubsetContours()
114 case SkPathVerb::kLine: in getSubsetPath()
159 case SkPathVerb::kLine: in SubsetVerbs()
188 bool enabled = SkPathVerb::kLine <= verb && verb <= SkPathVerb::kCubic in getSubsetPath()
202 case SkPathVerb::kLine: in getSubsetPath()
H A DPathBuilderTest.cpp83 case SkPathVerb::kLine: in check_points()
258 pts[i] = {x, y}; vbs[i] = (uint8_t)SkPathVerb::kLine; in DEF_TEST()
363 REPORTER_ASSERT(reporter, v == SkPathVerb::kLine, "%d != %d (line)", in assertIsLineTo()
364 (int)v, (int)SkPathVerb::kLine); in assertIsLineTo()
/aosp_15_r20/external/skia/src/gpu/graphite/geom/
H A DShape.cpp33 case Type::kLine: this->setLine(shape.p0(), shape.p1()); break; in operator =()
47 case Type::kLine: return false; in conservativeContains()
74 case Type::kLine: return false; in conservativeContains()
105 case Type::kLine: return fRect.makeSorted(); // sorting corners computes bbox of segment in bounds()
134 case Type::kLine: builder.moveTo(fRect.left(), fRect.top()) in asPath()
190 case Type::kLine: in keySize()
268 case Type::kLine: { in writeKey()
H A DShape.h36 kEmpty, kLine, kRect, kRRect, kArc, kPath enumerator
66 bool isLine() const { return fType == Type::kLine; } in isLine()
129 this->setType(Type::kLine); in setLine()
/aosp_15_r20/external/skia/src/gpu/ganesh/ops/
H A DAAConvexPathRenderer.cpp87 kLine = 0, enumerator
91 static_assert(0 == kLine && 1 == kQuad);
102 SkASSERT(fType == kLine || fType == kQuad); in countPoints()
106 SkASSERT(fType == kLine || fType == kQuad); in endPt()
110 SkASSERT(fType == kLine || fType == kQuad); in endNorm()
204 if (Segment::kLine == segb.fType) { in compute_vectors()
238 kLine, enumerator
262 data->fStage = DegenerateTestData::Stage::kLine; in update_degenerate_test()
265 case DegenerateTestData::Stage::kLine: in update_degenerate_test()
300 segments->back().fType = Segment::kLine; in add_line_to_segment()
[all …]
/aosp_15_r20/external/pdfium/fpdfsdk/pwl/
H A Dcpwl_cbbutton.cpp52 path.AppendPoint(pt2, CFX_Path::Point::Type::kLine); in DrawThisAppearance()
53 path.AppendPoint(pt3, CFX_Path::Point::Type::kLine); in DrawThisAppearance()
54 path.AppendPoint(pt1, CFX_Path::Point::Type::kLine); in DrawThisAppearance()
/aosp_15_r20/external/skia/src/gpu/ganesh/
H A DGrDistanceFieldGenFromVector.cpp212 kLine = 0, enumerator
216 static_assert(0 == kLine && 1 == kQuad);
232 SkASSERT(fType == kLine || fType == kQuad); in countPoints()
237 SkASSERT(fType == kLine || fType == kQuad); in endPt()
254 if (fType == PathSegment::kLine) { in init()
361 segments->back().fType = PathSegment::kLine; in add_line()
585 if (segment.fType == PathSegment::kLine) { in distance_to_segment()
792 case SkPathEdgeIter::Edge::kLine: { in GrGenerateDistanceFieldFromPath()
/aosp_15_r20/external/pdfium/core/fpdfapi/page/
H A Dcpdf_streamcontentparser.cpp574 AddPathPointAndClose(m_PathStart, CFX_Path::Point::Type::kLine); in Handle_CloseEOFillStrokePath()
926 AddPathPointAndClose(m_PathStart, CFX_Path::Point::Type::kLine); in Handle_ClosePath()
970 AddPathPoint(GetPoint(0), CFX_Path::Point::Type::kLine); in Handle_LineTo()
1015 AddPathPoint({x + w, y}, CFX_Path::Point::Type::kLine); in AddPathRect()
1016 AddPathPoint({x + w, y + h}, CFX_Path::Point::Type::kLine); in AddPathRect()
1017 AddPathPoint({x, y + h}, CFX_Path::Point::Type::kLine); in AddPathRect()
1018 AddPathPointAndClose({x, y}, CFX_Path::Point::Type::kLine); in AddPathRect()
1506 path_points.emplace_back(point.m_Point, CFX_Path::Point::Type::kLine, in AddPathObject()
1613 CFX_Path::Point::Type::kLine); in ParsePathObject()
/aosp_15_r20/external/skia/src/core/
H A DSkEdgeBuilder.cpp261 case SkPathEdgeIter::Edge::kLine: { in buildPoly()
283 case SkPathEdgeIter::Edge::kLine: { in buildPoly()
347 case SkPathEdgeIter::Edge::kLine: in build()
/aosp_15_r20/external/pdfium/fpdfsdk/
H A Dfpdf_editpath.cpp38 static_assert(static_cast<int>(CFX_Path::Point::Type::kLine) ==
118 pPathObj->path().AppendPoint(CFX_PointF(x, y), CFX_Path::Point::Type::kLine); in FPDFPath_LineTo()
/aosp_15_r20/external/pdfium/xfa/fgas/graphics/
H A Dcfgas_gepath.cpp31 path_.AppendPoint(point, CFX_Path::Point::Type::kLine); in LineTo()
80 path_.AppendPoint(p2, CFX_Path::Point::Type::kLine); in AddLine()

1234