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

/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.cpp286 static int abs(int value) { function in class:android::GLTest
305 if (r >= 0 && abs(r - int(pixel[0])) > tolerance) {
308 if (g >= 0 && abs(g - int(pixel[1])) > tolerance) {
314 if (b >= 0 && abs(b - int(pixel[2])) > tolerance) {
320 if (a >= 0 && abs(a - int(pixel[3])) > tolerance) {
/frameworks/native/libs/gui/tests/
H A DSurfaceTexture_test.cpp209 if (r >= 0 && abs(r - int(pixel[0])) > tolerance) {
212 if (g >= 0 && abs(g - int(pixel[1])) > tolerance) {
218 if (b >= 0 && abs(b - int(pixel[2])) > tolerance) {
224 if (a >= 0 && abs(a - int(pixel[3])) > tolerance) {
244 if (abs(r1.left - r2.left) > tolerance) {
247 if (abs(r1.top - r2.top) > tolerance) {
253 if (abs(r1.right - r2.right) > tolerance) {
259 if (abs(r1.bottom - r2.bottom) > tolerance) {
374 static int abs(int value) { function in namespace:android
/frameworks/support/renderscript/v8/rs_support/driver/
H A DrsdRuntimeMath.cpp78 static uint32_t SC_abs_i32(int32_t v) {return abs(v);}
79 static uint16_t SC_abs_i16(int16_t v) {return (uint16_t)abs(v);}
80 static uint8_t SC_abs_i8(int8_t v) {return (uint8_t)abs(v);}
621 int16_t abs(int16_t v) { function
631 char abs(char v) { function
/frameworks/base/services/input/
H A DInputReader.cpp71 inline static T abs(const T& value) { function in namespace:android
6091 for (int32_t abs = 0; abs <= ABS_MAX; abs++) {
6092 if (!(getAbsAxisUsage(abs, getDevice()->getClasses())
6098 getAbsoluteAxisInfo(abs, &rawAxisInfo);
6102 bool explicitlyMapped = !getEventHub()->mapAxis(getDeviceId(), abs, &axisInfo);
6138 mAxes.add(abs, axis);

Completed in 371 milliseconds