Home
last modified time | relevance | path

Searched refs:hypot (Results 1 – 15 of 15) sorted by relevance

/packages/apps/InCallUI/src/com/android/incallui/widget/multiwaveview/
DPointCloud.java170 private static float hypot(float x, float y) { in hypot() method in PointCloud
180 float glowDistance = hypot(glowManager.x - point.x, glowManager.y - point.y); in getAlphaForPoint()
189 float radius = hypot(point.x, point.y); in getAlphaForPoint()
/packages/apps/DeskClock/src/com/android/deskclock/widget/multiwaveview/
DPointCloud.java170 private static float hypot(float x, float y) { in hypot() method in PointCloud
180 float glowDistance = hypot(glowManager.x - point.x, glowManager.y - point.y); in getAlphaForPoint()
189 float radius = hypot(point.x, point.y); in getAlphaForPoint()
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DPhotoTable.java344 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()
DPhotoTouchListener.java103 final float v = (float) Math.hypot(dX, dY); in onFling()
208 double distance = Math.hypot(x0 - mInitialTouchX, in onTouch()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DGestureStrokeWithPreviewPoints.java105 mDistanceFromLastSample += Math.hypot(x - mLastX, y - mLastY); in needsSampling()
192 final double deltaDistance = Math.hypot(mInterpolator.mP1X - mInterpolator.mP2X, in interpolateStrokeAndReturnStartIndexOfLastSegment()
DRoundedLine.java49 final double l = Math.hypot(dx, dy); in makePath()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DEyePosition.java173 mX = Utils.clamp((float) (mX + x * t / Math.hypot(mZ, mX)), in onGyroscopeChanged()
175 mY = Utils.clamp((float) (mY + y * t / Math.hypot(mZ, mY)), in onGyroscopeChanged()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DPointerTracker.java225 final float keyDiagonal = (float)Math.hypot(keyWidth, keyHeight); in setKeyboardGeometry()
748 return (int)Math.hypot(x1 - x2, y1 - y2); in getDistance()
1097 final float keyDiagonal = (float)Math.hypot( in processProximateBogusDownMoveUpEventHack()
1365 final float keyDiagonal = (float)Math.hypot( in isMajorEnoughMoveToBeOnNewKey()
DProximityInfo.java179 * (float)Math.hypot(mMostCommonKeyWidth, mMostCommonKeyHeight); in createNativeProximityInfo()
194 final float hitBoxDiagonal = (float)Math.hypot(hitBoxWidth, hitBoxHeight); in createNativeProximityInfo()
/packages/experimental/DreamTheater/src/com/android/dreamtheater/
DBouncyDroid.java70 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/ui/
DFlingScroller.java85 double velocity = Math.hypot(velocityX, velocityY); in fling()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DImageGrad.java76 float d = (float) Math.hypot(x - mPointsX[i], y - mPointsY[i]); in onTouchEvent()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
DFilterGradRepresentation.java218 double dist = Math.hypot(point.xPos1 - x, point.yPos1 - y); in addBand()
/packages/inputmethods/LatinIME/dictionaries/
Dcs_wordlist.combined.gz
Dfr_wordlist.combined.gz1dictionary=main:fr,locale=fr,description=Français,date=1381226409, ...