Home
last modified time | relevance | path

Searched refs:globalScaleFactor (Results 1 – 11 of 11) sorted by relevance

/frameworks/native/libs/input/
DInput.cpp145 void PointerCoords::scale(float globalScaleFactor, float windowXScale, float windowYScale) { in scale() argument
155 scaleAxisValue(*this, AMOTION_EVENT_AXIS_TOUCH_MAJOR, globalScaleFactor); in scale()
156 scaleAxisValue(*this, AMOTION_EVENT_AXIS_TOUCH_MINOR, globalScaleFactor); in scale()
157 scaleAxisValue(*this, AMOTION_EVENT_AXIS_TOOL_MAJOR, globalScaleFactor); in scale()
158 scaleAxisValue(*this, AMOTION_EVENT_AXIS_TOOL_MINOR, globalScaleFactor); in scale()
161 void PointerCoords::scale(float globalScaleFactor) { in scale() argument
162 scale(globalScaleFactor, globalScaleFactor, globalScaleFactor); in scale()
371 void MotionEvent::scale(float globalScaleFactor) { in scale() argument
372 mXOffset *= globalScaleFactor; in scale()
373 mYOffset *= globalScaleFactor; in scale()
[all …]
DInputWindow.cpp85 output.writeFloat(globalScaleFactor); in write()
128 ret.globalScaleFactor = from.readFloat(); in read()
/frameworks/native/libs/input/tests/
DInputWindow_test.cpp52 i.globalScaleFactor = 0.3; in TEST()
84 ASSERT_EQ(i.globalScaleFactor, i2.globalScaleFactor); in TEST()
/frameworks/native/include/input/
DInputWindow.h145 float globalScaleFactor; member
DInput.h632 void scale(float globalScaleFactor);
/frameworks/native/services/surfaceflinger/
DLayerProtoHelper.cpp145 proto->set_global_scale_factor(inputInfo.globalScaleFactor); in writeToProto()
/frameworks/native/services/inputflinger/
DInputDispatcher.cpp1736 target.globalScaleFactor = windowInfo->globalScaleFactor; in addWindowTargetLocked()
1765 target.globalScaleFactor = 1.0f; in addMonitoringTargetLocked()
1986 inputTarget->globalScaleFactor, in prepareDispatchCycleLocked()
2079 inputTarget->globalScaleFactor, inputTarget->windowXScale, in enqueueDispatchEntryLocked()
2233 float globalScaleFactor = dispatchEntry->globalScaleFactor; in startDispatchCycleLocked() local
2238 if (wxs != 1.0f || wys != 1.0f || globalScaleFactor != 1.0f) { in startDispatchCycleLocked()
2241 scaledCoords[i].scale(globalScaleFactor, wxs, wys); in startDispatchCycleLocked()
2506 target.globalScaleFactor = windowInfo->globalScaleFactor; in synthesizeCancelationEventsForConnectionLocked()
2512 target.globalScaleFactor = 1.0f; in synthesizeCancelationEventsForConnectionLocked()
3704 windowInfo->globalScaleFactor, in dumpDispatchStateLocked()
[all …]
DInputDispatcher.h165 float globalScaleFactor; member
600 float globalScaleFactor; member
611 float globalScaleFactor, float windowXScale, float windowYScale);
/frameworks/base/core/jni/
Dandroid_hardware_input_InputWindowHandle.cpp123 mInfo.globalScaleFactor = env->GetFloatField(obj, in updateInfo()
/frameworks/native/libs/gui/tests/
DEndToEndNativeInputTest.cpp194 mInputInfo.globalScaleFactor = 1.0; in populateInputInfo()
/frameworks/native/services/inputflinger/tests/
DInputDispatcher_test.cpp465 mInfo.globalScaleFactor = 1.0; in updateInfo()