diff --git a/entry/src/main/ets/constants/Constants.ets b/entry/src/main/ets/constants/Constants.ets index 3f26582196ced7ed7ff0d249ffb349460dd6dc6d..4606755715c1e790fde05cb964b7035c6d93b6d5 100644 --- a/entry/src/main/ets/constants/Constants.ets +++ b/entry/src/main/ets/constants/Constants.ets @@ -39,26 +39,11 @@ export class Constants { */ public static readonly FULL_PERCENT: string = '100%'; - /** - * Video1 button width. - */ - public static readonly VIDEO1_BUTTON_WIDTH: string = '95%'; - - /** - * Video button width. - */ - public static readonly VIDEO_BUTTON_WIDTH: string = '45%'; - /** * XComponent width. */ public static readonly X_COMPONENT_WIDTH: string = '100%'; - /** - * PIP width. - */ - public static readonly AUTO_PIP_WIDTH: string = '95%'; - /** * Scroll layout width. */ @@ -74,56 +59,11 @@ export class Constants { */ public static readonly SPACE: number = 24; - /** - * HomePage Element Spacing. - */ - public static readonly HOME_SPACE: number = 10; - /** * Error type. */ public static readonly AVPLAYER_TYPE: number = 1; - /** - * GridRow columns sm. - */ - public static readonly GRID_COLUMNS_SM: number = 2; - - /** - * GridRow columns md. - */ - public static readonly GRID_COLUMNS_MD: number = 3; - - /** - * GridRow columns lg. - */ - public static readonly GRID_COLUMNS_LG: number = 4; - - /** - * GridRow gutter sm. - */ - public static readonly GRID_ROW_SM: number = 8; - - /** - * GridRow gutter md. - */ - public static readonly GRID_ROW_MD: number = 12; - - /** - * GridRow gutter lg. - */ - public static readonly GRID_ROW_LG: number = 16; - - /** - * GridRow gutter y. - */ - public static readonly GRID_ROW_Y: number = 20; - - /** - * Column padding. - */ - public static readonly COLUMNS_PADDING: number = 20; - /** * Idle state. */ diff --git a/entry/src/main/ets/pages/VideoPlay.ets b/entry/src/main/ets/pages/VideoPlay.ets index 92a1268702a6b45d7ffca27d574f6b8814a2f9d0..51c6484f7e2ea4baba78fa172d07ae2836532264 100644 --- a/entry/src/main/ets/pages/VideoPlay.ets +++ b/entry/src/main/ets/pages/VideoPlay.ets @@ -16,7 +16,6 @@ import { ConfigurationConstant } from '@kit.AbilityKit'; import { BusinessError } from '@kit.BasicServicesKit'; import { PiPWindow, window } from '@kit.ArkUI'; -import { JSON } from '@kit.ArkTS'; import { Constants } from '../constants/Constants'; import { AVPlayer } from './AVPlayer'; import Logger from '../utils/Logger';