Home
last modified time | relevance | path

Searched refs:tangent (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/com/android/internal/widget/remotecompose/core/operations/utilities/easing/
DMonotonicCurveFit.java43 double[][] tangent = new double[n][dim]; in MonotonicCurveFit() local
49 tangent[i][j] = slope[i][j]; in MonotonicCurveFit()
51 tangent[i][j] = (slope[i - 1][j] + slope[i][j]) * 0.5f; in MonotonicCurveFit()
54 tangent[n - 1][j] = slope[n - 2][j]; in MonotonicCurveFit()
60 tangent[i][j] = 0.; in MonotonicCurveFit()
61 tangent[i + 1][j] = 0.; in MonotonicCurveFit()
63 double a = tangent[i][j] / slope[i][j]; in MonotonicCurveFit()
64 double b = tangent[i + 1][j] / slope[i][j]; in MonotonicCurveFit()
68 tangent[i][j] = t * a * slope[i][j]; in MonotonicCurveFit()
69 tangent[i + 1][j] = t * b * slope[i][j]; in MonotonicCurveFit()
[all …]
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/ribbon/ui/composable/
DRibbon.kt80 val tangent = tan(radians) in <lambda>() constant
81 val leftPadding = (placeable.measuredHeight / tangent).roundToInt() in <lambda>()
82 val rightPadding = (placeable.measuredHeight * tangent).roundToInt() in <lambda>()
/frameworks/rs/script_api/
Drs_math.spec329 summary: Inverse tangent
331 Returns the inverse tangent, in radians.
353 summary: Inverse tangent of a ratio
355 Returns the inverse tangent of <code>(numerator / denominator)</code>, in radians.
378 summary: Inverse tangent of a ratio, divided by pi
380 Returns the inverse tangent of <code>(numerator / denominator)</code>, in radians, divided by pi.
382 To get an inverse tangent measured in degrees, use <code>atan2pi(n, d) * 180.f</code>.
404 summary: Inverse hyperbolic tangent
406 Returns the inverse hyperbolic tangent, in radians.
427 summary: Inverse tangent divided by pi
[all …]
/frameworks/rs/script_api/include/
Drs_math.rsh438 * atan: Inverse tangent
440 * Returns the inverse tangent, in radians.
477 * atan2: Inverse tangent of a ratio
479 * Returns the inverse tangent of (numerator / denominator), in radians.
520 * atan2pi: Inverse tangent of a ratio, divided by pi
522 * Returns the inverse tangent of (numerator / denominator), in radians, divided by pi.
524 * To get an inverse tangent measured in degrees, use atan2pi(n, d) * 180.f.
565 * atanh: Inverse hyperbolic tangent
567 * Returns the inverse hyperbolic tangent, in radians.
604 * atanpi: Inverse tangent divided by pi
[all …]