Home
last modified time | relevance | path

Searched refs:NewInt32 (Results 1 – 13 of 13) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/jsi/
H A Djsi_animation_bridge.cpp249 return runtime->NewInt32(0); in JsAnimationStartTimeGet()
257 return runtime->NewInt32(0); in JsAnimationStartTimeGet()
262 return runtime->NewInt32(0); in JsAnimationStartTimeGet()
267 return runtime->NewInt32(0); in JsAnimationStartTimeGet()
273 thisObj->SetProperty(runtime, "__startTime", runtime->NewInt32(startTime)); in JsAnimationStartTimeGet()
277 shared_ptr<JsValue> jsResult = runtime->NewInt32(delay); in JsAnimationStartTimeGet()
286 return runtime->NewInt32(0); in JsAnimationStartTimeSet()
609 animationContext->SetProperty(runtime, "__nodeId", runtime->NewInt32(nodeId)); in CreateAnimationContext()
610 animationContext->SetProperty(runtime, "__pageId", runtime->NewInt32(pageId)); in CreateAnimationContext()
H A Djsi_offscreen_canvas_bridge.cpp217 res->SetProperty(runtime, "__bridgeId", runtime->NewInt32(bridgeId_)); in GetBridge()
972 path2D->SetProperty(runtime, "__id", runtime->NewInt32(path2dCount_)); in JsCreatePath2D()
1432 auto color = runtime->NewInt32(255); in JsCreateImageData()
1443 imageData->SetProperty(runtime, DOM_WIDTH, runtime->NewInt32(width)); in JsCreateImageData()
1444 imageData->SetProperty(runtime, DOM_HEIGHT, runtime->NewInt32(height)); in JsCreateImageData()
1550 … colorArray->SetProperty(runtime, runtime->NewInt32(count), runtime->NewInt32(pixel.GetRed())); in JsGetImageData()
1551 …colorArray->SetProperty(runtime, runtime->NewInt32(count + 1), runtime->NewInt32(pixel.GetGreen())… in JsGetImageData()
1552 …colorArray->SetProperty(runtime, runtime->NewInt32(count + 2), runtime->NewInt32(pixel.GetBlue())); in JsGetImageData()
1553 …colorArray->SetProperty(runtime, runtime->NewInt32(count + 3), runtime->NewInt32(pixel.GetAlpha())… in JsGetImageData()
2185 return runtime->NewInt32(ret ? 1 : 0); in JsIsPointInStroke()
[all …]
H A Djsi_canvas_bridge.cpp317 renderContext_->SetProperty(runtime, "__nodeId", runtime->NewInt32(id)); in HandleJsContext()
536 gradient->SetProperty(runtime, "__id", runtime->NewInt32(gradientCount_)); in JsCreateLinearGradient()
1171 path2D->SetProperty(runtime, "__id", runtime->NewInt32(path2dCount_)); in JsCreatePath2D()
1536 pattern->SetProperty(runtime, "__id", runtime->NewInt32(patternCount_)); in JsCreatePattern()
1598 auto color = runtime->NewInt32(255); in JsCreateImageData()
1609 imageData->SetProperty(runtime, DOM_WIDTH, runtime->NewInt32(width)); in JsCreateImageData()
1610 imageData->SetProperty(runtime, DOM_HEIGHT, runtime->NewInt32(height)); in JsCreateImageData()
1738 … colorArray->SetProperty(runtime, runtime->NewInt32(count), runtime->NewInt32(pixel.GetRed())); in JsGetImageData()
1739 …colorArray->SetProperty(runtime, runtime->NewInt32(count + 1), runtime->NewInt32(pixel.GetGreen())… in JsGetImageData()
1740 …colorArray->SetProperty(runtime, runtime->NewInt32(count + 2), runtime->NewInt32(pixel.GetBlue())); in JsGetImageData()
[all …]
H A Djs_runtime.h72 virtual shared_ptr<JsValue> NewInt32(int32_t value) = 0;
H A Dark_js_runtime.h83 shared_ptr<JsValue> NewInt32(int32_t value) override;
H A Djsi_animator_bridge.cpp329 animatorContext->SetProperty(runtime, "__pageId", runtime->NewInt32(pageId)); in CreateAnimatorContext()
330 animatorContext->SetProperty(runtime, "__bridgeId", runtime->NewInt32(bridgeId)); in CreateAnimatorContext()
H A Dark_js_runtime.cpp277 shared_ptr<JsValue> ArkJSRuntime::NewInt32(int32_t value) in NewInt32() function in OHOS::Ace::Framework::ArkJSRuntime
H A Djsi_engine.cpp1300 …binaryArray->SetProperty(runtime, runtime->NewInt32(i), runtime->NewInt32(binaryContent[position -… in JsReadArrayBuffer()
2513 node->SetProperty(runtime, "__nodeId", runtime->NewInt32(newNodeId)); in JsCreateElement()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/modules/
H A Djsi_timer_module.cpp49 return runtime->NewInt32(callbackId); in SetTimeoutOrInterval()
58 return runtime->NewInt32(callbackId); in SetTimeoutOrInterval()
H A Djsi_matrix4_module.cpp60 … result->SetProperty(runtime, runtime->NewInt32(index), runtime->NewNumber(matrix.Get(j, i))); in ConvertToJSValue()
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()
H A Djsi_curves_module.cpp85 curveObj->SetProperty(runtime, "__pageId", runtime->NewInt32(pageId)); in CurvesInitInternal()
319 curveObj->SetProperty(runtime, "__pageId", runtime->NewInt32(pageId)); in ParseCurves()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ark_theme/theme_apply/
H A Djs_theme_utils.h55 argv.push_back(runtime->NewInt32(elmId)); in GetWithThemeId()
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/entrance/pa_engine/engine/jsi/
H A Djsi_pa_engine.cpp1332 …const std::vector<shared_ptr<JsValue>>& argv = { WantToJsValue(want), runtime->NewInt32(startId) }; in OnCommand()