From 954c45cc4b49934ec855d3e3e959999d546a6b97 Mon Sep 17 00:00:00 2001 From: w00574628 Date: Wed, 2 Jul 2025 15:16:12 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E5=B0=8F=E8=89=BA=E7=9C=8B?= =?UTF-8?q?=E4=B8=96=E7=95=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: w00574628 --- api/@ohos.window.d.ts | 93 ------------------------------------------- 1 file changed, 93 deletions(-) diff --git a/api/@ohos.window.d.ts b/api/@ohos.window.d.ts index 8b1575b26f..486df117a2 100644 --- a/api/@ohos.window.d.ts +++ b/api/@ohos.window.d.ts @@ -29,7 +29,6 @@ import { ColorMetrics } from './@ohos.arkui.node'; /*** endif */ import ConfigurationConstant from './@ohos.app.ability.ConfigurationConstant'; import bundleManager from './@ohos.bundle.bundleManager'; -import uiEffect from './@ohos.graphics.uiEffect'; /*** if arkts 1.2 */ import { LocalStorage } from '@ohos.arkui.stateManagement'; import { UIContext } from '@ohos.arkui.UIContext'; @@ -2988,90 +2987,6 @@ declare namespace window { DRAG_END = 6, } - /** - * UI effect Controller Parameters - * - * @interface UIEffectParams - * @syscap SystemCapability.Window.SessionManager - * @systemapi Hide this for inner system use. - * @since 20 - */ - interface UIEffectParams { - /** - * System background filter configuration - * - * @type { ?uiEffect.Filter } - * @syscap SystemCapability.Window.SessionManager - * @systemapi Hide this for inner system use. - * @since 20 - */ - backgroundFilter?: uiEffect.Filter, - /** - * System visual effect configuration - * - * @type { ?uiEffect.VisualEffect } - * @syscap SystemCapability.Window.SessionManager - * @systemapi Hide this for inner system use. - * @since 20 - */ - visualEffect?: uiEffect.VisualEffect - } - /** - * UI effect controller - * - * @interface UIEffectController - * @syscap SystemCapability.Window.SessionManager - * @systemapi Hide this for inner system use. - * @since 20 - */ - interface UIEffectController { - /** - * Set UI effect params - * - * @param { UIEffectParams } params - Params for UI effect. - - * @returns { Promise } Promise that returns no value. - * @throws { BusinessError } 202 - Permission verification failed. A non-system application calls a system API. - * @throws { BusinessError } 801 - Capability not supported. Failed to call the API due to limited device capabilities. - * @throws { BusinessError } 1300003 - This window manager service works abnormally. - * @throws { BusinessError } 1300016 - Parameter error. Possible cause: 1. Incorrect parameter format. - * @syscap SystemCapability.Window.SessionManager - * @systemapi Hide this for inner system use. - * @since 20 - */ - setParams(params: UIEffectParams): Promise; - - /** - * Do animate with UI effect param transition - * - * @param { WindowAnimationConfig } config - Animation param, when window changed. - * @param { UIEffectParams } params - Animation param for UI effect. - * @param { WindowAnimationConfig } [interruptConfig] - Animation config for interruption. - * @returns { Promise } Promise that returns no value. - * @throws { BusinessError } 202 - Permission verification failed. A non-system application calls a system API. - * @throws { BusinessError } 801 - Capability not supported. Failed to call the API due to limited device capabilities. - * @throws { BusinessError } 1300003 - This window manager service works abnormally. - * @throws { BusinessError } 1300016 - Parameter error. Possible cause: 1. Incorrect parameter format. - * @throws { BusinessError } 1300017 - Incorrect UI effect controller calling, the timing of the call is incorrect. - * @syscap SystemCapability.Window.SessionManager - * @systemapi Hide this for inner system use. - * @since 20 - */ - animateToUIEffect(config: WindowAnimationConfig, params: UIEffectParams, interruptConfig?: WindowAnimationConfig): Promise; - } - /** - * Create ui effect controller system - * - * @returns { Promise } Promise used to return the UI effect controller. - * @throws { BusinessError } 202 - Permission verification failed. A non-system application calls a system API. - * @throws { BusinessError } 801 - Capability not supported. Failed to call the API due to limited device capabilities. - * @throws { BusinessError } 1300003 - This window manager service works abnormally. - * @syscap SystemCapability.Window.SessionManager - * @systemapi Hide this for inner system use. - * @since 20 - */ - function createUIEffectController(): Promise; - /** * Create a window with a specific configuration * @@ -4607,14 +4522,6 @@ declare namespace window { * @since 20 */ INTERPOLATION_SPRING = 1, - - /** - * animation curve type cubic bezier - * - * @syscap SystemCapability.Window.SessionManager - * @since 20 - */ - CUBIC_BEZIER = 2, } /** -- Gitee