/packages/apps/Dialer/InCallUI/src/com/android/incallui/widget/multiwaveview/ |
D | PointCloud.java | 169 private static float hypot(float x, float y) { in hypot() method in PointCloud 170 return (float) Math.hypot(x, y); in hypot() 179 float glowDistance = hypot(glowManager.x - point.x, glowManager.y - point.y); in getAlphaForPoint() 188 float radius = hypot(point.x, point.y); in getAlphaForPoint()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
D | BogusMoveEventDetector.java | 69 final float keyDiagonal = (float)Math.hypot(keyWidth, keyHeight); in setKeyboardGeometry() 108 return (int)Math.hypot(x1 - x2, y1 - y2); in getDistance()
|
D | GestureStrokeDrawingPoints.java | 65 mDistanceFromLastSample += Math.hypot(x - mLastX, y - mLastY); in needsSampling() 148 final double deltaDistance = Math.hypot(mInterpolator.mP1X - mInterpolator.mP2X, in interpolateStrokeAndReturnStartIndexOfLastSegment()
|
D | RoundedLine.java | 49 final double l = Math.hypot(dx, dy); in makePath()
|
D | GestureStrokeRecognitionPoints.java | 332 return (int)Math.hypot(x1 - x2, y1 - y2); in getDistance()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
D | GeometryMathUtils.java | 154 float length = (float) Math.hypot(a[0], a[1]); in normalize() 163 float length = (float) Math.hypot(b[0], b[1]); in scalarProjection() 178 float length = (float) Math.hypot(p[0], p[1]); in getUnitVectorFromPoints() 201 return (float) Math.hypot(a[0], a[1]); in vectorLength()
|
D | GradControl.java | 113 float dist = (float) Math.hypot(dx, dy); in getCloseHandle() 239 float len = (float) Math.hypot(dx, dy); in paintOvallines()
|
D | ImageCurves.java | 226 double delta = Math.hypot(px - x, py - y); in pickControlPoint() 230 double currentDelta = Math.hypot(px - x, py - y); in pickControlPoint()
|
D | ImageGrad.java | 76 float d = (float) Math.hypot(x - mPointsX[i], y - mPointsY[i]); in onTouchEvent()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | EyePosition.java | 172 mX = Utils.clamp((float) (mX + x * t / Math.hypot(mZ, mX)), in onGyroscopeChanged() 174 mY = Utils.clamp((float) (mY + y * t / Math.hypot(mZ, mY)), in onGyroscopeChanged()
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
D | PhotoTouchListener.java | 103 final float v = (float) Math.hypot(dX, dY); in onFling() 208 double distance = Math.hypot(x0 - mInitialTouchX, in onTouch()
|
D | PhotoTable.java | 344 return Math.hypot(a[0], a[1]); in norm() 779 if (Math.hypot(b[0] - a[0], b[1] - a[1]) < Math.hypot(c[0] - a[0], c[1] - a[1])) { in fling() 787 final float dist = (float) Math.hypot(delta[0], delta[1]); in fling() 859 float dist = (float) Math.hypot(dx, dy); in dropOnTable()
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
D | Scroller.java | 374 float hyp = (float) Math.hypot(dx, dy); in fling() 391 float velocity = (float) Math.hypot(velocityX, velocityY); in fling()
|
D | OverScroller.java | 177 return (float) Math.hypot(mScrollerX.mCurrVelocity, mScrollerY.mCurrVelocity); in getCurrVelocity()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | LauncherScroller.java | 411 float hyp = (float) Math.hypot(dx, dy); in fling() 428 float velocity = (float) Math.hypot(velocityX, velocityY); in fling()
|
D | LauncherStateTransitionAnimation.java | 236 float revealRadius = (float) Math.hypot(width / 2, height / 2); in startAnimationToOverlay() 533 float revealRadius = (float) Math.hypot(width / 2, height / 2); in startAnimationToWorkspaceFromOverlay()
|
D | InvariantDeviceProfile.java | 240 return (float) Math.hypot(x1 - x0, y1 - y0); in dist()
|
D | DragController.java | 518 mDistanceSinceScroll += Math.hypot(mLastTouch[0] - x, mLastTouch[1] - y); in handleMoveEvent()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
D | ProximityInfo.java | 182 * (float)Math.hypot(mMostCommonKeyWidth, mMostCommonKeyHeight); in createNativeProximityInfo() 197 final float hitBoxDiagonal = (float)Math.hypot(hitBoxWidth, hitBoxHeight); in createNativeProximityInfo()
|
D | PointerTracker.java | 480 return (int)Math.hypot(x1 - x2, y1 - y2); in getDistance() 809 final float keyDiagonal = (float)Math.hypot( in processProximateBogusDownMoveUpEventHack() 1105 final float keyDiagonal = (float)Math.hypot( in isMajorEnoughMoveToBeOnNewKey()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | FlingScroller.java | 85 double velocity = Math.hypot(velocityX, velocityY); in fling()
|
/packages/apps/Dialer/InCallUI/src/com/android/incallui/ |
D | AccelerometerListener.java | 126 final double xy = Math.hypot(x, y); in onSensorEvent()
|
/packages/experimental/DreamTheater/src/com/android/dreamtheater/ |
D | BouncyDroid.java | 70 return (float) Math.hypot(x, y); in mag() 376 final float mag = (float) Math.hypot(vx, vy); in drawVector()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
D | FilterGradRepresentation.java | 218 double dist = Math.hypot(point.xPos1 - x, point.yPos1 - y); in addBand()
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
D | AllAppsContainerView.java | 573 float distance = (float) Math.hypot(dx, dy); in handleTouchEvent()
|