Home
last modified time | relevance | path

Searched refs:animationContext (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/jsi/
H A Djsi_animation_bridge.cpp190 auto animationContext = bridge->GetJsObject(); in JsUpdatePlayState() local
191 if (!animationContext) { in JsUpdatePlayState()
195 bool succ = animationContext->SetProperty(runtime, "__playState", runtime->NewString(state)); in JsUpdatePlayState()
238 … const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& animationContext, NodeId nodeId) in JsiAnimationBridge() argument
239 : animationObject_(animationContext), nodeId_(nodeId) in JsiAnimationBridge()
605 auto animationContext = runtime->NewObject(); in CreateAnimationContext() local
607 animationContext->SetProperty(runtime, iter.first, runtime->NewFunction(iter.second)); in CreateAnimationContext()
609 animationContext->SetProperty(runtime, "__nodeId", runtime->NewInt32(nodeId)); in CreateAnimationContext()
610 animationContext->SetProperty(runtime, "__pageId", runtime->NewInt32(pageId)); in CreateAnimationContext()
612 animationContext->SetProperty(runtime, "finished", runtime->NewBoolean(false)); in CreateAnimationContext()
[all …]
H A Djsi_animation_bridge.h61 …iAnimationBridge(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& animationContext,