Home
last modified time | relevance | path

Searched refs:ICON_SIZE_MAP (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/composelistitem/source/
H A Dcomposelistitem.ets118 const ICON_SIZE_MAP: Map<number, number> = new Map([
165 if (this.icon != null && this.iconStyle != null && ICON_SIZE_MAP.has(this.iconStyle)) {
169 .width(ICON_SIZE_MAP.get(this.iconStyle))
170 .height(ICON_SIZE_MAP.get(this.iconStyle))
181 maxWidth: ICON_SIZE_MAP.get(this.iconStyle),
183 maxHeight: ICON_SIZE_MAP.get(this.iconStyle)
735 if (ICON_SIZE_MAP.get(this.contentItem?.iconStyle as number) as number >= this.itemHeight) {
736 …this.itemHeight = ICON_SIZE_MAP.get(this.contentItem?.iconStyle as number) as number + SAFE_LIST_P…
830 let iconSize = ICON_SIZE_MAP.get(this.contentItem?.iconStyle as number);
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/composelistitem/interfaces/
H A Dcomposelistitem.js84 const ICON_SIZE_MAP = new Map([ constant
293 if (this.icon != null && this.iconStyle != null && ICON_SIZE_MAP.has(this.iconStyle)) {
302 Image.width(ICON_SIZE_MAP.get(this.iconStyle));
303 Image.height(ICON_SIZE_MAP.get(this.iconStyle));
319 maxWidth: ICON_SIZE_MAP.get(this.iconStyle),
321 maxHeight: ICON_SIZE_MAP.get(this.iconStyle)
1511 if (ICON_SIZE_MAP.get(this.contentItem?.iconStyle) >= this.itemHeight) {
1512 this.itemHeight = ICON_SIZE_MAP.get(this.contentItem?.iconStyle) + SAFE_LIST_PADDING;
1613 let d58 = ICON_SIZE_MAP.get(this.contentItem?.iconStyle);