Searched refs:cosine (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/graphics/java/android/graphics/ |
D | ColorMatrix.java | 149 float cosine = FloatMath.cos(radians); in setRotate() local 154 mArray[6] = mArray[12] = cosine; in setRotate() 160 mArray[0] = mArray[12] = cosine; in setRotate() 166 mArray[0] = mArray[6] = cosine; in setRotate()
|
/frameworks/av/services/audioflinger/ |
D | AudioResamplerFirGen.h | 50 SineGen(double wstart, double wstep, bool cosine = false) { 51 if (cosine) { 99 SineGenGen(double outerStart, double outerStep, double innerStep, bool cosine = false) 100 : mSineInnerCur(outerStart, outerStep, cosine), in mSineInnerCur() argument 101 mSineInnerPrev(outerStart-innerStep, outerStep, cosine) in mSineInnerCur()
|
/frameworks/rs/api/ |
D | rs_core_math.spec | 229 Return the cosine. 240 Return the hypebolic cosine. 251 Return the cosine of the value * PI. 793 Return the sine and cosine of a value. 797 @param *cosptr cosptr[0] will be set to the cosine value. 1656 Return the cosine. 1667 Return the hypebolic cosine. 1678 Return the cosine of the value * PI. 1818 Return the sine and cosine of a value. 1822 @param *cosptr cosptr[0] will be set to the cosine value.
|
/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/scriptc/ |
D | rs_core_math.rsh | 4370 * Return the cosine. 4379 * Return the cosine. 4388 * Return the cosine. 4397 * Return the cosine. 4406 * Return the hypebolic cosine. 4415 * Return the hypebolic cosine. 4424 * Return the hypebolic cosine. 4433 * Return the hypebolic cosine. 4442 * Return the cosine of the value * PI. 4451 * Return the cosine of the value * PI. [all …]
|
/frameworks/native/services/inputflinger/ |
D | InputReader.cpp | 5191 float cosine = dot / (dist1 * dist2); // denominator always > 0 in preparePointerGestures() local 5192 if (cosine >= mConfig.pointerGestureSwipeTransitionAngleCosine) { in preparePointerGestures() 5200 cosine, mConfig.pointerGestureSwipeTransitionAngleCosine); in preparePointerGestures() 5211 cosine, mConfig.pointerGestureSwipeTransitionAngleCosine); in preparePointerGestures()
|