Home
last modified time | relevance | path

Searched refs:rec1 (Results 1 – 21 of 21) sorted by relevance

/third_party/flutter/skia/docs/examples/
DCanvas_SaveLayerRec_SaveLayerRec.cpp8 SkCanvas::SaveLayerRec rec1;
9 rec1.fSaveLayerFlags = SkCanvas::kPreserveLCDText_SaveLayerFlag;
11 SkDebugf("rec1 %c= rec2\n", rec1.fBounds == rec2.fBounds
12 && rec1.fPaint == rec2.fPaint
13 && rec1.fBackdrop == rec2.fBackdrop
14 && rec1.fSaveLayerFlags == rec2.fSaveLayerFlags ? '=' : '!');
DCanvas_SaveLayerRec_const_SkRect_star_const_SkPaint_star.cpp7 SkCanvas::SaveLayerRec rec1; in draw() local
9 SkDebugf("rec1 %c= rec2\n", rec1.fBounds == rec2.fBounds in draw()
10 && rec1.fPaint == rec2.fPaint in draw()
11 && rec1.fBackdrop == rec2.fBackdrop in draw()
12 && rec1.fSaveLayerFlags == rec2.fSaveLayerFlags ? '=' : '!'); in draw()
DCanvas_SaveLayerRec_const_SkRect_star_const_SkPaint_star_const_SkImageFilter_star.cpp7 SkCanvas::SaveLayerRec rec1; in draw() local
9 SkDebugf("rec1 %c= rec2\n", rec1.fBounds == rec2.fBounds in draw()
10 && rec1.fPaint == rec2.fPaint in draw()
11 && rec1.fBackdrop == rec2.fBackdrop in draw()
12 && rec1.fSaveLayerFlags == rec2.fSaveLayerFlags ? '=' : '!'); in draw()
/third_party/skia/docs/examples/
DCanvas_SaveLayerRec_SaveLayerRec.cpp8 SkCanvas::SaveLayerRec rec1;
9 rec1.fSaveLayerFlags = SkCanvas::kPreserveLCDText_SaveLayerFlag;
11 SkDebugf("rec1 %c= rec2\n", rec1.fBounds == rec2.fBounds
12 && rec1.fPaint == rec2.fPaint
13 && rec1.fBackdrop == rec2.fBackdrop
14 && rec1.fSaveLayerFlags == rec2.fSaveLayerFlags ? '=' : '!');
DCanvas_SaveLayerRec_const_SkRect_star_const_SkPaint_star.cpp7 SkCanvas::SaveLayerRec rec1; in draw() local
9 SkDebugf("rec1 %c= rec2\n", rec1.fBounds == rec2.fBounds in draw()
10 && rec1.fPaint == rec2.fPaint in draw()
11 && rec1.fBackdrop == rec2.fBackdrop in draw()
12 && rec1.fSaveLayerFlags == rec2.fSaveLayerFlags ? '=' : '!'); in draw()
DCanvas_SaveLayerRec_const_SkRect_star_const_SkPaint_star_const_SkImageFilter_star.cpp7 SkCanvas::SaveLayerRec rec1; in draw() local
9 SkDebugf("rec1 %c= rec2\n", rec1.fBounds == rec2.fBounds in draw()
10 && rec1.fPaint == rec2.fPaint in draw()
11 && rec1.fBackdrop == rec2.fBackdrop in draw()
12 && rec1.fSaveLayerFlags == rec2.fSaveLayerFlags ? '=' : '!'); in draw()
/third_party/skia/tools/viewer/
DTouchGesture.cpp247 const Rec& rec1 = fTouches[1]; in touchMoved() local
249 float scale = this->computePinch(rec0, rec1); in touchMoved()
251 center(rec0.fStartX, rec1.fStartX), in touchMoved()
252 center(rec0.fStartY, rec1.fStartY), in touchMoved()
253 center(rec0.fLastX, rec1.fLastX), in touchMoved()
254 center(rec0.fLastY, rec1.fLastY)); in touchMoved()
311 float TouchGesture::computePinch(const Rec& rec0, const Rec& rec1) { in computePinch() argument
312 double dx = rec0.fStartX - rec1.fStartX; in computePinch()
313 double dy = rec0.fStartY - rec1.fStartY; in computePinch()
316 dx = rec0.fLastX - rec1.fLastX; in computePinch()
[all …]
/third_party/flutter/skia/tools/viewer/
DTouchGesture.cpp246 const Rec& rec1 = fTouches[1]; in touchMoved() local
248 float scale = this->computePinch(rec0, rec1); in touchMoved()
251 fLocalM.setTranslate(-center(rec0.fStartX, rec1.fStartX), in touchMoved()
252 -center(rec0.fStartY, rec1.fStartY)); in touchMoved()
254 fLocalM.postTranslate(center(rec0.fLastX, rec1.fLastX), in touchMoved()
255 center(rec0.fLastY, rec1.fLastY)); in touchMoved()
314 float TouchGesture::computePinch(const Rec& rec0, const Rec& rec1) { in computePinch() argument
315 double dx = rec0.fStartX - rec1.fStartX; in computePinch()
316 double dy = rec0.fStartY - rec1.fStartY; in computePinch()
319 dx = rec0.fLastX - rec1.fLastX; in computePinch()
[all …]
/third_party/mindspore/tests/ut/cpp/python_input/gtest_input/pipeline/parse/
Dparse_abnormal.py27 def rec1(): function
32 return rec1()
36 return rec1() + nonrec()
/third_party/typescript/tests/baselines/reference/
DfunctionImplementations.js20 function rec1() { function
24 return rec1();
26 var a = rec1();
190 function rec1() {
194 return rec1();
196 var a = rec1();
DfunctionImplementations.types45 function rec1() {
46 >rec1 : () => any
55 return rec1();
56 >rec1() : any
57 >rec1 : () => any
59 var a = rec1();
61 >rec1() : any
62 >rec1 : () => any
DfunctionImplementations.symbols39 function rec1() {
40 >rec1 : Symbol(rec1, Decl(functionImplementations.ts, 15, 2))
48 return rec1();
49 >rec1 : Symbol(rec1, Decl(functionImplementations.ts, 15, 2))
51 var a = rec1();
53 >rec1 : Symbol(rec1, Decl(functionImplementations.ts, 15, 2))
/third_party/boost/libs/stacktrace/example/
Dtrace_addresses.cpp38 BOOST_NOINLINE boost::stacktrace::stacktrace rec1(int i);
41 BOOST_NOINLINE boost::stacktrace::stacktrace rec1(int i) { in rec1() function
60 dump_compact(rec1(8)); in main()
/third_party/typescript/tests/cases/conformance/functions/
DfunctionImplementations.ts21 function rec1() { function
25 return rec1();
27 var a = rec1();
/third_party/skia/tests/
DScalarTest.cpp181 const Rec& rec1 = data[j]; in test_isfinite() local
186 bool finite = gProc2[m](rec0.fValue, rec1.fValue, proc1); in test_isfinite()
187 bool finite2 = rec0.fIsFinite && rec1.fIsFinite; in test_isfinite()
DSkResourceCacheTest.cpp250 auto rec1 = std::make_unique<TestRec>(sharedID, data, &flags1); in test_duplicate_add() local
251 SkASSERT(rec0->getKey() == rec1->getKey()); in test_duplicate_add()
264 cache->add(rec1.release(), nullptr); in test_duplicate_add()
DRecordOptsTest.cpp386 SkPictureRecorder rec0, rec1; in do_savelayer_srcmode() local
389 c1 = rec1.beginRecording(10, 10); in do_savelayer_srcmode()
397 surf1->getCanvas()->drawPicture(rec1.finishRecordingAsPicture()); in do_savelayer_srcmode()
/third_party/flutter/skia/tests/
DScalarTest.cpp181 const Rec& rec1 = data[j]; in test_isfinite() local
186 bool finite = gProc2[m](rec0.fValue, rec1.fValue, proc1); in test_isfinite()
187 bool finite2 = rec0.fIsFinite && rec1.fIsFinite; in test_isfinite()
DSkResourceCacheTest.cpp250 auto rec1 = skstd::make_unique<TestRec>(sharedID, data, &flags1); in test_duplicate_add() local
251 SkASSERT(rec0->getKey() == rec1->getKey()); in test_duplicate_add()
264 cache->add(rec1.release(), nullptr); in test_duplicate_add()
DRecordOptsTest.cpp398 SkPictureRecorder rec0, rec1; in do_savelayer_srcmode() local
401 c1 = rec1.beginRecording(10, 10); in do_savelayer_srcmode()
409 surf1->getCanvas()->drawPicture(rec1.finishRecordingAsPicture()); in do_savelayer_srcmode()
/third_party/flutter/skia/site/user/api/
DSkCanvas_Reference.md1903 rec1 == rec2
1946 rec1 == rec2
1999 rec1 == rec2