Searched refs:globalScaleFactor (Results 1 – 13 of 13) sorted by relevance
/frameworks/native/libs/input/ |
D | Input.cpp | 145 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 …]
|
D | InputWindow.cpp | 85 output.writeFloat(globalScaleFactor); in write() 128 ret.globalScaleFactor = from.readFloat(); in read()
|
/frameworks/native/libs/input/tests/ |
D | InputWindow_test.cpp | 52 i.globalScaleFactor = 0.3; in TEST() 84 ASSERT_EQ(i.globalScaleFactor, i2.globalScaleFactor); in TEST()
|
/frameworks/native/services/inputflinger/dispatcher/ |
D | Entry.cpp | 224 float yOffset, float globalScaleFactor, float windowXScale, in DispatchEntry() argument 231 globalScaleFactor(globalScaleFactor), in DispatchEntry()
|
D | InputTarget.h | 104 float globalScaleFactor; member
|
D | Entry.h | 157 float globalScaleFactor; member 167 float globalScaleFactor, float windowXScale, float windowYScale);
|
D | InputDispatcher.cpp | 1694 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/ |
D | InputWindow.h | 145 float globalScaleFactor; member
|
D | Input.h | 632 void scale(float globalScaleFactor);
|
/frameworks/native/services/surfaceflinger/ |
D | LayerProtoHelper.cpp | 145 proto->set_global_scale_factor(inputInfo.globalScaleFactor); in writeToProto()
|
/frameworks/base/core/jni/ |
D | android_hardware_input_InputWindowHandle.cpp | 130 mInfo.globalScaleFactor = env->GetFloatField(obj, in updateInfo()
|
/frameworks/native/libs/gui/tests/ |
D | EndToEndNativeInputTest.cpp | 173 mInputInfo.globalScaleFactor = 1.0; in populateInputInfo()
|
/frameworks/native/services/inputflinger/tests/ |
D | InputDispatcher_test.cpp | 467 mInfo.globalScaleFactor = 1.0; in updateInfo()
|