Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/apex/java/android/graphics/
DColorMatrix.java147 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/
Drs_math.spec187 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/
DAudioResamplerFirGen.h52 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/
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/rs/script_api/include/
Drs_math.rsh200 * 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/reader/mapper/
DTouchInputMapper.cpp3144 float cosine = dot / (dist1 * dist2); // denominator always > 0 in preparePointerGestures() local
3145 if (cosine >= mConfig.pointerGestureSwipeTransitionAngleCosine) { in preparePointerGestures()
3152 mConfig.pointerGestureMultitouchMinDistance, cosine, in preparePointerGestures()
3163 mConfig.pointerGestureMultitouchMinDistance, cosine, in preparePointerGestures()