Searched refs:rec0 (Results 1 – 10 of 10) sorted by relevance
/external/skqp/tools/viewer/ |
D | TouchGesture.cpp | 245 const Rec& rec0 = fTouches[0]; 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/ |
D | TouchGesture.cpp | 263 const Rec& rec0 = fTouches[0]; 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/skia/tests/ |
D | ScalarTest.cpp | 179 const Rec& rec0 = data[i]; 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()
|
D | SkResourceCacheTest.cpp | 248 auto rec0 = std::make_unique<TestRec>(sharedID, data, &flags0); in test_duplicate_add() local 250 SkASSERT(rec0->getKey() == rec1->getKey()); in test_duplicate_add() 252 TestRec* r0 = rec0.get(); // save the bare-pointer since we will release rec0 in test_duplicate_add() 258 cache->add(rec0.release(), nullptr); in test_duplicate_add()
|
D | RecordOptsTest.cpp | 398 SkPictureRecorder rec0, rec1; in do_savelayer_srcmode() local 400 c0 = rec0.beginRecording(10, 10); in do_savelayer_srcmode() 408 surf0->getCanvas()->drawPicture(rec0.finishRecordingAsPicture()); in do_savelayer_srcmode()
|
/external/skqp/tests/ |
D | ScalarTest.cpp | 179 const Rec& rec0 = data[i]; 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()
|
D | SkResourceCacheTest.cpp | 251 auto rec0 = skstd::make_unique<TestRec>(sharedID, data, &flags0); in test_duplicate_add() local 253 SkASSERT(rec0->getKey() == rec1->getKey()); in test_duplicate_add() 255 TestRec* r0 = rec0.get(); // save the bare-pointer since we will release rec0 in test_duplicate_add() 261 cache->add(rec0.release(), nullptr); in test_duplicate_add()
|
D | RecordOptsTest.cpp | 399 SkPictureRecorder rec0, rec1; in do_savelayer_srcmode() local 401 c0 = rec0.beginRecording(10, 10); in do_savelayer_srcmode() 409 surf0->getCanvas()->drawPicture(rec0.finishRecordingAsPicture()); in do_savelayer_srcmode()
|
/external/skqp/src/compute/skc/platforms/cl_12/ |
D | handle_pool_cl_12.c | 292 union skc_handle_reclaim_rec * const rec0 = recN - recN->index; in skc_handle_reclaim_completion() local 293 union skc_handle_reclaim_rec * const rec1 = rec0 + 1; in skc_handle_reclaim_completion() 296 skc_handle_pool_block_readable_push(&rec0->runtime->handle_pool,recN->block); in skc_handle_reclaim_completion() 310 union skc_handle_reclaim_rec * const rec0 = recN - recN->index; in skc_handle_reclaim_cb() local 313 SKC_SCHEDULER_SCHEDULE(rec0->runtime->scheduler,skc_handle_reclaim_completion,recN); in skc_handle_reclaim_cb()
|
/external/u-boot/arch/arm/include/asm/arch-fsl-layerscape/ |
D | immap_lsch3.h | 566 u32 rec0; /* Receive Equalization Control 0 */ member
|