HomeSort by relevance Sort by last modified time
    Searched refs:closest (Results 1 - 25 of 73) sorted by null

1 2 3

  /external/chromium_org/third_party/WebKit/Source/core/html/
TimeRanges.cpp 188 double closest = 0; local
195 if (fabs(startTime - time) < closest)
196 closest = fabsf(startTime - time);
197 else if (fabs(endTime - time) < closest)
198 closest = fabsf(endTime - time);
200 return closest;
  /external/qemu/distrib/sdl-1.2.15/src/video/photon/
SDL_ph_modes.c 166 /* 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/jmonkeyengine/engine/src/core/com/jme3/bounding/
BoundingBox.java 802 Vector3f closest = vars.vect1; local
804 point.subtract(center,closest);
810 if (closest.x < -xExtent) {
811 delta = closest.x + xExtent;
813 closest.x = -xExtent;
814 } else if (closest.x > xExtent) {
815 delta = closest.x - xExtent;
817 closest.x = xExtent;
820 if (closest.y < -yExtent) {
821 delta = closest.y + yExtent;
    [all...]
  /external/jmonkeyengine/engine/src/test/jme3test/collision/
TestMousePick.java 95 CollisionResult closest = results.getClosestCollision(); local
96 mark.setLocalTranslation(closest.getContactPoint());
99 q.lookAt(closest.getContactNormal(), Vector3f.UNIT_Y);
  /external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9/
3d-raytrace.js 190 var closest = null;
197 closest = triangle;
200 if (!closest)
203 var normal = closest.normal;
209 if (closest.shader) {
210 colour = closest.shader(closest, hit, dir);
212 colour = closest.material;
246 var closest = null;
  /external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/
3d-raytrace.js 190 var closest = null;
197 closest = triangle;
200 if (!closest)
203 var normal = closest.normal;
209 if (closest.shader) {
210 colour = closest.shader(closest, hit, dir);
212 colour = closest.material;
246 var closest = null;
  /external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-1.0/
3d-raytrace.js 190 var closest = null;
197 closest = triangle;
200 if (!closest)
203 var normal = closest.normal;
209 if (closest.shader) {
210 colour = closest.shader(closest, hit, dir);
212 colour = closest.material;
246 var closest = null;
  /external/chromium_org/third_party/WebKit/Source/core/page/
FocusController.cpp 721 static void updateFocusCandidateIfNeeded(FocusDirection direction, const FocusCandidate& current, FocusCandidate& candidate, FocusCandidate& closest)
741 if (closest.isNull()) {
742 closest = candidate;
746 LayoutRect intersectionRect = intersection(candidate.rect, closest.rect);
747 if (!intersectionRect.isEmpty() && !areElementsOnSameLine(closest, candidate)) {
753 closest = candidate;
756 if (closest.visibleNode->contains(result.innerNode()))
760 if (candidate.alignment == closest.alignment) {
761 if (candidate.distance < closest.distance)
762 closest = candidate
    [all...]
FocusController.h 115 void findFocusCandidateInContainer(Node& container, const LayoutRect& startingRect, FocusDirection, FocusCandidate& closest);
  /external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/r200/
r200_sanity.c 604 struct reg_names *closest; member in struct:reg
627 regs[i].closest = &reg_names[i];
634 scalars[i].closest = tmp;
641 vectors[i].closest = tmp;
    [all...]
  /external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/radeon/
radeon_sanity.c 326 struct reg_names *closest; member in struct:reg
349 regs[i].closest = &reg_names[i];
356 scalars[i].closest = tmp;
363 vectors[i].closest = tmp;
409 if (reg->idx == reg->closest->idx)
410 return reg->closest->name;
414 if (reg->idx/4 != reg->closest->idx)
416 reg->closest->name,
417 (reg->idx/4) - reg->closest->idx,
420 sprintf(tmp, "%s[%d]", reg->closest->name, reg->idx%4)
    [all...]
  /external/mesa3d/src/mesa/drivers/dri/r200/
r200_sanity.c 604 struct reg_names *closest; member in struct:reg
627 regs[i].closest = &reg_names[i];
634 scalars[i].closest = tmp;
641 vectors[i].closest = tmp;
    [all...]
  /external/mesa3d/src/mesa/drivers/dri/radeon/
radeon_sanity.c 326 struct reg_names *closest; member in struct:reg
349 regs[i].closest = &reg_names[i];
356 scalars[i].closest = tmp;
363 vectors[i].closest = tmp;
409 if (reg->idx == reg->closest->idx)
410 return reg->closest->name;
414 if (reg->idx/4 != reg->closest->idx)
416 reg->closest->name,
417 (reg->idx/4) - reg->closest->idx,
420 sprintf(tmp, "%s[%d]", reg->closest->name, reg->idx%4)
    [all...]
  /external/chromium_org/third_party/skia/src/pathops/
SkDQuadIntersection.cpp 496 int closest[4]; local
501 closest[index] = -1;
513 if (closest[outer] != ndex2) {
519 closest[outer] = -1;
522 closest[index] = ndex2;
537 if (closest[index] < 0) {
548 insert(roots1Copy[lowestIndex], roots2Copy[closest[lowestIndex]],
550 closest[lowestIndex] = -1;
  /external/skia/src/pathops/
SkDQuadIntersection.cpp 496 int closest[4]; local
501 closest[index] = -1;
513 if (closest[outer] != ndex2) {
519 closest[outer] = -1;
522 closest[index] = ndex2;
537 if (closest[index] < 0) {
548 insert(roots1Copy[lowestIndex], roots2Copy[closest[lowestIndex]],
550 closest[lowestIndex] = -1;
  /frameworks/base/core/java/android/view/
FocusFinder.java 222 View closest = null; local
237 closest = focusable;
240 return closest;
516 View closest = null; local
556 if (closest == null ||
560 closest = touchable;
579 return closest;
  /external/chromium_org/chrome/test/functional/perf/endure_graphs/js/
plotter.js 697 * Finds the closest lines (upside and downside of the cursor position).
747 // Find the closest lines above and below the mouse cursor.
748 var closest = null;
750 // the closest lines from the other set of graphs first.
752 closest = findClosestLines(this.plotData_, this.graphsOtherStartIndex_);
754 if (!closest && this.stackedGraph_) {
755 closest = this.graphsOtherStartIndex_ ?
759 if (!closest) {
767 this.getDataColor(closest.upsideLineIndex));
769 this.dataDescriptions_[closest.upsideLineIndex])
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/html/shadow/
SliderThumbElement.cpp 290 Decimal closest = input->findClosestTickMarkValue(value); local
291 if (closest.isFinite()) {
292 double closestFraction = stepRange.proportionFromValue(closest).toDouble();
297 value = closest;
  /external/chromium_org/base/test/
trace_event_analyzer.cc 933 size_t closest = events.size();
938 if (closest == events.size()) {
939 closest = i;
943 fabs(events.at(closest)->timestamp - events.at(position)->timestamp)) {
944 second_closest = closest;
945 closest = i;
951 if (closest < events.size() &&
953 *return_closest = closest;
  /external/jmonkeyengine/engine/src/test/jme3test/helloworld/
HelloPicking.java 113 // The closest collision point is what was truly hit:
114 CollisionResult closest = results.getClosestCollision();
116 mark.setLocalTranslation(closest.getContactPoint());
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/
GuidelineHandler.java 253 * Returns the closest match.
255 * @return the closest match, or null if nothing matched
438 * Finds the closest matching segments among the given list of edges for the given
442 List<Match> closest = new ArrayList<Match>(); local
443 addClosest(draggedEdge, edges, closest);
444 return closest;
448 List<Match> closest) {
450 int closestDelta = closest.size() > 0 ? closest.get(0).delta : Integer.MAX_VALUE;
484 closest.clear()
    [all...]
  /external/chromium_org/third_party/skia/src/ports/
SkFontHost_linux.cpp 173 SkTypeface_Custom* closest = fStyles[0];
186 closest = fStyles[i];
190 return SkRef(closest);
  /external/skia/src/ports/
SkFontHost_linux.cpp 173 SkTypeface_Custom* closest = fStyles[0];
186 closest = fStyles[i];
190 return SkRef(closest);
  /external/chromium_org/ui/base/resource/
resource_bundle.cc 557 const ScaleFactor closest = FindClosestScaleFactorUnsafe(display_density); local
558 if (closest != SCALE_FACTOR_100P)
559 supported_scale_factors.push_back(closest);
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/
Utils.java 148 static int closest(RGB[] rgbs, int n, RGB rgb) { method in class:Utils
233 pixels[x] = closest(rgbs, n, rgb);

Completed in 774 milliseconds

1 2 3