Searched refs:cosine (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/graphics/java/android/graphics/ |
D | ColorMatrix.java | 147 float cosine = (float) Math.cos(radians); in setRotate() local 152 mArray[6] = mArray[12] = cosine; in setRotate() 158 mArray[0] = mArray[12] = cosine; in setRotate() 164 mArray[0] = mArray[6] = cosine; in setRotate()
|
/frameworks/rs/script_api/ |
D | rs_math.spec | 187 summary: Inverse cosine 189 Returns the inverse cosine, in radians. 210 summary: Inverse hyperbolic cosine 212 Returns the inverse hyperbolic cosine, in radians. 233 summary: Inverse cosine divided by pi 235 Returns the inverse cosine in radians, divided by pi. 237 To get an inverse cosine measured in degrees, use <code>acospi(a) * 180.f</code>. 618 Returns the cosine of an angle measured in radians. 639 summary: Hypebolic cosine 641 Returns the hypebolic cosine of v, where v is measured in radians. [all …]
|
/frameworks/av/media/libaudioprocessing/ |
D | AudioResamplerFirGen.h | 52 SineGen(double wstart, double wstep, bool cosine = false) { 53 if (cosine) { 101 SineGenGen(double outerStart, double outerStep, double innerStep, bool cosine = false) 102 : mSineInnerCur(outerStart, outerStep, cosine), in mSineInnerCur() argument 103 mSineInnerPrev(outerStart-innerStep, outerStep, cosine) in mSineInnerCur()
|
/frameworks/base/core/java/android/gesture/ |
D | GestureUtils.java | 455 final double cosine = Math.cos(angle); in minimumCosineDistance() local 456 final double sine = cosine * tan; in minimumCosineDistance() 457 return (float) Math.acos(a * cosine + b * sine); in minimumCosineDistance()
|
/frameworks/rs/script_api/include/ |
D | rs_math.rsh | 200 * acos: Inverse cosine 202 * Returns the inverse cosine, in radians. 239 * acosh: Inverse hyperbolic cosine 241 * Returns the inverse hyperbolic cosine, in radians. 278 * acospi: Inverse cosine divided by pi 280 * Returns the inverse cosine in radians, divided by pi. 282 * To get an inverse cosine measured in degrees, use acospi(a) * 180.f. 1199 * Returns the cosine of an angle measured in radians. 1236 * cosh: Hypebolic cosine 1238 * Returns the hypebolic cosine of v, where v is measured in radians. [all …]
|
/frameworks/native/services/inputflinger/ |
D | InputReader.cpp | 5976 float cosine = dot / (dist1 * dist2); // denominator always > 0 in preparePointerGestures() local 5977 if (cosine >= mConfig.pointerGestureSwipeTransitionAngleCosine) { in preparePointerGestures() 5985 cosine, mConfig.pointerGestureSwipeTransitionAngleCosine); in preparePointerGestures() 5996 cosine, mConfig.pointerGestureSwipeTransitionAngleCosine); in preparePointerGestures()
|