Home
last modified time | relevance | path

Searched refs:globalScaleFactor (Results 1 – 13 of 13) 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/services/inputflinger/dispatcher/
DEntry.cpp224 float yOffset, float globalScaleFactor, float windowXScale, in DispatchEntry() argument
231 globalScaleFactor(globalScaleFactor), in DispatchEntry()
DInputTarget.h104 float globalScaleFactor; member
DEntry.h157 float globalScaleFactor; member
167 float globalScaleFactor, float windowXScale, float windowYScale);
DInputDispatcher.cpp1694 target.globalScaleFactor = windowInfo->globalScaleFactor; in addWindowTargetLocked()
1724 target.globalScaleFactor = 1.0f; in addMonitoringTargetLocked()
1949 inputTarget->yOffset, inputTarget->globalScaleFactor, inputTarget->windowXScale, in prepareDispatchCycleLocked()
2043 inputTarget->globalScaleFactor, inputTarget->windowXScale, in enqueueDispatchEntryLocked()
2199 float globalScaleFactor = dispatchEntry->globalScaleFactor; in startDispatchCycleLocked() local
2204 if (wxs != 1.0f || wys != 1.0f || globalScaleFactor != 1.0f) { in startDispatchCycleLocked()
2207 scaledCoords[i].scale(globalScaleFactor, wxs, wys); in startDispatchCycleLocked()
2480 target.globalScaleFactor = windowInfo->globalScaleFactor; in synthesizeCancelationEventsForConnectionLocked()
2486 target.globalScaleFactor = 1.0f; in synthesizeCancelationEventsForConnectionLocked()
3672 windowInfo->globalScaleFactor, windowInfo->windowXScale, in dumpDispatchStateLocked()
/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/base/core/jni/
Dandroid_hardware_input_InputWindowHandle.cpp130 mInfo.globalScaleFactor = env->GetFloatField(obj, in updateInfo()
/frameworks/native/libs/gui/tests/
DEndToEndNativeInputTest.cpp173 mInputInfo.globalScaleFactor = 1.0; in populateInputInfo()
/frameworks/native/services/inputflinger/tests/
DInputDispatcher_test.cpp467 mInfo.globalScaleFactor = 1.0; in updateInfo()