Home
last modified time | relevance | path

Searched refs:SetProperty (Results 1 - 25 of 136) sorted by relevance

123456

/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/functions/
H A Djs_click_function.cpp40 obj->SetProperty<double>("displayX", PipelineBase::Px2VpWithCurrentDensity(screenOffset.GetX())); in Execute()
41 obj->SetProperty<double>("displayY", PipelineBase::Px2VpWithCurrentDensity(screenOffset.GetY())); in Execute()
42 obj->SetProperty<double>("windowX", PipelineBase::Px2VpWithCurrentDensity(globalOffset.GetX())); in Execute()
43 obj->SetProperty<double>("windowY", PipelineBase::Px2VpWithCurrentDensity(globalOffset.GetY())); in Execute()
44 obj->SetProperty<double>("screenX", PipelineBase::Px2VpWithCurrentDensity(globalOffset.GetX())); in Execute()
45 obj->SetProperty<double>("screenY", PipelineBase::Px2VpWithCurrentDensity(globalOffset.GetY())); in Execute()
46 obj->SetProperty<double>("x", PipelineBase::Px2VpWithCurrentDensity(localOffset.GetX())); in Execute()
47 obj->SetProperty<double>("y", PipelineBase::Px2VpWithCurrentDensity(localOffset.GetY())); in Execute()
48 obj->SetProperty<double>("timestamp", static_cast<double>(info.GetTimeStamp().time_since_epoch().count())); in Execute()
49 obj->SetProperty<doubl in Execute()
[all...]
H A Djs_gesture_function.cpp40 gestureInfoObj->SetProperty<bool>("repeat", info.GetRepeat()); in CreateGestureEvent()
41 gestureInfoObj->SetProperty<double>("offsetX", PipelineBase::Px2VpWithCurrentDensity(info.GetOffsetX())); in CreateGestureEvent()
42 gestureInfoObj->SetProperty<double>("offsetY", PipelineBase::Px2VpWithCurrentDensity(info.GetOffsetY())); in CreateGestureEvent()
43 gestureInfoObj->SetProperty<double>("scale", info.GetScale()); in CreateGestureEvent()
44 gestureInfoObj->SetProperty<double>("angle", info.GetAngle()); in CreateGestureEvent()
45 gestureInfoObj->SetProperty<double>("speed", info.GetSpeed()); in CreateGestureEvent()
46 gestureInfoObj->SetProperty<double>("timestamp", info.GetTimeStamp().time_since_epoch().count()); in CreateGestureEvent()
47 gestureInfoObj->SetProperty<double>( in CreateGestureEvent()
49 gestureInfoObj->SetProperty<double>( in CreateGestureEvent()
51 gestureInfoObj->SetProperty<doubl in CreateGestureEvent()
[all...]
H A Djs_hover_function.cpp31 hoverObj->SetProperty<double>( in HoverExecute()
33 hoverObj->SetProperty<double>("source", static_cast<int32_t>(hoverInfo.GetSourceDevice())); in HoverExecute()
36 hoverObj->SetProperty<double>("sourceTool", static_cast<int32_t>(hoverInfo.GetSourceTool())); in HoverExecute()
37 hoverObj->SetProperty<double>("axisVertical", 0.0f); in HoverExecute()
38 hoverObj->SetProperty<double>("axisHorizontal", 0.0f); in HoverExecute()
39 hoverObj->SetProperty<double>("tiltX", hoverInfo.GetTiltX().value_or(0.0f)); in HoverExecute()
40 hoverObj->SetProperty<double>("tiltY", hoverInfo.GetTiltY().value_or(0.0f)); in HoverExecute()
41 hoverObj->SetProperty<double>("deviceId", hoverInfo.GetDeviceId()); in HoverExecute()
57 hoverObj->SetProperty<double>( in AccessibilityHoverExecute()
59 hoverObj->SetProperty<doubl in AccessibilityHoverExecute()
[all...]
H A Djs_gesture_judge_function.cpp33 gestureInfoObj->SetProperty<std::string>("tag", gestureInfo->GetTag().value()); in Execute()
35 gestureInfoObj->SetProperty<int32_t>("type", static_cast<int32_t>(gestureInfo->GetType())); in Execute()
36 gestureInfoObj->SetProperty<bool>("isSystemGesture", gestureInfo->IsSystemGesture()); in Execute()
83 fingerInfoObj->SetProperty<int32_t>("id", fingerInfo.fingerId_); in CreateFingerInfo()
84 fingerInfoObj->SetProperty<double>("globalX", PipelineBase::Px2VpWithCurrentDensity(globalLocation.GetX())); in CreateFingerInfo()
85 fingerInfoObj->SetProperty<double>("globalY", PipelineBase::Px2VpWithCurrentDensity(globalLocation.GetY())); in CreateFingerInfo()
86 fingerInfoObj->SetProperty<double>("localX", PipelineBase::Px2VpWithCurrentDensity(localLocation.GetX())); in CreateFingerInfo()
87 fingerInfoObj->SetProperty<double>("localY", PipelineBase::Px2VpWithCurrentDensity(localLocation.GetY())); in CreateFingerInfo()
88 fingerInfoObj->SetProperty<double>("displayX", PipelineBase::Px2VpWithCurrentDensity(screenLocation.GetX())); in CreateFingerInfo()
89 fingerInfoObj->SetProperty<doubl in CreateFingerInfo()
[all...]
H A Djs_touch_function.cpp33 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->SetProperty<double>("x", PipelineBase::Px2VpWithCurrentDensity(localLocation.GetX())); in CreateTouchInfo()
42 touchInfoObj->SetProperty<doubl in CreateTouchInfo()
[all...]
H A Djs_on_child_touch_test_function.cpp38 infoObj->SetProperty<double>("windowX", PipelineBase::Px2VpWithCurrentDensity(info.windowPoint.GetX())); in CreateTouchTestInfo()
39 infoObj->SetProperty<double>("windowY", PipelineBase::Px2VpWithCurrentDensity(info.windowPoint.GetY())); in CreateTouchTestInfo()
40 infoObj->SetProperty<double>("parentX", PipelineBase::Px2VpWithCurrentDensity(info.currentCmpPoint.GetX())); in CreateTouchTestInfo()
41 infoObj->SetProperty<double>("parentY", PipelineBase::Px2VpWithCurrentDensity(info.currentCmpPoint.GetY())); in CreateTouchTestInfo()
42 infoObj->SetProperty<double>("x", PipelineBase::Px2VpWithCurrentDensity(info.subCmpPoint.GetX())); in CreateTouchTestInfo()
43 infoObj->SetProperty<double>("y", PipelineBase::Px2VpWithCurrentDensity(info.subCmpPoint.GetY())); in CreateTouchTestInfo()
45 infoObj->SetProperty<std::string>("id", info.id); in CreateTouchTestInfo()
52 rectangleObj->SetProperty<double>("x", PipelineBase::Px2VpWithCurrentDensity(info.GetX())); in CreateRectangle()
53 rectangleObj->SetProperty<double>("y", PipelineBase::Px2VpWithCurrentDensity(info.GetY())); in CreateRectangle()
54 rectangleObj->SetProperty<doubl in CreateRectangle()
[all...]
H A Djs_pan_function.cpp27 panInfoObj->SetProperty<double>("globalX", globalLocation.GetX()); in createPanInfo()
28 panInfoObj->SetProperty<double>("globalY", globalLocation.GetY()); in createPanInfo()
29 panInfoObj->SetProperty<double>("localX", localLocation.GetX()); in createPanInfo()
30 panInfoObj->SetProperty<double>("localY", localLocation.GetY()); in createPanInfo()
45 deltaInfoObj->SetProperty<double>("x", deltaLocation.GetX()); in Execute()
46 deltaInfoObj->SetProperty<double>("y", deltaLocation.GetY()); in Execute()
48 paramObj->SetProperty<double>("mainDelta", info.GetMainDelta()); in Execute()
59 velocityInfoObj->SetProperty<double>("x", velocityLocation.GetVelocityX()); in Execute()
60 velocityInfoObj->SetProperty<double>("y", velocityLocation.GetVelocityY()); in Execute()
62 paramObj->SetProperty<doubl in Execute()
[all...]
H A Djs_key_function.cpp26 keyEventObj->SetProperty<int32_t>("type", static_cast<int32_t>(event.GetKeyType())); in createKeyEvent()
27 keyEventObj->SetProperty<int32_t>("keyCode", static_cast<int32_t>(event.GetKeyCode())); in createKeyEvent()
28 keyEventObj->SetProperty<const char*>("keyText", event.GetKeyText()); in createKeyEvent()
29 keyEventObj->SetProperty<int32_t>("keySource", static_cast<int32_t>(event.GetKeySource())); in createKeyEvent()
30 keyEventObj->SetProperty<int64_t>("deviceId", event.GetDeviceId()); in createKeyEvent()
31 keyEventObj->SetProperty<int32_t>("metaKey", event.GetMetaKey()); in createKeyEvent()
32 keyEventObj->SetProperty<uint32_t>("unicode", event.GetUnicode()); in createKeyEvent()
33 keyEventObj->SetProperty<double>("timestamp", static_cast<double>(event.GetTimeStamp().time_since_epoch().count())); in createKeyEvent()
37 keyEventObj->SetProperty<int32_t>("intentionCode", static_cast<int32_t>(event.GetKeyIntention())); in createKeyEvent()
H A Djs_on_area_change_function.cpp34 offset->SetProperty<double>("x", PipelineBase::Px2VpWithCurrentDensity(localOffset.GetX())); in CreateAreaObject()
35 offset->SetProperty<double>("y", PipelineBase::Px2VpWithCurrentDensity(localOffset.GetY())); in CreateAreaObject()
36 globalOffset->SetProperty<double>("x", PipelineBase::Px2VpWithCurrentDensity(localOffset.GetX() + origin.GetX())); in CreateAreaObject()
37 globalOffset->SetProperty<double>("y", PipelineBase::Px2VpWithCurrentDensity(localOffset.GetY() + origin.GetY())); in CreateAreaObject()
44 area->SetProperty<double>("width", PipelineBase::Px2VpWithCurrentDensity(rect.Width())); in CreateAreaObject()
45 area->SetProperty<double>("height", PipelineBase::Px2VpWithCurrentDensity(rect.Height())); in CreateAreaObject()
H A Djs_on_size_change_function.cpp28 oldSize->SetProperty<double>("width", PipelineBase::Px2VpWithCurrentDensity(oldRect.Width())); in Execute()
29 oldSize->SetProperty<double>("height", PipelineBase::Px2VpWithCurrentDensity(oldRect.Height())); in Execute()
30 newSize->SetProperty<double>("width", PipelineBase::Px2VpWithCurrentDensity(rect.Width())); in Execute()
31 newSize->SetProperty<double>("height", PipelineBase::Px2VpWithCurrentDensity(rect.Height())); in Execute()
H A Djs_function.cpp81 eventInfo->SetProperty<std::string>(key.c_str(), value->GetString().c_str()); in ExecuteInternal()
83 eventInfo->SetProperty<double>(key.c_str(), value->GetDouble()); in ExecuteInternal()
85 eventInfo->SetProperty<bool>(key.c_str(), value->GetBool()); in ExecuteInternal()
152 offset->SetProperty<double>("x", localOffset.GetX().ConvertToVp()); in CreateEventTargetObject()
153 offset->SetProperty<double>("y", localOffset.GetY().ConvertToVp()); in CreateEventTargetObject()
154 globalOffset->SetProperty<double>("x", (origin.GetX().ConvertToVp() + localOffset.GetX().ConvertToVp())); in CreateEventTargetObject()
155 globalOffset->SetProperty<double>("y", (origin.GetY().ConvertToVp() + localOffset.GetY().ConvertToVp())); in CreateEventTargetObject()
158 area->SetProperty<double>("width", info.GetTarget().area.GetWidth().ConvertToVp()); in CreateEventTargetObject()
159 area->SetProperty<double>("height", info.GetTarget().area.GetHeight().ConvertToVp()); in CreateEventTargetObject()
H A Djs_swiper_function.cpp132 obj->SetProperty<float>("currentOffset", currentOffset); in Execute()
133 obj->SetProperty<float>("targetOffset", targetOffset); in Execute()
134 obj->SetProperty<float>("velocity", velocity); in Execute()
151 obj->SetProperty<float>("currentOffset", currentOffset); in Execute()
152 obj->SetProperty<float>("targetOffset", targetOffset); in Execute()
153 obj->SetProperty<float>("velocity", velocity); in Execute()
166 obj->SetProperty<int32_t>("code", errorCode); in Execute()
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_profiler/unittest/
H A Drs_profiler_capturedata_test.cpp56 data.SetProperty(name, initial); in HWTEST_F()
71 data.SetProperty(name, initial); in HWTEST_F()
86 data.SetProperty(name, initial); in HWTEST_F()
101 data.SetProperty(name, initial); in HWTEST_F()
116 data.SetProperty(name, initial); in HWTEST_F()
131 data.SetProperty(name, initial); in HWTEST_F()
146 data.SetProperty(name, initial); in HWTEST_F()
161 data.SetProperty(name, initial); in HWTEST_F()
176 data.SetProperty(name, initial); in HWTEST_F()
191 data.SetProperty(nam in HWTEST_F()
[all...]
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_view_measure_layout.cpp35 constraint->SetProperty<double>("minWidth", minSize.Width()); in GenConstraint()
36 constraint->SetProperty<double>("minHeight", minSize.Height()); in GenConstraint()
37 constraint->SetProperty<double>("maxWidth", maxSize.Width()); in GenConstraint()
38 constraint->SetProperty<double>("maxHeight", maxSize.Height()); in GenConstraint()
48 constraint->SetProperty<double>("minWidth", minSize.Width() / pipeline->GetDipScale()); in GenConstraintNG()
49 constraint->SetProperty<double>("minHeight", minSize.Height() / pipeline->GetDipScale()); in GenConstraintNG()
50 constraint->SetProperty<double>("maxWidth", maxSize.Width() / pipeline->GetDipScale()); in GenConstraintNG()
51 constraint->SetProperty<double>("maxHeight", maxSize.Height() / pipeline->GetDipScale()); in GenConstraintNG()
61 constraint->SetProperty<double>("minWidth", 0.0f); in GenPlaceChildrenConstraintNG()
62 constraint->SetProperty<doubl in GenPlaceChildrenConstraintNG()
[all...]
H A Djs_location_button.cpp101 clickEventParam->SetProperty<double>("screenX", PipelineBase::Px2VpWithCurrentDensity(globalOffset.GetX())); in Execute()
102 clickEventParam->SetProperty<double>("screenY", PipelineBase::Px2VpWithCurrentDensity(globalOffset.GetY())); in Execute()
103 clickEventParam->SetProperty<double>("x", PipelineBase::Px2VpWithCurrentDensity(localOffset.GetX())); in Execute()
104 clickEventParam->SetProperty<double>("y", PipelineBase::Px2VpWithCurrentDensity(localOffset.GetY())); in Execute()
105 clickEventParam->SetProperty<double>("timestamp", in Execute()
107 clickEventParam->SetProperty<double>("source", static_cast<int32_t>(info.GetSourceDevice())); in Execute()
108 clickEventParam->SetProperty<double>("pressure", info.GetForce()); in Execute()
109 clickEventParam->SetProperty<double>("tiltX", info.GetTiltX().value_or(0.0f)); in Execute()
110 clickEventParam->SetProperty<double>("tiltY", info.GetTiltY().value_or(0.0f)); in Execute()
111 clickEventParam->SetProperty<doubl in Execute()
[all...]
H A Djs_save_button.cpp101 clickEventParam->SetProperty<double>("screenX", PipelineBase::Px2VpWithCurrentDensity(globalOffset.GetX())); in Execute()
102 clickEventParam->SetProperty<double>("screenY", PipelineBase::Px2VpWithCurrentDensity(globalOffset.GetY())); in Execute()
103 clickEventParam->SetProperty<double>("x", PipelineBase::Px2VpWithCurrentDensity(localOffset.GetX())); in Execute()
104 clickEventParam->SetProperty<double>("y", PipelineBase::Px2VpWithCurrentDensity(localOffset.GetY())); in Execute()
105 clickEventParam->SetProperty<double>("timestamp", in Execute()
107 clickEventParam->SetProperty<double>("source", static_cast<int32_t>(info.GetSourceDevice())); in Execute()
108 clickEventParam->SetProperty<double>("pressure", info.GetForce()); in Execute()
109 clickEventParam->SetProperty<double>("tiltX", info.GetTiltX().value_or(0.0f)); in Execute()
110 clickEventParam->SetProperty<double>("tiltY", info.GetTiltY().value_or(0.0f)); in Execute()
111 clickEventParam->SetProperty<doubl in Execute()
[all...]
H A Djs_paste_button.cpp100 clickEventParam->SetProperty<double>("screenX", PipelineBase::Px2VpWithCurrentDensity(globalOffset.GetX())); in Execute()
101 clickEventParam->SetProperty<double>("screenY", PipelineBase::Px2VpWithCurrentDensity(globalOffset.GetY())); in Execute()
102 clickEventParam->SetProperty<double>("x", PipelineBase::Px2VpWithCurrentDensity(localOffset.GetX())); in Execute()
103 clickEventParam->SetProperty<double>("y", PipelineBase::Px2VpWithCurrentDensity(localOffset.GetY())); in Execute()
104 clickEventParam->SetProperty<double>("timestamp", in Execute()
106 clickEventParam->SetProperty<double>("source", static_cast<int32_t>(info.GetSourceDevice())); in Execute()
107 clickEventParam->SetProperty<double>("pressure", info.GetForce()); in Execute()
108 clickEventParam->SetProperty<double>("tiltX", info.GetTiltX().value_or(0.0f)); in Execute()
109 clickEventParam->SetProperty<double>("tiltY", info.GetTiltY().value_or(0.0f)); in Execute()
110 clickEventParam->SetProperty<doubl in Execute()
[all...]
H A Djs_text_editable_controller.cpp125 rectObj->SetProperty<double>("x", info.Left()); in CreateRectangle()
126 rectObj->SetProperty<double>("y", info.Top()); in CreateRectangle()
127 rectObj->SetProperty<double>("width", info.Width()); in CreateRectangle()
128 rectObj->SetProperty<double>("height", info.Height()); in CreateRectangle()
163 caretObj->SetProperty<int32_t>("index", controller->GetCaretIndex()); in GetCaretOffset()
164 caretObj->SetProperty<float>("x", caretOffset.GetX()); in GetCaretOffset()
165 caretObj->SetProperty<float>("y", caretOffset.GetY()); in GetCaretOffset()
H A Djs_navdestination_context.cpp43 obj->SetProperty<std::string>("name", pathInfo->GetName()); in GetPathInfo()
44 obj->SetProperty<bool>("isEntry", pathInfo->GetIsEntry()); in GetPathInfo()
106 routeData->SetProperty<std::string>("name", param->GetName().c_str()); in GetRouteInfo()
107 routeData->SetProperty<std::string>("pageSourceFile", routeInfo.pageSourceFile->c_str()); in GetRouteInfo()
110 data->SetProperty<std::string>(iter->first.c_str(), iter->second.c_str()); in GetRouteInfo()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/modules/
H A Djsi_app_module.cpp42 appInfo->SetProperty(runtime, "appID", runtime->NewString(appId)); in AppGetInfo()
43 appInfo->SetProperty(runtime, "appName", runtime->NewString(appName)); in AppGetInfo()
44 appInfo->SetProperty(runtime, "versionName", runtime->NewString(versionName)); in AppGetInfo()
45 appInfo->SetProperty(runtime, "versionCode", runtime->NewNumber(versionCode)); in AppGetInfo()
181 moduleObj->SetProperty(runtime, APP_GET_INFO, runtime->NewFunction(AppGetInfo)); in InitAppModule()
182 moduleObj->SetProperty(runtime, APP_TERMINATE, runtime->NewFunction(AppTerminate)); in InitAppModule()
183 moduleObj->SetProperty(runtime, APP_SET_IMAGE_CACHE_COUNT, runtime->NewFunction(AppSetImageCacheCount)); in InitAppModule()
184 moduleObj->SetProperty( in InitAppModule()
186 moduleObj->SetProperty(runtime, APP_SET_IMAGE_FILE_CACHE_SIZE, runtime->NewFunction(AppSetImageFileCacheSize)); in InitAppModule()
188 moduleObj->SetProperty(runtim in InitAppModule()
[all...]
H A Djsi_matrix4_module.cpp60 result->SetProperty(runtime, runtime->NewInt32(index), runtime->NewNumber(matrix.Get(j, i))); in ConvertToJSValue()
91 thisObj->SetProperty(runtime, MATRIX_4X4, newArrayJSValue); in Combine()
102 thisObj->SetProperty(runtime, MATRIX_4X4, matrixArray); in Invert()
126 thisObj->SetProperty(runtime, MATRIX_4X4, ConvertToJSValue(runtime, matrix)); in Translate()
143 thisObj->SetProperty(runtime, MATRIX_4X4, ConvertToJSValue(runtime, matrix)); in Skew()
178 thisObj->SetProperty(runtime, MATRIX_4X4, ConvertToJSValue(runtime, matrix)); in Scale()
216 thisObj->SetProperty(runtime, MATRIX_4X4, ConvertToJSValue(runtime, matrix)); in Rotate()
240 result->SetProperty(runtime, runtime->NewInt32(0), runtime->NewNumber(target.GetX())); in TransformPoint()
241 result->SetProperty(runtime, runtime->NewInt32(1), runtime->NewNumber(target.GetY())); in TransformPoint()
310 thisObj->SetProperty(runtim in SetPolyToPoly()
[all...]
H A Djsi_router_module.cpp148 jsState->SetProperty(runtime, "index", runtime->NewNumber(routeIndex)); in PageGetState()
149 jsState->SetProperty(runtime, "name", runtime->NewString(routeName)); in PageGetState()
150 jsState->SetProperty(runtime, "path", runtime->NewString(routePath)); in PageGetState()
171 moduleObj->SetProperty(runtime, ROUTE_PAGE_PUSH, runtime->NewFunction(PagePush)); in InitRouterModule()
172 moduleObj->SetProperty(runtime, ROUTE_PAGE_REPLACE, runtime->NewFunction(PageReplace)); in InitRouterModule()
173 moduleObj->SetProperty(runtime, ROUTE_PAGE_BACK, runtime->NewFunction(PageBack)); in InitRouterModule()
174 moduleObj->SetProperty(runtime, ROUTE_PAGE_CLEAR, runtime->NewFunction(PageClear)); in InitRouterModule()
175 moduleObj->SetProperty(runtime, ROUTE_PAGE_GET_LENGTH, runtime->NewFunction(PageGetLength)); in InitRouterModule()
176 moduleObj->SetProperty(runtime, ROUTE_PAGE_GET_STATE, runtime->NewFunction(PageGetState)); in InitRouterModule()
177 moduleObj->SetProperty(runtim in InitRouterModule()
[all...]
H A Djsi_curves_module.cpp63 curveObj->SetProperty(runtime, CURVE_INTERPOLATE, runtime->NewFunction(CurvesInterpolate)); in CurvesInitInternal()
75 curveObj->SetProperty(runtime, "__curveString", runtime->NewString(curveString)); in CurvesInitInternal()
85 curveObj->SetProperty(runtime, "__pageId", runtime->NewInt32(pageId)); in CurvesInitInternal()
280 curveObj->SetProperty(runtime, CURVE_INTERPOLATE, runtime->NewFunction(CurvesInterpolate)); in ParseCurves()
299 curveObj->SetProperty(runtime, "__curveCustomFunc", argv[0]); in ParseCurves()
310 curveObj->SetProperty(runtime, "__curveString", runtime->NewString(customCurve)); in ParseCurves()
319 curveObj->SetProperty(runtime, "__pageId", runtime->NewInt32(pageId)); in ParseCurves()
394 moduleObj->SetProperty(runtime, CURVES_INIT, runtime->NewFunction(CurvesInit)); in InitCurvesModule()
395 moduleObj->SetProperty(runtime, INIT_CURVE, runtime->NewFunction(InitCurve)); in InitCurvesModule()
396 moduleObj->SetProperty(runtim in InitCurvesModule()
[all...]
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/ui/
H A Drs_node.cpp496 SetProperty<RSMagnifierParamsModifier, RSProperty<std::shared_ptr<RSMagnifierParams>>>( in SetMagnifierParams()
599 void RSNode::SetProperty(RSModifierType modifierType, T value) in SetProperty() function in OHOS::Rosen::RSNode
606 ROSEN_LOGE("RSNode::SetProperty: failed to set property, property is null!"); in SetProperty()
621 SetProperty<RSAlphaModifier, RSAnimatableProperty<float>>(RSModifierType::ALPHA, alpha); in SetAlpha()
626 SetProperty<RSAlphaOffscreenModifier, RSProperty<bool>>(RSModifierType::ALPHA_OFFSCREEN, alphaOffscreen); in SetAlphaOffscreen()
632 SetProperty<RSBoundsModifier, RSAnimatableProperty<Vector4f>>(RSModifierType::BOUNDS, bounds); in SetBounds()
688 SetProperty<RSFrameModifier, RSAnimatableProperty<Vector4f>>(RSModifierType::FRAME, bounds); in SetFrame()
748 SetProperty<RSSandBoxModifier, RSAnimatableProperty<Vector2f>>(RSModifierType::SANDBOX, parentPosition.value()); in SetSandBox()
753 SetProperty<RSPositionZModifier, RSAnimatableProperty<float>>(RSModifierType::POSITION_Z, positionZ); in SetPositionZ()
759 SetProperty<RSPivotModifie in SetPivot()
[all...]
/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/jsi/
H A Djsi_component_api_bridge.cpp71 offsetContext->SetProperty(runtime, "x", runtime->NewNumber(offset.GetX())); in JsGetScrollOffset()
72 offsetContext->SetProperty(runtime, "y", runtime->NewNumber(offset.GetY())); in JsGetScrollOffset()
94 rectContext->SetProperty(runtime, "width", runtime->NewNumber(boundingRect.Width())); in JsGetBoundingRect()
95 rectContext->SetProperty(runtime, "height", runtime->NewNumber(boundingRect.Height())); in JsGetBoundingRect()
96 rectContext->SetProperty(runtime, "top", runtime->NewNumber(boundingRect.Top())); in JsGetBoundingRect()
97 rectContext->SetProperty(runtime, "left", runtime->NewNumber(boundingRect.Left())); in JsGetBoundingRect()

Completed in 13 milliseconds

123456