Home
last modified time | relevance | path

Searched refs:fabs (Results 1 – 22 of 22) sorted by relevance

/frameworks/compile/libbcc/runtime/lib/ppc/
Dgcc_qsub.c58 if (fabs(A) <= fabs(B)) in __gcc_qsub()
67 if (fabs(a) <= fabs(b)) in __gcc_qsub()
Dgcc_qadd.c58 if (fabs(A) <= fabs(B)) in __gcc_qadd()
67 if (fabs(a) <= fabs(b)) in __gcc_qadd()
DDD.h23 fabs(double x) in fabs() function
/frameworks/compile/libbcc/runtime/lib/
Ddivdc3.c25 double __logbw = logb(fmax(fabs(__c), fabs(__d))); in __divdc3()
/frameworks/base/libs/hwui/utils/
DCompare.h24 #define ALMOST_EQUAL(u, v) (fabs((u) - (v)) < EPSILON)
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/
Dsimplemodel.rs66 if (fabs(dy) <= 2.0f) {
69 if (fabs(dx) <= 2.0f) {
/frameworks/base/tests/RenderScriptTests/ShadersTest/src/com/android/shaderstest/
Dshaderstest.rs75 if (fabs(dy) <= 2.0f) {
78 if (fabs(dx) <= 2.0f) {
/frameworks/base/tests/RenderScriptTests/FBOTest/src/com/android/fbotest/
Dfbotest.rs67 if (fabs(dy) <= 2.0f) {
70 if (fabs(dx) <= 2.0f) {
Dfbosync.rs68 if (fabs(dy) <= 2.0f) {
71 if (fabs(dx) <= 2.0f) {
/frameworks/base/services/sensorservice/
Dmat.h315 if (fabs(m[i][j] - m[j][i]) > tolerance) in isPositiveSemidefinite()
347 if (fabs(tmp[j][i]) > fabs(tmp[i][i])) { in invert()
/frameworks/base/services/surfaceflinger/
DTransform.cpp50 return fabs(f) <= EPSILON; in isZero()
54 return isZero(fabs(f) - 1.0f); in absIsOne()
/frameworks/base/libs/rs/
DrsMatrix4x4.cpp66 if (fabs(det) < 1e-6) { in inverse()
107 if (fabs(det) < 1e-6) { in inverseTranspose()
/frameworks/compile/slang/tests/P_math_fp/
Dmath_fp.rs98 TEST_FUNC_1(fabs);
/frameworks/ex/carousel/java/com/android/ex/carousel/
Dcarousel.rs1114 enableSelection = fabs(velocity) < selectionVelocity;
1168 if (fabs(velocity) > stopVelocity) {
1357 if (fabs(denom) > EPSILON) {
1559 return fabs(velocity) > stopVelocity;
1585 if (fabs(bias - highBias) < biasMin) {
1592 if (fabs(bias - lowBias) < biasMin) {
/frameworks/base/opengl/tests/angeles/
Ddemo.c188 return (float)(pow(pow(fabs(cos(p[0] * t / 4)) / p[1], p[4]) + in ssFunc()
189 pow(fabs(sin(p[0] * t / 4)) / p[2], p[5]), 1 / p[3])); in ssFunc()
/frameworks/base/libs/hwui/
DOpenGLRenderer.cpp1783 if (fabs(n.x) >= fabs(n.y)) { in drawLines()
1784 wideningFactor = fabs(1.0f / n.x); in drawLines()
1786 wideningFactor = fabs(1.0f / n.y); in drawLines()
2006 if (fabs(sweepAngle) >= 360.0f) { in drawArc()
2145 linearFilter = fabs(y - (int) y) > 0.0f || fabs(x - (int) x) > 0.0f; in drawText()
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
Drsbench.rs163 float d = fabs(randomGauss()) * gGalaxyRadius * 0.5f + rsRand(64.0f);
238 float absoluteAngle = fabs(a);
/frameworks/base/tests/RenderScriptTests/tests/src/com/android/rs/test/
Dmath.rs271 TEST_FN_FUNC_FN(fabs);
/frameworks/base/libs/rs/scriptc/
Drs_cl.rsh326 extern float __attribute__((overloadable)) fabs(float);
327 FN_FUNC_FN(fabs)
/frameworks/base/opengl/libagl/
Dmatrix.cpp551 if (fabs(tmp[j][i]) > fabs(tmp[i][i])) { in invert()
/frameworks/base/services/input/
DInputReader.cpp4406 if (fabs(x - mPointerGesture.tapX) <= mConfig.pointerGestureTapSlop in preparePointerGestures()
4407 && fabs(y - mPointerGesture.tapY) <= mConfig.pointerGestureTapSlop) { in preparePointerGestures()
4474 if (fabs(x - mPointerGesture.tapX) <= mConfig.pointerGestureTapSlop in preparePointerGestures()
4475 && fabs(y - mPointerGesture.tapY) <= mConfig.pointerGestureTapSlop) { in preparePointerGestures()
6015 if (fabs(newValue - currentValue) > filter in hasValueChangedSignificantly()
6027 float newDistance = fabs(newValue - thresholdValue); in hasMovedNearerToValueWithinFilteredRange()
6029 float oldDistance = fabs(currentValue - thresholdValue); in hasMovedNearerToValueWithinFilteredRange()
/frameworks/compile/libbcc/lib/ScriptCRT/
Drs_cl.c400 extern float __attribute__((overloadable)) fabs(float);
401 FN_FUNC_FN(fabs)