Searched refs:globalScaleFactor (Results 1 – 15 of 15) sorted by relevance
/frameworks/native/libs/input/ |
D | Input.cpp | 351 void PointerCoords::scale(float globalScaleFactor, float windowXScale, float windowYScale) { in scale() argument 361 scaleAxisValue(*this, AMOTION_EVENT_AXIS_TOUCH_MAJOR, globalScaleFactor); in scale() 362 scaleAxisValue(*this, AMOTION_EVENT_AXIS_TOUCH_MINOR, globalScaleFactor); in scale() 363 scaleAxisValue(*this, AMOTION_EVENT_AXIS_TOOL_MAJOR, globalScaleFactor); in scale() 364 scaleAxisValue(*this, AMOTION_EVENT_AXIS_TOOL_MINOR, globalScaleFactor); in scale() 629 void MotionEvent::scale(float globalScaleFactor) { in scale() argument 630 mTransform.set(mTransform.tx() * globalScaleFactor, mTransform.ty() * globalScaleFactor); in scale() 631 mRawTransform.set(mRawTransform.tx() * globalScaleFactor, in scale() 632 mRawTransform.ty() * globalScaleFactor); in scale() 633 mXPrecision *= globalScaleFactor; in scale() [all …]
|
/frameworks/native/libs/gui/tests/ |
D | WindowInfo_test.cpp | 60 i.globalScaleFactor = 0.3; in TEST() 93 ASSERT_EQ(i.globalScaleFactor, i2.globalScaleFactor); in TEST()
|
D | EndToEndNativeInputTest.cpp | 94 mInputInfo.globalScaleFactor = 1.0; in InputSurface()
|
/frameworks/native/libs/gui/ |
D | WindowInfo.cpp | 72 info.globalScaleFactor == globalScaleFactor && info.transform == transform && in operator ==() 109 parcel->writeFloat(globalScaleFactor) ?: in writeToParcel() 161 parcel->readFloat(&globalScaleFactor) ?: in readFromParcel()
|
/frameworks/native/services/inputflinger/dispatcher/ |
D | InputTarget.h | 101 float globalScaleFactor = 1.0f; member
|
D | Entry.cpp | 312 float globalScaleFactor) in DispatchEntry() argument 318 globalScaleFactor(globalScaleFactor), in DispatchEntry()
|
D | Entry.h | 229 float globalScaleFactor; member 243 float globalScaleFactor);
|
D | InputDispatcher.cpp | 298 inputTarget.globalScaleFactor); in createDispatchEntry() 350 inputTarget.globalScaleFactor); in createDispatchEntry() 2616 inputTarget.globalScaleFactor = windowInfo->globalScaleFactor; in addWindowTargetLocked() 2628 ALOG_ASSERT(it->globalScaleFactor == windowInfo->globalScaleFactor); in addWindowTargetLocked() 2903 inputTarget.globalScaleFactor, inputTarget.pointerIds.value, in prepareDispatchCycleLocked() 3263 float globalScaleFactor = dispatchEntry->globalScaleFactor; in startDispatchCycleLocked() local 3264 if (globalScaleFactor != 1.0f) { in startDispatchCycleLocked() 3270 scaledCoords[i].scale(globalScaleFactor, 1 /* windowXScale */, in startDispatchCycleLocked() 3640 target.globalScaleFactor = windowInfo->globalScaleFactor; in synthesizeCancelationEventsForConnectionLocked() 3708 target.globalScaleFactor = windowInfo->globalScaleFactor; in synthesizePointerDownEventsForConnectionLocked() [all …]
|
/frameworks/base/core/jni/ |
D | android_hardware_input_InputWindowHandle.cpp | 141 mInfo.globalScaleFactor = env->GetFloatField(obj, in updateInfo() 286 windowInfo.globalScaleFactor); in android_view_InputWindowHandle_fromWindowInfo()
|
/frameworks/native/libs/gui/include/gui/ |
D | WindowInfo.h | 208 float globalScaleFactor = 1.0f; member
|
/frameworks/native/services/surfaceflinger/ |
D | LayerProtoHelper.cpp | 197 proto->set_global_scale_factor(inputInfo.globalScaleFactor); in writeToProto()
|
/frameworks/native/services/inputflinger/benchmarks/ |
D | InputDispatcher_benchmarks.cpp | 194 mInfo.globalScaleFactor = 1.0; in updateInfo()
|
/frameworks/native/services/surfaceflinger/Tracing/ |
D | TransactionProtoParser.cpp | 210 windowInfoProto->set_global_scale_factor(inputInfo->globalScaleFactor); in toProto() 492 inputInfo.globalScaleFactor = windowInfoProto.global_scale_factor(); in fromProto()
|
/frameworks/native/include/input/ |
D | Input.h | 778 void scale(float globalScaleFactor);
|
/frameworks/native/services/inputflinger/tests/ |
D | InputDispatcher_test.cpp | 1017 mInfo.globalScaleFactor = 1.0; in FakeWindowHandle()
|