Searched defs:abs (Results 1 - 10 of 10) sorted by relevance

/frameworks/av/include/media/stagefright/foundation/
H A DAUtils.h50 inline static T abs(const T &a) { function
67 T err = abs(val) % period;
/frameworks/rs/cpu_ref/
H A DrsCpuRuntimeMathFuncs.cpp25 uint32_t __attribute__((overloadable)) abs(int32_t v) {return SC_abs_i32(v);} function
/frameworks/av/media/libstagefright/codecs/g711/dec/
H A DSoftG711.cpp298 int32_t abs = (0x80l << exponent) + step * mantissa + step / 2 - 4 * 33; local
300 *out++ = (x < 0x80) ? -abs : abs;
/frameworks/base/core/java/android/util/
H A DMathUtils.java34 public static float abs(float v) { method in class:MathUtils
/frameworks/compile/mclinker/lib/Target/AArch64/
H A DAArch64Relocator.cpp426 Relocator::Result abs(Relocation& pReloc, AArch64Relocator& pParent) function
/frameworks/native/libs/gui/tests/
H A DGLTest.cpp25 static int abs(int value) { function in namespace:android
188 if (r >= 0 && abs(r - int(pixel[0])) > tolerance) {
191 if (g >= 0 && abs(g - int(pixel[1])) > tolerance) {
197 if (b >= 0 && abs(b - int(pixel[2])) > tolerance) {
203 if (a >= 0 && abs(a - int(pixel[3])) > tolerance) {
220 if (abs(r1.left - r2.left) > tolerance) {
223 if (abs(r1.top - r2.top) > tolerance) {
229 if (abs(r1.right - r2.right) > tolerance) {
235 if (abs(r1.bottom - r2.bottom) > tolerance) {
/frameworks/av/media/libstagefright/tests/
H A DSurfaceMediaSource_test.cpp287 static int abs(int value) { function in class:android::GLTest
306 if (r >= 0 && abs(r - int(pixel[0])) > tolerance) {
309 if (g >= 0 && abs(g - int(pixel[1])) > tolerance) {
315 if (b >= 0 && abs(b - int(pixel[2])) > tolerance) {
321 if (a >= 0 && abs(a - int(pixel[3])) > tolerance) {
/frameworks/compile/mclinker/lib/Target/X86/
H A DX86Relocator.cpp882 Relocator::Result abs(Relocation& pReloc, X86_32Relocator& pParent) function
1582 Relocator::Result abs(Relocation& pReloc, X86_64Relocator& pParent) function
/frameworks/rs/driver/runtime/
H A Drs_cl.c729 * abs
731 extern uint32_t __attribute__((overloadable)) abs(int32_t v) { function
736 extern uint16_t __attribute__((overloadable)) abs(int16_t v) { function
741 extern uint8_t __attribute__((overloadable)) abs(int8_t v) { function
773 UIN_FUNC_IN(abs)
/frameworks/native/services/inputflinger/
H A DInputReader.cpp71 inline static T abs(const T& value) { function in namespace:android
6298 for (int32_t abs = 0; abs <= ABS_MAX; abs++) {
6299 if (!(getAbsAxisUsage(abs, getDevice()->getClasses())
6305 getAbsoluteAxisInfo(abs, &rawAxisInfo);
6309 bool explicitlyMapped = !getEventHub()->mapAxis(getDeviceId(), abs, &axisInfo);
6348 mAxes.add(abs, axis);

Completed in 941 milliseconds