From 681011de208b83351f2e8cccc4ad31bc57499a18 Mon Sep 17 00:00:00 2001 From: liangxinghui Date: Thu, 5 Jun 2025 09:57:40 +0000 Subject: [PATCH 1/8] =?UTF-8?q?=E5=BA=94=E7=94=A8=E8=B7=B3=E8=BD=AC?= =?UTF-8?q?=E5=8A=A8=E6=95=88=E5=A2=9E=E5=BC=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: liangxinghui Change-Id: I4bf7b156633dd79421e6708c4f4aa253e711b365 --- api/@ohos.window.d.ts | 68 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) diff --git a/api/@ohos.window.d.ts b/api/@ohos.window.d.ts index eb2f5ddb2b..98b76a3d4d 100644 --- a/api/@ohos.window.d.ts +++ b/api/@ohos.window.d.ts @@ -4202,6 +4202,25 @@ declare namespace window { DESTROY = 0, } + /** + * Describes the window animation type + * + * @enum { number } + * @syscap SystemCapability.Window.SessionManager + * @atomicservice + * @since 20 + */ + enum AnimationType { + /** + * window animation type fade in out + * + * @syscap SystemCapability.Window.SessionManager + * @atomicservice + * @since 20 + */ + FADE_IN_OUT = 0, + } + /** * Describes the window animation curve * @@ -4299,6 +4318,55 @@ declare namespace window { opacity?: number; } + /** + * The animation configuration of start system scene aniamtion + * + * @interface StartAnimationSystemOption + * @syscap SystemCapability.Window.SessionManager + * @atomicservice + * @since 20 + */ + interface StartAnimationSystemOption { + /** + * The type of window animation + * + * @type { AnimationType } + * @syscap SystemCapability.Window.SessionManager + * @atomicservice + * @since 20 + */ + type: AnimationType; + /** + * The opacity of window + * + * @type { ?number } + * @syscap SystemCapability.Window.SessionManager + * @atomicservice + * @since 20 + */ + animationConfig?: WindowAnimationConfig; + } + + /** + * The animation configuration of start scene aniamtion + * + * @interface StartAnimationOption + * @syscap SystemCapability.Window.SessionManager + * @atomicservice + * @since 20 + */ + interface StartAnimationOption { + /** + * The type of window animation + * + * @type { AnimationType } + * @syscap SystemCapability.Window.SessionManager + * @atomicservice + * @since 20 + */ + type: AnimationType; + } + /** * The information of keyboard * -- Gitee From 4d64f4a2ef4d8eb16a7a94fbfbcbd1bec0142acd Mon Sep 17 00:00:00 2001 From: liangxinghui Date: Thu, 5 Jun 2025 11:11:46 +0000 Subject: [PATCH 2/8] fix code 1 Signed-off-by: liangxinghui Change-Id: Id92c44c574a8c285e90a6ec717d345d7c53cc3f1 --- api/@ohos.window.d.ts | 7 ------- 1 file changed, 7 deletions(-) diff --git a/api/@ohos.window.d.ts b/api/@ohos.window.d.ts index 98b76a3d4d..52f8620ae3 100644 --- a/api/@ohos.window.d.ts +++ b/api/@ohos.window.d.ts @@ -4207,7 +4207,6 @@ declare namespace window { * * @enum { number } * @syscap SystemCapability.Window.SessionManager - * @atomicservice * @since 20 */ enum AnimationType { @@ -4215,7 +4214,6 @@ declare namespace window { * window animation type fade in out * * @syscap SystemCapability.Window.SessionManager - * @atomicservice * @since 20 */ FADE_IN_OUT = 0, @@ -4323,7 +4321,6 @@ declare namespace window { * * @interface StartAnimationSystemOption * @syscap SystemCapability.Window.SessionManager - * @atomicservice * @since 20 */ interface StartAnimationSystemOption { @@ -4332,7 +4329,6 @@ declare namespace window { * * @type { AnimationType } * @syscap SystemCapability.Window.SessionManager - * @atomicservice * @since 20 */ type: AnimationType; @@ -4341,7 +4337,6 @@ declare namespace window { * * @type { ?number } * @syscap SystemCapability.Window.SessionManager - * @atomicservice * @since 20 */ animationConfig?: WindowAnimationConfig; @@ -4352,7 +4347,6 @@ declare namespace window { * * @interface StartAnimationOption * @syscap SystemCapability.Window.SessionManager - * @atomicservice * @since 20 */ interface StartAnimationOption { @@ -4361,7 +4355,6 @@ declare namespace window { * * @type { AnimationType } * @syscap SystemCapability.Window.SessionManager - * @atomicservice * @since 20 */ type: AnimationType; -- Gitee From e2ef3ee7ce073238ce9e487b94cdaa4eac7ecb07 Mon Sep 17 00:00:00 2001 From: liangxinghui Date: Fri, 6 Jun 2025 07:13:10 +0000 Subject: [PATCH 3/8] fix code 2 Signed-off-by: liangxinghui Change-Id: Idbba89263a19dce6ff50605e73622312ab7111c2 --- api/@ohos.window.d.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/api/@ohos.window.d.ts b/api/@ohos.window.d.ts index 52f8620ae3..a2a6a16639 100644 --- a/api/@ohos.window.d.ts +++ b/api/@ohos.window.d.ts @@ -4321,6 +4321,7 @@ declare namespace window { * * @interface StartAnimationSystemOption * @syscap SystemCapability.Window.SessionManager + * @systemapi * @since 20 */ interface StartAnimationSystemOption { @@ -4329,6 +4330,7 @@ declare namespace window { * * @type { AnimationType } * @syscap SystemCapability.Window.SessionManager + * @systemapi * @since 20 */ type: AnimationType; @@ -4337,6 +4339,7 @@ declare namespace window { * * @type { ?number } * @syscap SystemCapability.Window.SessionManager + * @systemapi * @since 20 */ animationConfig?: WindowAnimationConfig; -- Gitee From d1feed0c08b946a6320a09f99e540527c61a3466 Mon Sep 17 00:00:00 2001 From: liangxinghui Date: Sat, 7 Jun 2025 11:04:17 +0000 Subject: [PATCH 4/8] fix code 3 Signed-off-by: liangxinghui Change-Id: I275b25e097497021bdbde34e49484afcc87240cc --- api/@ohos.window.d.ts | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/api/@ohos.window.d.ts b/api/@ohos.window.d.ts index a2a6a16639..ec2c40738a 100644 --- a/api/@ohos.window.d.ts +++ b/api/@ohos.window.d.ts @@ -4209,15 +4209,15 @@ declare namespace window { * @syscap SystemCapability.Window.SessionManager * @since 20 */ - enum AnimationType { - /** - * window animation type fade in out - * - * @syscap SystemCapability.Window.SessionManager - * @since 20 - */ - FADE_IN_OUT = 0, - } + enum AnimationType { + /** + * window animation type fade in out + * + * @syscap SystemCapability.Window.SessionManager + * @since 20 + */ + FADE_IN_OUT = 0, + } /** * Describes the window animation curve @@ -4317,7 +4317,7 @@ declare namespace window { } /** - * The animation configuration of start system scene aniamtion + * The animation configuration of start system scene animation * * @interface StartAnimationSystemOption * @syscap SystemCapability.Window.SessionManager @@ -4335,9 +4335,9 @@ declare namespace window { */ type: AnimationType; /** - * The opacity of window + * The config of start system scene animation * - * @type { ?number } + * @type { ?WindowAnimationConfig } * @syscap SystemCapability.Window.SessionManager * @systemapi * @since 20 @@ -4346,7 +4346,7 @@ declare namespace window { } /** - * The animation configuration of start scene aniamtion + * The animation configuration of start scene animation * * @interface StartAnimationOption * @syscap SystemCapability.Window.SessionManager -- Gitee From 53487abbd75934e5c0e45006731c86f3971d8d6c Mon Sep 17 00:00:00 2001 From: liangxinghui Date: Thu, 19 Jun 2025 11:35:56 +0000 Subject: [PATCH 5/8] fix code 4 Signed-off-by: liangxinghui Change-Id: Ib8c7e996bc0118c5fc2a928c3aca8f68ead60ff1 --- api/@ohos.window.d.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/api/@ohos.window.d.ts b/api/@ohos.window.d.ts index ec2c40738a..07b8f30f80 100644 --- a/api/@ohos.window.d.ts +++ b/api/@ohos.window.d.ts @@ -4319,12 +4319,12 @@ declare namespace window { /** * The animation configuration of start system scene animation * - * @interface StartAnimationSystemOption + * @interface StartAnimationSystemOptions * @syscap SystemCapability.Window.SessionManager * @systemapi * @since 20 */ - interface StartAnimationSystemOption { + interface StartAnimationSystemOptions { /** * The type of window animation * @@ -4348,11 +4348,11 @@ declare namespace window { /** * The animation configuration of start scene animation * - * @interface StartAnimationOption + * @interface StartAnimationOptions * @syscap SystemCapability.Window.SessionManager * @since 20 */ - interface StartAnimationOption { + interface StartAnimationOptions { /** * The type of window animation * -- Gitee From 933e329dda4acc759990ab4cac2efe1d20fa8d3e Mon Sep 17 00:00:00 2001 From: liangxinghui Date: Tue, 24 Jun 2025 07:44:51 +0000 Subject: [PATCH 6/8] fix code 5 Signed-off-by: liangxinghui Change-Id: I2953fb3d7313bc9398fedabbd0ae65a6cc06cd8a --- api/@ohos.window.d.ts | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/api/@ohos.window.d.ts b/api/@ohos.window.d.ts index 07b8f30f80..fd72a58d2c 100644 --- a/api/@ohos.window.d.ts +++ b/api/@ohos.window.d.ts @@ -4217,6 +4217,14 @@ declare namespace window { * @since 20 */ FADE_IN_OUT = 0, + /** + * window animation type fade in + * + * @syscap SystemCapability.Window.SessionManager + * @systemapi Hide this for inner system use. + * @since 20 + */ + FADE_IN = 1, } /** @@ -4321,7 +4329,7 @@ declare namespace window { * * @interface StartAnimationSystemOptions * @syscap SystemCapability.Window.SessionManager - * @systemapi + * @systemapi Hide this for inner system use. * @since 20 */ interface StartAnimationSystemOptions { @@ -4330,7 +4338,7 @@ declare namespace window { * * @type { AnimationType } * @syscap SystemCapability.Window.SessionManager - * @systemapi + * @systemapi Hide this for inner system use. * @since 20 */ type: AnimationType; @@ -4339,7 +4347,7 @@ declare namespace window { * * @type { ?WindowAnimationConfig } * @syscap SystemCapability.Window.SessionManager - * @systemapi + * @systemapi Hide this for inner system use. * @since 20 */ animationConfig?: WindowAnimationConfig; -- Gitee From 84216ec14a2d1abf86f66762a62786b85025bdf1 Mon Sep 17 00:00:00 2001 From: liangxinghui Date: Wed, 25 Jun 2025 09:53:26 +0000 Subject: [PATCH 7/8] fix code 6 Signed-off-by: liangxinghui Change-Id: I465a57ec5d0ed704b4f291e25318f48ba946648b --- api/@ohos.window.d.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/api/@ohos.window.d.ts b/api/@ohos.window.d.ts index fd72a58d2c..4a57e2d36a 100644 --- a/api/@ohos.window.d.ts +++ b/api/@ohos.window.d.ts @@ -4327,12 +4327,12 @@ declare namespace window { /** * The animation configuration of start system scene animation * - * @interface StartAnimationSystemOptions + * @interface StartAnimationSystemParams * @syscap SystemCapability.Window.SessionManager * @systemapi Hide this for inner system use. * @since 20 */ - interface StartAnimationSystemOptions { + interface StartAnimationSystemParams { /** * The type of window animation * @@ -4356,11 +4356,11 @@ declare namespace window { /** * The animation configuration of start scene animation * - * @interface StartAnimationOptions + * @interface StartAnimationParams * @syscap SystemCapability.Window.SessionManager * @since 20 */ - interface StartAnimationOptions { + interface StartAnimationParams { /** * The type of window animation * -- Gitee From bd34143ec663f1360a6d92a02f08ab7b6d66447d Mon Sep 17 00:00:00 2001 From: liangxinghui Date: Sat, 28 Jun 2025 02:09:28 +0000 Subject: [PATCH 8/8] fix code 7 Signed-off-by: liangxinghui Change-Id: I3ec11ba6a5ae06218698247f7f608e074bf29eba --- api/@ohos.window.d.ts | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/api/@ohos.window.d.ts b/api/@ohos.window.d.ts index 4a57e2d36a..fe9f8f763b 100644 --- a/api/@ohos.window.d.ts +++ b/api/@ohos.window.d.ts @@ -4193,7 +4193,7 @@ declare namespace window { */ enum WindowTransitionType { /** - * window transition type destroy + * Destroy transition * * @syscap SystemCapability.Window.SessionManager * @atomicservice @@ -4211,14 +4211,14 @@ declare namespace window { */ enum AnimationType { /** - * window animation type fade in out + * Window animation type fade in out * * @syscap SystemCapability.Window.SessionManager * @since 20 */ FADE_IN_OUT = 0, /** - * window animation type fade in + * Window animation type fade in * * @syscap SystemCapability.Window.SessionManager * @systemapi Hide this for inner system use. @@ -4237,7 +4237,7 @@ declare namespace window { */ enum WindowAnimationCurve { /** - * animation curve type linear + * Animation curve type linear * * @syscap SystemCapability.Window.SessionManager * @atomicservice @@ -4246,7 +4246,7 @@ declare namespace window { LINEAR = 0, /** - * animation curve type interpolation spring + * Animation curve type interpolation spring * * @syscap SystemCapability.Window.SessionManager * @atomicservice @@ -4256,7 +4256,7 @@ declare namespace window { } /** - * window animation config + * Window animation config * * @interface WindowAnimationConfig * @syscap SystemCapability.Window.SessionManager @@ -4265,7 +4265,7 @@ declare namespace window { */ interface WindowAnimationConfig { /** - * curve of the animation + * Curve of the animation * * @type { WindowAnimationCurve } * @syscap SystemCapability.Window.SessionManager @@ -4275,7 +4275,7 @@ declare namespace window { curve: WindowAnimationCurve; /** - * duration of the animation + * Duration of the animation * * @type { ?number } * @syscap SystemCapability.Window.SessionManager @@ -4285,7 +4285,7 @@ declare namespace window { duration?: number; /** - * param of animation curve + * Param of animation curve * * @type { ?WindowAnimationCurveParam } * @syscap SystemCapability.Window.SessionManager -- Gitee