Searched refs:cosine (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/libs/hwui/apex/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/base/packages/SystemUI/compose/features/src/com/android/systemui/ribbon/ui/composable/ |
D | Ribbon.kt | 70 val cosine = cos(radians).toFloat() in <lambda>() constant 72 translationX = (w - w * cosine + h * sine) / 2f in <lambda>() 73 translationY = (h - w * sine + h * cosine) / 2f in <lambda>()
|
/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/av/media/libaaudio/src/flowgraph/resampler/ |
D | README.md | 5 The converter is based on a sinc function that has been windowed by a hyperbolic cosine.
|
/frameworks/native/services/inputflinger/reader/mapper/ |
D | TouchInputMapper.cpp | 3203 float cosine = dot / (dist1 * dist2); // denominator always > 0 in prepareMultiFingerPointerGestures() local 3204 if (cosine >= mConfig.pointerGestureSwipeTransitionAngleCosine) { in prepareMultiFingerPointerGestures() 3211 mConfig.pointerGestureMultitouchMinDistance, cosine, in prepareMultiFingerPointerGestures() 3221 mConfig.pointerGestureMultitouchMinDistance, cosine, in prepareMultiFingerPointerGestures()
|