Home
last modified time | relevance | path

Searched refs:deltaX (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
289 if (deltaX != 0) { in executeStraigtRay()
290 distance = Math.abs(deltaX) + 1; in executeStraigtRay()
291 xIncrement = Utils.sign(deltaX); in executeStraigtRay()
345 final int deltaX = endTileX - startTileX; in executeRay() local
350 if (deltaX == 0 || deltaY == 0) { in executeRay()
352 endTileX, endTileY, deltaX, deltaY, hitPoint, hitNormal, visitor); in executeRay()
355 final int xIncrement = deltaX != 0 ? Utils.sign(deltaX) : 0; in executeRay()
360 …teralDelta = (endTileX > 0 && endTileX < worldWidth - 1) ? Math.abs(deltaX) + 1 : Math.abs(deltaX); in executeRay()
746 final float deltaX = x2 - x1; in calculateIntersectionBox() local
[all …]
DSphereCollisionVolume.java105 final float deltaX = other.getMaxXPosition(otherFlip) in intersects() local
109 final float centerX = deltaX / 2.0f; in intersects()
115 otherRadius = Math.max(deltaX, deltaY); in intersects()
/external/libkmsxx/kmscube/
DesTransform.cpp128 float deltaX = right - left; in esFrustum() local
134 (deltaX <= 0.0f) || (deltaY <= 0.0f) || (deltaZ <= 0.0f)) in esFrustum()
137 frust.m[0][0] = 2.0f * nearZ / deltaX; in esFrustum()
143 frust.m[2][0] = (right + left) / deltaX; in esFrustum()
166 float deltaX = right - left; in esOrtho() local
171 if ((deltaX == 0.0f) || (deltaY == 0.0f) || (deltaZ == 0.0f)) in esOrtho()
175 ortho.m[0][0] = 2.0f / deltaX; in esOrtho()
176 ortho.m[3][0] = -(right + left) / deltaX; in esOrtho()
/external/setupdesign/main/src/com/google/android/setupdesign/gesture/
DConsecutiveTapsGestureDetector.java113 double deltaX = previousTapEvent.getX() - currentTapEvent.getX(); in isConsecutiveTap() local
116 return (deltaX * deltaX + deltaY * deltaY <= consecutiveTapTouchSlopSquare) in isConsecutiveTap()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowScroller.java30 return dt >= duration ? finalX : startX + (int) ((deltaX() * dt) / duration); in getCurrX()
95 private int deltaX() { in deltaX() method in ShadowScroller
DShadowOverScroller.java33 return dt >= duration ? finalX : startX + (int) ((deltaX() * dt) / duration); in getCurrX()
128 private int deltaX() { in deltaX() 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/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
DWavePlotView.java340 float deltaX = (float) w / mArraySize; in onDraw() local
351 float left = i * deltaX; in onDraw()
352 canvas.drawRect(left, top, left + deltaX, bottom, mMyPaint); in onDraw()
358 float left = i * deltaX; in onDraw()
359 canvas.drawLine(left, first, left + deltaX, second, mMyPaint); in onDraw()
380 canvas.drawRect(left, top, left + deltaX, bottom, mPaintInset); in onDraw()
/external/perfetto/ui/src/frontend/
Dpan_and_zoom_handler.ts232 if (Math.abs(e.deltaX) > Math.abs(e.deltaY)) {
233 this.onPanned(e.deltaX * HORIZONTAL_WHEEL_PAN_SPEED);
/external/fonttools/Lib/fontTools/ttLib/tables/
DTupleVariation.py302 deltaX = []
307 deltaX.append(c[0])
310 deltaX.append(c)
313 return self.compileDeltaValues_(deltaX) + self.compileDeltaValues_(deltaY)
/external/pdfium/fpdfsdk/
Dcpdfsdk_pageview.h76 bool OnMouseWheel(double deltaX,
Dcpdfsdk_pageview.cpp414 bool CPDFSDK_PageView::OnMouseWheel(double deltaX, in OnMouseWheel() argument
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/
DConsoleActivity.java518 final int deltaX = (int) (lastX - event.getX()); in onCreate()
520 int distance = (deltaX * deltaX) + (deltaY * deltaY); in onCreate()
/external/skia/src/pdf/
DSkPDFDevice.cpp1603 SkScalar deltaX = bounds.left(); in internalDrawImageRect() local
1607 offsetMatrix.postTranslate(-deltaX, -deltaY); in internalDrawImageRect()
1620 matrix.postTranslate(deltaX, deltaY); in internalDrawImageRect()
/external/skia/samplecode/
DSampleVariableWidthStroker.cpp693 ScalarBezCurve deltaX = ScalarBezCurve::Sub(quadApproxX, segX); in strokeSegment() local
697 ScalarBezCurve E = ScalarBezCurve::AddSquares(deltaX, deltaY); in strokeSegment()
/external/skqp/src/pdf/
DSkPDFDevice.cpp1955 SkScalar deltaX = bounds.left(); in internalDrawImageRect() local
1959 offsetMatrix.postTranslate(-deltaX, -deltaY); in internalDrawImageRect()
1972 matrix.postTranslate(deltaX, deltaY); in internalDrawImageRect()
/external/doclava/res/assets/templates-sdk/assets/js/
Ddocs.js2940 var deltaX = this.touch.end.x - this.touch.start.x;
2942 …var shouldSwipe = (deltaY < Math.abs(deltaX)) && (Math.abs(deltaX) >= this.options.swipeThreshold);
2945 if (deltaX > 0) {
/external/libchrome/base/android/jni_generator/
DtestMotionEvent.javap277 const #267 = Asciz deltaX;
2112 0 10 1 deltaX F
DtestMotionEvent.javap7281 #267 = Utf8 deltaX
2199 0 10 1 deltaX F
/external/zxing/core/
Dcore.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...