Home
last modified time | relevance | path

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

/frameworks/native/libs/input/
DInput.cpp351 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/
DWindowInfo_test.cpp60 i.globalScaleFactor = 0.3; in TEST()
93 ASSERT_EQ(i.globalScaleFactor, i2.globalScaleFactor); in TEST()
DEndToEndNativeInputTest.cpp94 mInputInfo.globalScaleFactor = 1.0; in InputSurface()
/frameworks/native/libs/gui/
DWindowInfo.cpp72 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/
DInputTarget.h101 float globalScaleFactor = 1.0f; member
DEntry.cpp312 float globalScaleFactor) in DispatchEntry() argument
318 globalScaleFactor(globalScaleFactor), in DispatchEntry()
DEntry.h229 float globalScaleFactor; member
243 float globalScaleFactor);
DInputDispatcher.cpp298 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/
Dandroid_hardware_input_InputWindowHandle.cpp141 mInfo.globalScaleFactor = env->GetFloatField(obj, in updateInfo()
286 windowInfo.globalScaleFactor); in android_view_InputWindowHandle_fromWindowInfo()
/frameworks/native/libs/gui/include/gui/
DWindowInfo.h208 float globalScaleFactor = 1.0f; member
/frameworks/native/services/surfaceflinger/
DLayerProtoHelper.cpp197 proto->set_global_scale_factor(inputInfo.globalScaleFactor); in writeToProto()
/frameworks/native/services/inputflinger/benchmarks/
DInputDispatcher_benchmarks.cpp194 mInfo.globalScaleFactor = 1.0; in updateInfo()
/frameworks/native/services/surfaceflinger/Tracing/
DTransactionProtoParser.cpp210 windowInfoProto->set_global_scale_factor(inputInfo->globalScaleFactor); in toProto()
492 inputInfo.globalScaleFactor = windowInfoProto.global_scale_factor(); in fromProto()
/frameworks/native/include/input/
DInput.h778 void scale(float globalScaleFactor);
/frameworks/native/services/inputflinger/tests/
DInputDispatcher_test.cpp1017 mInfo.globalScaleFactor = 1.0; in FakeWindowHandle()