Home
last modified time | relevance | path

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

/AliOS-Things-master/components/SDL2/src/events/
A DSDL_gesture.c434 static float dollarRecognize(const SDL_DollarPath *path,int *bestTempl,SDL_GestureTouch* touch) in dollarRecognize() argument
445 *bestTempl = -1; in dollarRecognize()
448 if (diff < bestDiff) {bestDiff = diff; *bestTempl = i;} in dollarRecognize()
607 int bestTempl; in SDL_GestureProcessEvent() local
610 &bestTempl,inTouch); in SDL_GestureProcessEvent()
611 if (bestTempl >= 0){ in SDL_GestureProcessEvent()
613 unsigned long gestureId = inTouch->dollarTemplate[bestTempl].hash; in SDL_GestureProcessEvent()

Completed in 3 milliseconds