Searched defs:closest (Results 1 - 4 of 4) sorted by relevance

/external/webkit/Source/WebCore/html/
H A DTimeRanges.cpp124 float closest = 0; local
131 if (fabs(startTime - time) < closest)
132 closest = fabsf(startTime - time);
133 else if (fabs(endTime - time) < closest)
134 closest = fabsf(endTime - time);
136 return closest;
/external/qemu/distrib/sdl-1.2.12/src/video/photon/
H A DSDL_ph_modes.c166 /* if requested bpp is not found the mode with closest bpp is returned */
169 int i, closest, delta, min_delta; local
192 /* get closest bpp */
193 closest = i++;
196 return mode_list.modes[closest];
216 closest = i;
224 closest = i;
231 return mode_list.modes[closest];
/external/webkit/Source/WebCore/page/
H A DFocusController.cpp439 static void updateFocusCandidateIfNeeded(FocusDirection direction, const FocusCandidate& current, FocusCandidate& candidate, FocusCandidate& closest) argument
459 if (closest.isNull()) {
460 closest = candidate;
464 IntRect intersectionRect = intersection(candidate.rect, closest.rect);
465 if (!intersectionRect.isEmpty() && !areElementsOnSameLine(closest, candidate)) {
471 closest = candidate;
474 if (closest.visibleNode->contains(result.innerNode()))
478 if (candidate.alignment == closest.alignment) {
479 if (candidate.distance < closest.distance)
480 closest
488 findFocusCandidateInContainer(Node* container, const IntRect& startingRect, FocusDirection direction, KeyboardEvent* event, FocusCandidate& closest) argument
[all...]
/external/webkit/Source/WebKit/android/nav/
H A DSelectText.cpp1700 SkIRect closest = findClosest(center, picture, &closestBase);
1701 SkIRect sloppy = closest;
1719 DBG_NAV_LOGD("closest=%d,%d,%d,%d", closest.fLeft,
1720 closest.fTop, closest.fRight, closest.fBottom);
1721 return closest;
1909 const SkIRect& closest = findClosest(center, *picture, &base); local
1910 return IntPoint((closest
[all...]

Completed in 116 milliseconds