Home
last modified time | relevance | path

Searched refs:windowXScale (Results 1 – 13 of 13) sorted by relevance

/frameworks/native/services/inputflinger/dispatcher/
DInputTarget.cpp46 float windowXScale, float windowYScale) { in addPointers() argument
50 setDefaultPointerInfo(xOffset, yOffset, windowXScale, windowYScale); in addPointers()
62 pointerInfos[pointerId].windowXScale = windowXScale; in addPointers()
67 void InputTarget::setDefaultPointerInfo(float xOffset, float yOffset, float windowXScale, in setDefaultPointerInfo() argument
72 pointerInfos[0].windowXScale = windowXScale; in setDefaultPointerInfo()
88 pointerInfo.xOffset, pointerInfo.yOffset, pointerInfo.windowXScale, in getPointerInfoString()
100 pointerInfos[i].windowXScale, pointerInfos[i].windowYScale); in getPointerInfoString()
DInputTarget.h38 float windowXScale = 1.0f; member
125 void addPointers(BitSet32 pointerIds, float xOffset, float yOffset, float windowXScale,
127 void setDefaultPointerInfo(float xOffset, float yOffset, float windowXScale,
DEntry.cpp244 float yOffset, float globalScaleFactor, float windowXScale, in DispatchEntry() argument
252 windowXScale(windowXScale), in DispatchEntry()
DEntry.h199 float windowXScale = 1.0f; member
213 float globalScaleFactor, float windowXScale, float windowYScale);
DInputDispatcher.cpp269 pointerInfo.windowXScale, pointerInfo.windowYScale); in createDispatchEntry()
290 float scaleXDiff = currPointerInfo.windowXScale / firstPointerInfo.windowXScale; in createDispatchEntry()
324 firstPointerInfo.windowXScale, in createDispatchEntry()
2029 windowInfo->windowXScale, windowInfo->windowYScale); in addWindowTargetLocked()
2508 xScale = dispatchEntry->windowXScale; in startDispatchCycleLocked()
2826 windowInfo->windowXScale, windowInfo->windowYScale); in synthesizeCancelationEventsForConnectionLocked()
2892 windowInfo->windowXScale, windowInfo->windowYScale); in synthesizePointerDownEventsForConnectionLocked()
4151 windowInfo->windowXScale, windowInfo->windowYScale); in dumpDispatchStateLocked()
/frameworks/native/libs/input/tests/
DInputWindow_test.cpp54 i.windowXScale = 0.4; in TEST()
86 ASSERT_EQ(i.windowXScale, i2.windowXScale); in TEST()
/frameworks/native/libs/input/
DInputWindow.cpp88 output.writeFloat(windowXScale); in write()
126 ret.windowXScale = from.readFloat(); in read()
DInput.cpp227 void PointerCoords::scale(float globalScaleFactor, float windowXScale, float windowYScale) { in scale() argument
235 scaleAxisValue(*this, AMOTION_EVENT_AXIS_X, windowXScale); in scale()
/frameworks/native/include/input/
DInputWindow.h153 float windowXScale = 1.0f; member
DInput.h341 void scale(float globalScale, float windowXScale, float windowYScale);
/frameworks/native/services/surfaceflinger/
DLayerProtoHelper.cpp150 proto->set_window_x_scale(inputInfo.windowXScale); in writeToProto()
DLayer.cpp2385 info.windowXScale *= (xScale != 0.0f) ? 1.0f / xScale : 0.0f; in fillInputInfo()
/frameworks/native/services/inputflinger/tests/
DInputDispatcher_test.cpp811 mInfo.windowXScale = xScale; in setWindowScale()
2163 float x = windowInfo->windowXScale * (point.x - windowInfo->frameLeft); in getPointInWindow()