/ohos5.0/foundation/arkui/ace_engine/interfaces/napi/kits/display_sync/ |
H A D | js_display_sync.h | 63 void SetOnframeRef(const napi_ref& onframe) in SetOnframeRef() argument 65 onFrameRef_ = onframe; in SetOnframeRef()
|
H A D | js_display_sync.cpp | 265 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 D | js_animator.cpp | 287 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 D | animator_option.h | 75 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 D | js-apis-animator.md | 354 ### 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 D | ui-js-animate-dynamic-effects.md | 68 this.animation.onframe = function(value) { 192 this.animation.onframe = function(value) {
|
/ohos5.0/docs/en/application-dev/ui/ |
H A D | ui-js-animate-dynamic-effects.md | 68 this.animation.onframe = function(value) { 193 this.animation.onframe = function(value) {
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/ |
H A D | js-apis-animator.md | 305 ### 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 D | ts-basic-components-component3d.md | 259 this.backAnimator.onframe = value => {
|
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_5.0.0.12/ |
H A D | changelogs-arkui.md | 322 6.由于AnimatorResult 中的onframe,onfinish,oncancel,onrepeat方法不符合语法规范,所以新增接口 onFrame,onFinish,onCancel,o…
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-basic-components-component3d.md | 259 this.backAnimator.onframe = value => {
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v4.0-Release to v3.2-Release/ |
H A D | js-apidiff-arkui.md | 1118 …能力有变化|类名: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 D | js-apidiff-arkui.md | 1118 …bute name: onframe: (progress: number) => void;<br>Old version information: |Class name: AnimatorR…
|