HomeSort by relevance Sort by last modified time
    Searched defs:line2 (Results 1 - 25 of 87) sorted by null

1 2 3 4

  /external/chromium_org/third_party/skia/tests/
PathOpsDLineTest.cpp 35 SkDLine line2; local
37 line2.set(pts);
38 REPORTER_ASSERT(reporter, line[0] == line2[0] && line[1] == line2[1]);
46 line2 = line.subDivide(1, 0);
47 REPORTER_ASSERT(reporter, line[0] == line2[1] && line[1] == line2[0]);
48 line2 = SkDLine::SubDivide(pts, 1, 0);
49 REPORTER_ASSERT(reporter, line[0] == line2[1] && line[1] == line2[0])
    [all...]
PathOpsLineIntersectionTest.cpp 84 static void check_results(skiatest::Reporter* reporter, const SkDLine& line1, const SkDLine& line2,
88 SkDPoint result2 = line2.ptAtT(ts[1][i]);
91 result2 = line2.ptAtT(ts[1][i ^ 1]);
101 static void testOne(skiatest::Reporter* reporter, const SkDLine& line1, const SkDLine& line2) {
103 SkASSERT(ValidLine(line2));
105 int pts = i.intersect(line1, line2);
108 check_results(reporter, line1, line2, i);
109 if (line1[0] == line1[1] || line2[0] == line2[1]) {
116 ts.horizontal(line2, left, right, line1[0].fY, line1[0].fX != left)
198 const SkDLine& line2 = coincidentTests[index][1]; local
203 const SkDLine& line2 = tests[index][1]; local
208 const SkDLine& line2 = noIntersect[index][1]; local
    [all...]
PathOpsQuadLineIntersectionThreadedTest.cpp 102 SkDLine line2 = {{{x, y}, {x + h, y + v}}}; local
103 testLineIntersect(state.fReporter, quad, line2, x, y);
  /external/skia/tests/
PathOpsDLineTest.cpp 35 SkDLine line2; local
37 line2.set(pts);
38 REPORTER_ASSERT(reporter, line[0] == line2[0] && line[1] == line2[1]);
46 line2 = line.subDivide(1, 0);
47 REPORTER_ASSERT(reporter, line[0] == line2[1] && line[1] == line2[0]);
48 line2 = SkDLine::SubDivide(pts, 1, 0);
49 REPORTER_ASSERT(reporter, line[0] == line2[1] && line[1] == line2[0])
    [all...]
PathOpsLineIntersectionTest.cpp 77 static void check_results(skiatest::Reporter* reporter, const SkDLine& line1, const SkDLine& line2,
81 SkDPoint result2 = line2.ptAtT(ts[1][i]);
84 result2 = line2.ptAtT(ts[1][i ^ 1]);
94 static void testOne(skiatest::Reporter* reporter, const SkDLine& line1, const SkDLine& line2) {
96 SkASSERT(ValidLine(line2));
98 int pts = i.intersect(line1, line2);
101 check_results(reporter, line1, line2, i);
102 if (line1[0] == line1[1] || line2[0] == line2[1]) {
109 ts.horizontal(line2, left, right, line1[0].fY, line1[0].fX != left)
191 const SkDLine& line2 = coincidentTests[index][1]; local
196 const SkDLine& line2 = tests[index][1]; local
201 const SkDLine& line2 = noIntersect[index][1]; local
    [all...]
PathOpsQuadLineIntersectionThreadedTest.cpp 102 SkDLine line2 = {{{x, y}, {x + h, y + v}}}; local
103 testLineIntersect(state.fReporter, quad, line2, x, y);
  /external/chromium_org/third_party/skia/experimental/Intersection/
LineIntersection_Test.cpp 41 const _Line& line2 = tests[index][1]; local
43 int pts = intersect(line1, line2, ts);
50 xy_at_t(line2, ts.fT[1][i], result2.x, result2.y);
55 xy_at_t(line2, ts.fT[1][i ^ 1], result2.x, result2.y);
65 const _Line& line2 = noIntersect[index][1]; local
67 int pts = intersect(line1, line2, ts);
LineQuadraticIntersection_Test.cpp 206 _Line line2 = {{x, y}, {x + h, y + v}}; local
207 testLineIntersect(state, quad, line2, x, y);
QuadraticIntersection.cpp 128 _Line line1, line2; local
154 xy_at_t(quad2, minT2, line2[0].x, line2[0].y);
155 xy_at_t(quad2, maxT2, line2[1].x, line2[1].y);
161 pts = ::intersect(line1, line2, t1, t2);
176 treat1AsLine ? line1 : line2, lq);
181 double lineT = t_at(treat1AsLine ? line1 : line2, midQuad);
182 xy_at_t(treat1AsLine ? line1 : line2, lineT, midLine.x, midLine.y);
  /external/skia/experimental/Intersection/
LineIntersection_Test.cpp 41 const _Line& line2 = tests[index][1]; local
43 int pts = intersect(line1, line2, ts);
50 xy_at_t(line2, ts.fT[1][i], result2.x, result2.y);
55 xy_at_t(line2, ts.fT[1][i ^ 1], result2.x, result2.y);
65 const _Line& line2 = noIntersect[index][1]; local
67 int pts = intersect(line1, line2, ts);
LineQuadraticIntersection_Test.cpp 206 _Line line2 = {{x, y}, {x + h, y + v}}; local
207 testLineIntersect(state, quad, line2, x, y);
QuadraticIntersection.cpp 128 _Line line1, line2; local
154 xy_at_t(quad2, minT2, line2[0].x, line2[0].y);
155 xy_at_t(quad2, maxT2, line2[1].x, line2[1].y);
161 pts = ::intersect(line1, line2, t1, t2);
176 treat1AsLine ? line1 : line2, lq);
181 double lineT = t_at(treat1AsLine ? line1 : line2, midQuad);
182 xy_at_t(treat1AsLine ? line1 : line2, lineT, midLine.x, midLine.y);
  /cts/hostsidetests/monkey/src/com/android/cts/monkey/
SeedTest.java 41 String line2 = getNextLine(s2); local
42 if (line1 != null || line2 != null) {
43 assertEquals(line1, line2);
  /packages/experimental/NotificationShowcase/src/com/android/example/notificationshowcase/
NotificationService.java 233 SpannableString line2 = new SpannableString("Bob: hi there!"); local
234 line2.setSpan(bold, 0, 3, 0);
246 .addLine(line2)
  /external/chromium_org/base/files/
file_util.cc 100 std::string line1, line2; local
102 getline(file2, line2);
117 std::string::size_type end2 = line2.find_last_not_of("\r\n");
119 line2.clear();
120 else if (end2 + 1 < line2.length())
121 line2.erase(end2 + 1);
123 if (line1 != line2)
  /external/chromium_org/third_party/protobuf/src/google/protobuf/stubs/
common_unittest.cc 150 int line2 = __LINE__; GOOGLE_LOG(INFO) << "Visible2"; local
159 "0 "__FILE__":" + SimpleItoa(line2) + ": Visible2",
  /external/protobuf/src/google/protobuf/stubs/
common_unittest.cc 150 int line2 = __LINE__; GOOGLE_LOG(INFO) << "Visible2"; local
159 "0 "__FILE__":" + SimpleItoa(line2) + ": Visible2",
  /frameworks/base/core/java/android/service/notification/
Condition.java 48 public final String line2; field in class:Condition
53 public Condition(Uri id, String summary, String line1, String line2, int icon,
58 if (line2 == null) throw new IllegalArgumentException("line2 is required");
63 this.line2 = line2;
88 dest.writeString(line2);
100 .append(",line2=").append(line2)
131 && Objects.equals(other.line2, line2
    [all...]
  /frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
ActionPresenterSelector.java 106 CharSequence line2 = action.getLabel2(); local
108 vh.mButton.setText(line2);
109 } else if (TextUtils.isEmpty(line2)) {
112 vh.mButton.setText(line1 + "\n" + line2);
  /external/nist-sip/java/gov/nist/javax/sip/parser/
PipelinedMsgParser.java 227 String line2 = null; local
255 line2 = readLine(inputStream);
256 inputBuffer.append(line2);
257 if (line2.trim().equals(""))
269 inputBuffer.append(line2);
  /frameworks/base/core/java/android/text/
Selection.java 427 int line2 = layout.getLineForOffset(off2); local
429 if (line1 == line2) {
  /frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
RecentsCreateFragment.java 219 final View line2 = convertView.findViewById(R.id.line2); local
236 if (line2 != null) line2.setVisibility(View.GONE);
  /packages/apps/UnifiedEmail/src/org/apache/commons/io/
FileSystemUtils.java 331 String line2 = lines.get(1); // the line we're interested in local
334 StringTokenizer tok = new StringTokenizer(line2, " ");
  /packages/apps/Music/src/com/android/music/
MusicPicker.java 180 TextView line2; field in class:MusicPicker.TrackListAdapter.ViewHolder
220 vh.line2 = (TextView) v.findViewById(R.id.line2);
265 vh.line2.setText(vh.buffer2, 0, len);
  /cts/tests/tests/provider/src/android/provider/cts/
SearchRecentSuggestionsTest.java 83 String line2 = "line2"; local
84 srs.saveRecentQuery(query2, line2);
105 assertEquals(line2, c

Completed in 518 milliseconds

1 2 3 4