Searched defs:avg (Results 1 - 3 of 3) sorted by relevance

/frameworks/native/opengl/libagl/
H A Ddxt.cpp119 int avg = (2*i + j)/3; local
120 avg23tab[(i << 6) | j] = avg;
/frameworks/base/services/input/tests/
H A DInputReader_test.cpp41 static inline float avg(float x, float y) { function in namespace:android
2505 avg(float(DISPLAY_WIDTH) / (RAW_X_MAX - RAW_X_MIN + 1),
4450 float size = avg(rawTouchMajor, rawTouchMinor) / RAW_TOUCH_MAX;
4496 float size = avg(rawTouchMajor, rawTouchMinor) / RAW_TOUCH_MAX;
/frameworks/base/services/input/
H A DInputReader.cpp87 inline static float avg(float x, float y) { function in namespace:android
3031 mGeometricScale = avg(mXScale, mYScale);
3109 mTiltXCenter = avg(mRawPointerAxes.tiltX.minValue,
3111 mTiltYCenter = avg(mRawPointerAxes.tiltY.minValue,
4043 ? avg(in.touchMajor, in.touchMinor) : in.touchMajor;
4049 ? avg(in.touchMajor, in.touchMinor) : in.touchMajor;
4055 ? avg(in.toolMajor, in.toolMinor) : in.toolMajor;
6123 float offset = avg(rawAxisInfo.minValue, rawAxisInfo.maxValue) * -scale;

Completed in 124 milliseconds