Home
last modified time | relevance | path

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

/external/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()
/external/skqp/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 …]
/external/skia/tools/viewer/
DTouchGesture.cpp264 const Rec& rec1 = fTouches[1]; in touchMoved() local
266 float scale = this->computePinch(rec0, rec1); in touchMoved()
268 center(rec0.fStartX, rec1.fStartX), in touchMoved()
269 center(rec0.fStartY, rec1.fStartY), in touchMoved()
270 center(rec0.fLastX, rec1.fLastX), in touchMoved()
271 center(rec0.fLastY, rec1.fLastY)); in touchMoved()
328 float TouchGesture::computePinch(const Rec& rec0, const Rec& rec1) { in computePinch() argument
329 double dx = rec0.fStartX - rec1.fStartX; in computePinch()
330 double dy = rec0.fStartY - rec1.fStartY; in computePinch()
333 dx = rec0.fLastX - rec1.fLastX; in computePinch()
[all …]
/external/skqp/src/compute/skc/platforms/cl_12/
Dhandle_pool_cl_12.c293 union skc_handle_reclaim_rec * const rec1 = rec0 + 1; in skc_handle_reclaim_completion() local
299 recN->next = rec1->head; in skc_handle_reclaim_completion()
300 rec1->head = recN->index; in skc_handle_reclaim_completion()
301 rec1->rem += 1; in skc_handle_reclaim_completion()
364 union skc_handle_reclaim_rec * const rec1 = handle_pool->recs + 1; in skc_handle_acquire_reclaim_rec() local
366 SKC_SCHEDULER_WAIT_WHILE(runtime->scheduler,rec1->rem == 0); in skc_handle_acquire_reclaim_rec()
368 union skc_handle_reclaim_rec * const recN = handle_pool->recs + rec1->head; in skc_handle_acquire_reclaim_rec()
370 rec1->head = recN->next; in skc_handle_acquire_reclaim_rec()
371 rec1->rem -= 1; in skc_handle_acquire_reclaim_rec()
/external/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.cpp249 auto rec1 = std::make_unique<TestRec>(sharedID, data, &flags1); in test_duplicate_add() local
250 SkASSERT(rec0->getKey() == rec1->getKey()); in test_duplicate_add()
263 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()
/external/skqp/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.cpp252 auto rec1 = skstd::make_unique<TestRec>(sharedID, data, &flags1); in test_duplicate_add() local
253 SkASSERT(rec0->getKey() == rec1->getKey()); in test_duplicate_add()
266 cache->add(rec1.release(), nullptr); in test_duplicate_add()
DRecordOptsTest.cpp399 SkPictureRecorder rec0, rec1; in do_savelayer_srcmode() local
402 c1 = rec1.beginRecording(10, 10); in do_savelayer_srcmode()
410 surf1->getCanvas()->drawPicture(rec1.finishRecordingAsPicture()); in do_savelayer_srcmode()
/external/fonttools/Tests/varLib/
Dinstancer_test.py1300 rec1 = featureVariations.FeatureVariationRecord[0]
1301 assert len(rec1.ConditionSet.ConditionTable) == 2
1302 rec1.ConditionSet.ConditionTable[0].Format = 2
1315 assert featureVariations.FeatureVariationRecord[0] is rec1
1316 assert len(rec1.ConditionSet.ConditionTable) == 2
1317 assert rec1.ConditionSet.ConditionTable[0].Format == 2
/external/fonttools/Lib/fontTools/otlLib/
Dbuilder.py345 rec1 = ot.Class1Record()
346 rec1.Class2Record = []
347 self.Class1Record.append(rec1)
351 rec1.Class2Record.append(rec2)
/external/u-boot/common/
Dbootstage.c256 const struct bootstage_record *rec1 = r1, *rec2 = r2; in h_compare_record() local
258 return rec1->time_us > rec2->time_us ? 1 : -1; in h_compare_record()
/external/skqp/docs/
DSkCanvas_Reference.bmh1420 SkCanvas::SaveLayerRec rec1;
1421 rec1.fSaveLayerFlags = SkCanvas::kInitWithPrevious_SaveLayerFlag;
1423 SkDebugf("rec1 %c= rec2\n", rec1.fBounds == rec2.fBounds
1424 && rec1.fPaint == rec2.fPaint
1425 && rec1.fBackdrop == rec2.fBackdrop
1426 && rec1.fSaveLayerFlags == rec2.fSaveLayerFlags ? '=' : '!');
1428 rec1 == rec2
1440 SkCanvas::SaveLayerRec rec1;
1442 SkDebugf("rec1 %c= rec2\n", rec1.fBounds == rec2.fBounds
1443 && rec1.fPaint == rec2.fPaint
[all …]
/external/fonttools/Lib/fontTools/mtiLib/
D__init__.py311 for rec1 in self.Class1Record:
312 rec1.Class2Record = [ot.Class2Record() for j in range(self.Class2Count)]
313 for rec2 in rec1.Class2Record:
332 for rec1 in self.Class1Record:
333 for rec2 in rec1.Class2Record:
/external/fonttools/Lib/fontTools/varLib/
Dmerger.py434 rec1 = nullRow
437 rec1 = matrix[klass] # TODO handle out-of-range?
438 class1Records.append(rec1)
/external/u-boot/arch/arm/include/asm/arch-fsl-layerscape/
Dimmap_lsch3.h567 u32 rec1; /* Receive Equalization Control 1 */ member
/external/skqp/site/user/api/
DSkCanvas_Reference.md1903 rec1 == rec2
1946 rec1 == rec2
1999 rec1 == rec2