Home
last modified time | relevance | path

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

/frameworks/native/libs/gui/tests/
DWindowInfo_test.cpp59 i.globalScaleFactor = 0.3; in TEST()
90 ASSERT_EQ(i.globalScaleFactor, i2.globalScaleFactor); in TEST()
DEndToEndNativeInputTest.cpp130 mInputInfo.globalScaleFactor = 1.0; in InputSurface()
/frameworks/native/libs/gui/
DWindowInfo.cpp97 info.globalScaleFactor == globalScaleFactor && info.transform == transform && in operator ==()
136 parcel->writeFloat(globalScaleFactor) ?: in writeToParcel()
189 parcel->readFloat(&globalScaleFactor) ?: in readFromParcel()
262 << info.frame.bottom << "], globalScale=" << info.globalScaleFactor in operator <<()
/frameworks/native/libs/input/
DInput.cpp484 void PointerCoords::scale(float globalScaleFactor, float windowXScale, float windowYScale) { in scale() argument
494 scaleAxisValue(*this, AMOTION_EVENT_AXIS_TOUCH_MAJOR, globalScaleFactor); in scale()
495 scaleAxisValue(*this, AMOTION_EVENT_AXIS_TOUCH_MINOR, globalScaleFactor); in scale()
496 scaleAxisValue(*this, AMOTION_EVENT_AXIS_TOOL_MAJOR, globalScaleFactor); in scale()
497 scaleAxisValue(*this, AMOTION_EVENT_AXIS_TOOL_MINOR, globalScaleFactor); in scale()
761 void MotionEvent::scale(float globalScaleFactor) { in scale() argument
762 mTransform.set(mTransform.tx() * globalScaleFactor, mTransform.ty() * globalScaleFactor); in scale()
763 mRawTransform.set(mRawTransform.tx() * globalScaleFactor, in scale()
764 mRawTransform.ty() * globalScaleFactor); in scale()
765 mXPrecision *= globalScaleFactor; in scale()
[all …]
/frameworks/native/services/inputflinger/dispatcher/
DInputTarget.h78 float globalScaleFactor = 1.0f; variable
DEntry.cpp293 float globalScaleFactor, gui::Uid targetUid, int64_t vsyncId, in DispatchEntry() argument
300 globalScaleFactor(globalScaleFactor), in DispatchEntry()
DEntry.h223 float globalScaleFactor; member
243 const ui::Transform& rawTransform, float globalScaleFactor, gui::Uid targetUid,
DInputDispatcher.cpp416 inputTarget.globalScaleFactor, uid, vsyncId, in createDispatchEntry()
476 inputTarget.globalScaleFactor, uid, vsyncId, windowId); in createDispatchEntry()
2961 inputTarget.globalScaleFactor = windowHandle->getInfo()->globalScaleFactor; in createInputTargetLocked()
3000 if (it->globalScaleFactor != windowInfo->globalScaleFactor) { in addWindowTargetLocked()
3001 LOG(ERROR) << "Mismatch! it->globalScaleFactor=" << it->globalScaleFactor in addWindowTargetLocked()
3002 << ", windowInfo->globalScaleFactor=" << windowInfo->globalScaleFactor; in addWindowTargetLocked()
3056 if (it->globalScaleFactor != windowInfo->globalScaleFactor) { in addPointerWindowTargetLocked()
3057 LOG(ERROR) << __func__ << ": Mismatch! it->globalScaleFactor=" << it->globalScaleFactor in addPointerWindowTargetLocked()
3058 << ", windowInfo->globalScaleFactor=" << windowInfo->globalScaleFactor; in addPointerWindowTargetLocked()
3360 inputTarget.globalScaleFactor, bitsetToString(inputTarget.getPointerIds()).c_str(), in prepareDispatchCycleLocked()
[all …]
/frameworks/base/core/jni/
Dandroid_hardware_input_InputWindowHandle.cpp139 mInfo.globalScaleFactor = env->GetFloatField(obj, in updateInfo()
293 windowInfo.globalScaleFactor); in android_view_InputWindowHandle_fromWindowInfo()
/frameworks/native/libs/gui/include/gui/
DWindowInfo.h217 float globalScaleFactor = 1.0f; member
/frameworks/native/services/inputflinger/tests/
DFakeWindows.cpp266 mInfo.globalScaleFactor = 1.0; in FakeWindowHandle()
/frameworks/native/services/surfaceflinger/Tracing/
DTransactionProtoParser.cpp208 windowInfoProto->set_global_scale_factor(inputInfo->globalScaleFactor); in toProto()
479 inputInfo.globalScaleFactor = windowInfoProto.global_scale_factor(); in fromProto()
/frameworks/native/services/surfaceflinger/
DLayerProtoHelper.cpp208 proto->set_global_scale_factor(inputInfo.globalScaleFactor); in writeToProto()
/frameworks/native/include/input/
DInput.h915 void scale(float globalScaleFactor);