Home
last modified time | relevance | path

Searched refs:mYScale (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/java/android/hardware/input/
DTouchCalibration.java43 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/
DInput.cpp338 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/
DCursorInputMapper.cpp81 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()
DCursorInputMapper.h94 float mYScale; variable
DTouchInputMapper.cpp250 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 …]
DTouchInputMapper.h439 float mYScale; variable
/frameworks/native/include/input/
DInput.h522 inline float getYScale() const { return mYScale; } in getYScale()
741 float mYScale; variable