Home
last modified time | relevance | path

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

/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.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/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/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/v8/tools/
Dtickprocessor.js414 producersView.sort(function(rec1, rec2) { argument
415 return rec2.totalTime - rec1.totalTime ||
416 (rec2.internalFuncName < rec1.internalFuncName ? -1 : 1); });
440 flatView.sort(function(rec1, rec2) { argument
441 return rec2.selfTime - rec1.selfTime ||
442 (rec2.internalFuncName < rec1.internalFuncName ? -1 : 1); });
498 heavyView.sort(function(rec1, rec2) { argument
499 return rec2.totalTime - rec1.totalTime ||
500 (rec2.internalFuncName < rec1.internalFuncName ? -1 : 1); });
/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.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/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/Lib/fontTools/otlLib/
Dbuilder.py344 rec1 = ot.Class1Record()
345 rec1.Class2Record = []
346 self.Class1Record.append(rec1)
350 rec1.Class2Record.append(rec2)
/external/u-boot/common/
Dbootstage.c237 const struct bootstage_record *rec1 = r1, *rec2 = r2; in h_compare_record() local
239 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/skia/docs/
DSkCanvas_Reference.bmh1363 SkCanvas::SaveLayerRec rec1;
1364 rec1.fSaveLayerFlags = SkCanvas::kInitWithPrevious_SaveLayerFlag;
1366 SkDebugf("rec1 %c= rec2\n", rec1.fBounds == rec2.fBounds
1367 && rec1.fPaint == rec2.fPaint
1368 && rec1.fBackdrop == rec2.fBackdrop
1369 && rec1.fSaveLayerFlags == rec2.fSaveLayerFlags ? '=' : '!');
1371 rec1 == rec2
1383 SkCanvas::SaveLayerRec rec1;
1385 SkDebugf("rec1 %c= rec2\n", rec1.fBounds == rec2.fBounds
1386 && 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/u-boot/arch/arm/include/asm/arch-fsl-layerscape/
Dimmap_lsch3.h420 u32 rec1; /* Receive Equalization Control 1 */ member
/external/fonttools/Lib/fontTools/varLib/
Dmerger.py430 rec1 = nullRow
433 rec1 = matrix[klass] # TODO handle out-of-range?
434 class1Records.append(rec1)
/external/skia/site/user/api/
DSkCanvas_Reference.md1903 rec1 == rec2
1946 rec1 == rec2
1999 rec1 == rec2
/external/skqp/site/user/api/
DSkCanvas_Reference.md1903 rec1 == rec2
1946 rec1 == rec2
1999 rec1 == rec2