Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/interfaces/napi/kits/display_sync/
H A Djs_display_sync.h63 void SetOnframeRef(const napi_ref& onframe) in SetOnframeRef() argument
65 onFrameRef_ = onframe; in SetOnframeRef()
H A Djs_display_sync.cpp265 napi_value onframe = nullptr; in RegisterOnFrameCallback() local
266 auto result = napi_get_reference_value(env, onFrameRef, &onframe); in RegisterOnFrameCallback()
267 if (result != napi_ok || onframe == nullptr) { in RegisterOnFrameCallback()
276 napi_call_function(env, nullptr, onframe, CALLBACK_OJECT_NUM, args, &ret); in RegisterOnFrameCallback()
/ohos5.0/foundation/arkui/ace_engine/interfaces/napi/kits/animator/
H A Djs_animator.cpp287 napi_value onframe = nullptr; in JSReset() local
288 auto result = napi_get_reference_value(env, onframeRef, &onframe); in JSReset()
290 if (!(result == napi_ok && onframe && option)) { in JSReset()
300 napi_call_function(env, nullptr, onframe, 1, &valueNapi, &ret); in JSReset()
517 napi_value onframe = nullptr; in SetOnframe() local
518 napi_get_cb_info(env, info, &argc, &onframe, &thisVar, NULL); in SetOnframe()
538 napi_create_reference(env, onframe, 1, &onframeRef); in SetOnframe()
551 napi_value onframe = nullptr; in SetOnframe() local
552 auto result = napi_get_reference_value(env, onframeRef, &onframe); in SetOnframe()
554 if (!(result == napi_ok && onframe && option)) { in SetOnframe()
[all …]
H A Danimator_option.h75 void SetOnframeRef(const napi_ref& onframe) in SetOnframeRef() argument
77 onframe_ = onframe; in SetOnframeRef()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/
H A Djs-apis-animator.md354 ### onframe<sup>(deprecated)</sup>
360 onframe: (progress: number) => void
379 animatorResult.onframe = (value)=> {
380 console.info("onframe callback")
671 // 由于backAnimator在onframe中引用了this, this中保存了backAnimator,
/ohos5.0/docs/zh-cn/application-dev/ui/
H A Dui-js-animate-dynamic-effects.md68 this.animation.onframe = function(value) {
192 this.animation.onframe = function(value) {
/ohos5.0/docs/en/application-dev/ui/
H A Dui-js-animate-dynamic-effects.md68 this.animation.onframe = function(value) {
193 this.animation.onframe = function(value) {
/ohos5.0/docs/en/application-dev/reference/apis-arkui/
H A Djs-apis-animator.md305 ### onframe<sup>(deprecated)</sup>
311 onframe: (progress: number) => void
330 animatorResult.onframe = (value)=> {
331 console.info("onframe callback")
601 // Because backAnimator references this in onframe, backAnimator is saved in this.
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-basic-components-component3d.md259 this.backAnimator.onframe = value => {
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_5.0.0.12/
H A Dchangelogs-arkui.md322 6.由于AnimatorResult 中的onframe,onfinish,oncancel,onrepeat方法不符合语法规范,所以新增接口 onFrame,onFinish,onCancel,o…
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-basic-components-component3d.md259 this.backAnimator.onframe = value => {
/ohos5.0/docs/zh-cn/release-notes/api-diff/v4.0-Release to v3.2-Release/
H A Djs-apidiff-arkui.md1118 …能力有变化|类名:AnimatorResult;<br>方法or属性:onframe: (progress: number) => void;<br>旧版本信息:|类名:AnimatorResul…
/ohos5.0/docs/en/release-notes/api-diff/v4.0-Release-vs-v3.2-Release/
H A Djs-apidiff-arkui.md1118 …bute name: onframe: (progress: number) => void;<br>Old version information: |Class name: AnimatorR…