/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/jsi/ |
H A D | jsi_animation_bridge.cpp | 249 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 D | jsi_offscreen_canvas_bridge.cpp | 217 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 D | jsi_canvas_bridge.cpp | 317 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 D | js_runtime.h | 72 virtual shared_ptr<JsValue> NewInt32(int32_t value) = 0;
|
H A D | ark_js_runtime.h | 83 shared_ptr<JsValue> NewInt32(int32_t value) override;
|
H A D | jsi_animator_bridge.cpp | 329 animatorContext->SetProperty(runtime, "__pageId", runtime->NewInt32(pageId)); in CreateAnimatorContext() 330 animatorContext->SetProperty(runtime, "__bridgeId", runtime->NewInt32(bridgeId)); in CreateAnimatorContext()
|
H A D | ark_js_runtime.cpp | 277 shared_ptr<JsValue> ArkJSRuntime::NewInt32(int32_t value) in NewInt32() function in OHOS::Ace::Framework::ArkJSRuntime
|
H A D | jsi_engine.cpp | 1300 …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 D | jsi_timer_module.cpp | 49 return runtime->NewInt32(callbackId); in SetTimeoutOrInterval() 58 return runtime->NewInt32(callbackId); in SetTimeoutOrInterval()
|
H A D | jsi_matrix4_module.cpp | 60 … 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 D | jsi_curves_module.cpp | 85 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 D | js_theme_utils.h | 55 argv.push_back(runtime->NewInt32(elmId)); in GetWithThemeId()
|
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/entrance/pa_engine/engine/jsi/ |
H A D | jsi_pa_engine.cpp | 1332 …const std::vector<shared_ptr<JsValue>>& argv = { WantToJsValue(want), runtime->NewInt32(startId) }; in OnCommand()
|