Searched refs:touchInfoObj (Results 1 - 3 of 3) sorted by relevance
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/functions/ |
H A D | js_touch_function.cpp | 29 JSRef<JSObject> touchInfoObj = objectTemplate->NewInstance(); in CreateTouchInfo() local 33 touchInfoObj->SetProperty<int32_t>("type", static_cast<int32_t>(touchInfo.GetTouchType())); in CreateTouchInfo() 34 touchInfoObj->SetProperty<int32_t>("id", touchInfo.GetFingerId()); in CreateTouchInfo() 35 touchInfoObj->SetProperty<double>("displayX", PipelineBase::Px2VpWithCurrentDensity(screenLocation.GetX())); in CreateTouchInfo() 36 touchInfoObj->SetProperty<double>("displayY", PipelineBase::Px2VpWithCurrentDensity(screenLocation.GetY())); in CreateTouchInfo() 37 touchInfoObj->SetProperty<double>("windowX", PipelineBase::Px2VpWithCurrentDensity(globalLocation.GetX())); in CreateTouchInfo() 38 touchInfoObj->SetProperty<double>("windowY", PipelineBase::Px2VpWithCurrentDensity(globalLocation.GetY())); in CreateTouchInfo() 39 touchInfoObj->SetProperty<double>("screenX", PipelineBase::Px2VpWithCurrentDensity(globalLocation.GetX())); in CreateTouchInfo() 40 touchInfoObj->SetProperty<double>("screenY", PipelineBase::Px2VpWithCurrentDensity(globalLocation.GetY())); in CreateTouchInfo() 41 touchInfoObj in CreateTouchInfo() [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_web.cpp | 4892 JSRef<JSObject> touchInfoObj = objectTemplate->NewInstance(); in CreateTouchInfo() local 4896 touchInfoObj->SetProperty<int32_t>("type", static_cast<int32_t>(touchInfo.GetTouchType())); in CreateTouchInfo() 4897 touchInfoObj->SetProperty<int32_t>("id", touchInfo.GetFingerId()); in CreateTouchInfo() 4898 touchInfoObj->SetProperty<double>("displayX", screenLocation.GetX()); in CreateTouchInfo() 4899 touchInfoObj->SetProperty<double>("displayY", screenLocation.GetY()); in CreateTouchInfo() 4900 touchInfoObj->SetProperty<double>("windowX", globalLocation.GetX()); in CreateTouchInfo() 4901 touchInfoObj->SetProperty<double>("windowY", globalLocation.GetY()); in CreateTouchInfo() 4902 touchInfoObj->SetProperty<double>("screenX", globalLocation.GetX()); in CreateTouchInfo() 4903 touchInfoObj->SetProperty<double>("screenY", globalLocation.GetY()); in CreateTouchInfo() 4904 touchInfoObj in CreateTouchInfo() [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/ |
H A D | arkts_native_frame_node_bridge.cpp | 119 auto touchInfoObj = panda::ObjectRef::NewWithNamedProperties(vm, ArraySize(keys), keys, values); in CreateTouchInfo() local 120 touchInfoObj->SetNativePointerFieldCount(vm, 1); in CreateTouchInfo() 121 touchInfoObj->SetNativePointerField(vm, 0, static_cast<void*>(&info)); in CreateTouchInfo() 122 return touchInfoObj; in CreateTouchInfo()
|
Completed in 13 milliseconds