Searched refs:mYScale (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/core/java/android/hardware/input/ |
D | TouchCalibration.java | 43 private final float mYXMix, mYScale, mYOffset; field in TouchCalibration 67 mYScale = yScale; in TouchCalibration() 76 mYScale = in.readFloat(); in TouchCalibration() 86 dest.writeFloat(mYScale); in writeToParcel() 96 return new float[] { mXScale, mXYMix, mXOffset, mYXMix, mYScale, mYOffset }; in getAffineTransform() 110 (cal.mYScale == mYScale) && in equals() 123 Float.floatToIntBits(mYScale) ^ in hashCode()
|
/frameworks/native/libs/input/ |
D | Input.cpp | 338 mYScale = yScale; in initialize() 364 mYScale = other->mYScale; in copyFrom() 402 return rawY * mYScale + mYOffset; in getYCursorPosition() 407 mRawYCursorPosition = (y - mYOffset) / mYScale; in setCursorPosition() 424 return value * mYScale + mYOffset; in getAxisValue() 446 return value * mYScale + mYOffset; in getHistoricalAxisValue() 519 float scaledRawY = getRawY(0) * mYScale; in transform() 532 float y = mRawYCursorPosition * mYScale + oldYOffset; in transform() 535 mRawYCursorPosition = (y - mYOffset) / mYScale; in transform() 543 float y = c.getAxisValue(AMOTION_EVENT_AXIS_Y) * mYScale + oldYOffset; in transform() [all …]
|
/frameworks/native/services/inputflinger/reader/mapper/ |
D | CursorInputMapper.cpp | 81 info->addMotionRange(AMOTION_EVENT_AXIS_Y, mSource, -1.0f, 1.0f, 0.0f, mYScale, 0.0f); in populateDeviceInfo() 97 dump += StringPrintf(INDENT3 "YScale: %0.3f\n", mYScale); in dump() 134 mYScale = 1.0f; in configure() 142 mYScale = 1.0f / TRACKBALL_MOVEMENT_THRESHOLD; in configure() 287 float deltaY = mCursorMotionAccumulator.getRelativeY() * mYScale; in sync()
|
D | CursorInputMapper.h | 94 float mYScale; variable
|
D | TouchInputMapper.cpp | 250 dump += StringPrintf(INDENT4 "YScale: %0.3f\n", mYScale); in dump() 779 mYScale = float(mRawSurfaceHeight) / rawHeight; in configureSurface() 783 mYPrecision = 1.0f / mYScale; in configureSurface() 795 mGeometricScale = avg(mXScale, mYScale); in configureSurface() 964 mOrientedRanges.x.resolution = mRawPointerAxes.y.resolution * mYScale; in configureSurface() 987 mOrientedRanges.y.resolution = mRawPointerAxes.y.resolution * mYScale; in configureSurface() 2199 left = float(rawTop - mRawPointerAxes.y.minValue) * mYScale + mYTranslate; in cookPointerData() 2200 right = float(rawBottom - mRawPointerAxes.y.minValue) * mYScale + mYTranslate; in cookPointerData() 2213 bottom = float(mRawPointerAxes.y.maxValue - rawTop) * mYScale + mYTranslate; in cookPointerData() 2214 top = float(mRawPointerAxes.y.maxValue - rawBottom) * mYScale + mYTranslate; in cookPointerData() [all …]
|
D | TouchInputMapper.h | 439 float mYScale; variable
|
/frameworks/native/include/input/ |
D | Input.h | 522 inline float getYScale() const { return mYScale; } in getYScale() 741 float mYScale; variable
|