Home
last modified time | relevance | path

Searched refs:cosine (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/media/libstagefright/codecs/aacdec/
Dpv_sine.cpp157 Int32 cosine; in pv_cosine() local
168 cosine = pv_sine(z); in pv_cosine()
172 cosine = Q_fmt(0.99999999906868) - (fxp_mul32_Q30(z, z) >> 1); in pv_cosine()
175 return cosine; in pv_cosine()
/frameworks/base/graphics/java/android/graphics/
DColorMatrix.java122 float cosine = FloatMath.cos(radians); in setRotate() local
127 mArray[6] = mArray[12] = cosine; in setRotate()
133 mArray[0] = mArray[12] = cosine; in setRotate()
139 mArray[0] = mArray[6] = cosine; in setRotate()
/frameworks/base/libs/rs/scriptc/
Drs_cl.rsh115 * Return the inverse cosine.
123 * Return the inverse hyperbolic cosine.
131 * Return the inverse cosine divided by PI.
241 * Return the cosine.
249 * Return the hypebolic cosine.
257 * Return the cosine of the value * PI.
594 * Return the sine and cosine of a value.
598 * @param *cosptr cosptr[0] will be set to the cosine value.
/frameworks/base/core/java/android/gesture/
DGestureUtils.java455 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/base/services/input/
DInputReader.cpp4701 float cosine = dot / (dist1 * dist2); // denominator always > 0 in preparePointerGestures() local
4702 if (cosine >= mConfig.pointerGestureSwipeTransitionAngleCosine) { in preparePointerGestures()
4710 cosine, mConfig.pointerGestureSwipeTransitionAngleCosine); in preparePointerGestures()
4721 cosine, mConfig.pointerGestureSwipeTransitionAngleCosine); in preparePointerGestures()