ECopyOptionItem.java 95 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576
  1. package epson.print.copy.Component.ecopycomponent;
  2. import android.os.Parcel;
  3. import android.os.Parcelable;
  4. import epson.print.copy.Component.ecopycomponent.ECopyComponent;
  5. import epson.print.copy.Component.eremoteoperation.ERemoteCopy;
  6. import epson.print.copy.Component.eremoteoperation.ERemoteOperation;
  7. import java.util.ArrayList;
  8. import java.util.Iterator;
  9. public class ECopyOptionItem implements Parcelable {
  10. public static final Parcelable.Creator<ECopyOptionItem> CREATOR = new Parcelable.Creator<ECopyOptionItem>() {
  11. public ECopyOptionItem createFromParcel(Parcel parcel) {
  12. return new ECopyOptionItem(parcel);
  13. }
  14. public ECopyOptionItem[] newArray(int i) {
  15. return new ECopyOptionItem[i];
  16. }
  17. };
  18. public static int CopyMagnificationAutofitValue = -999;
  19. static int DefaultExceptionValue = -10000;
  20. ChoiceArray choiceArray;
  21. ECopyOptionItemChoiceType choiceType;
  22. boolean enabled;
  23. boolean isLocalOption;
  24. ECopyOptionItemKey key;
  25. NumberRange numberRange;
  26. public enum ECopyOptionItemChoiceType {
  27. ChoiceArray,
  28. NumberRange
  29. }
  30. public int describeContents() {
  31. return 0;
  32. }
  33. class ChoiceArray {
  34. ArrayList<ECopyOptionItemChoice> choices = new ArrayList<>();
  35. int defaultChoice;
  36. int selectedChoice;
  37. public ChoiceArray() {
  38. }
  39. public ChoiceArray(ChoiceArray choiceArray) {
  40. Iterator<ECopyOptionItemChoice> it = choiceArray.choices.iterator();
  41. while (it.hasNext()) {
  42. this.choices.add(it.next());
  43. }
  44. this.selectedChoice = choiceArray.selectedChoice;
  45. this.defaultChoice = choiceArray.defaultChoice;
  46. }
  47. public boolean equals(Object obj) {
  48. if (this == obj) {
  49. return true;
  50. }
  51. if (!(obj instanceof ChoiceArray)) {
  52. return false;
  53. }
  54. ChoiceArray choiceArray = (ChoiceArray) obj;
  55. if (this.selectedChoice != choiceArray.selectedChoice || this.defaultChoice != choiceArray.defaultChoice || this.choices.size() != choiceArray.choices.size()) {
  56. return false;
  57. }
  58. for (int i = 0; i < this.choices.size(); i++) {
  59. if (this.choices.get(i) != choiceArray.choices.get(i)) {
  60. return false;
  61. }
  62. }
  63. return true;
  64. }
  65. }
  66. class NumberRange {
  67. int defaultValue;
  68. int exceptionValue;
  69. int max;
  70. int min;
  71. int selectedValue;
  72. public NumberRange() {
  73. }
  74. public NumberRange(NumberRange numberRange) {
  75. this.min = numberRange.min;
  76. this.max = numberRange.max;
  77. this.selectedValue = numberRange.selectedValue;
  78. this.defaultValue = numberRange.defaultValue;
  79. this.exceptionValue = numberRange.exceptionValue;
  80. }
  81. public boolean equals(Object obj) {
  82. if (this == obj) {
  83. return true;
  84. }
  85. if (!(obj instanceof NumberRange)) {
  86. return false;
  87. }
  88. NumberRange numberRange = (NumberRange) obj;
  89. if (this.min == numberRange.min && this.max == numberRange.max && this.selectedValue == numberRange.selectedValue && this.defaultValue == numberRange.defaultValue && this.exceptionValue == numberRange.exceptionValue) {
  90. return true;
  91. }
  92. return false;
  93. }
  94. }
  95. public void writeToParcel(Parcel parcel, int i) {
  96. parcel.writeString(this.key.name());
  97. parcel.writeString(this.choiceType.name());
  98. parcel.writeInt(this.enabled ? 1 : 0);
  99. parcel.writeInt(this.isLocalOption ? 1 : 0);
  100. if (this.choiceType == ECopyOptionItemChoiceType.ChoiceArray) {
  101. parcel.writeInt(this.choiceArray.choices.size());
  102. Iterator<ECopyOptionItemChoice> it = this.choiceArray.choices.iterator();
  103. while (it.hasNext()) {
  104. parcel.writeString(it.next().param.name());
  105. }
  106. parcel.writeInt(this.choiceArray.selectedChoice);
  107. parcel.writeInt(this.choiceArray.defaultChoice);
  108. return;
  109. }
  110. parcel.writeInt(this.numberRange.min);
  111. parcel.writeInt(this.numberRange.max);
  112. parcel.writeInt(this.numberRange.selectedValue);
  113. parcel.writeInt(this.numberRange.defaultValue);
  114. parcel.writeInt(this.numberRange.exceptionValue);
  115. }
  116. ECopyOptionItem(Parcel parcel) {
  117. this.key = ECopyOptionItemKey.valueOf(parcel.readString());
  118. this.choiceType = ECopyOptionItemChoiceType.valueOf(parcel.readString());
  119. boolean z = true;
  120. this.enabled = parcel.readInt() == 1;
  121. this.isLocalOption = parcel.readInt() != 1 ? false : z;
  122. if (this.choiceType == ECopyOptionItemChoiceType.ChoiceArray) {
  123. this.choiceArray = new ChoiceArray();
  124. int readInt = parcel.readInt();
  125. for (int i = 0; i < readInt; i++) {
  126. this.choiceArray.choices.add(ECopyOptionItemChoice.valueOf(this.key, ERemoteOperation.ERemoteParam.valueOf(parcel.readString())));
  127. }
  128. this.choiceArray.selectedChoice = parcel.readInt();
  129. this.choiceArray.defaultChoice = parcel.readInt();
  130. return;
  131. }
  132. this.numberRange = new NumberRange();
  133. this.numberRange.min = parcel.readInt();
  134. this.numberRange.max = parcel.readInt();
  135. this.numberRange.selectedValue = parcel.readInt();
  136. this.numberRange.defaultValue = parcel.readInt();
  137. this.numberRange.exceptionValue = parcel.readInt();
  138. }
  139. ECopyOptionItem(ECopyOptionItemKey eCopyOptionItemKey, int i, int i2, int i3, int i4) {
  140. this.key = eCopyOptionItemKey;
  141. this.choiceType = ECopyOptionItemChoiceType.NumberRange;
  142. this.enabled = true;
  143. this.numberRange = new NumberRange();
  144. NumberRange numberRange2 = this.numberRange;
  145. numberRange2.min = i;
  146. numberRange2.max = i2;
  147. numberRange2.selectedValue = i3;
  148. numberRange2.defaultValue = i3;
  149. numberRange2.exceptionValue = i4;
  150. }
  151. ECopyOptionItem(ECopyOptionItemKey eCopyOptionItemKey, ArrayList<ERemoteOperation.ERemoteParam> arrayList, ERemoteOperation.ERemoteParam eRemoteParam) {
  152. this.key = eCopyOptionItemKey;
  153. this.choiceType = ECopyOptionItemChoiceType.ChoiceArray;
  154. this.choiceArray = new ChoiceArray();
  155. this.choiceArray.defaultChoice = 0;
  156. Iterator<ERemoteOperation.ERemoteParam> it = arrayList.iterator();
  157. while (it.hasNext()) {
  158. ERemoteOperation.ERemoteParam next = it.next();
  159. this.choiceArray.choices.add(ECopyOptionItemChoice.valueOf(this.key, next));
  160. if (next == eRemoteParam) {
  161. ChoiceArray choiceArray2 = this.choiceArray;
  162. choiceArray2.defaultChoice = choiceArray2.choices.size() - 1;
  163. }
  164. }
  165. ChoiceArray choiceArray3 = this.choiceArray;
  166. choiceArray3.selectedChoice = choiceArray3.defaultChoice;
  167. if (arrayList.size() > 1) {
  168. this.enabled = true;
  169. } else {
  170. this.enabled = false;
  171. }
  172. }
  173. ECopyOptionItem(ECopyOptionItem eCopyOptionItem) {
  174. this.key = eCopyOptionItem.key;
  175. this.choiceType = eCopyOptionItem.choiceType;
  176. this.enabled = eCopyOptionItem.enabled;
  177. this.isLocalOption = eCopyOptionItem.isLocalOption;
  178. if (this.choiceType == ECopyOptionItemChoiceType.ChoiceArray) {
  179. this.choiceArray = new ChoiceArray(eCopyOptionItem.choiceArray);
  180. } else {
  181. this.numberRange = new NumberRange(eCopyOptionItem.numberRange);
  182. }
  183. }
  184. public boolean equals(Object obj) {
  185. ECopyOptionItemChoiceType eCopyOptionItemChoiceType;
  186. if (this == obj) {
  187. return true;
  188. }
  189. if (!(obj instanceof ECopyOptionItem)) {
  190. return false;
  191. }
  192. ECopyOptionItem eCopyOptionItem = (ECopyOptionItem) obj;
  193. if (this.key != eCopyOptionItem.key || (eCopyOptionItemChoiceType = this.choiceType) != eCopyOptionItem.choiceType || this.isLocalOption != eCopyOptionItem.isLocalOption) {
  194. return false;
  195. }
  196. if (eCopyOptionItemChoiceType == ECopyOptionItemChoiceType.ChoiceArray) {
  197. return this.choiceArray.equals(eCopyOptionItem.choiceArray);
  198. }
  199. return this.numberRange.equals(eCopyOptionItem.numberRange);
  200. }
  201. public enum ECopyOptionItemKey {
  202. ColorEffectsType(ERemoteOperation.ERemoteParam.color_effects_type),
  203. ScanContentType(ERemoteOperation.ERemoteParam.scan_content_type),
  204. PrintMediaType(ERemoteOperation.ERemoteParam.print_media_type),
  205. PrintMediaSize(ERemoteOperation.ERemoteParam.print_media_size),
  206. PrintMediaSource(ERemoteOperation.ERemoteParam.print_media_source),
  207. PrintQuality(ERemoteOperation.ERemoteParam.print_quality),
  208. PrintXBleed(ERemoteOperation.ERemoteParam.print_x_bleed),
  209. XDensity(ERemoteOperation.ERemoteParam.x_density),
  210. XApf(ERemoteOperation.ERemoteParam.x_apf),
  211. XColorRestoration(ERemoteOperation.ERemoteParam.x_color_restoration),
  212. XBorderless(ERemoteOperation.ERemoteParam.x_borderless),
  213. CopyMagnification(ERemoteOperation.ERemoteParam.copy_magnification),
  214. Copies(ERemoteOperation.ERemoteParam.copies),
  215. XScale(ERemoteOperation.ERemoteParam.x_scale),
  216. InvalidKey(ERemoteOperation.ERemoteParam.x_null);
  217. ERemoteOperation.ERemoteParam param;
  218. private ECopyOptionItemKey(ERemoteOperation.ERemoteParam eRemoteParam) {
  219. this.param = eRemoteParam;
  220. }
  221. }
  222. public enum ECopyOptionItemChoice {
  223. ColorEffectsType_Color(ECopyOptionItemKey.ColorEffectsType, ERemoteOperation.ERemoteParam.color),
  224. ColorEffectsType_MonochromeGrayscale(ECopyOptionItemKey.ColorEffectsType, ERemoteOperation.ERemoteParam.monochrome_grayscale),
  225. ScanContentType_Text(ECopyOptionItemKey.ScanContentType, ERemoteOperation.ERemoteParam.text),
  226. ScanContentType_Mixed(ECopyOptionItemKey.ScanContentType, ERemoteOperation.ERemoteParam.mixed),
  227. ScanContentType_Photographic(ECopyOptionItemKey.ScanContentType, ERemoteOperation.ERemoteParam.photographic),
  228. PrintMediaSource_Top(ECopyOptionItemKey.PrintMediaSource, ERemoteOperation.ERemoteParam.top),
  229. PrintMediaSource_Bottom(ECopyOptionItemKey.PrintMediaSource, ERemoteOperation.ERemoteParam.bottom),
  230. PrintMediaSource_Rear(ECopyOptionItemKey.PrintMediaSource, ERemoteOperation.ERemoteParam.rear),
  231. PrintMediaSource_Manual(ECopyOptionItemKey.PrintMediaSource, ERemoteOperation.ERemoteParam.manual),
  232. PrintMediaType_Stationery(ECopyOptionItemKey.PrintMediaType, ERemoteOperation.ERemoteParam.stationery),
  233. PrintMediaType_PhotographicHighGloss(ECopyOptionItemKey.PrintMediaType, ERemoteOperation.ERemoteParam.photographic_high_gloss),
  234. PrintMediaType_Photographic(ECopyOptionItemKey.PrintMediaType, ERemoteOperation.ERemoteParam.photographic),
  235. PrintMediaType_PhotographicSemiGloss(ECopyOptionItemKey.PrintMediaType, ERemoteOperation.ERemoteParam.photographic_semi_gloss),
  236. PrintMediaType_PhotographicGlossy(ECopyOptionItemKey.PrintMediaType, ERemoteOperation.ERemoteParam.photographic_glossy),
  237. PrintMediaType_CustomMediaTypeEpson44(ECopyOptionItemKey.PrintMediaType, ERemoteOperation.ERemoteParam.custom_media_type_epson_44),
  238. PrintMediaType_PhotographicMatte(ECopyOptionItemKey.PrintMediaType, ERemoteOperation.ERemoteParam.photographic_matte),
  239. PrintMediaType_StationeryCoated(ECopyOptionItemKey.PrintMediaType, ERemoteOperation.ERemoteParam.stationery_coated),
  240. PrintMediaType_CustomMediaTypeEpson2A(ECopyOptionItemKey.PrintMediaType, ERemoteOperation.ERemoteParam.custom_media_type_epson_2a),
  241. PrintMediaType_StationeryInkjet(ECopyOptionItemKey.PrintMediaType, ERemoteOperation.ERemoteParam.stationery_inkjet),
  242. PrintMediaType_CustomMediaTypeEpson1B(ECopyOptionItemKey.PrintMediaType, ERemoteOperation.ERemoteParam.custom_media_type_epson_1b),
  243. PrintMediaType_CustomMediaTypeEpson02(ECopyOptionItemKey.PrintMediaType, ERemoteOperation.ERemoteParam.custom_media_type_epson_02),
  244. PrintMediaType_CustomMediaTypeEpson19(ECopyOptionItemKey.PrintMediaType, ERemoteOperation.ERemoteParam.custom_media_type_epson_19),
  245. PrintMediaType_Lebals(ECopyOptionItemKey.PrintMediaType, ERemoteOperation.ERemoteParam.labels),
  246. PrintMediaType_Envelope(ECopyOptionItemKey.PrintMediaType, ERemoteOperation.ERemoteParam.envelope),
  247. PrintMediaType_DBLMEISHI_HALFGROSSY(ECopyOptionItemKey.PrintMediaType, ERemoteOperation.ERemoteParam.custom_media_type_epson_47),
  248. PrintMediaType_HagakiAtena(ECopyOptionItemKey.PrintMediaType, ERemoteOperation.ERemoteParam.custom_media_type_epson_20),
  249. PrintMediaType_BussnessPlain(ECopyOptionItemKey.PrintMediaType, ERemoteOperation.ERemoteParam.custom_media_type_epson_39),
  250. PrintMediaType_StationeryHeavyweight(ECopyOptionItemKey.PrintMediaType, ERemoteOperation.ERemoteParam.stationery_heavyweight),
  251. PrintMediaType_StationeryLetterhead(ECopyOptionItemKey.PrintMediaType, ERemoteOperation.ERemoteParam.stationery_letterhead),
  252. PrintMediaType_BrightColorPlain(ECopyOptionItemKey.PrintMediaType, ERemoteOperation.ERemoteParam.custom_media_type_epson_46),
  253. PrintMediaSize_A4(ECopyOptionItemKey.PrintMediaSize, ERemoteOperation.ERemoteParam.iso_a4_210x297mm),
  254. PrintMediaSize_B4(ECopyOptionItemKey.PrintMediaSize, ERemoteOperation.ERemoteParam.jis_b4_257x364mm),
  255. PrintMediaSize_B5(ECopyOptionItemKey.PrintMediaSize, ERemoteOperation.ERemoteParam.jis_b5_182x257mm),
  256. PrintMediaSize_L(ECopyOptionItemKey.PrintMediaSize, ERemoteOperation.ERemoteParam.oe_photo_l_3_5x5in),
  257. PrintMediaSize_2L(ECopyOptionItemKey.PrintMediaSize, ERemoteOperation.ERemoteParam.na_5x7_5x7in),
  258. PrintMediaSize_Postcard(ECopyOptionItemKey.PrintMediaSize, ERemoteOperation.ERemoteParam.jpn_hagaki_100x148mm),
  259. PrintMediaSize_KG(ECopyOptionItemKey.PrintMediaSize, ERemoteOperation.ERemoteParam.na_index_4x6_4x6in),
  260. PrintMediaSize_8x10in(ECopyOptionItemKey.PrintMediaSize, ERemoteOperation.ERemoteParam.na_govt_letter_8x10in),
  261. PrintMediaSize_Letter(ECopyOptionItemKey.PrintMediaSize, ERemoteOperation.ERemoteParam.na_letter_8_5x11in),
  262. PrintMediaSize_Legal(ECopyOptionItemKey.PrintMediaSize, ERemoteOperation.ERemoteParam.na_legal_8_5x14in),
  263. PrintMediaSize_A5(ECopyOptionItemKey.PrintMediaSize, ERemoteOperation.ERemoteParam.iso_a5_148x210mm),
  264. PrintMediaSize_254x305mm(ECopyOptionItemKey.PrintMediaSize, ERemoteOperation.ERemoteParam.custom_4psize_254x305mm),
  265. PrintMediaSize_A3(ECopyOptionItemKey.PrintMediaSize, ERemoteOperation.ERemoteParam.iso_a3_297x420mm),
  266. PrintMediaSize_US_B(ECopyOptionItemKey.PrintMediaSize, ERemoteOperation.ERemoteParam.na_ledger_11x17in),
  267. PrintMediaSize_A6(ECopyOptionItemKey.PrintMediaSize, ERemoteOperation.ERemoteParam.iso_a6_105x148mm),
  268. PrintMediaSize_CHOU3(ECopyOptionItemKey.PrintMediaSize, ERemoteOperation.ERemoteParam.jpn_chou3_120x235mm),
  269. PrintMediaSize_CHOU4(ECopyOptionItemKey.PrintMediaSize, ERemoteOperation.ERemoteParam.jpn_chou4_90x205mm),
  270. PrintMediaSize_YOU1(ECopyOptionItemKey.PrintMediaSize, ERemoteOperation.ERemoteParam.custom_epson_18_120x176mm),
  271. PrintMediaSize_YOU3(ECopyOptionItemKey.PrintMediaSize, ERemoteOperation.ERemoteParam.custom_epson_1A_98x148mm),
  272. PrintMediaSize_YOU4(ECopyOptionItemKey.PrintMediaSize, ERemoteOperation.ERemoteParam.jpn_you4_105x235mm),
  273. PrintMediaSize_YOU2(ECopyOptionItemKey.PrintMediaSize, ERemoteOperation.ERemoteParam.iso_c6_114x162mm),
  274. PrintMediaSize_KAKU2(ECopyOptionItemKey.PrintMediaSize, ERemoteOperation.ERemoteParam.jpn_kaku2_240x332mm),
  275. PrintMediaSize_KAKU20(ECopyOptionItemKey.PrintMediaSize, ERemoteOperation.ERemoteParam.iso_c4_229x324mm),
  276. PrintMediaSize_MEISHI(ECopyOptionItemKey.PrintMediaSize, ERemoteOperation.ERemoteParam.custom_cardsize_55x91mm),
  277. PrintMediaSize_CARD(ECopyOptionItemKey.PrintMediaSize, ERemoteOperation.ERemoteParam.custom_creditcardsize_54x86mm),
  278. PrintMediaSize_Hivision(ECopyOptionItemKey.PrintMediaSize, ERemoteOperation.ERemoteParam.custom_hivision_101_6x180_6mm),
  279. PrintMediaSize_EnvelopeDL(ECopyOptionItemKey.PrintMediaSize, ERemoteOperation.ERemoteParam.iso_dl_110x220mm),
  280. PrintMediaSize_B6(ECopyOptionItemKey.PrintMediaSize, ERemoteOperation.ERemoteParam.jis_b6_128x182mm),
  281. PrintMediaSize_Executive(ECopyOptionItemKey.PrintMediaSize, ERemoteOperation.ERemoteParam.na_executive_7_25x10_5in),
  282. PrintMediaSize_8d5x13in(ECopyOptionItemKey.PrintMediaSize, ERemoteOperation.ERemoteParam.na_foolscap_8_5x13in),
  283. PrintMediaSize_11x14in(ECopyOptionItemKey.PrintMediaSize, ERemoteOperation.ERemoteParam.na_edp_11x14in),
  284. PrintMediaSize_EnvelopeNumber10(ECopyOptionItemKey.PrintMediaSize, ERemoteOperation.ERemoteParam.na_number_10_4_125x9_5in),
  285. PrintMediaSize_8K(ECopyOptionItemKey.PrintMediaSize, ERemoteOperation.ERemoteParam.om_8k_270x390mm),
  286. PrintMediaSize_16K(ECopyOptionItemKey.PrintMediaSize, ERemoteOperation.ERemoteParam.om_16k_195x270mm),
  287. PrintMediaSize_HalfLetter(ECopyOptionItemKey.PrintMediaSize, ERemoteOperation.ERemoteParam.na_invoice_5_5x8_5in),
  288. PrintMediaSize_IndianLegal215x345mm(ECopyOptionItemKey.PrintMediaSize, ERemoteOperation.ERemoteParam.custom_epson_indianlegal_215x345mm),
  289. PrintMediaSize_MexicoOficio8d5x13d4in(ECopyOptionItemKey.PrintMediaSize, ERemoteOperation.ERemoteParam.na_oficio_8_5x13_4in),
  290. PrintMediaSize_Oficio9_8d46x12d4in(ECopyOptionItemKey.PrintMediaSize, ERemoteOperation.ERemoteParam.om_folio_sp_215x315mm),
  291. PrintXBleed_Standard(ECopyOptionItemKey.PrintXBleed, ERemoteOperation.ERemoteParam.standard),
  292. PrintXBleed_Midium(ECopyOptionItemKey.PrintXBleed, ERemoteOperation.ERemoteParam.midium),
  293. PrintXBleed_Minimum(ECopyOptionItemKey.PrintXBleed, ERemoteOperation.ERemoteParam.minimum),
  294. PrintQuality_Economy(ECopyOptionItemKey.PrintQuality, ERemoteOperation.ERemoteParam.draft),
  295. PrintQuality_Normal(ECopyOptionItemKey.PrintQuality, ERemoteOperation.ERemoteParam.normal),
  296. PrintQuality_High(ECopyOptionItemKey.PrintQuality, ERemoteOperation.ERemoteParam.high),
  297. PrintQuality_Best(ECopyOptionItemKey.PrintQuality, ERemoteOperation.ERemoteParam.best),
  298. XApf_On(ECopyOptionItemKey.XApf, ERemoteOperation.ERemoteParam.on),
  299. XApf_Off(ECopyOptionItemKey.XApf, ERemoteOperation.ERemoteParam.off),
  300. XColorRestoration_On(ECopyOptionItemKey.XColorRestoration, ERemoteOperation.ERemoteParam.on),
  301. XColorRestoration_Off(ECopyOptionItemKey.XColorRestoration, ERemoteOperation.ERemoteParam.off),
  302. XBorderless_Borderless(ECopyOptionItemKey.XBorderless, ERemoteOperation.ERemoteParam.borderless),
  303. XBorderless_Standard(ECopyOptionItemKey.XBorderless, ERemoteOperation.ERemoteParam.standard),
  304. XScale_FullSize(ECopyOptionItemKey.XScale, ERemoteOperation.ERemoteParam.x_scale_fullsize),
  305. XScale_Custom(ECopyOptionItemKey.XScale, ERemoteOperation.ERemoteParam.x_scale_custom),
  306. XScale_Autofit(ECopyOptionItemKey.XScale, ERemoteOperation.ERemoteParam.x_scale_autofit),
  307. XScale_A4_to_Postcard(ECopyOptionItemKey.XScale, ERemoteOperation.ERemoteParam.x_scale_a4_to_postcard),
  308. XScale_2L_to_Postcard(ECopyOptionItemKey.XScale, ERemoteOperation.ERemoteParam.x_scale_2l_to_postcard),
  309. XScale_L_to_Postcard(ECopyOptionItemKey.XScale, ERemoteOperation.ERemoteParam.x_scale_l_to_postcard),
  310. XScale_L_to_2L(ECopyOptionItemKey.XScale, ERemoteOperation.ERemoteParam.x_scale_l_to_2l),
  311. XScale_2L_to_A4(ECopyOptionItemKey.XScale, ERemoteOperation.ERemoteParam.x_scale_2l_to_a4),
  312. XScale_Postcard_to_A4(ECopyOptionItemKey.XScale, ERemoteOperation.ERemoteParam.x_scale_postcard_to_a4),
  313. XScale_L_to_A4(ECopyOptionItemKey.XScale, ERemoteOperation.ERemoteParam.x_scale_l_to_a4),
  314. XScale_A4_to_B5(ECopyOptionItemKey.XScale, ERemoteOperation.ERemoteParam.x_scale_a4_to_b5),
  315. XScale_B5_to_A4(ECopyOptionItemKey.XScale, ERemoteOperation.ERemoteParam.x_scale_b5_to_a4),
  316. XScale_Letter_to_KG(ECopyOptionItemKey.XScale, ERemoteOperation.ERemoteParam.x_scale_letter_to_kg),
  317. XScale_KG_to_Letter(ECopyOptionItemKey.XScale, ERemoteOperation.ERemoteParam.x_scale_kg_to_letter),
  318. XScale_Letter_to_2L(ECopyOptionItemKey.XScale, ERemoteOperation.ERemoteParam.x_scale_letter_to_2l),
  319. XScale_2L_to_Letter(ECopyOptionItemKey.XScale, ERemoteOperation.ERemoteParam.x_scale_2l_to_letter),
  320. XScale_KG_to_A4(ECopyOptionItemKey.XScale, ERemoteOperation.ERemoteParam.x_scale_kg_to_a4),
  321. XScale_A4_to_KG(ECopyOptionItemKey.XScale, ERemoteOperation.ERemoteParam.x_scale_a4_to_kg),
  322. XScale_A4_to_2L(ECopyOptionItemKey.XScale, ERemoteOperation.ERemoteParam.x_scale_a4_to_2l),
  323. XScale_KG_to_8x10(ECopyOptionItemKey.XScale, ERemoteOperation.ERemoteParam.x_scale_kg_to_8x10),
  324. XScale_8x10_to_2L(ECopyOptionItemKey.XScale, ERemoteOperation.ERemoteParam.x_scale_8x10_to_2l),
  325. XScale_Legal_to_Letter(ECopyOptionItemKey.XScale, ERemoteOperation.ERemoteParam.x_scale_legal_to_letter),
  326. XScale_2L_to_KG(ECopyOptionItemKey.XScale, ERemoteOperation.ERemoteParam.x_scale_2l_to_kg),
  327. XScale_KG_to_2L(ECopyOptionItemKey.XScale, ERemoteOperation.ERemoteParam.x_scale_kg_to_2l),
  328. XScale_A5_to_A4(ECopyOptionItemKey.XScale, ERemoteOperation.ERemoteParam.x_scale_a5_to_a4),
  329. XScale_A4_to_A5(ECopyOptionItemKey.XScale, ERemoteOperation.ERemoteParam.x_scale_a4_to_a5),
  330. XScale_A4_to_A3(ECopyOptionItemKey.XScale, ERemoteOperation.ERemoteParam.x_scale_a4_to_a3),
  331. XScale_Letter_to_11x17(ECopyOptionItemKey.XScale, ERemoteOperation.ERemoteParam.x_scale_letter_to_11x17);
  332. ECopyOptionItemKey key;
  333. ERemoteOperation.ERemoteParam param;
  334. private ECopyOptionItemChoice(ECopyOptionItemKey eCopyOptionItemKey, ERemoteOperation.ERemoteParam eRemoteParam) {
  335. this.param = eRemoteParam;
  336. }
  337. public ERemoteOperation.ERemoteParam getParam() {
  338. return this.param;
  339. }
  340. /* JADX WARNING: Code restructure failed: missing block: B:101:0x00c6, code lost:
  341. return PrintMediaSize_YOU3;
  342. */
  343. /* JADX WARNING: Code restructure failed: missing block: B:103:0x00c9, code lost:
  344. return PrintMediaSize_YOU1;
  345. */
  346. /* JADX WARNING: Code restructure failed: missing block: B:105:0x00cc, code lost:
  347. return PrintMediaSize_CHOU4;
  348. */
  349. /* JADX WARNING: Code restructure failed: missing block: B:107:0x00cf, code lost:
  350. return PrintMediaSize_CHOU3;
  351. */
  352. /* JADX WARNING: Code restructure failed: missing block: B:109:0x00d2, code lost:
  353. return PrintMediaSize_A6;
  354. */
  355. /* JADX WARNING: Code restructure failed: missing block: B:111:0x00d5, code lost:
  356. return PrintMediaSize_US_B;
  357. */
  358. /* JADX WARNING: Code restructure failed: missing block: B:113:0x00d8, code lost:
  359. return PrintMediaSize_A3;
  360. */
  361. /* JADX WARNING: Code restructure failed: missing block: B:115:0x00db, code lost:
  362. return PrintMediaSize_254x305mm;
  363. */
  364. /* JADX WARNING: Code restructure failed: missing block: B:117:0x00de, code lost:
  365. return PrintMediaSize_A5;
  366. */
  367. /* JADX WARNING: Code restructure failed: missing block: B:119:0x00e1, code lost:
  368. return PrintMediaSize_Legal;
  369. */
  370. /* JADX WARNING: Code restructure failed: missing block: B:11:0x002d, code lost:
  371. return ScanContentType_Photographic;
  372. */
  373. /* JADX WARNING: Code restructure failed: missing block: B:121:0x00e4, code lost:
  374. return PrintMediaSize_Letter;
  375. */
  376. /* JADX WARNING: Code restructure failed: missing block: B:123:0x00e7, code lost:
  377. return PrintMediaSize_8x10in;
  378. */
  379. /* JADX WARNING: Code restructure failed: missing block: B:125:0x00ea, code lost:
  380. return PrintMediaSize_KG;
  381. */
  382. /* JADX WARNING: Code restructure failed: missing block: B:127:0x00ed, code lost:
  383. return PrintMediaSize_Postcard;
  384. */
  385. /* JADX WARNING: Code restructure failed: missing block: B:129:0x00f0, code lost:
  386. return PrintMediaSize_2L;
  387. */
  388. /* JADX WARNING: Code restructure failed: missing block: B:131:0x00f3, code lost:
  389. return PrintMediaSize_L;
  390. */
  391. /* JADX WARNING: Code restructure failed: missing block: B:133:0x00f6, code lost:
  392. return PrintMediaSize_B5;
  393. */
  394. /* JADX WARNING: Code restructure failed: missing block: B:135:0x00f9, code lost:
  395. return PrintMediaSize_B4;
  396. */
  397. /* JADX WARNING: Code restructure failed: missing block: B:137:0x00fc, code lost:
  398. return PrintMediaSize_A4;
  399. */
  400. /* JADX WARNING: Code restructure failed: missing block: B:139:0x0105, code lost:
  401. switch(r2) {
  402. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.top :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x0112;
  403. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.bottom :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x010f;
  404. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.rear :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x010c;
  405. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.manual :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x0109;
  406. default: goto L_0x0108;
  407. };
  408. */
  409. /* JADX WARNING: Code restructure failed: missing block: B:13:0x0030, code lost:
  410. return ScanContentType_Mixed;
  411. */
  412. /* JADX WARNING: Code restructure failed: missing block: B:141:0x010b, code lost:
  413. return PrintMediaSource_Manual;
  414. */
  415. /* JADX WARNING: Code restructure failed: missing block: B:143:0x010e, code lost:
  416. return PrintMediaSource_Rear;
  417. */
  418. /* JADX WARNING: Code restructure failed: missing block: B:145:0x0111, code lost:
  419. return PrintMediaSource_Bottom;
  420. */
  421. /* JADX WARNING: Code restructure failed: missing block: B:147:0x0114, code lost:
  422. return PrintMediaSource_Top;
  423. */
  424. /* JADX WARNING: Code restructure failed: missing block: B:149:0x011d, code lost:
  425. switch(r2) {
  426. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.draft :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x012a;
  427. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.normal :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x0127;
  428. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.high :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x0124;
  429. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.best :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x0121;
  430. default: goto L_0x0120;
  431. };
  432. */
  433. /* JADX WARNING: Code restructure failed: missing block: B:151:0x0123, code lost:
  434. return PrintQuality_Best;
  435. */
  436. /* JADX WARNING: Code restructure failed: missing block: B:153:0x0126, code lost:
  437. return PrintQuality_High;
  438. */
  439. /* JADX WARNING: Code restructure failed: missing block: B:155:0x0129, code lost:
  440. return PrintQuality_Normal;
  441. */
  442. /* JADX WARNING: Code restructure failed: missing block: B:157:0x012c, code lost:
  443. return PrintQuality_Economy;
  444. */
  445. /* JADX WARNING: Code restructure failed: missing block: B:159:0x0135, code lost:
  446. switch(r2) {
  447. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.standard :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x013f;
  448. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.midium :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x013c;
  449. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.minimum :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x0139;
  450. default: goto L_0x0138;
  451. };
  452. */
  453. /* JADX WARNING: Code restructure failed: missing block: B:15:0x0033, code lost:
  454. return ScanContentType_Text;
  455. */
  456. /* JADX WARNING: Code restructure failed: missing block: B:161:0x013b, code lost:
  457. return PrintXBleed_Minimum;
  458. */
  459. /* JADX WARNING: Code restructure failed: missing block: B:163:0x013e, code lost:
  460. return PrintXBleed_Midium;
  461. */
  462. /* JADX WARNING: Code restructure failed: missing block: B:165:0x0141, code lost:
  463. return PrintXBleed_Standard;
  464. */
  465. /* JADX WARNING: Code restructure failed: missing block: B:167:0x014a, code lost:
  466. switch(r2) {
  467. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.on :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x0151;
  468. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.off :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x014e;
  469. default: goto L_0x014d;
  470. };
  471. */
  472. /* JADX WARNING: Code restructure failed: missing block: B:169:0x0150, code lost:
  473. return XApf_Off;
  474. */
  475. /* JADX WARNING: Code restructure failed: missing block: B:171:0x0153, code lost:
  476. return XApf_On;
  477. */
  478. /* JADX WARNING: Code restructure failed: missing block: B:173:0x015c, code lost:
  479. switch(r2) {
  480. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.on :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x0163;
  481. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.off :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x0160;
  482. default: goto L_0x015f;
  483. };
  484. */
  485. /* JADX WARNING: Code restructure failed: missing block: B:175:0x0162, code lost:
  486. return XColorRestoration_Off;
  487. */
  488. /* JADX WARNING: Code restructure failed: missing block: B:177:0x0165, code lost:
  489. return XColorRestoration_On;
  490. */
  491. /* JADX WARNING: Code restructure failed: missing block: B:178:0x0166, code lost:
  492. r1 = epson.print.copy.Component.ecopycomponent.ECopyOptionItem.C21712.f359xed9088c4[r2.ordinal()];
  493. */
  494. /* JADX WARNING: Code restructure failed: missing block: B:179:0x0170, code lost:
  495. if (r1 == 72) goto L_0x01d9;
  496. */
  497. /* JADX WARNING: Code restructure failed: missing block: B:17:0x003c, code lost:
  498. switch(r2) {
  499. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.photographic :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x007c;
  500. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.stationery :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x0079;
  501. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.photographic_high_gloss :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x0076;
  502. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.photographic_semi_gloss :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x0073;
  503. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.photographic_glossy :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x0070;
  504. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.custom_media_type_epson_44 :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x006d;
  505. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.photographic_matte :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x006a;
  506. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.stationery_coated :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x0067;
  507. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.custom_media_type_epson_2a :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x0064;
  508. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.stationery_inkjet :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x0061;
  509. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.custom_media_type_epson_1b :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x005e;
  510. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.custom_media_type_epson_02 :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x005b;
  511. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.custom_media_type_epson_19 :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x0058;
  512. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.labels :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x0055;
  513. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.envelope :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x0052;
  514. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.custom_media_type_epson_47 :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x004f;
  515. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.custom_media_type_epson_20 :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x004c;
  516. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.custom_media_type_epson_39 :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x0049;
  517. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.stationery_heavyweight :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x0046;
  518. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.stationery_letterhead :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x0043;
  519. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.custom_media_type_epson_46 :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x0040;
  520. default: goto L_0x003f;
  521. };
  522. */
  523. /* JADX WARNING: Code restructure failed: missing block: B:181:0x0174, code lost:
  524. if (r1 == 77) goto L_0x01d6;
  525. */
  526. /* JADX WARNING: Code restructure failed: missing block: B:183:0x017e, code lost:
  527. switch(r2) {
  528. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.x_scale_fullsize :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x01d3;
  529. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.x_scale_custom :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x01d0;
  530. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.x_scale_autofit :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x01cd;
  531. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.x_scale_a4_to_postcard :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x01ca;
  532. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.x_scale_2l_to_postcard :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x01c7;
  533. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.x_scale_l_to_postcard :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x01c4;
  534. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.x_scale_l_to_2l :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x01c1;
  535. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.x_scale_2l_to_a4 :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x01be;
  536. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.x_scale_a4_to_2l :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x01bb;
  537. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.x_scale_postcard_to_a4 :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x01b8;
  538. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.x_scale_l_to_a4 :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x01b5;
  539. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.x_scale_a4_to_b5 :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x01b2;
  540. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.x_scale_b5_to_a4 :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x01af;
  541. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.x_scale_letter_to_kg :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x01ac;
  542. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.x_scale_kg_to_letter :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x01a9;
  543. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.x_scale_letter_to_2l :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x01a6;
  544. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.x_scale_2l_to_letter :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x01a3;
  545. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.x_scale_kg_to_a4 :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x01a0;
  546. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.x_scale_a4_to_kg :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x019d;
  547. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.x_scale_kg_to_8x10 :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x019a;
  548. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.x_scale_8x10_to_2l :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x0197;
  549. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.x_scale_legal_to_letter :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x0194;
  550. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.x_scale_2l_to_kg :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x0191;
  551. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.x_scale_kg_to_2l :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x018e;
  552. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.x_scale_a5_to_a4 :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x018b;
  553. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.x_scale_a4_to_a5 :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x0188;
  554. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.x_scale_a4_to_a3 :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x0185;
  555. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.x_scale_letter_to_11x17 :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x0182;
  556. default: goto L_0x0181;
  557. };
  558. */
  559. /* JADX WARNING: Code restructure failed: missing block: B:185:0x0184, code lost:
  560. return XScale_Letter_to_11x17;
  561. */
  562. /* JADX WARNING: Code restructure failed: missing block: B:187:0x0187, code lost:
  563. return XScale_A4_to_A3;
  564. */
  565. /* JADX WARNING: Code restructure failed: missing block: B:189:0x018a, code lost:
  566. return XScale_A4_to_A5;
  567. */
  568. /* JADX WARNING: Code restructure failed: missing block: B:191:0x018d, code lost:
  569. return XScale_A5_to_A4;
  570. */
  571. /* JADX WARNING: Code restructure failed: missing block: B:193:0x0190, code lost:
  572. return XScale_KG_to_2L;
  573. */
  574. /* JADX WARNING: Code restructure failed: missing block: B:195:0x0193, code lost:
  575. return XScale_2L_to_KG;
  576. */
  577. /* JADX WARNING: Code restructure failed: missing block: B:197:0x0196, code lost:
  578. return XScale_Legal_to_Letter;
  579. */
  580. /* JADX WARNING: Code restructure failed: missing block: B:199:0x0199, code lost:
  581. return XScale_8x10_to_2L;
  582. */
  583. /* JADX WARNING: Code restructure failed: missing block: B:19:0x0042, code lost:
  584. return PrintMediaType_BrightColorPlain;
  585. */
  586. /* JADX WARNING: Code restructure failed: missing block: B:201:0x019c, code lost:
  587. return XScale_KG_to_8x10;
  588. */
  589. /* JADX WARNING: Code restructure failed: missing block: B:203:0x019f, code lost:
  590. return XScale_A4_to_KG;
  591. */
  592. /* JADX WARNING: Code restructure failed: missing block: B:205:0x01a2, code lost:
  593. return XScale_KG_to_A4;
  594. */
  595. /* JADX WARNING: Code restructure failed: missing block: B:207:0x01a5, code lost:
  596. return XScale_2L_to_Letter;
  597. */
  598. /* JADX WARNING: Code restructure failed: missing block: B:209:0x01a8, code lost:
  599. return XScale_Letter_to_2L;
  600. */
  601. /* JADX WARNING: Code restructure failed: missing block: B:211:0x01ab, code lost:
  602. return XScale_KG_to_Letter;
  603. */
  604. /* JADX WARNING: Code restructure failed: missing block: B:213:0x01ae, code lost:
  605. return XScale_Letter_to_KG;
  606. */
  607. /* JADX WARNING: Code restructure failed: missing block: B:215:0x01b1, code lost:
  608. return XScale_B5_to_A4;
  609. */
  610. /* JADX WARNING: Code restructure failed: missing block: B:217:0x01b4, code lost:
  611. return XScale_A4_to_B5;
  612. */
  613. /* JADX WARNING: Code restructure failed: missing block: B:219:0x01b7, code lost:
  614. return XScale_L_to_A4;
  615. */
  616. /* JADX WARNING: Code restructure failed: missing block: B:21:0x0045, code lost:
  617. return PrintMediaType_StationeryLetterhead;
  618. */
  619. /* JADX WARNING: Code restructure failed: missing block: B:221:0x01ba, code lost:
  620. return XScale_Postcard_to_A4;
  621. */
  622. /* JADX WARNING: Code restructure failed: missing block: B:223:0x01bd, code lost:
  623. return XScale_A4_to_2L;
  624. */
  625. /* JADX WARNING: Code restructure failed: missing block: B:225:0x01c0, code lost:
  626. return XScale_2L_to_A4;
  627. */
  628. /* JADX WARNING: Code restructure failed: missing block: B:227:0x01c3, code lost:
  629. return XScale_L_to_2L;
  630. */
  631. /* JADX WARNING: Code restructure failed: missing block: B:229:0x01c6, code lost:
  632. return XScale_L_to_Postcard;
  633. */
  634. /* JADX WARNING: Code restructure failed: missing block: B:231:0x01c9, code lost:
  635. return XScale_2L_to_Postcard;
  636. */
  637. /* JADX WARNING: Code restructure failed: missing block: B:233:0x01cc, code lost:
  638. return XScale_A4_to_Postcard;
  639. */
  640. /* JADX WARNING: Code restructure failed: missing block: B:235:0x01cf, code lost:
  641. return XScale_Autofit;
  642. */
  643. /* JADX WARNING: Code restructure failed: missing block: B:237:0x01d2, code lost:
  644. return XScale_Custom;
  645. */
  646. /* JADX WARNING: Code restructure failed: missing block: B:239:0x01d5, code lost:
  647. return XScale_FullSize;
  648. */
  649. /* JADX WARNING: Code restructure failed: missing block: B:23:0x0048, code lost:
  650. return PrintMediaType_StationeryHeavyweight;
  651. */
  652. /* JADX WARNING: Code restructure failed: missing block: B:241:0x01d8, code lost:
  653. return XBorderless_Borderless;
  654. */
  655. /* JADX WARNING: Code restructure failed: missing block: B:243:0x01db, code lost:
  656. return XBorderless_Standard;
  657. */
  658. /* JADX WARNING: Code restructure failed: missing block: B:245:?, code lost:
  659. return null;
  660. */
  661. /* JADX WARNING: Code restructure failed: missing block: B:25:0x004b, code lost:
  662. return PrintMediaType_BussnessPlain;
  663. */
  664. /* JADX WARNING: Code restructure failed: missing block: B:27:0x004e, code lost:
  665. return PrintMediaType_HagakiAtena;
  666. */
  667. /* JADX WARNING: Code restructure failed: missing block: B:29:0x0051, code lost:
  668. return PrintMediaType_DBLMEISHI_HALFGROSSY;
  669. */
  670. /* JADX WARNING: Code restructure failed: missing block: B:31:0x0054, code lost:
  671. return PrintMediaType_Envelope;
  672. */
  673. /* JADX WARNING: Code restructure failed: missing block: B:33:0x0057, code lost:
  674. return PrintMediaType_Lebals;
  675. */
  676. /* JADX WARNING: Code restructure failed: missing block: B:35:0x005a, code lost:
  677. return PrintMediaType_CustomMediaTypeEpson19;
  678. */
  679. /* JADX WARNING: Code restructure failed: missing block: B:37:0x005d, code lost:
  680. return PrintMediaType_CustomMediaTypeEpson02;
  681. */
  682. /* JADX WARNING: Code restructure failed: missing block: B:39:0x0060, code lost:
  683. return PrintMediaType_CustomMediaTypeEpson1B;
  684. */
  685. /* JADX WARNING: Code restructure failed: missing block: B:41:0x0063, code lost:
  686. return PrintMediaType_StationeryInkjet;
  687. */
  688. /* JADX WARNING: Code restructure failed: missing block: B:43:0x0066, code lost:
  689. return PrintMediaType_CustomMediaTypeEpson2A;
  690. */
  691. /* JADX WARNING: Code restructure failed: missing block: B:45:0x0069, code lost:
  692. return PrintMediaType_StationeryCoated;
  693. */
  694. /* JADX WARNING: Code restructure failed: missing block: B:47:0x006c, code lost:
  695. return PrintMediaType_PhotographicMatte;
  696. */
  697. /* JADX WARNING: Code restructure failed: missing block: B:49:0x006f, code lost:
  698. return PrintMediaType_CustomMediaTypeEpson44;
  699. */
  700. /* JADX WARNING: Code restructure failed: missing block: B:51:0x0072, code lost:
  701. return PrintMediaType_PhotographicGlossy;
  702. */
  703. /* JADX WARNING: Code restructure failed: missing block: B:53:0x0075, code lost:
  704. return PrintMediaType_PhotographicSemiGloss;
  705. */
  706. /* JADX WARNING: Code restructure failed: missing block: B:55:0x0078, code lost:
  707. return PrintMediaType_PhotographicHighGloss;
  708. */
  709. /* JADX WARNING: Code restructure failed: missing block: B:57:0x007b, code lost:
  710. return PrintMediaType_Stationery;
  711. */
  712. /* JADX WARNING: Code restructure failed: missing block: B:59:0x007e, code lost:
  713. return PrintMediaType_Photographic;
  714. */
  715. /* JADX WARNING: Code restructure failed: missing block: B:61:0x0087, code lost:
  716. switch(r2) {
  717. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.iso_a4_210x297mm :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x00fa;
  718. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.jis_b4_257x364mm :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x00f7;
  719. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.jis_b5_182x257mm :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x00f4;
  720. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.oe_photo_l_3_5x5in :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x00f1;
  721. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.na_5x7_5x7in :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x00ee;
  722. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.jpn_hagaki_100x148mm :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x00eb;
  723. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.na_index_4x6_4x6in :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x00e8;
  724. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.na_govt_letter_8x10in :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x00e5;
  725. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.na_letter_8_5x11in :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x00e2;
  726. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.na_legal_8_5x14in :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x00df;
  727. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.iso_a5_148x210mm :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x00dc;
  728. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.custom_4psize_254x305mm :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x00d9;
  729. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.iso_a3_297x420mm :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x00d6;
  730. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.na_ledger_11x17in :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x00d3;
  731. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.iso_a6_105x148mm :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x00d0;
  732. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.jpn_chou3_120x235mm :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x00cd;
  733. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.jpn_chou4_90x205mm :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x00ca;
  734. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.custom_epson_18_120x176mm :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x00c7;
  735. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.custom_epson_1A_98x148mm :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x00c4;
  736. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.jpn_you4_105x235mm :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x00c1;
  737. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.iso_c6_114x162mm :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x00be;
  738. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.jpn_kaku2_240x332mm :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x00bb;
  739. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.iso_c4_229x324mm :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x00b8;
  740. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.custom_cardsize_55x91mm :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x00b5;
  741. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.custom_creditcardsize_54x86mm :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x00b2;
  742. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.custom_hivision_101_6x180_6mm :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x00af;
  743. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.iso_dl_110x220mm :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x00ac;
  744. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.jis_b6_128x182mm :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x00a9;
  745. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.na_executive_7_25x10_5in :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x00a6;
  746. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.na_foolscap_8_5x13in :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x00a3;
  747. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.na_edp_11x14in :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x00a0;
  748. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.na_number_10_4_125x9_5in :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x009d;
  749. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.om_8k_270x390mm :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x009a;
  750. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.om_16k_195x270mm :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x0097;
  751. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.na_invoice_5_5x8_5in :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x0094;
  752. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.custom_epson_indianlegal_215x345mm :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x0091;
  753. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.na_oficio_8_5x13_4in :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x008e;
  754. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.om_folio_sp_215x315mm :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x008b;
  755. default: goto L_0x008a;
  756. };
  757. */
  758. /* JADX WARNING: Code restructure failed: missing block: B:63:0x008d, code lost:
  759. return PrintMediaSize_Oficio9_8d46x12d4in;
  760. */
  761. /* JADX WARNING: Code restructure failed: missing block: B:65:0x0090, code lost:
  762. return PrintMediaSize_MexicoOficio8d5x13d4in;
  763. */
  764. /* JADX WARNING: Code restructure failed: missing block: B:67:0x0093, code lost:
  765. return PrintMediaSize_IndianLegal215x345mm;
  766. */
  767. /* JADX WARNING: Code restructure failed: missing block: B:69:0x0096, code lost:
  768. return PrintMediaSize_HalfLetter;
  769. */
  770. /* JADX WARNING: Code restructure failed: missing block: B:71:0x0099, code lost:
  771. return PrintMediaSize_16K;
  772. */
  773. /* JADX WARNING: Code restructure failed: missing block: B:73:0x009c, code lost:
  774. return PrintMediaSize_8K;
  775. */
  776. /* JADX WARNING: Code restructure failed: missing block: B:75:0x009f, code lost:
  777. return PrintMediaSize_EnvelopeNumber10;
  778. */
  779. /* JADX WARNING: Code restructure failed: missing block: B:77:0x00a2, code lost:
  780. return PrintMediaSize_11x14in;
  781. */
  782. /* JADX WARNING: Code restructure failed: missing block: B:79:0x00a5, code lost:
  783. return PrintMediaSize_8d5x13in;
  784. */
  785. /* JADX WARNING: Code restructure failed: missing block: B:81:0x00a8, code lost:
  786. return PrintMediaSize_Executive;
  787. */
  788. /* JADX WARNING: Code restructure failed: missing block: B:83:0x00ab, code lost:
  789. return PrintMediaSize_B6;
  790. */
  791. /* JADX WARNING: Code restructure failed: missing block: B:85:0x00ae, code lost:
  792. return PrintMediaSize_EnvelopeDL;
  793. */
  794. /* JADX WARNING: Code restructure failed: missing block: B:87:0x00b1, code lost:
  795. return PrintMediaSize_Hivision;
  796. */
  797. /* JADX WARNING: Code restructure failed: missing block: B:89:0x00b4, code lost:
  798. return PrintMediaSize_CARD;
  799. */
  800. /* JADX WARNING: Code restructure failed: missing block: B:91:0x00b7, code lost:
  801. return PrintMediaSize_MEISHI;
  802. */
  803. /* JADX WARNING: Code restructure failed: missing block: B:93:0x00ba, code lost:
  804. return PrintMediaSize_KAKU20;
  805. */
  806. /* JADX WARNING: Code restructure failed: missing block: B:95:0x00bd, code lost:
  807. return PrintMediaSize_KAKU2;
  808. */
  809. /* JADX WARNING: Code restructure failed: missing block: B:97:0x00c0, code lost:
  810. return PrintMediaSize_YOU2;
  811. */
  812. /* JADX WARNING: Code restructure failed: missing block: B:99:0x00c3, code lost:
  813. return PrintMediaSize_YOU4;
  814. */
  815. /* JADX WARNING: Code restructure failed: missing block: B:9:0x0027, code lost:
  816. switch(r2) {
  817. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.text :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x0031;
  818. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.mixed :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x002e;
  819. case epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam.photographic :epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam: goto L_0x002b;
  820. default: goto L_0x002a;
  821. };
  822. */
  823. /* Code decompiled incorrectly, please refer to instructions dump. */
  824. public static epson.print.copy.Component.ecopycomponent.ECopyOptionItem.ECopyOptionItemChoice valueOf(epson.print.copy.Component.ecopycomponent.ECopyOptionItem.ECopyOptionItemKey r1, epson.print.copy.Component.eremoteoperation.ERemoteOperation.ERemoteParam r2) {
  825. /*
  826. int[] r0 = epson.print.copy.Component.ecopycomponent.ECopyOptionItem.C21712.f358x5d658d7e
  827. int r1 = r1.ordinal()
  828. r1 = r0[r1]
  829. switch(r1) {
  830. case 1: goto L_0x000d;
  831. case 2: goto L_0x001f;
  832. case 3: goto L_0x0034;
  833. case 4: goto L_0x007f;
  834. case 5: goto L_0x00fd;
  835. case 6: goto L_0x0115;
  836. case 7: goto L_0x012d;
  837. case 8: goto L_0x0142;
  838. case 9: goto L_0x0154;
  839. case 10: goto L_0x0166;
  840. case 11: goto L_0x0176;
  841. default: goto L_0x000b;
  842. }
  843. L_0x000b:
  844. goto L_0x01dc
  845. L_0x000d:
  846. int[] r1 = epson.print.copy.Component.ecopycomponent.ECopyOptionItem.C21712.f359xed9088c4
  847. int r0 = r2.ordinal()
  848. r1 = r1[r0]
  849. switch(r1) {
  850. case 1: goto L_0x001c;
  851. case 2: goto L_0x0019;
  852. default: goto L_0x0018;
  853. }
  854. L_0x0018:
  855. goto L_0x001f
  856. L_0x0019:
  857. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = ColorEffectsType_MonochromeGrayscale
  858. return r1
  859. L_0x001c:
  860. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = ColorEffectsType_Color
  861. return r1
  862. L_0x001f:
  863. int[] r1 = epson.print.copy.Component.ecopycomponent.ECopyOptionItem.C21712.f359xed9088c4
  864. int r0 = r2.ordinal()
  865. r1 = r1[r0]
  866. switch(r1) {
  867. case 3: goto L_0x0031;
  868. case 4: goto L_0x002e;
  869. case 5: goto L_0x002b;
  870. default: goto L_0x002a;
  871. }
  872. L_0x002a:
  873. goto L_0x0034
  874. L_0x002b:
  875. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = ScanContentType_Photographic
  876. return r1
  877. L_0x002e:
  878. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = ScanContentType_Mixed
  879. return r1
  880. L_0x0031:
  881. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = ScanContentType_Text
  882. return r1
  883. L_0x0034:
  884. int[] r1 = epson.print.copy.Component.ecopycomponent.ECopyOptionItem.C21712.f359xed9088c4
  885. int r0 = r2.ordinal()
  886. r1 = r1[r0]
  887. switch(r1) {
  888. case 5: goto L_0x007c;
  889. case 6: goto L_0x0079;
  890. case 7: goto L_0x0076;
  891. case 8: goto L_0x0073;
  892. case 9: goto L_0x0070;
  893. case 10: goto L_0x006d;
  894. case 11: goto L_0x006a;
  895. case 12: goto L_0x0067;
  896. case 13: goto L_0x0064;
  897. case 14: goto L_0x0061;
  898. case 15: goto L_0x005e;
  899. case 16: goto L_0x005b;
  900. case 17: goto L_0x0058;
  901. case 18: goto L_0x0055;
  902. case 19: goto L_0x0052;
  903. case 20: goto L_0x004f;
  904. case 21: goto L_0x004c;
  905. case 22: goto L_0x0049;
  906. case 23: goto L_0x0046;
  907. case 24: goto L_0x0043;
  908. case 25: goto L_0x0040;
  909. default: goto L_0x003f;
  910. }
  911. L_0x003f:
  912. goto L_0x007f
  913. L_0x0040:
  914. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = PrintMediaType_BrightColorPlain
  915. return r1
  916. L_0x0043:
  917. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = PrintMediaType_StationeryLetterhead
  918. return r1
  919. L_0x0046:
  920. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = PrintMediaType_StationeryHeavyweight
  921. return r1
  922. L_0x0049:
  923. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = PrintMediaType_BussnessPlain
  924. return r1
  925. L_0x004c:
  926. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = PrintMediaType_HagakiAtena
  927. return r1
  928. L_0x004f:
  929. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = PrintMediaType_DBLMEISHI_HALFGROSSY
  930. return r1
  931. L_0x0052:
  932. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = PrintMediaType_Envelope
  933. return r1
  934. L_0x0055:
  935. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = PrintMediaType_Lebals
  936. return r1
  937. L_0x0058:
  938. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = PrintMediaType_CustomMediaTypeEpson19
  939. return r1
  940. L_0x005b:
  941. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = PrintMediaType_CustomMediaTypeEpson02
  942. return r1
  943. L_0x005e:
  944. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = PrintMediaType_CustomMediaTypeEpson1B
  945. return r1
  946. L_0x0061:
  947. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = PrintMediaType_StationeryInkjet
  948. return r1
  949. L_0x0064:
  950. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = PrintMediaType_CustomMediaTypeEpson2A
  951. return r1
  952. L_0x0067:
  953. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = PrintMediaType_StationeryCoated
  954. return r1
  955. L_0x006a:
  956. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = PrintMediaType_PhotographicMatte
  957. return r1
  958. L_0x006d:
  959. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = PrintMediaType_CustomMediaTypeEpson44
  960. return r1
  961. L_0x0070:
  962. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = PrintMediaType_PhotographicGlossy
  963. return r1
  964. L_0x0073:
  965. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = PrintMediaType_PhotographicSemiGloss
  966. return r1
  967. L_0x0076:
  968. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = PrintMediaType_PhotographicHighGloss
  969. return r1
  970. L_0x0079:
  971. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = PrintMediaType_Stationery
  972. return r1
  973. L_0x007c:
  974. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = PrintMediaType_Photographic
  975. return r1
  976. L_0x007f:
  977. int[] r1 = epson.print.copy.Component.ecopycomponent.ECopyOptionItem.C21712.f359xed9088c4
  978. int r0 = r2.ordinal()
  979. r1 = r1[r0]
  980. switch(r1) {
  981. case 26: goto L_0x00fa;
  982. case 27: goto L_0x00f7;
  983. case 28: goto L_0x00f4;
  984. case 29: goto L_0x00f1;
  985. case 30: goto L_0x00ee;
  986. case 31: goto L_0x00eb;
  987. case 32: goto L_0x00e8;
  988. case 33: goto L_0x00e5;
  989. case 34: goto L_0x00e2;
  990. case 35: goto L_0x00df;
  991. case 36: goto L_0x00dc;
  992. case 37: goto L_0x00d9;
  993. case 38: goto L_0x00d6;
  994. case 39: goto L_0x00d3;
  995. case 40: goto L_0x00d0;
  996. case 41: goto L_0x00cd;
  997. case 42: goto L_0x00ca;
  998. case 43: goto L_0x00c7;
  999. case 44: goto L_0x00c4;
  1000. case 45: goto L_0x00c1;
  1001. case 46: goto L_0x00be;
  1002. case 47: goto L_0x00bb;
  1003. case 48: goto L_0x00b8;
  1004. case 49: goto L_0x00b5;
  1005. case 50: goto L_0x00b2;
  1006. case 51: goto L_0x00af;
  1007. case 52: goto L_0x00ac;
  1008. case 53: goto L_0x00a9;
  1009. case 54: goto L_0x00a6;
  1010. case 55: goto L_0x00a3;
  1011. case 56: goto L_0x00a0;
  1012. case 57: goto L_0x009d;
  1013. case 58: goto L_0x009a;
  1014. case 59: goto L_0x0097;
  1015. case 60: goto L_0x0094;
  1016. case 61: goto L_0x0091;
  1017. case 62: goto L_0x008e;
  1018. case 63: goto L_0x008b;
  1019. default: goto L_0x008a;
  1020. }
  1021. L_0x008a:
  1022. goto L_0x00fd
  1023. L_0x008b:
  1024. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = PrintMediaSize_Oficio9_8d46x12d4in
  1025. return r1
  1026. L_0x008e:
  1027. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = PrintMediaSize_MexicoOficio8d5x13d4in
  1028. return r1
  1029. L_0x0091:
  1030. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = PrintMediaSize_IndianLegal215x345mm
  1031. return r1
  1032. L_0x0094:
  1033. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = PrintMediaSize_HalfLetter
  1034. return r1
  1035. L_0x0097:
  1036. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = PrintMediaSize_16K
  1037. return r1
  1038. L_0x009a:
  1039. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = PrintMediaSize_8K
  1040. return r1
  1041. L_0x009d:
  1042. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = PrintMediaSize_EnvelopeNumber10
  1043. return r1
  1044. L_0x00a0:
  1045. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = PrintMediaSize_11x14in
  1046. return r1
  1047. L_0x00a3:
  1048. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = PrintMediaSize_8d5x13in
  1049. return r1
  1050. L_0x00a6:
  1051. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = PrintMediaSize_Executive
  1052. return r1
  1053. L_0x00a9:
  1054. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = PrintMediaSize_B6
  1055. return r1
  1056. L_0x00ac:
  1057. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = PrintMediaSize_EnvelopeDL
  1058. return r1
  1059. L_0x00af:
  1060. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = PrintMediaSize_Hivision
  1061. return r1
  1062. L_0x00b2:
  1063. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = PrintMediaSize_CARD
  1064. return r1
  1065. L_0x00b5:
  1066. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = PrintMediaSize_MEISHI
  1067. return r1
  1068. L_0x00b8:
  1069. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = PrintMediaSize_KAKU20
  1070. return r1
  1071. L_0x00bb:
  1072. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = PrintMediaSize_KAKU2
  1073. return r1
  1074. L_0x00be:
  1075. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = PrintMediaSize_YOU2
  1076. return r1
  1077. L_0x00c1:
  1078. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = PrintMediaSize_YOU4
  1079. return r1
  1080. L_0x00c4:
  1081. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = PrintMediaSize_YOU3
  1082. return r1
  1083. L_0x00c7:
  1084. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = PrintMediaSize_YOU1
  1085. return r1
  1086. L_0x00ca:
  1087. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = PrintMediaSize_CHOU4
  1088. return r1
  1089. L_0x00cd:
  1090. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = PrintMediaSize_CHOU3
  1091. return r1
  1092. L_0x00d0:
  1093. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = PrintMediaSize_A6
  1094. return r1
  1095. L_0x00d3:
  1096. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = PrintMediaSize_US_B
  1097. return r1
  1098. L_0x00d6:
  1099. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = PrintMediaSize_A3
  1100. return r1
  1101. L_0x00d9:
  1102. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = PrintMediaSize_254x305mm
  1103. return r1
  1104. L_0x00dc:
  1105. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = PrintMediaSize_A5
  1106. return r1
  1107. L_0x00df:
  1108. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = PrintMediaSize_Legal
  1109. return r1
  1110. L_0x00e2:
  1111. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = PrintMediaSize_Letter
  1112. return r1
  1113. L_0x00e5:
  1114. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = PrintMediaSize_8x10in
  1115. return r1
  1116. L_0x00e8:
  1117. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = PrintMediaSize_KG
  1118. return r1
  1119. L_0x00eb:
  1120. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = PrintMediaSize_Postcard
  1121. return r1
  1122. L_0x00ee:
  1123. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = PrintMediaSize_2L
  1124. return r1
  1125. L_0x00f1:
  1126. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = PrintMediaSize_L
  1127. return r1
  1128. L_0x00f4:
  1129. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = PrintMediaSize_B5
  1130. return r1
  1131. L_0x00f7:
  1132. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = PrintMediaSize_B4
  1133. return r1
  1134. L_0x00fa:
  1135. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = PrintMediaSize_A4
  1136. return r1
  1137. L_0x00fd:
  1138. int[] r1 = epson.print.copy.Component.ecopycomponent.ECopyOptionItem.C21712.f359xed9088c4
  1139. int r0 = r2.ordinal()
  1140. r1 = r1[r0]
  1141. switch(r1) {
  1142. case 64: goto L_0x0112;
  1143. case 65: goto L_0x010f;
  1144. case 66: goto L_0x010c;
  1145. case 67: goto L_0x0109;
  1146. default: goto L_0x0108;
  1147. }
  1148. L_0x0108:
  1149. goto L_0x0115
  1150. L_0x0109:
  1151. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = PrintMediaSource_Manual
  1152. return r1
  1153. L_0x010c:
  1154. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = PrintMediaSource_Rear
  1155. return r1
  1156. L_0x010f:
  1157. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = PrintMediaSource_Bottom
  1158. return r1
  1159. L_0x0112:
  1160. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = PrintMediaSource_Top
  1161. return r1
  1162. L_0x0115:
  1163. int[] r1 = epson.print.copy.Component.ecopycomponent.ECopyOptionItem.C21712.f359xed9088c4
  1164. int r0 = r2.ordinal()
  1165. r1 = r1[r0]
  1166. switch(r1) {
  1167. case 68: goto L_0x012a;
  1168. case 69: goto L_0x0127;
  1169. case 70: goto L_0x0124;
  1170. case 71: goto L_0x0121;
  1171. default: goto L_0x0120;
  1172. }
  1173. L_0x0120:
  1174. goto L_0x012d
  1175. L_0x0121:
  1176. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = PrintQuality_Best
  1177. return r1
  1178. L_0x0124:
  1179. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = PrintQuality_High
  1180. return r1
  1181. L_0x0127:
  1182. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = PrintQuality_Normal
  1183. return r1
  1184. L_0x012a:
  1185. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = PrintQuality_Economy
  1186. return r1
  1187. L_0x012d:
  1188. int[] r1 = epson.print.copy.Component.ecopycomponent.ECopyOptionItem.C21712.f359xed9088c4
  1189. int r0 = r2.ordinal()
  1190. r1 = r1[r0]
  1191. switch(r1) {
  1192. case 72: goto L_0x013f;
  1193. case 73: goto L_0x013c;
  1194. case 74: goto L_0x0139;
  1195. default: goto L_0x0138;
  1196. }
  1197. L_0x0138:
  1198. goto L_0x0142
  1199. L_0x0139:
  1200. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = PrintXBleed_Minimum
  1201. return r1
  1202. L_0x013c:
  1203. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = PrintXBleed_Midium
  1204. return r1
  1205. L_0x013f:
  1206. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = PrintXBleed_Standard
  1207. return r1
  1208. L_0x0142:
  1209. int[] r1 = epson.print.copy.Component.ecopycomponent.ECopyOptionItem.C21712.f359xed9088c4
  1210. int r0 = r2.ordinal()
  1211. r1 = r1[r0]
  1212. switch(r1) {
  1213. case 75: goto L_0x0151;
  1214. case 76: goto L_0x014e;
  1215. default: goto L_0x014d;
  1216. }
  1217. L_0x014d:
  1218. goto L_0x0154
  1219. L_0x014e:
  1220. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = XApf_Off
  1221. return r1
  1222. L_0x0151:
  1223. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = XApf_On
  1224. return r1
  1225. L_0x0154:
  1226. int[] r1 = epson.print.copy.Component.ecopycomponent.ECopyOptionItem.C21712.f359xed9088c4
  1227. int r0 = r2.ordinal()
  1228. r1 = r1[r0]
  1229. switch(r1) {
  1230. case 75: goto L_0x0163;
  1231. case 76: goto L_0x0160;
  1232. default: goto L_0x015f;
  1233. }
  1234. L_0x015f:
  1235. goto L_0x0166
  1236. L_0x0160:
  1237. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = XColorRestoration_Off
  1238. return r1
  1239. L_0x0163:
  1240. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = XColorRestoration_On
  1241. return r1
  1242. L_0x0166:
  1243. int[] r1 = epson.print.copy.Component.ecopycomponent.ECopyOptionItem.C21712.f359xed9088c4
  1244. int r0 = r2.ordinal()
  1245. r1 = r1[r0]
  1246. r0 = 72
  1247. if (r1 == r0) goto L_0x01d9
  1248. r0 = 77
  1249. if (r1 == r0) goto L_0x01d6
  1250. L_0x0176:
  1251. int[] r1 = epson.print.copy.Component.ecopycomponent.ECopyOptionItem.C21712.f359xed9088c4
  1252. int r2 = r2.ordinal()
  1253. r1 = r1[r2]
  1254. switch(r1) {
  1255. case 78: goto L_0x01d3;
  1256. case 79: goto L_0x01d0;
  1257. case 80: goto L_0x01cd;
  1258. case 81: goto L_0x01ca;
  1259. case 82: goto L_0x01c7;
  1260. case 83: goto L_0x01c4;
  1261. case 84: goto L_0x01c1;
  1262. case 85: goto L_0x01be;
  1263. case 86: goto L_0x01bb;
  1264. case 87: goto L_0x01b8;
  1265. case 88: goto L_0x01b5;
  1266. case 89: goto L_0x01b2;
  1267. case 90: goto L_0x01af;
  1268. case 91: goto L_0x01ac;
  1269. case 92: goto L_0x01a9;
  1270. case 93: goto L_0x01a6;
  1271. case 94: goto L_0x01a3;
  1272. case 95: goto L_0x01a0;
  1273. case 96: goto L_0x019d;
  1274. case 97: goto L_0x019a;
  1275. case 98: goto L_0x0197;
  1276. case 99: goto L_0x0194;
  1277. case 100: goto L_0x0191;
  1278. case 101: goto L_0x018e;
  1279. case 102: goto L_0x018b;
  1280. case 103: goto L_0x0188;
  1281. case 104: goto L_0x0185;
  1282. case 105: goto L_0x0182;
  1283. default: goto L_0x0181;
  1284. }
  1285. L_0x0181:
  1286. goto L_0x01dc
  1287. L_0x0182:
  1288. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = XScale_Letter_to_11x17
  1289. return r1
  1290. L_0x0185:
  1291. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = XScale_A4_to_A3
  1292. return r1
  1293. L_0x0188:
  1294. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = XScale_A4_to_A5
  1295. return r1
  1296. L_0x018b:
  1297. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = XScale_A5_to_A4
  1298. return r1
  1299. L_0x018e:
  1300. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = XScale_KG_to_2L
  1301. return r1
  1302. L_0x0191:
  1303. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = XScale_2L_to_KG
  1304. return r1
  1305. L_0x0194:
  1306. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = XScale_Legal_to_Letter
  1307. return r1
  1308. L_0x0197:
  1309. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = XScale_8x10_to_2L
  1310. return r1
  1311. L_0x019a:
  1312. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = XScale_KG_to_8x10
  1313. return r1
  1314. L_0x019d:
  1315. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = XScale_A4_to_KG
  1316. return r1
  1317. L_0x01a0:
  1318. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = XScale_KG_to_A4
  1319. return r1
  1320. L_0x01a3:
  1321. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = XScale_2L_to_Letter
  1322. return r1
  1323. L_0x01a6:
  1324. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = XScale_Letter_to_2L
  1325. return r1
  1326. L_0x01a9:
  1327. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = XScale_KG_to_Letter
  1328. return r1
  1329. L_0x01ac:
  1330. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = XScale_Letter_to_KG
  1331. return r1
  1332. L_0x01af:
  1333. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = XScale_B5_to_A4
  1334. return r1
  1335. L_0x01b2:
  1336. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = XScale_A4_to_B5
  1337. return r1
  1338. L_0x01b5:
  1339. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = XScale_L_to_A4
  1340. return r1
  1341. L_0x01b8:
  1342. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = XScale_Postcard_to_A4
  1343. return r1
  1344. L_0x01bb:
  1345. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = XScale_A4_to_2L
  1346. return r1
  1347. L_0x01be:
  1348. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = XScale_2L_to_A4
  1349. return r1
  1350. L_0x01c1:
  1351. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = XScale_L_to_2L
  1352. return r1
  1353. L_0x01c4:
  1354. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = XScale_L_to_Postcard
  1355. return r1
  1356. L_0x01c7:
  1357. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = XScale_2L_to_Postcard
  1358. return r1
  1359. L_0x01ca:
  1360. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = XScale_A4_to_Postcard
  1361. return r1
  1362. L_0x01cd:
  1363. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = XScale_Autofit
  1364. return r1
  1365. L_0x01d0:
  1366. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = XScale_Custom
  1367. return r1
  1368. L_0x01d3:
  1369. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = XScale_FullSize
  1370. return r1
  1371. L_0x01d6:
  1372. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = XBorderless_Borderless
  1373. return r1
  1374. L_0x01d9:
  1375. epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice r1 = XBorderless_Standard
  1376. return r1
  1377. L_0x01dc:
  1378. r1 = 0
  1379. return r1
  1380. */
  1381. throw new UnsupportedOperationException("Method not decompiled: epson.print.copy.Component.ecopycomponent.ECopyOptionItem.ECopyOptionItemChoice.valueOf(epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemKey, epson.print.copy.Component.eremoteoperation.ERemoteOperation$ERemoteParam):epson.print.copy.Component.ecopycomponent.ECopyOptionItem$ECopyOptionItemChoice");
  1382. }
  1383. }
  1384. public ECopyOptionItemKey getKey() {
  1385. return this.key;
  1386. }
  1387. public boolean isEnabled() {
  1388. return this.enabled;
  1389. }
  1390. public ECopyOptionItemChoiceType getChoiceType() {
  1391. return this.choiceType;
  1392. }
  1393. public int getMinimumValue() {
  1394. return this.numberRange.min;
  1395. }
  1396. public int getMaximumValue() {
  1397. return this.numberRange.max;
  1398. }
  1399. public int getDefaultValue() {
  1400. return this.numberRange.defaultValue;
  1401. }
  1402. protected void setDefaultValue(int i) {
  1403. this.numberRange.defaultValue = i;
  1404. selectValue(i);
  1405. }
  1406. public int getSelectedValue() {
  1407. return this.numberRange.selectedValue;
  1408. }
  1409. public void selectValue(int i) {
  1410. NumberRange numberRange2 = this.numberRange;
  1411. if (i != numberRange2.exceptionValue) {
  1412. i = Math.min(Math.max(this.numberRange.min, i), this.numberRange.max);
  1413. }
  1414. numberRange2.selectedValue = i;
  1415. }
  1416. public ArrayList<ECopyOptionItemChoice> getSelectableChoices() {
  1417. try {
  1418. return this.choiceArray.choices;
  1419. } catch (IndexOutOfBoundsException unused) {
  1420. return null;
  1421. }
  1422. }
  1423. public ECopyOptionItemChoice getDefaultChoice() {
  1424. try {
  1425. return this.choiceArray.choices.get(this.choiceArray.defaultChoice);
  1426. } catch (IndexOutOfBoundsException unused) {
  1427. return null;
  1428. }
  1429. }
  1430. public ECopyOptionItemChoice getSelectedChoice() {
  1431. try {
  1432. return this.choiceArray.choices.get(this.choiceArray.selectedChoice);
  1433. } catch (IndexOutOfBoundsException unused) {
  1434. return null;
  1435. }
  1436. }
  1437. public void selectChoice(ECopyOptionItemChoice eCopyOptionItemChoice) {
  1438. Iterator<ECopyOptionItemChoice> it = this.choiceArray.choices.iterator();
  1439. int i = 0;
  1440. while (it.hasNext()) {
  1441. if (it.next() == eCopyOptionItemChoice) {
  1442. this.choiceArray.selectedChoice = i;
  1443. return;
  1444. }
  1445. i++;
  1446. }
  1447. }
  1448. static ERemoteOperation.ERemoteParam layoutOf(ECopyComponent.ECopyType eCopyType) {
  1449. ERemoteOperation.ERemoteParam eRemoteParam = ERemoteOperation.ERemoteParam.standard;
  1450. switch (eCopyType) {
  1451. case Standard:
  1452. return ERemoteOperation.ERemoteParam.standard;
  1453. case Borderless:
  1454. return ERemoteOperation.ERemoteParam.borderless;
  1455. case A4_2up:
  1456. return ERemoteOperation.ERemoteParam.two_up;
  1457. case B5_2up:
  1458. return ERemoteOperation.ERemoteParam.two_up;
  1459. case A4_2up_Book:
  1460. return ERemoteOperation.ERemoteParam.two_up_book;
  1461. case B5_2up_Book:
  1462. return ERemoteOperation.ERemoteParam.two_up_book;
  1463. case Mirror:
  1464. return ERemoteOperation.ERemoteParam.mirror;
  1465. case Photo:
  1466. return ERemoteOperation.ERemoteParam.standard;
  1467. default:
  1468. return eRemoteParam;
  1469. }
  1470. }
  1471. static ECopyOptionItemKey key(ERemoteOperation.ERemoteParam eRemoteParam) {
  1472. ECopyOptionItemKey eCopyOptionItemKey = ECopyOptionItemKey.InvalidKey;
  1473. switch (eRemoteParam) {
  1474. case color_effects_type:
  1475. return ECopyOptionItemKey.ColorEffectsType;
  1476. case copies:
  1477. return ECopyOptionItemKey.Copies;
  1478. case copy_magnification:
  1479. return ECopyOptionItemKey.CopyMagnification;
  1480. case print_media_size:
  1481. return ECopyOptionItemKey.PrintMediaSize;
  1482. case print_media_source:
  1483. return ECopyOptionItemKey.PrintMediaSource;
  1484. case print_media_type:
  1485. return ECopyOptionItemKey.PrintMediaType;
  1486. case print_quality:
  1487. return ECopyOptionItemKey.PrintQuality;
  1488. case print_x_bleed:
  1489. return ECopyOptionItemKey.PrintXBleed;
  1490. case scan_content_type:
  1491. return ECopyOptionItemKey.ScanContentType;
  1492. case x_apf:
  1493. return ECopyOptionItemKey.XApf;
  1494. case x_color_restoration:
  1495. return ECopyOptionItemKey.XColorRestoration;
  1496. case x_borderless:
  1497. return ECopyOptionItemKey.XBorderless;
  1498. case x_scale:
  1499. return ECopyOptionItemKey.XScale;
  1500. case x_density:
  1501. return ECopyOptionItemKey.XDensity;
  1502. default:
  1503. return eCopyOptionItemKey;
  1504. }
  1505. }
  1506. static ECopyOptionItem createOptionItem(ERemoteOperation.ERemoteParam eRemoteParam, ERemoteCopy.ERemoteCopyOptionsResult eRemoteCopyOptionsResult) {
  1507. return new ECopyOptionItem(key(eRemoteParam), eRemoteCopyOptionsResult.parameter_options(eRemoteParam), eRemoteCopyOptionsResult.parameter_default(eRemoteParam));
  1508. }
  1509. public static ECopyOptionItem createOptionItem(ERemoteOperation.ERemoteParam eRemoteParam, int i, int i2, int i3) {
  1510. return new ECopyOptionItem(key(eRemoteParam), i, i2, i3, DefaultExceptionValue);
  1511. }
  1512. static ECopyOptionItem createLocalOptionItem(ERemoteOperation.ERemoteParam eRemoteParam, ERemoteCopy.ERemoteCopyOptionsResult eRemoteCopyOptionsResult) {
  1513. ECopyOptionItem eCopyOptionItem = new ECopyOptionItem(key(eRemoteParam), eRemoteCopyOptionsResult.local_options(eRemoteParam), eRemoteCopyOptionsResult.local_default(eRemoteParam));
  1514. eCopyOptionItem.isLocalOption = true;
  1515. return eCopyOptionItem;
  1516. }
  1517. static ECopyOptionItem createScaleOptionItem(ERemoteOperation.ERemoteParam eRemoteParam, ERemoteCopy.ERemoteCopyOptionsResult eRemoteCopyOptionsResult) {
  1518. ArrayList<ERemoteOperation.ERemoteParam> parameter_options = eRemoteCopyOptionsResult.parameter_options(ERemoteOperation.ERemoteParam.print_media_size);
  1519. eRemoteCopyOptionsResult.getClass();
  1520. ECopyOptionItem eCopyOptionItem = new ECopyOptionItem(key(eRemoteParam), new ERemoteCopy.ERemoteCopyOptionsResult.ScaleOptions(parameter_options).scale_options(), eRemoteCopyOptionsResult.local_default(eRemoteParam));
  1521. eCopyOptionItem.isLocalOption = true;
  1522. return eCopyOptionItem;
  1523. }
  1524. static ECopyOptionItem createLocalOptionItem(ERemoteOperation.ERemoteParam eRemoteParam, int i, int i2, int i3) {
  1525. ECopyOptionItem eCopyOptionItem = new ECopyOptionItem(key(eRemoteParam), i, i2, i3, DefaultExceptionValue);
  1526. eCopyOptionItem.isLocalOption = true;
  1527. return eCopyOptionItem;
  1528. }
  1529. }