From edd29bf8d35cd55e80698b15c848c05bbb283557 Mon Sep 17 00:00:00 2001 From: dengbing Date: Wed, 3 Sep 2025 17:17:12 +0800 Subject: [PATCH 1/3] =?UTF-8?q?ark1.2=E6=8E=A5=E5=8F=A3=E9=80=82=E9=85=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: dengbing --- api/@ohos.window.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/api/@ohos.window.d.ts b/api/@ohos.window.d.ts index 81b0989bd9..722111a59a 100644 --- a/api/@ohos.window.d.ts +++ b/api/@ohos.window.d.ts @@ -13,6 +13,7 @@ * limitations under the License. */ + /** * @file * @kit ArkUI -- Gitee From f4672e687ea6bfb3cecbf62b7d03e8d0e22ba079 Mon Sep 17 00:00:00 2001 From: dengbing Date: Thu, 4 Sep 2025 09:33:12 +0800 Subject: [PATCH 2/3] =?UTF-8?q?ark1.2=E6=8E=A5=E5=8F=A3=E9=80=82=E9=85=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: dengbing --- api/@ohos.window.d.ts | 110 ++++++++++++++++++++++++------------------ 1 file changed, 64 insertions(+), 46 deletions(-) diff --git a/api/@ohos.window.d.ts b/api/@ohos.window.d.ts index 722111a59a..c31e5b04ad 100644 --- a/api/@ohos.window.d.ts +++ b/api/@ohos.window.d.ts @@ -2123,55 +2123,57 @@ declare namespace window { /** * button background size when hover. * - * @type { ?number } + * @type { ?int } * @syscap SystemCapability.Window.SessionManager * @atomicservice * @since arkts {'1.1':'14', '1.2':'20'} * @arkts 1.1&1.2 */ - buttonBackgroundSize? : number; + buttonBackgroundSize? : int; /** * button spacing. * - * @type { ?number } + * @type { ?int } * @syscap SystemCapability.Window.SessionManager * @atomicservice * @since arkts {'1.1':'14', '1.2':'20'} * @arkts 1.1&1.2 */ - spacingBetweenButtons? : number; + spacingBetweenButtons? : int; /** * close button right Margin. * - * @type { ?number } + * @type { ?int } * @syscap SystemCapability.Window.SessionManager * @atomicservice * @since arkts {'1.1':'14', '1.2':'20'} * @arkts 1.1&1.2 */ - closeButtonRightMargin? : number; + closeButtonRightMargin? : int; /** * button icon size. * - * @type { ?number } + * @type { ?int } * @syscap SystemCapability.Window.SessionManager * @atomicservice - * @since 20 + * @since arkts {'1.1':'20', '1.2':'20'} + * @arkts 1.1&1.2 */ - buttonIconSize? : number; + buttonIconSize? : int; /** * corner radius of button background when hover. * - * @type { ?number } + * @type { ?int } * @syscap SystemCapability.Window.SessionManager * @atomicservice - * @since 20 + * @since arkts {'1.1':'20', '1.2':'20'} + * @arkts 1.1&1.2 */ - buttonBackgroundCornerRadius? : number; + buttonBackgroundCornerRadius? : int; } /** @@ -2777,71 +2779,75 @@ declare namespace window { /** * The right of the Rect. * - * @type { number } + * @type { int } * @syscap SystemCapability.Window.SessionManager - * @since 11 + * @since arkts {'1.1':'11', '1.2':'20'} + * @arkts 1.1&1.2 */ /** * The right of the Rect. * - * @type { number } + * @type { int } * @syscap SystemCapability.Window.SessionManager * @atomicservice - * @since 12 + * @since arkts {'1.1':'12', '1.2':'20'} + * @arkts 1.1&1.2 */ - right: number; - + right: int; /** * The top of the Rect. * - * @type { number } + * @type { int } * @syscap SystemCapability.Window.SessionManager - * @since 11 + * @since arkts {'1.1':'11', '1.2':'20'} + * @arkts 1.1&1.2 */ /** * The top of the Rect. * - * @type { number } + * @type { int } * @syscap SystemCapability.Window.SessionManager * @atomicservice - * @since 12 + * @since arkts {'1.1':'12', '1.2':'20'} + * @arkts 1.1&1.2 */ - top: number; - + top: int; /** * The width of the Rect. * - * @type { number } + * @type { int } * @syscap SystemCapability.Window.SessionManager - * @since 11 + * @since arkts {'1.1':'11', '1.2':'20'} + * @arkts 1.1&1.2 */ /** * The width of the Rect. * - * @type { number } + * @type { int } * @syscap SystemCapability.Window.SessionManager * @atomicservice * @since arkts {'1.1':'12', '1.2':'20'} * @arkts 1.1&1.2 */ - width: number; - + width: int; /** * The height of the Rect. * - * @type { number } + * @type { int } * @syscap SystemCapability.Window.SessionManager - * @since 11 + * @since arkts {'1.1':'11', '1.2':'20'} + * @arkts 1.1&1.2 */ /** * The height of the Rect. * - * @type { number } + * @type { int } * @syscap SystemCapability.Window.SessionManager * @atomicservice - * @since 12 + * @since arkts {'1.1':'12', '1.2':'20'} + * @arkts 1.1&1.2 */ - height: number; + height: int; } /** @@ -8817,7 +8823,8 @@ declare namespace window { * @throws { BusinessError } 1300003 - This window manager service works abnormally. * @syscap SystemCapability.Window.SessionManager * @systemapi Hide this for inner system use. - * @since 12 + * @since arkts {'1.1':'12', '1.2':'20'} + * @arkts 1.1&1.2 */ setHandwritingFlag(enable: boolean): Promise; @@ -9890,7 +9897,8 @@ declare namespace window { * @throws { BusinessError } 1300002 - This window state is abnormal. * @syscap SystemCapability.Window.SessionManager * @atomicservice - * @since 18 + * @since arkts {'1.1':'18', '1.2':'20'} + * @arkts 1.1&1.2 */ getWindowDecorVisible(): boolean; @@ -9906,7 +9914,8 @@ declare namespace window { * @throws { BusinessError } 1300004 - Unauthorized operation. * @syscap SystemCapability.Window.SessionManager * @atomicservice - * @since 14 + * @since arkts {'1.1':'14', '1.2':'20'} + * @arkts 1.1&1.2 */ setWindowTitleMoveEnabled(enabled: boolean): void; @@ -9921,7 +9930,8 @@ declare namespace window { * @throws { BusinessError } 1300002 - This window state is abnormal. * @syscap SystemCapability.Window.SessionManager * @atomicservice - * @since 15 + * @since arkts {'1.1':'15', '1.2':'20'} + * @arkts 1.1&1.2 */ setWindowTitle(titleName: string): Promise; @@ -10074,7 +10084,8 @@ declare namespace window { * @throws { BusinessError } 1300004 - Unauthorized operation. * @syscap SystemCapability.Window.SessionManager * @atomicservice - * @since 14 + * @since arkts {'1.1':'14', '1.2':'20'} + * @arkts 1.1&1.2 */ getDecorButtonStyle(): DecorButtonStyle; @@ -10113,7 +10124,8 @@ declare namespace window { * @throws { BusinessError } 1300002 - This window state is abnormal. * @syscap SystemCapability.Window.SessionManager * @atomicservice - * @since 12 + * @since arkts {'1.1':'12', '1.2':'20'} + * @arkts 1.1&1.2 */ getTitleButtonRect(): TitleButtonRect; @@ -10131,7 +10143,8 @@ declare namespace window { * @throws { BusinessError } 1300004 - Unauthorized operation. * @syscap SystemCapability.Window.SessionManager * @systemapi Hide this for inner system use. - * @since 12 + * @since arkts {'1.1':'12', '1.2':'20'} + * @arkts 1.1&1.2 */ setTitleButtonVisible(isMaximizeVisible: boolean, isMinimizeVisible: boolean, isSplitVisible: boolean): void; @@ -10749,7 +10762,8 @@ declare namespace window { * @throws { BusinessError } 1300004 - Unauthorized operation. * @syscap SystemCapability.Window.SessionManager * @atomicservice - * @since 20 + * @since arkts {'1.1':'20', '1.2':'20'} + * @arkts 1.1&1.2 */ setTitleAndDockHoverShown(isTitleHoverShown?: boolean, isDockHoverShown?: boolean): Promise; @@ -10779,7 +10793,8 @@ declare namespace window { * @throws { BusinessError } 1300002 - This window state is abnormal. * @syscap SystemCapability.Window.SessionManager * @atomicservice - * @since 19 + * @since arkts {'1.1':'19', '1.2':'20'} + * @arkts 1.1&1.2 */ setWindowDelayRaiseOnDrag(isEnabled: boolean): void; @@ -12031,7 +12046,8 @@ declare namespace window { * @syscap SystemCapability.Window.SessionManager * @StageModelOnly * @atomicservice - * @since 14 + * @since arkts {'1.1':'14', '1.2':'20'} + * @arkts 1.1&1.2 */ setWindowRectAutoSave(enabled: boolean): Promise; @@ -12050,7 +12066,8 @@ declare namespace window { * @syscap SystemCapability.Window.SessionManager * @stagemodelonly * @atomicservice - * @since 17 + * @since arkts {'1.1':'17', '1.2':'20'} + * @arkts 1.1&1.2 */ setWindowRectAutoSave(enabled: boolean, isSaveBySpecifiedFlag: boolean): Promise; @@ -12076,7 +12093,8 @@ declare namespace window { * @syscap SystemCapability.Window.SessionManager * @StageModelOnly * @atomicservice - * @since 20 + * @since arkts {'1.1':'20', '1.2':'20'} + * @arkts 1.1&1.2 */ isWindowRectAutoSave(): Promise; -- Gitee From 6a640a1bc9e3f85d98597094fa43ba4557571e24 Mon Sep 17 00:00:00 2001 From: dengbing Date: Thu, 4 Sep 2025 10:01:19 +0800 Subject: [PATCH 3/3] =?UTF-8?q?ark1.2=E6=8E=A5=E5=8F=A3=E9=80=82=E9=85=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: dengbing --- api/@ohos.window.d.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/api/@ohos.window.d.ts b/api/@ohos.window.d.ts index c31e5b04ad..94b4c21cc2 100644 --- a/api/@ohos.window.d.ts +++ b/api/@ohos.window.d.ts @@ -13,7 +13,6 @@ * limitations under the License. */ - /** * @file * @kit ArkUI -- Gitee