Searched refs:rec1 (Results 1 – 5 of 5) sorted by relevance
/external/skia/src/views/ |
D | SkTouchGesture.cpp | 241 const Rec& rec1 = fTouches[1]; in touchMoved() local 243 float scale = this->computePinch(rec0, rec1); in touchMoved() 246 fLocalM.setTranslate(-center(rec0.fStartX, rec1.fStartX), in touchMoved() 247 -center(rec0.fStartY, rec1.fStartY)); in touchMoved() 249 fLocalM.postTranslate(center(rec0.fLastX, rec1.fLastX), in touchMoved() 250 center(rec0.fLastY, rec1.fLastY)); in touchMoved() 296 float SkTouchGesture::computePinch(const Rec& rec0, const Rec& rec1) { in computePinch() argument 297 double dx = rec0.fStartX - rec1.fStartX; in computePinch() 298 double dy = rec0.fStartY - rec1.fStartY; in computePinch() 301 dx = rec0.fLastX - rec1.fLastX; in computePinch() [all …]
|
/external/srec/srec/crec/ |
D | srec.c | 2013 srec* rec1 = &recm->rec[0]; in multi_srec_viterbi() local 2017 if (rec1->current_search_frame >= (rec1->word_lattice->max_frames - 1)) in multi_srec_viterbi() 2020 reset_best_cost_to_zero(rec1, rec1->current_best_cost); in multi_srec_viterbi() 2021 reset_cost_offsets(recm, rec1->current_search_frame, rec1->current_best_cost); in multi_srec_viterbi() 2022 rec1->current_prune_delta = rec1->prune_delta; in multi_srec_viterbi() 2023 rec1->current_best_cost = 0; in multi_srec_viterbi() 2036 srec* rec1 = &recm->rec[0]; in multi_srec_viterbi() local 2043 ASSERT(rec1->prune_delta == rec2->prune_delta); in multi_srec_viterbi() 2046 if ((rec1->current_best_cost > MAXcostdata / 2 && !rec1->srec_ended) || in multi_srec_viterbi() 2049 printf("hey %d %d\n", rec1->current_best_cost, rec2->current_best_cost); in multi_srec_viterbi() [all …]
|
/external/srec/srec/include/ |
D | c42mul.h | 57 int activate_grammar_for_recognition(multi_srec* rec1, srec_context* context, const char* rule); 58 int clear_grammars_for_recognition(multi_srec* rec1); 82 int compare_model_indices(multi_srec *rec1, srec *rec2);
|
/external/skia/tests/ |
D | ScalarTest.cpp | 116 const Rec& rec1 = data[j]; in test_isfinite() local 121 bool finite = gProc2[m](rec0.fValue, rec1.fValue, proc1); in test_isfinite() 122 bool finite2 = rec0.fIsFinite && rec1.fIsFinite; in test_isfinite()
|
/external/v8/tools/ |
D | tickprocessor.js | 396 producersView.sort(function(rec1, rec2) { argument 397 return rec2.totalTime - rec1.totalTime || 398 (rec2.internalFuncName < rec1.internalFuncName ? -1 : 1); }); 423 flatView.sort(function(rec1, rec2) { argument 424 return rec2.selfTime - rec1.selfTime || 425 (rec2.internalFuncName < rec1.internalFuncName ? -1 : 1); }); 464 heavyView.sort(function(rec1, rec2) { argument 465 return rec2.totalTime - rec1.totalTime || 466 (rec2.internalFuncName < rec1.internalFuncName ? -1 : 1); });
|