ECopyOptionItem.java 82 KB

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