Home
last modified time | relevance | path

Searched refs:SetProperty (Results 1 – 25 of 195) sorted by relevance

12345678

/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/functions/
H A Djs_click_function.cpp59 obj->SetProperty<double>("axisVertical", 0.0f); in Execute()
60 obj->SetProperty<double>("axisHorizontal", 0.0f); in Execute()
92 obj->SetProperty<double>("axisVertical", 0.0f); in Execute()
93 obj->SetProperty<double>("axisHorizontal", 0.0f); in Execute()
130 obj->SetProperty<double>("axisVertical", 0.0f); in Execute()
131 obj->SetProperty<double>("axisHorizontal", 0.0f); in Execute()
176 obj->SetProperty<double>("axisVertical", 0.0f); in Execute()
177 obj->SetProperty<double>("axisHorizontal", 0.0f); in Execute()
209 obj->SetProperty<double>("axisVertical", 0.0f); in Execute()
210 obj->SetProperty<double>("axisHorizontal", 0.0f); in Execute()
[all …]
H A Djs_gesture_function.cpp40 gestureInfoObj->SetProperty<bool>("repeat", info.GetRepeat()); 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()
47 gestureInfoObj->SetProperty<double>( in CreateGestureEvent()
49 gestureInfoObj->SetProperty<double>( in CreateGestureEvent()
52 gestureInfoObj->SetProperty<double>("pressure", info.GetForce()); in CreateGestureEvent()
57 gestureInfoObj->SetProperty<double>( in CreateGestureEvent()
59 gestureInfoObj->SetProperty<double>( in CreateGestureEvent()
61 gestureInfoObj->SetProperty<double>( in CreateGestureEvent()
[all …]
H A Djs_hover_function.cpp31 hoverObj->SetProperty<double>( 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()
55 hoverObj->SetProperty<double>( in AccessibilityHoverExecute()
61 hoverObj->SetProperty<double>("axisVertical", 0.0f); in AccessibilityHoverExecute()
62 hoverObj->SetProperty<double>("axisHorizontal", 0.0f); in AccessibilityHoverExecute()
63 hoverObj->SetProperty<double>("tiltX", 0.0f); in AccessibilityHoverExecute()
[all …]
H A Djs_gesture_judge_function.cpp83 fingerInfoObj->SetProperty<int32_t>("id", fingerInfo.fingerId_); in CreateFingerInfo()
102 offset->SetProperty<double>("x", localOffset.GetX().ConvertToVp()); in CreateEventTargetObject()
103 offset->SetProperty<double>("y", localOffset.GetY().ConvertToVp()); in CreateEventTargetObject()
128 obj->SetProperty<double>( in SetUniqueAttributes()
130 obj->SetProperty<double>( in SetUniqueAttributes()
132 obj->SetProperty<double>( in SetUniqueAttributes()
134 obj->SetProperty<double>( in SetUniqueAttributes()
136 obj->SetProperty<double>("velocity", in SetUniqueAttributes()
145 obj->SetProperty<double>( in SetUniqueAttributes()
147 obj->SetProperty<double>( in SetUniqueAttributes()
[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()
41 …touchInfoObj->SetProperty<double>("x", PipelineBase::Px2VpWithCurrentDensity(localLocation.GetX())… in CreateTouchInfo()
54 eventObj->SetProperty<double>("source", static_cast<int32_t>(info.GetSourceDevice())); in CreateJSEventInfo()
58 eventObj->SetProperty<double>("pressure", info.GetForce()); in CreateJSEventInfo()
59 eventObj->SetProperty<double>("deviceId", info.GetDeviceId()); in CreateJSEventInfo()
61 eventObj->SetProperty<double>("tiltX", info.GetTiltX().value_or(0.0f)); in CreateJSEventInfo()
62 eventObj->SetProperty<double>("tiltY", info.GetTiltY().value_or(0.0f)); in CreateJSEventInfo()
63 eventObj->SetProperty<double>("sourceTool", static_cast<int32_t>(info.GetSourceTool())); in CreateJSEventInfo()
83 eventObj->SetProperty<double>("axisVertical", 0.0f); in CreateJSEventInfo()
[all …]
H A Djs_on_child_touch_test_function.cpp38 …infoObj->SetProperty<double>("windowX", PipelineBase::Px2VpWithCurrentDensity(info.windowPoint.Get… in CreateTouchTestInfo()
39 …infoObj->SetProperty<double>("windowY", PipelineBase::Px2VpWithCurrentDensity(info.windowPoint.Get… in CreateTouchTestInfo()
40 …infoObj->SetProperty<double>("parentX", PipelineBase::Px2VpWithCurrentDensity(info.currentCmpPoint… in CreateTouchTestInfo()
41 …infoObj->SetProperty<double>("parentY", PipelineBase::Px2VpWithCurrentDensity(info.currentCmpPoint… 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<double>("width", PipelineBase::Px2VpWithCurrentDensity(info.Width())); 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<double>("mainVelocity", info.GetMainVelocity()); in Execute()
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_… 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() + … in CreateAreaObject()
37 …globalOffset->SetProperty<double>("y", PipelineBase::Px2VpWithCurrentDensity(localOffset.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_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().ConvertTo… in CreateEventTargetObject()
155 …globalOffset->SetProperty<double>("y", (origin.GetY().ConvertToVp() + localOffset.GetY().ConvertTo… 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_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_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()
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_profiler/unittest/
H A Drs_profiler_capturedata_test.cpp56 data.SetProperty(name, initial);
71 data.SetProperty(name, initial);
86 data.SetProperty(name, initial);
101 data.SetProperty(name, initial);
116 data.SetProperty(name, initial);
131 data.SetProperty(name, initial);
146 data.SetProperty(name, initial);
161 data.SetProperty(name, initial);
176 data.SetProperty(name, initial);
191 data.SetProperty(name, initial);
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_view_measure_layout.cpp64 constraint->SetProperty<double>("minWidth", 0.0f); in GenPlaceChildrenConstraintNG()
65 constraint->SetProperty<double>("minHeight", 0.0f); in GenPlaceChildrenConstraintNG()
66 constraint->SetProperty<double>("maxWidth", 0.0f); in GenPlaceChildrenConstraintNG()
188 position->SetProperty("x", offset.GetX()); in GenPositionInfo()
189 position->SetProperty("y", offset.GetY()); in GenPositionInfo()
203 selfLayoutInfo->SetProperty("width", 0.0f); in GenSelfLayoutInfo()
204 selfLayoutInfo->SetProperty("height", 0.0f); in GenSelfLayoutInfo()
235 selfLayoutInfo->SetProperty( in GenSelfLayoutInfo()
239 selfLayoutInfo->SetProperty( in GenSelfLayoutInfo()
358 size->SetProperty("width", 0); in GenChildArray()
[all …]
H A Djs_location_button.cpp101 …clickEventParam->SetProperty<double>("screenX", PipelineBase::Px2VpWithCurrentDensity(globalOffset… in Execute()
102 …clickEventParam->SetProperty<double>("screenY", PipelineBase::Px2VpWithCurrentDensity(globalOffset… 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<double>("sourceTool", static_cast<int32_t>(info.GetSourceTool())); in Execute()
H A Djs_paste_button.cpp100 …clickEventParam->SetProperty<double>("screenX", PipelineBase::Px2VpWithCurrentDensity(globalOffset… in Execute()
101 …clickEventParam->SetProperty<double>("screenY", PipelineBase::Px2VpWithCurrentDensity(globalOffset… 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<double>("sourceTool", static_cast<int32_t>(info.GetSourceTool())); in Execute()
H A Djs_save_button.cpp101 …clickEventParam->SetProperty<double>("screenX", PipelineBase::Px2VpWithCurrentDensity(globalOffset… in Execute()
102 …clickEventParam->SetProperty<double>("screenY", PipelineBase::Px2VpWithCurrentDensity(globalOffset… 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<double>("sourceTool", static_cast<int32_t>(info.GetSourceTool())); in Execute()
H A Djs_richeditor.cpp241 textShadowObj->SetProperty<double>("radius", it.GetBlurRadius()); in CreateJsTextShadowObjectArray()
321 obj->SetProperty<int32_t>("textAlign", info.textAlign); in CreateParagraphStyleResult()
324 obj->SetProperty<int32_t>("wordBreak", info.wordBreak); in CreateParagraphStyleResult()
704 AboutToDeletObj->SetProperty<int32_t>( in CreateJsAboutToDelet()
808 resultObj->SetProperty<std::string>("value", spanResult.GetValue()); in SetTextChangeSpanResult()
1254 object->SetProperty<std::string>("text", event.GetText()); in CreateJsRichEditorCommonEvent()
2456 tyingStyleObj->SetProperty<std::string>("fontFamily", family); in CreateTypingStyleResult()
2471 tyingStyleObj->SetProperty<std::string>( in CreateTypingStyleResult()
2475 tyingStyleObj->SetProperty<int32_t>( in CreateTypingStyleResult()
2487 decorationObj->SetProperty<std::string>( in CreateTypingStyleResult()
[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()
/ohos5.0/base/hiviewdfx/hiview/plugins/unified_collector/test/unittest/common/
H A Dtrace_state_change_test.cpp80 …Parameter::SetProperty(HIVIEW_UCOLLECTION_TEST_APP_TRACE_STATE, ConvertBoolToString(g_originalTest… in TearDown()
82 …Parameter::SetProperty(HIVIEW_UCOLLECTION_STATE, ConvertBoolToString(g_originalUCollectionSwitchOn… in TearDown()
84 …Parameter::SetProperty(DEVELOP_HIVIEW_TRACE_RECORDER, ConvertBoolToString(g_originalTraceCollectio… in TearDown()
110 …Parameter::SetProperty(HIVIEW_UCOLLECTION_TEST_APP_TRACE_STATE, ConvertBoolToString(isTestAppTrace…
111 … Parameter::SetProperty(HIVIEW_UCOLLECTION_STATE, ConvertBoolToString(isUCollectionSwitchOn));
112 …Parameter::SetProperty(DEVELOP_HIVIEW_TRACE_RECORDER, ConvertBoolToString(isTraceCollectionSwitchO…
125 … Parameter::SetProperty(HIVIEW_UCOLLECTION_STATE, ConvertBoolToString(isUCollectionSwitchOn));
127 …Parameter::SetProperty(DEVELOP_HIVIEW_TRACE_RECORDER, ConvertBoolToString(isTraceCollectionSwitchO…
158 …Parameter::SetProperty(HIVIEW_UCOLLECTION_TEST_APP_TRACE_STATE, ConvertBoolToString(isTestAppTrace…
159 … Parameter::SetProperty(HIVIEW_UCOLLECTION_STATE, ConvertBoolToString(isUCollectionSwitchOn));
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/ui/
H A Drs_node.cpp1620 SetProperty<RSDynamicLightUpDegreeModifier, in SetDynamicLightUpDegree()
1635 SetProperty<RSFgBrightnessRatesModifier, in SetFgBrightnessRates()
1647 SetProperty<RSFgBrightnessPosCoeffModifier, in SetFgBrightnessPosCoeff()
1659 SetProperty<RSFgBrightnessFractModifier, in SetFgBrightnessFract()
1674 SetProperty<RSBgBrightnessRatesModifier, in SetBgBrightnessRates()
1698 SetProperty<RSBgBrightnessFractModifier, in SetBgBrightnessFract()
1704 SetProperty<RSDynamicDimDegreeModifier, in SetDynamicDimDegree()
1873 SetProperty<RSWaterRippleParamsModifier, in SetWaterRippleParams()
1875 SetProperty<RSWaterRippleProgressModifier, in SetWaterRippleParams()
1881 SetProperty<RSFlyOutParamsModifier, in SetFlyOutParams()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/modules/
H A Djsi_matrix4_module.cpp91 thisObj->SetProperty(runtime, MATRIX_4X4, newArrayJSValue); in Combine()
102 thisObj->SetProperty(runtime, MATRIX_4X4, matrixArray); in Invert()
328 obj->SetProperty(runtime, MATRIX_COPY, jsCopy); in AddCommonMatrixProperties()
329 obj->SetProperty(runtime, MATRIX_COMBINE, jsCombine); in AddCommonMatrixProperties()
330 obj->SetProperty(runtime, MATRIX_INVERT, jsInvert); in AddCommonMatrixProperties()
331 obj->SetProperty(runtime, MATRIX_TRANSLATE, jsTranslate); in AddCommonMatrixProperties()
332 obj->SetProperty(runtime, MATRIX_SCALE, jsScale); in AddCommonMatrixProperties()
333 obj->SetProperty(runtime, MATRIX_SKEW, jsSkew); in AddCommonMatrixProperties()
334 obj->SetProperty(runtime, MATRIX_ROTATE, jsRotate); in AddCommonMatrixProperties()
335 obj->SetProperty(runtime, MATRIX_TRANSFORM_POINT, jsTransformPoint); in AddCommonMatrixProperties()
[all …]
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(AppSetImageCacheCo… in InitAppModule()
184 moduleObj->SetProperty( in InitAppModule()
186 …moduleObj->SetProperty(runtime, APP_SET_IMAGE_FILE_CACHE_SIZE, runtime->NewFunction(AppSetImageFil… in InitAppModule()
188 …moduleObj->SetProperty(runtime, APP_REQUEST_FULL_WINDOW, runtime->NewFunction(AppRequestFullWindow… in InitAppModule()
[all …]
H A Djsi_router_module.cpp151 jsState->SetProperty(runtime, "index", runtime->NewNumber(routeIndex)); in PageGetState()
152 jsState->SetProperty(runtime, "name", runtime->NewString(routeName)); in PageGetState()
153 jsState->SetProperty(runtime, "path", runtime->NewString(routePath)); in PageGetState()
174 moduleObj->SetProperty(runtime, ROUTE_PAGE_PUSH, runtime->NewFunction(PagePush)); in InitRouterModule()
175 moduleObj->SetProperty(runtime, ROUTE_PAGE_REPLACE, runtime->NewFunction(PageReplace)); in InitRouterModule()
176 moduleObj->SetProperty(runtime, ROUTE_PAGE_BACK, runtime->NewFunction(PageBack)); in InitRouterModule()
177 moduleObj->SetProperty(runtime, ROUTE_PAGE_CLEAR, runtime->NewFunction(PageClear)); in InitRouterModule()
178 moduleObj->SetProperty(runtime, ROUTE_PAGE_GET_LENGTH, runtime->NewFunction(PageGetLength)); in InitRouterModule()
179 moduleObj->SetProperty(runtime, ROUTE_PAGE_GET_STATE, runtime->NewFunction(PageGetState)); in InitRouterModule()
189 moduleObj->SetProperty(runtime, in InitRouterModule()
[all …]
H A Djsi_curves_module.cpp75 curveObj->SetProperty(runtime, "__curveString", runtime->NewString(curveString)); in CurvesInitInternal()
85 curveObj->SetProperty(runtime, "__pageId", runtime->NewInt32(pageId)); in CurvesInitInternal()
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()
399 moduleObj->SetProperty(runtime, SPRING_CURVE, runtime->NewFunction(SpringCurve)); in InitCurvesModule()
401 moduleObj->SetProperty(runtime, CURVES_STEPS, runtime->NewFunction(CurvesSteps)); in InitCurvesModule()
402 moduleObj->SetProperty(runtime, STEPS_CURVE, runtime->NewFunction(StepsCurve)); in InitCurvesModule()
[all …]

12345678