Home
last modified time | relevance | path

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

/external/replicaisland/src/com/replica/replicaisland/
DCollisionSystem.java279 final int deltaX, final int deltaY, in executeStraigtRay() argument
292 } else if (deltaY != 0) { in executeStraigtRay()
293 distance = Math.abs(deltaY) + 1; in executeStraigtRay()
294 yIncrement = Utils.sign(deltaY); in executeStraigtRay()
346 final int deltaY = endTileY - startTileY; in executeRay() local
350 if (deltaX == 0 || deltaY == 0) { in executeRay()
352 endTileX, endTileY, deltaX, deltaY, hitPoint, hitNormal, visitor); in executeRay()
356 final int yIncrement = deltaY != 0 ? Utils.sign(deltaY) : 0; in executeRay()
361 …icalDelta = (endTileY > 0 && endTileY < worldHeight - 1) ? Math.abs(deltaY) + 1 : Math.abs(deltaY); in executeRay()
773 final float deltaY = y2 - y1; in calculateIntersectionBox() local
[all …]
DSphereCollisionVolume.java107 final float deltaY = other.getMaxYPosition(otherFlip) in intersects() local
110 final float centerY = deltaY / 2.0f; in intersects()
115 otherRadius = Math.max(deltaX, deltaY); in intersects()
/external/libkmsxx/kmscube/
DesTransform.cpp129 float deltaY = top - bottom; in esFrustum() local
134 (deltaX <= 0.0f) || (deltaY <= 0.0f) || (deltaZ <= 0.0f)) in esFrustum()
140 frust.m[1][1] = 2.0f * nearZ / deltaY; in esFrustum()
144 frust.m[2][1] = (top + bottom) / deltaY; in esFrustum()
167 float deltaY = top - bottom; in esOrtho() local
171 if ((deltaX == 0.0f) || (deltaY == 0.0f) || (deltaZ == 0.0f)) in esOrtho()
177 ortho.m[1][1] = 2.0f / deltaY; in esOrtho()
178 ortho.m[3][1] = -(top + bottom) / deltaY; in esOrtho()
/external/setupdesign/main/src/com/google/android/setupdesign/gesture/
DConsecutiveTapsGestureDetector.java114 double deltaY = previousTapEvent.getY() - currentTapEvent.getY(); in isConsecutiveTap() local
116 return (deltaX * deltaX + deltaY * deltaY <= consecutiveTapTouchSlopSquare) in isConsecutiveTap()
/external/perfetto/ui/src/frontend/
Dpan_and_zoom_handler.ts232 if (Math.abs(e.deltaX) > Math.abs(e.deltaY)) {
236 const sign = e.deltaY < 0 ? -1 : 1;
237 const deltaY = sign * Math.log2(1 + Math.abs(e.deltaY)); constant
238 this.onZoomed(this.mousePositionX, deltaY * WHEEL_ZOOM_SPEED);
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowScroller.java36 return dt >= duration ? finalY : startY + (int) ((deltaY() * dt) / duration); in getCurrY()
99 private int deltaY() { in deltaY() method in ShadowScroller
DShadowOverScroller.java39 return dt >= duration ? finalY : startY + (int) ((deltaY() * dt) / duration); in getCurrY()
132 private int deltaY() { in deltaY() method in ShadowOverScroller
DShadowMotionEvent.java846 protected static void nativeOffsetLocation(int nativePtr, float deltaX, float deltaY) { in nativeOffsetLocation() argument
847 nativeOffsetLocation((long) nativePtr, deltaX, deltaY); in nativeOffsetLocation() local
852 protected static void nativeOffsetLocation(long nativePtr, float deltaX, float deltaY) { in nativeOffsetLocation() argument
854 event.offsetLocation(deltaX, deltaY); in nativeOffsetLocation()
/external/pdfium/fpdfsdk/
Dcpdfsdk_pageview.h77 double deltaY,
Dcpdfsdk_pageview.cpp415 double deltaY, in OnMouseWheel() argument
425 static_cast<int>(deltaY), point); in OnMouseWheel()
/external/fonttools/Lib/fontTools/ttLib/tables/
DTupleVariation.py303 deltaY = []
308 deltaY.append(c[1])
313 return self.compileDeltaValues_(deltaX) + self.compileDeltaValues_(deltaY)
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/
DConsoleActivity.java519 final int deltaY = (int) (lastY - event.getY()); in onCreate()
520 int distance = (deltaX * deltaX) + (deltaY * deltaY); in onCreate()
/external/angle/util/osx/
DOSXWindow.mm561 if (static_cast<int>([nsEvent deltaY]) == 0)
568 event.MouseWheel.Delta = (int)[nsEvent deltaY];
/external/skia/src/pdf/
DSkPDFDevice.cpp1604 SkScalar deltaY = bounds.top(); in internalDrawImageRect() local
1607 offsetMatrix.postTranslate(-deltaX, -deltaY); in internalDrawImageRect()
1620 matrix.postTranslate(deltaX, deltaY); in internalDrawImageRect()
/external/skia/samplecode/
DSampleVariableWidthStroker.cpp694 ScalarBezCurve deltaY = ScalarBezCurve::Sub(quadApproxY, segY); in strokeSegment() local
697 ScalarBezCurve E = ScalarBezCurve::AddSquares(deltaX, deltaY); in strokeSegment()
/external/skqp/src/pdf/
DSkPDFDevice.cpp1956 SkScalar deltaY = bounds.top(); in internalDrawImageRect() local
1959 offsetMatrix.postTranslate(-deltaX, -deltaY); in internalDrawImageRect()
1972 matrix.postTranslate(deltaX, deltaY); in internalDrawImageRect()
/external/libchrome/base/android/jni_generator/
DtestMotionEvent.javap278 const #268 = Asciz deltaY;
2113 0 10 2 deltaY F
DtestMotionEvent.javap7282 #268 = Utf8 deltaY
2200 0 10 2 deltaY F
/external/doclava/res/assets/templates-sdk/assets/js/
Ddocs.js2941 var deltaY = Math.abs(this.touch.end.y - this.touch.start.y);
2942 …var shouldSwipe = (deltaY < Math.abs(deltaX)) && (Math.abs(deltaX) >= this.options.swipeThreshold);
/external/zxing/core/
Dcore.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...