Lines Matching refs:scaleFactor
124 static inline void scaleAxisValue(PointerCoords& c, int axis, float scaleFactor) { in scaleAxisValue() argument
127 c.setAxisValue(axis, value * scaleFactor); in scaleAxisValue()
131 void PointerCoords::scale(float scaleFactor) { in scale() argument
134 scaleAxisValue(*this, AMOTION_EVENT_AXIS_X, scaleFactor); in scale()
135 scaleAxisValue(*this, AMOTION_EVENT_AXIS_Y, scaleFactor); in scale()
136 scaleAxisValue(*this, AMOTION_EVENT_AXIS_TOUCH_MAJOR, scaleFactor); in scale()
137 scaleAxisValue(*this, AMOTION_EVENT_AXIS_TOUCH_MINOR, scaleFactor); in scale()
138 scaleAxisValue(*this, AMOTION_EVENT_AXIS_TOOL_MAJOR, scaleFactor); in scale()
139 scaleAxisValue(*this, AMOTION_EVENT_AXIS_TOOL_MINOR, scaleFactor); in scale()
341 void MotionEvent::scale(float scaleFactor) { in scale() argument
342 mXOffset *= scaleFactor; in scale()
343 mYOffset *= scaleFactor; in scale()
344 mXPrecision *= scaleFactor; in scale()
345 mYPrecision *= scaleFactor; in scale()
349 mSamplePointerCoords.editItemAt(i).scale(scaleFactor); in scale()