Searched refs:coef (Results 1 – 6 of 6) sorted by relevance
128 float x, tx, coef;131 coef = 3.0f * x * (1.0f - x);132 tx = coef * ((1.0f - x) * P1 + x * P2) + x * x * x;137 SPLINE_POSITION[i] = coef * ((1.0f - x) * START_TENSION + x) + x * x * x;143 coef = 3.0f * y * (1.0f - y);144 dy = coef * ((1.0f - y) * START_TENSION + y) + y * y * y;149 SPLINE_TIME[i] = coef * ((1.0f - y) * P1 + y * P2) + y * y * y;
606 float x, tx, coef;609 coef = 3.0f * x * (1.0f - x);610 tx = coef * ((1.0f - x) * P1 + x * P2) + x * x * x;615 SPLINE_POSITION[i] = coef * ((1.0f - x) * START_TENSION + x) + x * x * x;621 coef = 3.0f * y * (1.0f - y);622 dy = coef * ((1.0f - y) * START_TENSION + y) + y * y * y;627 SPLINE_TIME[i] = coef * ((1.0f - y) * P1 + y * P2) + y * y * y;
7260 final float coef = 1.0f - (float) duration / FADE_OUT_DURATION; in updatePaint() local7263 + ((int) (highlightColorAlpha * coef) << 24); in updatePaint()
39 #define FIR_COEF(coef) (short)(0x10000 * (coef)) argument
289 float[] coef = mTempCoef; in onTouchEvent() local290 coef[0] = 1; in onTouchEvent()291 coef[1] = 1; in onTouchEvent()292 mRotateMatrix.mapPoints(coef); in onTouchEvent()307 if (coef[dim] > 0) adjustment[dim] = (float) Math.ceil(adjustment[dim]); in onTouchEvent()
1558 final float coef = 1.0f / 5.255f; in getAltitude() local1559 return 44330.0f * (1.0f - (float) Math.pow(p / p0, coef)); in getAltitude()