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

/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.cpp291 int32_t abs = (0x80l << exponent) + step * mantissa + step / 2 - 4 * 33; local
293 *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/av/media/libstagefright/tests/
H A DSurfaceMediaSource_test.cpp288 static int abs(int value) { function in class:android::GLTest
307 if (r >= 0 && abs(r - int(pixel[0])) > tolerance) {
310 if (g >= 0 && abs(g - int(pixel[1])) > tolerance) {
316 if (b >= 0 && abs(b - int(pixel[2])) > tolerance) {
322 if (a >= 0 && abs(a - int(pixel[3])) > tolerance) {
/frameworks/compile/mclinker/lib/Target/X86/
H A DX86Relocator.cpp808 X86Relocator::Result abs(Relocation& pReloc, X86_32Relocator& pParent) function
1560 X86Relocator::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
770 UIN_FUNC_IN(abs)
/frameworks/native/libs/gui/tests/
H A DSurfaceTexture_test.cpp211 if (r >= 0 && abs(r - int(pixel[0])) > tolerance) {
214 if (g >= 0 && abs(g - int(pixel[1])) > tolerance) {
220 if (b >= 0 && abs(b - int(pixel[2])) > tolerance) {
226 if (a >= 0 && abs(a - int(pixel[3])) > tolerance) {
245 if (abs(r1.left - r2.left) > tolerance) {
248 if (abs(r1.top - r2.top) > tolerance) {
254 if (abs(r1.right - r2.right) > tolerance) {
260 if (abs(r1.bottom - r2.bottom) > tolerance) {
375 static int abs(int value) { function in namespace:android
/frameworks/base/services/input/
H A DInputReader.cpp71 inline static T abs(const T& value) { function in namespace:android
6238 for (int32_t abs = 0; abs <= ABS_MAX; abs++) {
6239 if (!(getAbsAxisUsage(abs, getDevice()->getClasses())
6245 getAbsoluteAxisInfo(abs, &rawAxisInfo);
6249 bool explicitlyMapped = !getEventHub()->mapAxis(getDeviceId(), abs, &axisInfo);
6288 mAxes.add(abs, axis);

Completed in 266 milliseconds