Home
last modified time | relevance | path

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

/applications/standard/printspooler/common/src/main/ets/model/
DMediaSize.ts242 public static readonly sCodeToStringMap: Map<number, MediaSize> = new Map(); property in MediaSizeHelper
286 MediaSizeHelper.sCodeToStringMap.set(MediaSizeCode.US_LETTER, MediaSizeHelper.LETTER);
287 MediaSizeHelper.sCodeToStringMap.set(MediaSizeCode.US_LEGAL, MediaSizeHelper.LEGAL);
288 …MediaSizeHelper.sCodeToStringMap.set(MediaSizeCode.US_GOVERNMENT_LETTER, MediaSizeHelper.NA_GOVT_L…
289 MediaSizeHelper.sCodeToStringMap.set(MediaSizeCode.LEDGER, MediaSizeHelper.NA_LEDGER_11X17);
290 MediaSizeHelper.sCodeToStringMap.set(MediaSizeCode.ISO_A5, MediaSizeHelper.ISO_A5);
291 MediaSizeHelper.sCodeToStringMap.set(MediaSizeCode.ISO_A4, MediaSizeHelper.ISO_A4);
292 MediaSizeHelper.sCodeToStringMap.set(MediaSizeCode.ISO_A3, MediaSizeHelper.ISO_A3);
293 MediaSizeHelper.sCodeToStringMap.set(MediaSizeCode.JIS_B5, MediaSizeHelper.JIS_B5);
294 MediaSizeHelper.sCodeToStringMap.set(MediaSizeCode.JIS_B4, MediaSizeHelper.JIS_B4);
[all …]
DMediaType.ts39 public static readonly sCodeToStringMap: Map<number, string> = new Map([ property in MediaTypes
/applications/standard/printspooler/common/src/main/ets/utils/
DMediaSizeUtil.ts25 if (MediaSizeHelper.sCodeToStringMap.has(code)) {
26 let mediaSize = MediaSizeHelper.sCodeToStringMap.get(code);
88 for (let key of MediaSizeHelper.sCodeToStringMap.keys()) {
89 if (MediaSizeHelper.sCodeToStringMap.get(key).name === size) {
98 let result: boolean = <boolean>MediaSizeHelper.sCodeToStringMap.has(code);
100 return MediaSizeHelper.sCodeToStringMap.get(code);
102 return MediaSizeHelper.sCodeToStringMap.get(MediaSizeUtil.defaultSizeCode);
106 let result: boolean = <boolean>MediaSizeHelper.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.ets1524 if (MediaTypes.sCodeToStringMap.has(selectType)) {
1525 return MediaTypes.sCodeToStringMap.get(selectType)!;
1527 return MediaTypes.sCodeToStringMap.get(MediaTypeCode.MEDIA_PLAIN)!;