Home
last modified time | relevance | path

Searched refs:sCodeToStringMap (Results 1 – 7 of 7) sorted by relevance

/applications/standard/printspooler/common/src/main/ets/model/
DDuplexMode.ts23 public static readonly sCodeToStringMap: Map<number, string> = new Map([ property in DuplexMode
30 if (DuplexMode.sCodeToStringMap.has(code)) {
31 return DuplexMode.sCodeToStringMap.get(code);
33 return DuplexMode.sCodeToStringMap.get(DuplexModeCode.DUPLEX_MODE_ONE_SIDED);
DColorMode.ts23 public static readonly sCodeToStringMap: Map<number, string> = new Map([ property in ColorMode
30 if (ColorMode.sCodeToStringMap.has(code)) {
DMediaType.ts39 public static readonly sCodeToStringMap: Map<number, string> = new Map([ property in MediaTypes
DMediaSize.ts161 public static readonly sCodeToStringMap: Map<number, MediaSize> = new Map([ property in MediaSize
/applications/standard/printspooler/common/src/main/ets/utils/
DMediaSizeUtil.ts27 if (MediaSize.sCodeToStringMap.has(code)) {
28 let mediaSize = MediaSize.sCodeToStringMap.get(code);
90 for (let key of MediaSize.sCodeToStringMap.keys()) {
91 if (MediaSize.sCodeToStringMap.get(key).name === size) {
100 let result: boolean = <boolean>MediaSize.sCodeToStringMap.has(code);
102 return MediaSize.sCodeToStringMap.get(code);
104 return MediaSize.sCodeToStringMap.get(MediaSizeUtil.defaultSizeCode);
108 let result: boolean = <boolean>MediaSize.sCodeToStringMap.has(code);
/applications/standard/printspooler/feature/ippPrint/src/main/ets/common/utils/
DWorkerUtil.ts26 public static readonly sCodeToStringMap: Map<RequestCode, string> = new Map([ property in WorkerUtil
54 return WorkerUtil.sCodeToStringMap.get(code);
/applications/standard/printspooler/entry/src/main/ets/pages/
DPrintPage.ets1519 if (MediaTypes.sCodeToStringMap.has(selectType)) {
1520 return MediaTypes.sCodeToStringMap.get(selectType);
1522 return MediaTypes.sCodeToStringMap.get(MediaTypeCode.MEDIA_PLAIN);