• Home
  • Raw
  • Download

Lines Matching refs:click

388             Click* click = child->findClickHandler(p.fX, p.fY, modi);  in findClickHandler()  local
390 if (click) { in findClickHandler()
391 return click; in findClickHandler()
399 void SkView::DoClickDown(Click* click, int x, int y, unsigned modi) in DoClickDown() argument
401 SkASSERT(click); in DoClickDown()
403 SkView* target = (SkView*)SkEventSink::FindSink(click->fTargetID); in DoClickDown()
408 click->fIOrig.set(x, y); in DoClickDown()
409 click->fICurr = click->fIPrev = click->fIOrig; in DoClickDown()
411 click->fOrig.iset(x, y); in DoClickDown()
412 if (!target->globalToLocal(&click->fOrig)) { in DoClickDown()
416 click->fPrev = click->fCurr = click->fOrig; in DoClickDown()
418 click->fState = Click::kDown_State; in DoClickDown()
419 click->fModifierKeys = modi; in DoClickDown()
420 target->onClick(click); in DoClickDown()
423 void SkView::DoClickMoved(Click* click, int x, int y, unsigned modi) in DoClickMoved() argument
425 SkASSERT(click); in DoClickMoved()
427 SkView* target = (SkView*)SkEventSink::FindSink(click->fTargetID); in DoClickMoved()
432 click->fIPrev = click->fICurr; in DoClickMoved()
433 click->fICurr.set(x, y); in DoClickMoved()
435 click->fPrev = click->fCurr; in DoClickMoved()
436 click->fCurr.iset(x, y); in DoClickMoved()
437 if (!target->globalToLocal(&click->fCurr)) { in DoClickMoved()
439 click->fCurr = click->fPrev; in DoClickMoved()
442 click->fState = Click::kMoved_State; in DoClickMoved()
443 click->fModifierKeys = modi; in DoClickMoved()
444 target->onClick(click); in DoClickMoved()
447 void SkView::DoClickUp(Click* click, int x, int y, unsigned modi) in DoClickUp() argument
449 SkASSERT(click); in DoClickUp()
451 SkView* target = (SkView*)SkEventSink::FindSink(click->fTargetID); in DoClickUp()
456 click->fIPrev = click->fICurr; in DoClickUp()
457 click->fICurr.set(x, y); in DoClickUp()
459 click->fPrev = click->fCurr; in DoClickUp()
460 click->fCurr.iset(x, y); in DoClickUp()
461 if (!target->globalToLocal(&click->fCurr)) { in DoClickUp()
463 click->fCurr = click->fPrev; in DoClickUp()
466 click->fState = Click::kUp_State; in DoClickUp()
467 click->fModifierKeys = modi; in DoClickUp()
468 target->onClick(click); in DoClickUp()